mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
update dependencies
This commit is contained in:
@@ -111,6 +111,35 @@
|
||||
"resources": {
|
||||
"schemas": {
|
||||
"methods": {
|
||||
"commit": {
|
||||
"description": "Commits a new schema revision to an existing schema.",
|
||||
"flatPath": "v1/projects/{projectsId}/schemas/{schemasId}:commit",
|
||||
"httpMethod": "POST",
|
||||
"id": "pubsub.projects.schemas.commit",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Required. The name of the schema we are revising. Format is `projects/{project}/schemas/{schema}`.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/schemas/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+name}:commit",
|
||||
"request": {
|
||||
"$ref": "CommitSchemaRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Schema"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/pubsub"
|
||||
]
|
||||
},
|
||||
"create": {
|
||||
"description": "Creates a schema.",
|
||||
"flatPath": "v1/projects/{projectsId}/schemas",
|
||||
@@ -171,6 +200,37 @@
|
||||
"https://www.googleapis.com/auth/pubsub"
|
||||
]
|
||||
},
|
||||
"deleteRevision": {
|
||||
"description": "Deletes a specific schema revision.",
|
||||
"flatPath": "v1/projects/{projectsId}/schemas/{schemasId}:deleteRevision",
|
||||
"httpMethod": "DELETE",
|
||||
"id": "pubsub.projects.schemas.deleteRevision",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Required. The name of the schema revision to be deleted, with a revision ID explicitly included. Example: projects/123/schemas/my-schema@c7cfa2a8",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/schemas/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"revisionId": {
|
||||
"description": "Required. The revision ID to roll back to. It must be a revision of the same schema. Example: c7cfa2a8",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+name}:deleteRevision",
|
||||
"response": {
|
||||
"$ref": "Schema"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/pubsub"
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"description": "Gets a schema.",
|
||||
"flatPath": "v1/projects/{projectsId}/schemas/{schemasId}",
|
||||
@@ -228,7 +288,7 @@
|
||||
"type": "integer"
|
||||
},
|
||||
"resource": {
|
||||
"description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.",
|
||||
"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/schemas/[^/]+$",
|
||||
"required": true,
|
||||
@@ -296,6 +356,87 @@
|
||||
"https://www.googleapis.com/auth/pubsub"
|
||||
]
|
||||
},
|
||||
"listRevisions": {
|
||||
"description": "Lists all schema revisions for the named schema.",
|
||||
"flatPath": "v1/projects/{projectsId}/schemas/{schemasId}:listRevisions",
|
||||
"httpMethod": "GET",
|
||||
"id": "pubsub.projects.schemas.listRevisions",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Required. The name of the schema to list revisions for.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/schemas/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"pageSize": {
|
||||
"description": "The maximum number of revisions to return per page.",
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"type": "integer"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "The page token, received from a previous ListSchemaRevisions call. Provide this to retrieve the subsequent page.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"view": {
|
||||
"description": "The set of Schema fields to return in the response. If not set, returns Schemas with `name` and `type`, but not `definition`. Set to `FULL` to retrieve all fields.",
|
||||
"enum": [
|
||||
"SCHEMA_VIEW_UNSPECIFIED",
|
||||
"BASIC",
|
||||
"FULL"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"The default / unset value. The API will default to the BASIC view.",
|
||||
"Include the name and type of the schema, but not the definition.",
|
||||
"Include all Schema object fields."
|
||||
],
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+name}:listRevisions",
|
||||
"response": {
|
||||
"$ref": "ListSchemaRevisionsResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/pubsub"
|
||||
]
|
||||
},
|
||||
"rollback": {
|
||||
"description": "Creates a new schema revision that is a copy of the provided revision_id.",
|
||||
"flatPath": "v1/projects/{projectsId}/schemas/{schemasId}:rollback",
|
||||
"httpMethod": "POST",
|
||||
"id": "pubsub.projects.schemas.rollback",
|
||||
"parameterOrder": [
|
||||
"name"
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Required. The schema being rolled back with revision id.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/schemas/[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/{+name}:rollback",
|
||||
"request": {
|
||||
"$ref": "RollbackSchemaRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "Schema"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/pubsub"
|
||||
]
|
||||
},
|
||||
"setIamPolicy": {
|
||||
"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
|
||||
"flatPath": "v1/projects/{projectsId}/schemas/{schemasId}:setIamPolicy",
|
||||
@@ -306,7 +447,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.",
|
||||
"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/schemas/[^/]+$",
|
||||
"required": true,
|
||||
@@ -335,7 +476,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.",
|
||||
"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/schemas/[^/]+$",
|
||||
"required": true,
|
||||
@@ -426,7 +567,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Required. User-provided name for this snapshot. If the name is not provided in the request, the server will assign a random name for this snapshot on the same project as the subscription. Note that for REST API requests, you must specify a name. See the resource name rules. Format is `projects/{project}/snapshots/{snap}`.",
|
||||
"description": "Required. User-provided name for this snapshot. If the name is not provided in the request, the server will assign a random name for this snapshot on the same project as the subscription. Note that for REST API requests, you must specify a name. See the [resource name rules](https://cloud.google.com/pubsub/docs/admin#resource_names). Format is `projects/{project}/snapshots/{snap}`.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/snapshots/[^/]+$",
|
||||
"required": true,
|
||||
@@ -472,7 +613,7 @@
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"description": "Gets the configuration details of a snapshot. Snapshots are used in Seek operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot.",
|
||||
"description": "Gets the configuration details of a snapshot. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot.",
|
||||
"flatPath": "v1/projects/{projectsId}/snapshots/{snapshotsId}",
|
||||
"httpMethod": "GET",
|
||||
"id": "pubsub.projects.snapshots.get",
|
||||
@@ -513,7 +654,7 @@
|
||||
"type": "integer"
|
||||
},
|
||||
"resource": {
|
||||
"description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.",
|
||||
"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/snapshots/[^/]+$",
|
||||
"required": true,
|
||||
@@ -567,7 +708,7 @@
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"description": "Updates an existing snapshot. Snapshots are used in Seek operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot.",
|
||||
"description": "Updates an existing snapshot. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot.",
|
||||
"flatPath": "v1/projects/{projectsId}/snapshots/{snapshotsId}",
|
||||
"httpMethod": "PATCH",
|
||||
"id": "pubsub.projects.snapshots.patch",
|
||||
@@ -605,7 +746,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.",
|
||||
"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/snapshots/[^/]+$",
|
||||
"required": true,
|
||||
@@ -634,7 +775,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.",
|
||||
"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/snapshots/[^/]+$",
|
||||
"required": true,
|
||||
@@ -809,7 +950,7 @@
|
||||
"type": "integer"
|
||||
},
|
||||
"resource": {
|
||||
"description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.",
|
||||
"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/subscriptions/[^/]+$",
|
||||
"required": true,
|
||||
@@ -950,7 +1091,7 @@
|
||||
]
|
||||
},
|
||||
"pull": {
|
||||
"description": "Pulls messages from the server. The server may return `UNAVAILABLE` if there are too many concurrent pull requests pending for the given subscription.",
|
||||
"description": "Pulls messages from the server.",
|
||||
"flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}:pull",
|
||||
"httpMethod": "POST",
|
||||
"id": "pubsub.projects.subscriptions.pull",
|
||||
@@ -1017,7 +1158,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.",
|
||||
"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/subscriptions/[^/]+$",
|
||||
"required": true,
|
||||
@@ -1046,7 +1187,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.",
|
||||
"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/subscriptions/[^/]+$",
|
||||
"required": true,
|
||||
@@ -1166,7 +1307,7 @@
|
||||
"type": "integer"
|
||||
},
|
||||
"resource": {
|
||||
"description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.",
|
||||
"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/topics/[^/]+$",
|
||||
"required": true,
|
||||
@@ -1287,7 +1428,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.",
|
||||
"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/topics/[^/]+$",
|
||||
"required": true,
|
||||
@@ -1316,7 +1457,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.",
|
||||
"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/topics/[^/]+$",
|
||||
"required": true,
|
||||
@@ -1424,7 +1565,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20220221",
|
||||
"revision": "20230119",
|
||||
"rootUrl": "https://pubsub.googleapis.com/",
|
||||
"schemas": {
|
||||
"AcknowledgeRequest": {
|
||||
@@ -1441,6 +1582,48 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BigQueryConfig": {
|
||||
"description": "Configuration for a BigQuery subscription.",
|
||||
"id": "BigQueryConfig",
|
||||
"properties": {
|
||||
"dropUnknownFields": {
|
||||
"description": "When true and use_topic_schema is true, any fields that are a part of the topic schema that are not part of the BigQuery table schema are dropped when writing to BigQuery. Otherwise, the schemas must be kept in sync and any messages with extra fields are not written and remain in the subscription's backlog.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"state": {
|
||||
"description": "Output only. An output-only field that indicates whether or not the subscription can receive messages.",
|
||||
"enum": [
|
||||
"STATE_UNSPECIFIED",
|
||||
"ACTIVE",
|
||||
"PERMISSION_DENIED",
|
||||
"NOT_FOUND",
|
||||
"SCHEMA_MISMATCH"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Default value. This value is unused.",
|
||||
"The subscription can actively send messages to BigQuery",
|
||||
"Cannot write to the BigQuery table because of permission denied errors. This can happen if - Pub/Sub SA has not been granted the [appropriate BigQuery IAM permissions](https://cloud.google.com/pubsub/docs/create-subscription#assign_bigquery_service_account) - bigquery.googleapis.com API is not enabled for the project ([instructions](https://cloud.google.com/service-usage/docs/enable-disable))",
|
||||
"Cannot write to the BigQuery table because it does not exist.",
|
||||
"Cannot write to the BigQuery table due to a schema mismatch."
|
||||
],
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"table": {
|
||||
"description": "The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}",
|
||||
"type": "string"
|
||||
},
|
||||
"useTopicSchema": {
|
||||
"description": "When true, use the topic's schema as the columns to write to in BigQuery, if it exists.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"writeMetadata": {
|
||||
"description": "When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Binding": {
|
||||
"description": "Associates `members`, or principals, with a `role`.",
|
||||
"id": "Binding",
|
||||
@@ -1450,7 +1633,7 @@
|
||||
"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
|
||||
},
|
||||
"members": {
|
||||
"description": "Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ",
|
||||
"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1463,6 +1646,17 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CommitSchemaRequest": {
|
||||
"description": "Request for CommitSchema method.",
|
||||
"id": "CommitSchemaRequest",
|
||||
"properties": {
|
||||
"schema": {
|
||||
"$ref": "Schema",
|
||||
"description": "Required. The schema revision to commit."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CreateSnapshotRequest": {
|
||||
"description": "Request for the `CreateSnapshot` method.",
|
||||
"id": "CreateSnapshotRequest",
|
||||
@@ -1471,7 +1665,7 @@
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "See Creating and managing labels.",
|
||||
"description": "See [Creating and managing labels](https://cloud.google.com/pubsub/docs/labels).",
|
||||
"type": "object"
|
||||
},
|
||||
"subscription": {
|
||||
@@ -1504,7 +1698,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"Empty": {
|
||||
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.",
|
||||
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
|
||||
"id": "Empty",
|
||||
"properties": {},
|
||||
"type": "object"
|
||||
@@ -1544,6 +1738,24 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ListSchemaRevisionsResponse": {
|
||||
"description": "Response for the `ListSchemaRevisions` method.",
|
||||
"id": "ListSchemaRevisionsResponse",
|
||||
"properties": {
|
||||
"nextPageToken": {
|
||||
"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages.",
|
||||
"type": "string"
|
||||
},
|
||||
"schemas": {
|
||||
"description": "The revisions of the schema.",
|
||||
"items": {
|
||||
"$ref": "Schema"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ListSchemasResponse": {
|
||||
"description": "Response for the `ListSchemas` method.",
|
||||
"id": "ListSchemasResponse",
|
||||
@@ -1697,7 +1909,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"OidcToken": {
|
||||
"description": "Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect).",
|
||||
"description": "Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect). [Service account email](https://cloud.google.com/iam/docs/service-accounts) used for generating the OIDC token. For more information on setting up authentication, see [Push subscriptions](https://cloud.google.com/pubsub/docs/push).",
|
||||
"id": "OidcToken",
|
||||
"properties": {
|
||||
"audience": {
|
||||
@@ -1705,7 +1917,6 @@
|
||||
"type": "string"
|
||||
},
|
||||
"serviceAccountEmail": {
|
||||
"description": "[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating the OIDC token. The caller (for CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must have the iam.serviceAccounts.actAs permission for the service account.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -1784,7 +1995,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"orderingKey": {
|
||||
"description": "If non-empty, identifies related messages for which publish order should be respected. If a `Subscription` has `enable_message_ordering` set to `true`, messages published with the same non-empty `ordering_key` value will be delivered to subscribers in the order in which they are received by the Pub/Sub system. All `PubsubMessage`s published in a given `PublishRequest` must specify the same `ordering_key` value.",
|
||||
"description": "If non-empty, identifies related messages for which publish order should be respected. If a `Subscription` has `enable_message_ordering` set to `true`, messages published with the same non-empty `ordering_key` value will be delivered to subscribers in the order in which they are received by the Pub/Sub system. All `PubsubMessage`s published in a given `PublishRequest` must specify the same `ordering_key` value. For more information, see [ordering messages](https://cloud.google.com/pubsub/docs/ordering).",
|
||||
"type": "string"
|
||||
},
|
||||
"publishTime": {
|
||||
@@ -1816,7 +2027,7 @@
|
||||
"id": "PullResponse",
|
||||
"properties": {
|
||||
"receivedMessages": {
|
||||
"description": "Received Pub/Sub messages. The list will be empty if there are no more messages available in the backlog. For JSON, the response can be entirely empty. The Pub/Sub system may return fewer than the `maxMessages` requested even if there are more messages available in the backlog.",
|
||||
"description": "Received Pub/Sub messages. The list will be empty if there are no more messages available in the backlog, or if no messages could be returned before the request timeout. For JSON, the response can be entirely empty. The Pub/Sub system may return fewer than the `maxMessages` requested even if there are more messages available in the backlog.",
|
||||
"items": {
|
||||
"$ref": "ReceivedMessage"
|
||||
},
|
||||
@@ -1833,7 +2044,7 @@
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Endpoint configuration attributes that can be used to control different aspects of the message delivery. The only currently supported attribute is `x-goog-version`, which you can use to change the format of the pushed message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the pushed message (i.e., its fields and metadata). If not present during the `CreateSubscription` call, it will default to the version of the Pub/Sub API used to make such call. If not present in a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The only supported values for the `x-goog-version` attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. For example: attributes { \"x-goog-version\": \"v1\" } ",
|
||||
"description": "Endpoint configuration attributes that can be used to control different aspects of the message delivery. The only currently supported attribute is `x-goog-version`, which you can use to change the format of the pushed message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the pushed message (i.e., its fields and metadata). If not present during the `CreateSubscription` call, it will default to the version of the Pub/Sub API used to make such call. If not present in a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The only supported values for the `x-goog-version` attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. For example: `attributes { \"x-goog-version\": \"v1\" }`",
|
||||
"type": "object"
|
||||
},
|
||||
"oidcToken": {
|
||||
@@ -1884,6 +2095,17 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"RollbackSchemaRequest": {
|
||||
"description": "Request for the `RollbackSchema` method.",
|
||||
"id": "RollbackSchemaRequest",
|
||||
"properties": {
|
||||
"revisionId": {
|
||||
"description": "Required. The revision ID to roll back to. It must be a revision of the same schema. Example: c7cfa2a8",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Schema": {
|
||||
"description": "A schema resource.",
|
||||
"id": "Schema",
|
||||
@@ -1896,6 +2118,17 @@
|
||||
"description": "Required. Name of the schema. Format is `projects/{project}/schemas/{schema}`.",
|
||||
"type": "string"
|
||||
},
|
||||
"revisionCreateTime": {
|
||||
"description": "Output only. The timestamp that the revision was created.",
|
||||
"format": "google-datetime",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"revisionId": {
|
||||
"description": "Output only. Immutable. The revision ID of the schema.",
|
||||
"readOnly": true,
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"description": "The type of the schema definition.",
|
||||
"enum": [
|
||||
@@ -1931,6 +2164,14 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"firstRevisionId": {
|
||||
"description": "The minimum (inclusive) revision allowed for validating messages. If empty or not present, allow any revision to be validated against last_revision or any revision created before.",
|
||||
"type": "string"
|
||||
},
|
||||
"lastRevisionId": {
|
||||
"description": "The maximum (inclusive) revision allowed for validating messages. If empty or not present, allow any revision to be validated against first_revision or any revision created after.",
|
||||
"type": "string"
|
||||
},
|
||||
"schema": {
|
||||
"description": "Required. The name of the schema that messages published should be validated against. Format is `projects/{project}/schemas/{schema}`. The value of this field will be `_deleted-schema_` if the schema has been deleted.",
|
||||
"type": "string"
|
||||
@@ -1966,7 +2207,7 @@
|
||||
"properties": {
|
||||
"policy": {
|
||||
"$ref": "Policy",
|
||||
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them."
|
||||
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -1999,14 +2240,18 @@
|
||||
"type": "object"
|
||||
},
|
||||
"Subscription": {
|
||||
"description": "A subscription resource.",
|
||||
"description": "A subscription resource. If none of `push_config` or `bigquery_config` is set, then the subscriber will pull and ack messages using API methods. At most one of these fields may be set.",
|
||||
"id": "Subscription",
|
||||
"properties": {
|
||||
"ackDeadlineSeconds": {
|
||||
"description": "The approximate amount of time (on a best-effort basis) Pub/Sub waits for the subscriber to acknowledge receipt before resending the message. In the interval after the message is delivered and before it is acknowledged, it is considered to be *outstanding*. During that time period, the message will not be redelivered (on a best-effort basis). For pull subscriptions, this value is used as the initial value for the ack deadline. To override this value for a given message, call `ModifyAckDeadline` with the corresponding `ack_id` if using non-streaming pull or send the `ack_id` in a `StreamingModifyAckDeadlineRequest` if using streaming pull. The minimum custom deadline you can specify is 10 seconds. The maximum custom deadline you can specify is 600 seconds (10 minutes). If this parameter is 0, a default value of 10 seconds is used. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message.",
|
||||
"description": "The approximate amount of time (on a best-effort basis) Pub/Sub waits for the subscriber to acknowledge receipt before resending the message. In the interval after the message is delivered and before it is acknowledged, it is considered to be _outstanding_. During that time period, the message will not be redelivered (on a best-effort basis). For pull subscriptions, this value is used as the initial value for the ack deadline. To override this value for a given message, call `ModifyAckDeadline` with the corresponding `ack_id` if using non-streaming pull or send the `ack_id` in a `StreamingModifyAckDeadlineRequest` if using streaming pull. The minimum custom deadline you can specify is 10 seconds. The maximum custom deadline you can specify is 600 seconds (10 minutes). If this parameter is 0, a default value of 10 seconds is used. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"bigqueryConfig": {
|
||||
"$ref": "BigQueryConfig",
|
||||
"description": "If delivery to BigQuery is used with this subscription, this field is used to configure it."
|
||||
},
|
||||
"deadLetterPolicy": {
|
||||
"$ref": "DeadLetterPolicy",
|
||||
"description": "A policy that specifies the conditions for dead lettering messages in this subscription. If dead_letter_policy is not set, dead lettering is disabled. The Cloud Pub/Sub service account associated with this subscriptions's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Acknowledge() messages on this subscription."
|
||||
@@ -2035,7 +2280,7 @@
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "See Creating and managing labels.",
|
||||
"description": "See [Creating and managing labels](https://cloud.google.com/pubsub/docs/labels).",
|
||||
"type": "object"
|
||||
},
|
||||
"messageRetentionDuration": {
|
||||
@@ -2049,7 +2294,7 @@
|
||||
},
|
||||
"pushConfig": {
|
||||
"$ref": "PushConfig",
|
||||
"description": "If push delivery is used with this subscription, this field is used to configure it. At most one of `pushConfig` and `bigQueryConfig` can be set. If both are empty, then the subscriber will pull and ack messages using API methods."
|
||||
"description": "If push delivery is used with this subscription, this field is used to configure it."
|
||||
},
|
||||
"retainAckedMessages": {
|
||||
"description": "Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp] (https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages.",
|
||||
@@ -2092,7 +2337,7 @@
|
||||
"id": "TestIamPermissionsRequest",
|
||||
"properties": {
|
||||
"permissions": {
|
||||
"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
|
||||
"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user