Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2120)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Aug 18, 2023
1 parent 85e7e70 commit fd53dce
Show file tree
Hide file tree
Showing 38 changed files with 5,205 additions and 258 deletions.
10 changes: 5 additions & 5 deletions analyticsadmin/v1alpha/analyticsadmin-api.json
Expand Up @@ -4356,7 +4356,7 @@
}
}
},
"revision": "20230809",
"revision": "20230817",
"rootUrl": "https://analyticsadmin.googleapis.com/",
"schemas": {
"GoogleAnalyticsAdminV1alphaAccessBetweenFilter": {
Expand Down Expand Up @@ -5623,10 +5623,6 @@
"description": "If set true, enables daily data export to the linked Google Cloud project.",
"type": "boolean"
},
"enterpriseExportEnabled": {
"description": "If set true, enables enterprise export to the linked Google Cloud project.",
"type": "boolean"
},
"excludedEvents": {
"description": "The list of event names that will be excluded from exports.",
"items": {
Expand All @@ -5641,6 +5637,10 @@
},
"type": "array"
},
"freshDailyExportEnabled": {
"description": "If set true, enables fresh daily export to the linked Google Cloud project.",
"type": "boolean"
},
"includeAdvertisingId": {
"description": "If set true, exported data will include advertising identifiers for mobile app streams.",
"type": "boolean"
Expand Down
8 changes: 4 additions & 4 deletions analyticsadmin/v1alpha/analyticsadmin-gen.go

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

197 changes: 187 additions & 10 deletions apigee/v1/apigee-api.json

Large diffs are not rendered by default.

630 changes: 593 additions & 37 deletions apigee/v1/apigee-gen.go

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions chat/v1/chat-api.json
Expand Up @@ -955,7 +955,7 @@
}
}
},
"revision": "20230806",
"revision": "20230816",
"rootUrl": "https://chat.googleapis.com/",
"schemas": {
"ActionParameter": {
Expand Down Expand Up @@ -1496,7 +1496,7 @@
"type": "object"
},
"DeprecatedEvent": {
"description": "Google Chat events. To learn how to use events, see [Receive and respond to Google Chat events](https://developers.google.com/chat/api/guides/message-formats).",
"description": "Google Chat app interaction events. To learn about interaction events, see [Receive and respond to Google Chat app interaction events](https://developers.google.com/chat/api/guides/message-formats).",
"id": "DeprecatedEvent",
"properties": {
"action": {
Expand All @@ -1512,48 +1512,48 @@
"type": "string"
},
"dialogEventType": {
"description": "The type of [dialog](https://developers.google.com/chat/how-tos/dialogs) event received.",
"description": "The type of [dialog](https://developers.google.com/chat/how-tos/dialogs) interaction event received.",
"enum": [
"TYPE_UNSPECIFIED",
"REQUEST_DIALOG",
"SUBMIT_DIALOG",
"CANCEL_DIALOG"
],
"enumDescriptions": [
"This could be used when the corresponding event is not dialog related. For example an @mention.",
"This could be used when the corresponding interaction event is not dialog related. For example an @mention.",
"Any user action that opens a [dialog](https://developers.google.com/chat/how-tos/dialogs).",
"A card click event from a [dialog](https://developers.google.com/chat/how-tos/dialogs).",
"A card click interaction event from a [dialog](https://developers.google.com/chat/how-tos/dialogs).",
"The [dialog](https://developers.google.com/chat/how-tos/dialogs) was cancelled."
],
"type": "string"
},
"eventTime": {
"description": "The timestamp indicating when the event occurred.",
"description": "The timestamp indicating when the interaction event occurred.",
"format": "google-datetime",
"type": "string"
},
"isDialogEvent": {
"description": "True when the event is related to [dialogs](https://developers.google.com/chat/how-tos/dialogs).",
"description": "True when the interaction event is related to [dialogs](https://developers.google.com/chat/how-tos/dialogs).",
"type": "boolean"
},
"message": {
"$ref": "Message",
"description": "The message that triggered the event, if applicable."
"description": "The message that triggered the interaction event, if applicable."
},
"space": {
"$ref": "Space",
"description": "The space in which the event occurred."
"description": "The space in which the interaction event occurred."
},
"threadKey": {
"description": "The Chat app-defined key for the thread related to the event. See [`spaces.messages.thread.threadKey`](/chat/api/reference/rest/v1/spaces.messages#Thread.FIELDS.thread_key) for more information.",
"description": "The Chat app-defined key for the thread related to the interaction event. See [`spaces.messages.thread.threadKey`](/chat/api/reference/rest/v1/spaces.messages#Thread.FIELDS.thread_key) for more information.",
"type": "string"
},
"token": {
"description": "A secret value that legacy Chat apps can use to verify if a request is from Google. Google randomly generates the token, and its value remains static. You can obtain, revoke, or regenerate the token from the [Chat API configuration page](https://console.cloud.google.com/apis/api/chat.googleapis.com/hangouts-chat) in the Google Cloud Console. Modern Chat apps don't use this field. It is absent from API responses and the [Chat API configuration page](https://console.cloud.google.com/apis/api/chat.googleapis.com/hangouts-chat).",
"type": "string"
},
"type": {
"description": "The type of the event.",
"description": "The type of the interaction event.",
"enum": [
"UNSPECIFIED",
"MESSAGE",
Expand All @@ -1572,7 +1572,7 @@
},
"user": {
"$ref": "User",
"description": "The user that triggered the event."
"description": "The user that triggered the interaction event."
}
},
"type": "object"
Expand Down Expand Up @@ -1807,7 +1807,7 @@
"type": "object"
},
"GoogleAppsCardV1Card": {
"description": "Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. In Google Chat, cards appear in several places: - As stand-alone messages. - Accompanying a text message, just beneath the text message. - As a [dialog](https://developers.google.com/chat/how-tos/dialogs). The following example JSON creates a \"contact card\" that features: - A header with the contact's name, job title, and avatar picture. - A section with the contact information, including formatted text. - Buttons that users can click to share the contact, or see more or less information. For more examples, see [Design dynamic, interactive, and consistent UIs with cards](https://developers.google.com/chat/ui). ![Example contact card](https://developers.google.com/chat/images/card_api_reference.png) ``` { \"cardsV2\": [ { \"cardId\": \"unique-card-id\", \"card\": { \"header\": { \"title\": \"Sasha\", \"subtitle\": \"Software Engineer\", \"imageUrl\": \"https://developers.google.com/chat/images/quickstart-app-avatar.png\", \"imageType\": \"CIRCLE\", \"imageAltText\": \"Avatar for Sasha\", }, \"sections\": [ { \"header\": \"Contact Info\", \"collapsible\": true, \"uncollapsibleWidgetsCount\": 1, \"widgets\": [ { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"EMAIL\", }, \"text\": \"sasha@example.com\", } }, { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"PERSON\", }, \"text\": \"Online\", }, }, { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"PHONE\", }, \"text\": \"+1 (555) 555-1234\", } }, { \"buttonList\": { \"buttons\": [ { \"text\": \"Share\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/share\", } } }, { \"text\": \"Edit\", \"onClick\": { \"action\": { \"function\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"EDIT\", } ], } } }, ], } }, ], }, ], }, } ], } ```",
"description": "Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. In Google Chat, cards appear in several places: - As stand-alone messages. - Accompanying a text message, just beneath the text message. - As a [dialog](https://developers.google.com/chat/how-tos/dialogs). Only Google Chat apps can create card messages in Google Chat. If your Chat app uses [user authentication](https://developers.google.com/chat/api/guides/auth/users) to send messages on behalf of users, the messages can't contain cards. The following example JSON creates a \"contact card\" that features: - A header with the contact's name, job title, and avatar picture. - A section with the contact information, including formatted text. - Buttons that users can click to share the contact, or see more or less information. For more examples, see [Design dynamic, interactive, and consistent UIs with cards](https://developers.google.com/chat/ui). ![Example contact card](https://developers.google.com/chat/images/card_api_reference.png) ``` { \"cardsV2\": [ { \"cardId\": \"unique-card-id\", \"card\": { \"header\": { \"title\": \"Sasha\", \"subtitle\": \"Software Engineer\", \"imageUrl\": \"https://developers.google.com/chat/images/quickstart-app-avatar.png\", \"imageType\": \"CIRCLE\", \"imageAltText\": \"Avatar for Sasha\", }, \"sections\": [ { \"header\": \"Contact Info\", \"collapsible\": true, \"uncollapsibleWidgetsCount\": 1, \"widgets\": [ { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"EMAIL\", }, \"text\": \"sasha@example.com\", } }, { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"PERSON\", }, \"text\": \"Online\", }, }, { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"PHONE\", }, \"text\": \"+1 (555) 555-1234\", } }, { \"buttonList\": { \"buttons\": [ { \"text\": \"Share\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/share\", } } }, { \"text\": \"Edit\", \"onClick\": { \"action\": { \"function\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"EDIT\", } ], } } }, ], } }, ], }, ], }, } ], } ```",
"id": "GoogleAppsCardV1Card",
"properties": {
"cardActions": {
Expand Down Expand Up @@ -2288,7 +2288,7 @@
},
"card": {
"$ref": "GoogleAppsCardV1Card",
"description": "A new card is pushed to the card stack after clicking if specified. Supported by Google Workspace Add-ons, but not Chat apps."
"description": "A new card is pushed to the card stack after clicking if specified. Supported by Google Workspace Add-ons, but not Google Chat apps."
},
"openDynamicLinkAction": {
"$ref": "GoogleAppsCardV1Action",
Expand Down Expand Up @@ -2543,7 +2543,7 @@
"properties": {
"autoCompleteAction": {
"$ref": "GoogleAppsCardV1Action",
"description": "Optional. Specify what action to take when the text input field provides suggestions to users who interact with it. If unspecified, the suggestions are set by `initialSuggestions` and are processed by the client. If specified, the app takes the action specified here, such as running a custom function. Supported by Google Workspace Add-ons, but not Chat apps."
"description": "Optional. Specify what action to take when the text input field provides suggestions to users who interact with it. If unspecified, the suggestions are set by `initialSuggestions` and are processed by the client. If specified, the app takes the action specified here, such as running a custom function. Supported by Google Workspace Add-ons, but not Google Chat apps."
},
"hintText": {
"description": "Text that appears below the text input field meant to assist users by prompting them to enter a certain value. This text is always visible. Required if `label` is unspecified. Otherwise, optional.",
Expand Down
53 changes: 31 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.

0 comments on commit fd53dce

Please sign in to comment.