Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(all): auto-regenerate discovery clients #1629

Merged
merged 1 commit into from Jul 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion androidenterprise/v1/androidenterprise-api.json
Expand Up @@ -2610,7 +2610,7 @@
}
}
},
"revision": "20220407",
"revision": "20220720",
"rootUrl": "https://androidenterprise.googleapis.com/",
"schemas": {
"Administrator": {
Expand Down Expand Up @@ -3948,6 +3948,10 @@
"description": "A Products resource represents an app in the Google Play store that is available to at least some users in the enterprise. (Some apps are restricted to a single enterprise, and no information about them is made available outside that enterprise.) The information provided for each product (localized name, icon, link to the full Google Play details page) is intended to allow a basic representation of the product within an EMM user interface.",
"id": "Product",
"properties": {
"appRestrictionsSchema": {
"$ref": "AppRestrictionsSchema",
"description": "The app restriction schema"
},
"appTracks": {
"description": "The tracks visible to the enterprise.",
"items": {
Expand Down
29 changes: 17 additions & 12 deletions androidenterprise/v1/androidenterprise-gen.go

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

85 changes: 22 additions & 63 deletions chat/v1/chat-api.json
Expand Up @@ -642,7 +642,7 @@
}
}
},
"revision": "20220706",
"revision": "20220716",
"rootUrl": "https://chat.googleapis.com/",
"schemas": {
"ActionParameter": {
Expand Down Expand Up @@ -1266,7 +1266,7 @@
"type": "array"
},
"persistValues": {
"description": "Indicates whether form values persist after the action. The default value is `false`. If `true`, form values remain after the action is triggered. When using [LoadIndicator.NONE](workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) for actions, `persist_values` = `true`is recommended, as it ensures that any changes made by the user after form or on change actions are sent to the server are not overwritten by the response. If `false`, the form values are cleared when the action is triggered. When `persist_values` is set to `false`, it is strongly recommended that the card use [LoadIndicator.SPINNER](workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) for all actions, as this locks the UI to ensure no changes are made by the user while the action is being processed.",
"description": "Indicates whether form values persist after the action. The default value is `false`. If `true`, form values remain after the action is triggered. When using [LoadIndicator.NONE](workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) for actions, `persist_values` = `true`is recommended, as it ensures that any changes made by the user after form or on change actions are sent to the server are not overwritten by the response. If `false`, the form values are cleared when the action is triggered. When `persist_values` is set to `false`, it is strongly recommended that the card use [LoadIndicator.SPINNER](workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) for all actions, as this locks the UI to ensure no changes are made by the user while the action is being processed. Not supported by Google Chat apps.",
"type": "boolean"
}
},
Expand All @@ -1287,25 +1287,6 @@
},
"type": "object"
},
"GoogleAppsCardV1AppUri": {
"description": "Represents the platform specific uri/intent to open for each client.",
"id": "GoogleAppsCardV1AppUri",
"properties": {
"androidIntent": {
"$ref": "GoogleAppsCardV1Intent",
"description": "An intent object to be opened in the corresponding android hosting app."
},
"companionUri": {
"description": "A companion uri string to be opened in the chat companion window. on the web.",
"type": "string"
},
"iosUri": {
"description": "A uri string to be opened in the corresponding iOS hosting app.",
"type": "string"
}
},
"type": "object"
},
"GoogleAppsCardV1BorderStyle": {
"description": "Represents the complete border style applied to widgets.",
"id": "GoogleAppsCardV1BorderStyle",
Expand Down Expand Up @@ -1393,16 +1374,16 @@
"type": "array"
},
"displayStyle": {
"description": "The display style for `peekCardHeader`.",
"description": "The `peekCardHeader` display style for. Not supported by Google Chat apps.",
"enum": [
"DISPLAY_STYLE_UNSPECIFIED",
"PEEK",
"REPLACE"
],
"enumDescriptions": [
"Default value. Do not use.",
"Do not use.",
"The header of the card appears at the bottom of the sidebar, partially covering the current top card of the stack. Clicking the header pops the card into the card stack. If the card has no header, a generated header is used instead.",
"The card is shown by replacing the view of the top card in the card stack."
"Default value. The card is shown by replacing the view of the top card in the card stack."
],
"type": "string"
},
Expand All @@ -1420,7 +1401,7 @@
},
"peekCardHeader": {
"$ref": "GoogleAppsCardV1CardHeader",
"description": "When displaying contextual content, the peek card header acts as a placeholder so that the user can navigate forward between the homepage cards and the contextual cards."
"description": "When displaying contextual content, the peek card header acts as a placeholder so that the user can navigate forward between the homepage cards and the contextual cards. Not supported by Google Chat apps."
},
"sections": {
"description": "Sections are separated by a line divider.",
Expand Down Expand Up @@ -1593,21 +1574,6 @@
"properties": {},
"type": "object"
},
"GoogleAppsCardV1ExtraData": {
"description": "Extra data for an android intent. Valid keys are defined in the hosting app contract.",
"id": "GoogleAppsCardV1ExtraData",
"properties": {
"key": {
"description": "A key for the intent extra data.",
"type": "string"
},
"value": {
"description": "Value for the given extra data key.",
"type": "string"
}
},
"type": "object"
},
"GoogleAppsCardV1Grid": {
"description": "Represents a Grid widget that displays items in a configurable grid layout.",
"id": "GoogleAppsCardV1Grid",
Expand Down Expand Up @@ -1794,24 +1760,6 @@
},
"type": "object"
},
"GoogleAppsCardV1Intent": {
"description": "Android intent.",
"id": "GoogleAppsCardV1Intent",
"properties": {
"extraData": {
"description": "A list of extra data for the android intent. For example, for a calendar event edit intent, the event title information can be passed as extra data.",
"items": {
"$ref": "GoogleAppsCardV1ExtraData"
},
"type": "array"
},
"intentAction": {
"description": "An android intent action string for the {@link android.content.Intent} object. For example: for the view intent action type, a valid value will be android.content.Intent.ACTION_VIEW.",
"type": "string"
}
},
"type": "object"
},
"GoogleAppsCardV1OnClick": {
"description": "Represents the response to an `onClick` event.",
"id": "GoogleAppsCardV1OnClick",
Expand Down Expand Up @@ -1839,10 +1787,6 @@
"description": "Represents an `onClick` event that opens a hyperlink.",
"id": "GoogleAppsCardV1OpenLink",
"properties": {
"appUri": {
"$ref": "GoogleAppsCardV1AppUri",
"description": "Represents the platform specific uri/intent to open on each client. For example: A companion_url will open in a companion window on the web. An iOS URL and android intent will open in the corresponding hosting apps. If these platform specific URLs can't be handled correctly, i.e. if the companion isn't supported on web and the hosting apps aren't available on the mobile platforms then the `uri` will open in a new browser window on all the platforms."
},
"onClose": {
"description": "Whether the client forgets about a link after opening it, or observes it until the window closes. Not supported by Chat apps.",
"enum": [
Expand Down Expand Up @@ -2072,7 +2016,7 @@
"type": "object"
},
"GoogleAppsCardV1TextParagraph": {
"description": "A paragraph of text that supports formatting. See [Text formatting](workspace/add-ons/concepts/widgets#text_formatting\") for details.",
"description": "A paragraph of text that supports formatting. See [Text formatting](workspace/add-ons/concepts/widgets#text_formatting) for details.",
"id": "GoogleAppsCardV1TextParagraph",
"properties": {
"text": {
Expand Down Expand Up @@ -2453,6 +2397,21 @@
"description": "Resource name of the membership. Format: spaces/{space}/members/{member}",
"type": "string"
},
"role": {
"description": "Output only. User's role within a Chat space, which determines their permitted actions in the space.",
"enum": [
"MEMBERSHIP_ROLE_UNSPECIFIED",
"ROLE_MEMBER",
"ROLE_MANAGER"
],
"enumDescriptions": [
"Default value. The user isn't a member of the space, but might be invited.",
"A member of the space. The user has basic permissions, like sending messages to the space. In 1:1 and unnamed group conversations, everyone has this role.",
"A space manager. The user has all basic permissions plus administrative permissions that allow them to manage the space, like adding or removing members. Only supports SpaceType.SPACE."
],
"readOnly": true,
"type": "string"
},
"state": {
"description": "Output only. State of the membership.",
"enum": [
Expand Down