Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2872)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Nov 14, 2024
1 parent d327d1c commit 20de5d2
Show file tree
Hide file tree
Showing 20 changed files with 1,235 additions and 966 deletions.
10 changes: 5 additions & 5 deletions chat/v1/chat-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@
]
},
"create": {
"description": "Creates a space with no members. Can be used to create a named space. Spaces grouped by topics aren't supported. For an example, see [Create a space](https://developers.google.com/workspace/chat/create-spaces). If you receive the error message `ALREADY_EXISTS` when creating a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. If you're a member of the [Developer Preview program](https://developers.google.com/workspace/preview), you can create a group chat in import mode using `spaceType.GROUP_CHAT`. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) When authenticating as an app, the `space.customer` field must be set in the request.",
"description": "Creates a space with no members. Can be used to create a named space, or a group chat in `Import mode`. Spaces grouped by topics aren't supported. For an example, see [Create a space](https://developers.google.com/workspace/chat/create-spaces). If you receive the error message `ALREADY_EXISTS` when creating a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) When authenticating as an app, the `space.customer` field must be set in the request.",
"flatPath": "v1/spaces",
"httpMethod": "POST",
"id": "chat.spaces.create",
Expand Down Expand Up @@ -898,7 +898,7 @@
"type": "string"
},
"orderBy": {
"description": "Optional. Optional, if resuming from a previous query. How the list of messages is ordered. Specify a value to order by an ordering operation. Valid ordering operation values are as follows: - `ASC` for ascending. - `DESC` for descending. The default ordering is `create_time ASC`.",
"description": "Optional. How the list of messages is ordered. Specify a value to order by an ordering operation. Valid ordering operation values are as follows: - `ASC` for ascending. - `DESC` for descending. The default ordering is `create_time ASC`.",
"location": "query",
"type": "string"
},
Expand All @@ -909,7 +909,7 @@
"type": "integer"
},
"pageToken": {
"description": "Optional. Optional, if resuming from a previous query. A page token received from a previous list messages call. Provide this parameter to retrieve the subsequent page. When paginating, all other parameters provided should match the call that provided the page token. Passing different values to the other parameters might lead to unexpected results.",
"description": "Optional. A page token received from a previous list messages call. Provide this parameter to retrieve the subsequent page. When paginating, all other parameters provided should match the call that provided the page token. Passing different values to the other parameters might lead to unexpected results.",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -1344,7 +1344,7 @@
}
}
},
"revision": "20241105",
"revision": "20241110",
"rootUrl": "https://chat.googleapis.com/",
"schemas": {
"AccessSettings": {
Expand Down Expand Up @@ -3973,7 +3973,7 @@
"type": "array"
},
"clientAssignedMessageId": {
"description": "Optional. Optional. A custom ID for the message. You can use field to identify a message, or to get, delete, or update a message. To set a custom ID, specify the [`messageId`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id) field when you create the message. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).",
"description": "Optional. A custom ID for the message. You can use field to identify a message, or to get, delete, or update a message. To set a custom ID, specify the [`messageId`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id) field when you create the message. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).",
"type": "string"
},
"createTime": {
Expand Down
41 changes: 19 additions & 22 deletions chat/v1/chat-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

156 changes: 155 additions & 1 deletion connectors/v1/connectors-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2502,7 +2502,7 @@
}
}
},
"revision": "20241015",
"revision": "20241105",
"rootUrl": "https://connectors.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -3861,6 +3861,14 @@
"readOnly": true,
"type": "array"
},
"allMarketplaceVersions": {
"description": "Output only. All marketplace versions.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"createTime": {
"description": "Output only. Created time.",
"format": "google-datetime",
Expand Down Expand Up @@ -3904,6 +3912,14 @@
"description": "Identifier. Resource name of the CustomConnector. Format: projects/{project}/locations/{location}/customConnectors/{connector}",
"type": "string"
},
"publishedMarketplaceVersions": {
"description": "Output only. Published marketplace versions.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"updateTime": {
"description": "Output only. Updated time.",
"format": "google-datetime",
Expand Down Expand Up @@ -3957,6 +3973,15 @@
"readOnly": true,
"type": "string"
},
"partnerMetadata": {
"$ref": "PartnerMetadata",
"description": "Optional. Partner metadata details. This should be populated only when publishing the custom connector to partner connector."
},
"publishStatus": {
"$ref": "PublishStatus",
"description": "Output only. Publish status of a custom connector.",
"readOnly": true
},
"serviceAccount": {
"description": "Optional. Service account used by runtime plane to access auth config secrets.",
"type": "string"
Expand Down Expand Up @@ -4738,6 +4763,11 @@
"$ref": "WebhookData",
"description": "Output only. Webhook data.",
"readOnly": true
},
"webhookSubscriptions": {
"$ref": "WebhookSubscriptions",
"description": "Output only. Webhook subscriptions.",
"readOnly": true
}
},
"type": "object"
Expand Down Expand Up @@ -6565,6 +6595,75 @@
},
"type": "object"
},
"PartnerMetadata": {
"description": "Partner metadata details. This will be populated when publishing the custom connector as a partner connector version. On publishing, parntner connector version will be created using the fields in PartnerMetadata.",
"id": "PartnerMetadata",
"properties": {
"acceptGcpTos": {
"description": "Required. Whether the user has accepted the Google Cloud Platform Terms of Service (https://cloud.google.com/terms/) and the Google Cloud Marketplace Terms of Service (https://cloud.google.com/terms/marketplace/launcher?hl=en).",
"type": "boolean"
},
"additionalComments": {
"description": "Optional. Additional comments for the submission.",
"type": "string"
},
"confirmPartnerRequirements": {
"description": "Required. Confirmation that connector meets all applicable requirements mentioned in the Partner Connector Publishing requirements list and Partner onboardiong requirements list (https://cloud.google.com/marketplace/docs/partners/get-started#requirements).",
"type": "boolean"
},
"demoUri": {
"description": "Required. Public URL for the demo video.",
"type": "string"
},
"integrationTemplates": {
"description": "Required. Integration example templates for the custom connector.",
"type": "string"
},
"marketplaceProduct": {
"description": "Optional. Marketplace product name.",
"type": "string"
},
"marketplaceProductId": {
"description": "Required. Marketplace product ID.",
"type": "string"
},
"marketplaceProductProjectId": {
"description": "Optional. Marketplace product project ID.",
"type": "string"
},
"marketplaceProductUri": {
"description": "Optional. Marketplace product URL.",
"type": "string"
},
"partner": {
"description": "Required. Partner name.",
"type": "string"
},
"partnerConnectorDisplayName": {
"description": "Required. Partner connector display name.",
"type": "string"
},
"publishRequestTime": {
"description": "Output only. Publish request time.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"targetApplication": {
"description": "Required. Target application for which partner connector is built.",
"type": "string"
},
"targetCustomerSegment": {
"description": "Required. Target customer segment for the partner connector.",
"type": "string"
},
"useCases": {
"description": "Required. Details about partner connector use cases.",
"type": "string"
}
},
"type": "object"
},
"PerSliSloEligibility": {
"description": "PerSliSloEligibility is a mapping from an SLI name to eligibility.",
"id": "PerSliSloEligibility",
Expand Down Expand Up @@ -6701,6 +6800,46 @@
},
"type": "object"
},
"PublishStatus": {
"description": "Publish status of a custom connector.",
"id": "PublishStatus",
"properties": {
"publishState": {
"description": "Output only. Publish state of the custom connector.",
"enum": [
"PUBLISH_STATE_UNSPECIFIED",
"PUBLISHED",
"PUBLISH_IN_PROGRESS",
"UNPUBLISHED"
],
"enumDescriptions": [
"State Unspecified.",
"Connector version has been published as partner connector version.",
"Connector version is in the process of being published as partner connector version.",
"Connector version has been unpublished as partner connector version"
],
"readOnly": true,
"type": "string"
},
"publishTime": {
"description": "Output only. Publish time.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"publishedAs": {
"description": "Output only. Partner connector name. Will be set on the custom connector. Format: providers/partner/connectors//versions/",
"readOnly": true,
"type": "string"
},
"publishedSource": {
"description": "Output only. Custom connector name. Will be set on the partner connector. Format: providers/customconnectors/connectors//versions/",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"RefreshConnectionSchemaMetadataRequest": {
"description": "Request message for ConnectorsService.RefreshConnectionSchemaMetadata.",
"id": "RefreshConnectionSchemaMetadataRequest",
Expand Down Expand Up @@ -7848,6 +7987,21 @@
},
"type": "object"
},
"WebhookSubscriptions": {
"description": "WebhookSubscriptions has details of webhook subscriptions.",
"id": "WebhookSubscriptions",
"properties": {
"webhookData": {
"description": "Output only. Webhook data.",
"items": {
"$ref": "WebhookData"
},
"readOnly": true,
"type": "array"
}
},
"type": "object"
},
"WeeklyCycle": {
"description": "Time window specified for weekly operations.",
"id": "WeeklyCycle",
Expand Down
Loading

0 comments on commit 20de5d2

Please sign in to comment.