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 #1825

Merged
merged 1 commit into from
Jan 26, 2023
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions admin/directory/v1/admin-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -4072,7 +4072,7 @@
]
},
"patch": {
"description": "Updates a user using patch semantics. The update method should be used instead, since it also supports patch semantics and has better performance. This method is unable to clear fields that contain repeated objects (`addresses`, `phones`, etc). Use the update method instead.",
"description": "Updates a user using patch semantics. The update method should be used instead, because it also supports patch semantics and has better performance. If you're mapping an external identity to a Google identity, use the [`update`](https://developers.google.com/admin-sdk/directory/v1/reference/users/update) method instead of the `patch` method. This method is unable to clear fields that contain repeated objects (`addresses`, `phones`, etc). Use the update method instead.",
"flatPath": "admin/directory/v1/users/{userKey}",
"httpMethod": "PATCH",
"id": "directory.users.patch",
Expand Down Expand Up @@ -4630,7 +4630,7 @@
}
}
},
"revision": "20230103",
"revision": "20230124",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Alias": {
Expand Down Expand Up @@ -5357,16 +5357,16 @@
],
"enumDescriptions": [
"The deprovision reason is unknown.",
"Same model replacement.",
"Device upgrade.",
"Domain move.",
"Service expiration.",
"Other.",
"Different model replacement.",
"Retiring device.",
"Transferring perpetual upgrade to a new device.",
"No reason required, i.e. licenses returned to customer's license pool.",
"Deprovisioned by a RMA (service center) caller."
"The device was replaced by a device with the same model.",
"The device was upgraded.",
"The device's domain was changed.",
"Service expired for the device.",
"The device was deprovisioned for a legacy reason that is no longer supported.",
"The device was replaced by a device with a different model.",
"The device was retired.",
"The device's perpetual upgrade was transferred to a new device.",
"A reason was not required. For example, the licenses were returned to the customer's license pool.",
"The device was deprovisioned by a repair service center."
],
"type": "string"
},
Expand Down Expand Up @@ -5916,7 +5916,7 @@
"id": "DirectoryChromeosdevicesCommandResult",
"properties": {
"commandResultPayload": {
"description": "The payload for the command result. The following commands respond with a payload: - DEVICE_START_CRD_SESSION: Payload is a stringified JSON object in the form: { \"url\": url }. The URL provides a link to the CRD session.",
"description": "The payload for the command result. The following commands respond with a payload: * `DEVICE_START_CRD_SESSION`: Payload is a stringified JSON object in the form: { \"url\": url }. The URL provides a link to the Chrome Remote Desktop session.",
"type": "string"
},
"errorMessage": {
Expand Down Expand Up @@ -5974,7 +5974,7 @@
"type": "string"
},
"payload": {
"description": "The payload for the command, provide it only if command supports it. The following commands support adding payload: - SET_VOLUME: Payload is a stringified JSON object in the form: { \"volume\": 50 }. The volume has to be an integer in the range [0,100]. - DEVICE_START_CRD_SESSION: Payload is optionally a stringified JSON object in the form: { \"ackedUserPresence\": true }. ackedUserPresence is a boolean. If a device is being used, ackedUserPresence must be set to true to acknowledge that you want to start a CRD session anyways. It is false by default, so a CRD command will fail if used on an active device without this field.",
"description": "The payload for the command, provide it only if command supports it. The following commands support adding payload: * `SET_VOLUME`: Payload is a stringified JSON object in the form: { \"volume\": 50 }. The volume has to be an integer in the range [0,100]. * `DEVICE_START_CRD_SESSION`: Payload is optionally a stringified JSON object in the form: { \"ackedUserPresence\": true }. `ackedUserPresence` is a boolean. By default, `ackedUserPresence` is set to `false`. To start a Chrome Remote Desktop session for an active device, set `ackedUserPresence` to `true`.",
"type": "string"
}
},
Expand Down
66 changes: 36 additions & 30 deletions admin/directory/v1/admin-gen.go

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

13 changes: 12 additions & 1 deletion batch/v1/batch-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@
}
}
},
"revision": "20230105",
"revision": "20230118",
"rootUrl": "https://batch.googleapis.com/",
"schemas": {
"Accelerator": {
Expand Down Expand Up @@ -1224,6 +1224,10 @@
"description": "VM instance status.",
"id": "InstanceStatus",
"properties": {
"bootDisk": {
"$ref": "Disk",
"description": "The VM boot disk."
},
"machineType": {
"description": "The Compute Engine machine type.",
"type": "string"
Expand Down Expand Up @@ -1906,6 +1910,13 @@
"email": {
"description": "Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.",
"type": "string"
},
"scopes": {
"description": "List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
Expand Down
18 changes: 13 additions & 5 deletions batch/v1/batch-gen.go

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

12 changes: 6 additions & 6 deletions chat/v1/chat-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@
}
}
},
"revision": "20230115",
"revision": "20230119",
"rootUrl": "https://chat.googleapis.com/",
"schemas": {
"ActionParameter": {
Expand Down Expand Up @@ -1206,11 +1206,11 @@
"type": "object"
},
"GoogleAppsCardV1Button": {
"description": "A text, icon, or text + icon button that users can click. To make an image a clickable button, specify an Image (not an ImageComponent) and set an `onClick` action.",
"description": "A text, icon, or text + icon button that users can click. To make an image a clickable button, specify an Image (not an ImageComponent) and set an `onClick` action. Currently supported in Chat apps (including [dialogs] (https://developers.google.com/chat/how-tos/dialogs) and [card messages] (https://developers.google.com/chat/api/guides/message-formats/cards)) and Google Workspace Add-ons.",
"id": "GoogleAppsCardV1Button",
"properties": {
"altText": {
"description": "The alternative text used for accessibility. Set descriptive text that lets users know what the button does. For example, if a button opens a hyperlink, you might write: \"Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/chat\". Has no effect when an icon is set; use `icon.alt_text` instead.",
"description": "The alternative text used for accessibility. Set descriptive text that lets users know what the button does. For example, if a button opens a hyperlink, you might write: \"Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/chat\".",
"type": "string"
},
"color": {
Expand All @@ -1223,11 +1223,11 @@
},
"icon": {
"$ref": "GoogleAppsCardV1Icon",
"description": "The icon image. If both `icon` and `text` are set, then the icon appears in place of the text. Support for both an icon and text is coming soon."
"description": "The icon image. If both `icon` and `text` are set, then the icon appears before the text."
},
"onClick": {
"$ref": "GoogleAppsCardV1OnClick",
"description": "The action to perform when the button is clicked, such as opening a hyperlink or running a custom function."
"description": "Required. The action to perform when the button is clicked, such as opening a hyperlink or running a custom function."
},
"text": {
"description": "The text displayed inside the button.",
Expand Down Expand Up @@ -1535,7 +1535,7 @@
"id": "GoogleAppsCardV1Icon",
"properties": {
"altText": {
"description": "Optional. A description of the icon used for accessibility. If unspecified, a default value is provided. As a best practice, you should set a helpful description. For example, if an icon displays a user's account portrait, you could describe it as \"A user's account portrait.\" If the icon displays in a Button, this alt text takes precedence and overwrites the button's alt text, so you should write alt text for the button: Set descriptive text that lets users know what the button does. For example, if a button opens a hyperlink, you might write: \"Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/chat\".",
"description": "Optional. A description of the icon used for accessibility. If unspecified, the default value \"Button\" is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/chat`. If the icon is set in a Button, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored.",
"type": "string"
},
"iconUrl": {
Expand Down
Loading