mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Update all json files; make some fixes to make it work at all
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"oauth2": {
|
||||
"scopes": {
|
||||
"https://www.googleapis.com/auth/cloud-platform": {
|
||||
"description": "See, edit, configure, and delete your Google Cloud Platform data"
|
||||
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -111,6 +111,328 @@
|
||||
"resources": {
|
||||
"locations": {
|
||||
"resources": {
|
||||
"operations": {
|
||||
"methods": {
|
||||
"cancel": {
|
||||
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
|
||||
"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
|
||||
"httpMethod": "POST",
|
||||
"id": "pubsublite.admin.projects.locations.operations.cancel",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The name of the operation resource to be cancelled.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/admin/{+name}:cancel",
|
||||
"request": {
|
||||
"$ref": "CancelOperationRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"delete": {
|
||||
"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.",
|
||||
"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
|
||||
"httpMethod": "DELETE",
|
||||
"id": "pubsublite.admin.projects.locations.operations.delete",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The name of the operation resource to be deleted.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/admin/{+name}",
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
|
||||
"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
|
||||
"httpMethod": "GET",
|
||||
"id": "pubsublite.admin.projects.locations.operations.get",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The name of the operation resource.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/admin/{+name}",
|
||||
"response": {
|
||||
"$ref": "Operation"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.",
|
||||
"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/operations",
|
||||
"httpMethod": "GET",
|
||||
"id": "pubsublite.admin.projects.locations.operations.list",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {
|
||||
"description": "The standard list filter.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of the operation's parent resource.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"pageSize": {
|
||||
"description": "The standard list page size.",
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"type": "integer"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "The standard list page token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/admin/{+name}/operations",
|
||||
"response": {
|
||||
"$ref": "ListOperationsResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"reservations": {
|
||||
"methods": {
|
||||
"create": {
|
||||
"description": "Creates a new reservation.",
|
||||
"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/reservations",
|
||||
"httpMethod": "POST",
|
||||
"id": "pubsublite.admin.projects.locations.reservations.create",
|
||||
"parameterOrder": [
|
||||
"parent"
|
||||
],
|
||||
"parameters": {
|
||||
"parent": {
|
||||
"description": "Required. The parent location in which to create the reservation. Structured like `projects/{project_number}/locations/{location}`.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"reservationId": {
|
||||
"description": "Required. The ID to use for the reservation, which will become the final component of the reservation's name. This value is structured like: `my-reservation-name`.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/admin/{+parent}/reservations",
|
||||
"request": {
|
||||
"$ref": "Reservation"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Reservation"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"delete": {
|
||||
"description": "Deletes the specified reservation.",
|
||||
"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}",
|
||||
"httpMethod": "DELETE",
|
||||
"id": "pubsublite.admin.projects.locations.reservations.delete",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Required. The name of the reservation to delete. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/admin/{+name}",
|
||||
"response": {
|
||||
"$ref": "Empty"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"description": "Returns the reservation configuration.",
|
||||
"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}",
|
||||
"httpMethod": "GET",
|
||||
"id": "pubsublite.admin.projects.locations.reservations.get",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Required. The name of the reservation whose configuration to return. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/admin/{+name}",
|
||||
"response": {
|
||||
"$ref": "Reservation"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Returns the list of reservations for the given project.",
|
||||
"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/reservations",
|
||||
"httpMethod": "GET",
|
||||
"id": "pubsublite.admin.projects.locations.reservations.list",
|
||||
"parameterOrder": [
|
||||
"parent"
|
||||
],
|
||||
"parameters": {
|
||||
"pageSize": {
|
||||
"description": "The maximum number of reservations to return. The service may return fewer than this value. If unset or zero, all reservations for the parent will be returned.",
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"type": "integer"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "A page token, received from a previous `ListReservations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReservations` must match the call that provided the page token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"parent": {
|
||||
"description": "Required. The parent whose reservations are to be listed. Structured like `projects/{project_number}/locations/{location}`.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/admin/{+parent}/reservations",
|
||||
"response": {
|
||||
"$ref": "ListReservationsResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"description": "Updates properties of the specified reservation.",
|
||||
"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}",
|
||||
"httpMethod": "PATCH",
|
||||
"id": "pubsublite.admin.projects.locations.reservations.patch",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"updateMask": {
|
||||
"description": "Required. A mask specifying the reservation fields to change.",
|
||||
"format": "google-fieldmask",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/admin/{+name}",
|
||||
"request": {
|
||||
"$ref": "Reservation"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Reservation"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"topics": {
|
||||
"methods": {
|
||||
"list": {
|
||||
"description": "Lists the topics attached to the specified reservation.",
|
||||
"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/topics",
|
||||
"httpMethod": "GET",
|
||||
"id": "pubsublite.admin.projects.locations.reservations.topics.list",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Required. The name of the reservation whose topics to list. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"pageSize": {
|
||||
"description": "The maximum number of topics to return. The service may return fewer than this value. If unset or zero, all topics for the given reservation will be returned.",
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"type": "integer"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "A page token, received from a previous `ListReservationTopics` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReservationTopics` must match the call that provided the page token.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/admin/{+name}/topics",
|
||||
"response": {
|
||||
"$ref": "ListReservationTopicsResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"subscriptions": {
|
||||
"methods": {
|
||||
"create": {
|
||||
@@ -270,6 +592,34 @@
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"seek": {
|
||||
"description": "Performs an out-of-band seek for a subscription to a specified target, which may be timestamps or named positions within the message backlog. Seek translates these targets to cursors for each partition and orchestrates subscribers to start consuming messages from these seek cursors. If an operation is returned, the seek has been registered and subscribers will eventually receive messages from the seek cursors (i.e. eventual consistency), as long as they are using a minimum supported client library version and not a system that tracks cursors independently of Pub/Sub Lite (e.g. Apache Beam, Dataflow, Spark). The seek operation will fail for unsupported clients. If clients would like to know when subscribers react to the seek (or not), they can poll the operation. The seek operation will succeed and complete once subscribers are ready to receive messages from the seek cursors for all partitions of the topic. This means that the seek operation will not complete until all subscribers come online. If the previous seek operation has not yet completed, it will be aborted and the new invocation of seek will supersede it.",
|
||||
"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}:seek",
|
||||
"httpMethod": "POST",
|
||||
"id": "pubsublite.admin.projects.locations.subscriptions.seek",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Required. The name of the subscription to seek.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/subscriptions/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/admin/{+name}:seek",
|
||||
"request": {
|
||||
"$ref": "SeekSubscriptionRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Operation"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -510,6 +860,36 @@
|
||||
"locations": {
|
||||
"resources": {
|
||||
"subscriptions": {
|
||||
"methods": {
|
||||
"commitCursor": {
|
||||
"description": "Updates the committed cursor.",
|
||||
"flatPath": "v1/cursor/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}:commitCursor",
|
||||
"httpMethod": "POST",
|
||||
"id": "pubsublite.cursor.projects.locations.subscriptions.commitCursor",
|
||||
"parameterOrder": [
|
||||
"subscription"
|
||||
],
|
||||
"parameters": {
|
||||
"subscription": {
|
||||
"description": "The subscription for which to update the cursor.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/subscriptions/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/cursor/{+subscription}:commitCursor",
|
||||
"request": {
|
||||
"$ref": "CommitCursorRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "CommitCursorResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
"cursors": {
|
||||
"methods": {
|
||||
@@ -622,6 +1002,34 @@
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"computeTimeCursor": {
|
||||
"description": "Compute the corresponding cursor for a publish or event time in a topic partition.",
|
||||
"flatPath": "v1/topicStats/projects/{projectsId}/locations/{locationsId}/topics/{topicsId}:computeTimeCursor",
|
||||
"httpMethod": "POST",
|
||||
"id": "pubsublite.topicStats.projects.locations.topics.computeTimeCursor",
|
||||
"parameterOrder": [
|
||||
"topic"
|
||||
],
|
||||
"parameters": {
|
||||
"topic": {
|
||||
"description": "Required. The topic for which we should compute the cursor.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/topics/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/topicStats/{+topic}:computeTimeCursor",
|
||||
"request": {
|
||||
"$ref": "ComputeTimeCursorRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "ComputeTimeCursorResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -632,9 +1040,15 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20210322",
|
||||
"revision": "20220301",
|
||||
"rootUrl": "https://pubsublite.googleapis.com/",
|
||||
"schemas": {
|
||||
"CancelOperationRequest": {
|
||||
"description": "The request message for Operations.CancelOperation.",
|
||||
"id": "CancelOperationRequest",
|
||||
"properties": {},
|
||||
"type": "object"
|
||||
},
|
||||
"Capacity": {
|
||||
"description": "The throughput capacity configuration for each partition.",
|
||||
"id": "Capacity",
|
||||
@@ -652,6 +1066,28 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CommitCursorRequest": {
|
||||
"description": "Request for CommitCursor.",
|
||||
"id": "CommitCursorRequest",
|
||||
"properties": {
|
||||
"cursor": {
|
||||
"$ref": "Cursor",
|
||||
"description": "The new value for the committed cursor."
|
||||
},
|
||||
"partition": {
|
||||
"description": "The partition for which to update the cursor. Partitions are zero indexed, so `partition` must be in the range [0, topic.num_partitions).",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CommitCursorResponse": {
|
||||
"description": "Response for CommitCursor.",
|
||||
"id": "CommitCursorResponse",
|
||||
"properties": {},
|
||||
"type": "object"
|
||||
},
|
||||
"ComputeHeadCursorRequest": {
|
||||
"description": "Compute the current head cursor for a partition.",
|
||||
"id": "ComputeHeadCursorRequest",
|
||||
@@ -722,6 +1158,33 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ComputeTimeCursorRequest": {
|
||||
"description": "Compute the corresponding cursor for a publish or event time in a topic partition.",
|
||||
"id": "ComputeTimeCursorRequest",
|
||||
"properties": {
|
||||
"partition": {
|
||||
"description": "Required. The partition for which we should compute the cursor.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"target": {
|
||||
"$ref": "TimeTarget",
|
||||
"description": "Required. The target publish or event time. Specifying a future time will return an unset cursor."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ComputeTimeCursorResponse": {
|
||||
"description": "Response containing the cursor corresponding to a publish or event time in a topic partition.",
|
||||
"id": "ComputeTimeCursorResponse",
|
||||
"properties": {
|
||||
"cursor": {
|
||||
"$ref": "Cursor",
|
||||
"description": "If present, the cursor references the first message with time greater than or equal to the specified target time. If such a message cannot be found, the cursor will be unset (i.e. `cursor` is not present)."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Cursor": {
|
||||
"description": "A cursor that describes the position of a message within a topic partition.",
|
||||
"id": "Cursor",
|
||||
@@ -761,6 +1224,24 @@
|
||||
"properties": {},
|
||||
"type": "object"
|
||||
},
|
||||
"ListOperationsResponse": {
|
||||
"description": "The response message for Operations.ListOperations.",
|
||||
"id": "ListOperationsResponse",
|
||||
"properties": {
|
||||
"nextPageToken": {
|
||||
"description": "The standard List next-page token.",
|
||||
"type": "string"
|
||||
},
|
||||
"operations": {
|
||||
"description": "A list of operations that matches the specified filter in the request.",
|
||||
"items": {
|
||||
"$ref": "Operation"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ListPartitionCursorsResponse": {
|
||||
"description": "Response for ListPartitionCursors",
|
||||
"id": "ListPartitionCursorsResponse",
|
||||
@@ -779,6 +1260,42 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ListReservationTopicsResponse": {
|
||||
"description": "Response for ListReservationTopics.",
|
||||
"id": "ListReservationTopicsResponse",
|
||||
"properties": {
|
||||
"nextPageToken": {
|
||||
"description": "A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.",
|
||||
"type": "string"
|
||||
},
|
||||
"topics": {
|
||||
"description": "The names of topics attached to the reservation. The order of the topics is unspecified.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ListReservationsResponse": {
|
||||
"description": "Response for ListReservations.",
|
||||
"id": "ListReservationsResponse",
|
||||
"properties": {
|
||||
"nextPageToken": {
|
||||
"description": "A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.",
|
||||
"type": "string"
|
||||
},
|
||||
"reservations": {
|
||||
"description": "The list of reservation in the requested parent. The order of the reservations is unspecified.",
|
||||
"items": {
|
||||
"$ref": "Reservation"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ListSubscriptionsResponse": {
|
||||
"description": "Response for ListSubscriptions.",
|
||||
"id": "ListSubscriptionsResponse",
|
||||
@@ -833,6 +1350,66 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Operation": {
|
||||
"description": "This resource represents a long-running operation that is the result of a network API call.",
|
||||
"id": "Operation",
|
||||
"properties": {
|
||||
"done": {
|
||||
"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"error": {
|
||||
"$ref": "Status",
|
||||
"description": "The error result of the operation in case of failure or cancellation."
|
||||
},
|
||||
"metadata": {
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object. Contains field @type with type URL.",
|
||||
"type": "any"
|
||||
},
|
||||
"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
|
||||
"type": "object"
|
||||
},
|
||||
"name": {
|
||||
"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.",
|
||||
"type": "string"
|
||||
},
|
||||
"response": {
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object. Contains field @type with type URL.",
|
||||
"type": "any"
|
||||
},
|
||||
"description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OperationMetadata": {
|
||||
"description": "Metadata for long running operations.",
|
||||
"id": "OperationMetadata",
|
||||
"properties": {
|
||||
"createTime": {
|
||||
"description": "The time the operation was created.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"endTime": {
|
||||
"description": "The time the operation finished running. Not set if the operation has not completed.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"target": {
|
||||
"description": "Resource path for the target of the operation. For example, targets of seeks are subscription resources, structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}",
|
||||
"type": "string"
|
||||
},
|
||||
"verb": {
|
||||
"description": "Name of the verb executed by the operation.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"PartitionConfig": {
|
||||
"description": "The settings for a topic's partitions.",
|
||||
"id": "PartitionConfig",
|
||||
@@ -870,6 +1447,33 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Reservation": {
|
||||
"description": "Metadata about a reservation resource.",
|
||||
"id": "Reservation",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}",
|
||||
"type": "string"
|
||||
},
|
||||
"throughputCapacity": {
|
||||
"description": "The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ReservationConfig": {
|
||||
"description": "The settings for this topic's Reservation usage.",
|
||||
"id": "ReservationConfig",
|
||||
"properties": {
|
||||
"throughputReservation": {
|
||||
"description": "The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"RetentionConfig": {
|
||||
"description": "The settings for a topic's message retention.",
|
||||
"id": "RetentionConfig",
|
||||
@@ -887,6 +1491,64 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"SeekSubscriptionRequest": {
|
||||
"description": "Request for SeekSubscription.",
|
||||
"id": "SeekSubscriptionRequest",
|
||||
"properties": {
|
||||
"namedTarget": {
|
||||
"description": "Seek to a named position with respect to the message backlog.",
|
||||
"enum": [
|
||||
"NAMED_TARGET_UNSPECIFIED",
|
||||
"TAIL",
|
||||
"HEAD"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Unspecified named target. Do not use.",
|
||||
"Seek to the oldest retained message.",
|
||||
"Seek past all recently published messages, skipping the entire message backlog."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"timeTarget": {
|
||||
"$ref": "TimeTarget",
|
||||
"description": "Seek to the first message whose publish or event time is greater than or equal to the specified query time. If no such message can be located, will seek to the end of the message backlog."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"SeekSubscriptionResponse": {
|
||||
"description": "Response for SeekSubscription long running operation.",
|
||||
"id": "SeekSubscriptionResponse",
|
||||
"properties": {},
|
||||
"type": "object"
|
||||
},
|
||||
"Status": {
|
||||
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
|
||||
"id": "Status",
|
||||
"properties": {
|
||||
"code": {
|
||||
"description": "The status code, which should be an enum value of google.rpc.Code.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"details": {
|
||||
"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
|
||||
"items": {
|
||||
"additionalProperties": {
|
||||
"description": "Properties of the object. Contains field @type with type URL.",
|
||||
"type": "any"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"message": {
|
||||
"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Subscription": {
|
||||
"description": "Metadata about a subscription resource.",
|
||||
"id": "Subscription",
|
||||
@@ -906,6 +1568,23 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"TimeTarget": {
|
||||
"description": "A target publish or event time. Can be used for seeking to or retrieving the corresponding cursor.",
|
||||
"id": "TimeTarget",
|
||||
"properties": {
|
||||
"eventTime": {
|
||||
"description": "Request the cursor of the first message with event time greater than or equal to `event_time`. If messages are missing an event time, the publish time is used as a fallback. As event times are user supplied, subsequent messages may have event times less than `event_time` and should be filtered by the client, if necessary.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"publishTime": {
|
||||
"description": "Request the cursor of the first message with publish time greater than or equal to `publish_time`. All messages thereafter are guaranteed to have publish times >= `publish_time`.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Topic": {
|
||||
"description": "Metadata about a topic resource.",
|
||||
"id": "Topic",
|
||||
@@ -918,6 +1597,10 @@
|
||||
"$ref": "PartitionConfig",
|
||||
"description": "The settings for this topic's partitions."
|
||||
},
|
||||
"reservationConfig": {
|
||||
"$ref": "ReservationConfig",
|
||||
"description": "The settings for this topic's Reservation usage."
|
||||
},
|
||||
"retentionConfig": {
|
||||
"$ref": "RetentionConfig",
|
||||
"description": "The settings for this topic's message retention."
|
||||
|
||||
Reference in New Issue
Block a user