Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1760)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Smith <[email protected]>
  • Loading branch information
yoshi-automation and quartzmo authored Dec 1, 2022
1 parent 8d8f0a7 commit 97a9846
Show file tree
Hide file tree
Showing 8 changed files with 100 additions and 23 deletions.
34 changes: 31 additions & 3 deletions androidmanagement/v1/androidmanagement-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@
}
}
},
"revision": "20221024",
"revision": "20221118",
"rootUrl": "https://androidmanagement.googleapis.com/",
"schemas": {
"AdbShellCommandEvent": {
Expand Down Expand Up @@ -1633,7 +1633,7 @@
"type": "string"
},
"lockTaskAllowed": {
"description": "Whether the app is allowed to lock itself in full-screen mode. DEPRECATED. Use InstallType KIOSK or kioskCustomLauncherEnabled to to configure a dedicated device.",
"description": "Whether the app is allowed to lock itself in full-screen mode. DEPRECATED. Use InstallType KIOSK or kioskCustomLauncherEnabled to configure a dedicated device.",
"type": "boolean"
},
"managedConfiguration": {
Expand Down Expand Up @@ -1663,6 +1663,20 @@
"$ref": "PermissionGrant"
},
"type": "array"
},
"workProfileWidgets": {
"description": "Specifies whether the app installed in the work profile is allowed to add widgets to the home screen.",
"enum": [
"WORK_PROFILE_WIDGETS_UNSPECIFIED",
"WORK_PROFILE_WIDGETS_ALLOWED",
"WORK_PROFILE_WIDGETS_DISALLOWED"
],
"enumDescriptions": [
"Unspecified. Defaults to work_profile_widgets_default",
"Work profile widgets are allowed. This means the application will be able to add widgets to the home screen.",
"Work profile widgets are disallowed. This means the application will not be able to add widgets to the home screen."
],
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -2179,6 +2193,20 @@
"Default. Allows work profile contacts to appear in personal profile contact searches and incoming calls"
],
"type": "string"
},
"workProfileWidgetsDefault": {
"description": "Specifies the default behaviour for work profile widgets. If the policy does not specify work_profile_widgets for a specific application, it will behave according to the value specified here.",
"enum": [
"WORK_PROFILE_WIDGETS_DEFAULT_UNSPECIFIED",
"WORK_PROFILE_WIDGETS_DEFAULT_ALLOWED",
"WORK_PROFILE_WIDGETS_DEFAULT_DISALLOWED"
],
"enumDescriptions": [
"Unspecified. Defaults to WORK_PROFILE_WIDGETS_DEFAULT_DISALLOWED.",
"Work profile widgets are allowed by default. This means that if the policy does not specify work_profile_widgets as WORK_PROFILE_WIDGETS_DISALLOWED for the application, it will be able to add widgets to the home screen.",
"Work profile widgets are disallowed by default. This means that if the policy does not specify work_profile_widgets as WORK_PROFILE_WIDGETS_ALLOWED for the application, it will be unable to add widgets to the home screen."
],
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -2717,7 +2745,7 @@
"type": "object"
},
"ExtensionConfig": {
"description": "Configuration to enable an app as an extension app, with the capability of interacting with Android Device Policy offline.",
"description": "Configuration to enable an app as an extension app, with the capability of interacting with Android Device Policy offline. For Android versions 13 and above, extension apps are exempt from battery restrictions so will not be placed into the restricted App Standby Bucket (https://developer.android.com/topic/performance/appstandby#restricted-bucket). Extensions apps are also protected against users clearing their data or force-closing the application, although admins can continue to use the clear app data command (https://developer.android.com/management/reference/rest/v1/enterprises.devices/issueCommand#CommandType) on extension apps if needed for Android 13 and above.",
"id": "ExtensionConfig",
"properties": {
"notificationReceiver": {
Expand Down
44 changes: 42 additions & 2 deletions androidmanagement/v1/androidmanagement-gen.go

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

9 changes: 4 additions & 5 deletions chat/v1/chat-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@
"type": "integer"
},
"pageToken": {
"description": "Optional. A page token, received from a previous list spaces call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided must match the call that provided the page token.",
"description": "Optional. A page token, received from a previous list spaces call. Provide this to retrieve the subsequent page. When paginating, the filter value should match the call that provided the page token. Passing a different value may lead to unexpected results.",
"location": "query",
"type": "string"
}
Expand Down Expand Up @@ -778,7 +778,7 @@
]
},
"update": {
"description": "Updates a message. For example usage, see [Update a message](https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). Requires [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).",
"description": "Updates a message. For example usage, see [Update a message](https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). Requires [authentication](https://developers.google.com/chat/api/guides/auth/). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user authentication](https://developers.google.com/chat/api/guides/auth/users) as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User authentication](https://developers.google.com/chat/api/guides/auth/users) requires the `chat.messages` authorization scope.",
"flatPath": "v1/spaces/{spacesId}/messages/{messagesId}",
"httpMethod": "PUT",
"id": "chat.spaces.messages.update",
Expand Down Expand Up @@ -849,7 +849,7 @@
}
}
},
"revision": "20221112",
"revision": "20221115",
"rootUrl": "https://chat.googleapis.com/",
"schemas": {
"ActionParameter": {
Expand Down Expand Up @@ -1046,7 +1046,7 @@
"type": "object"
},
"AttachmentDataRef": {
"description": "A reference to the data of an attachment.",
"description": "[Developer Preview](https://developers.google.com/workspace/preview).",
"id": "AttachmentDataRef",
"properties": {
"resourceName": {
Expand Down Expand Up @@ -2545,7 +2545,6 @@
"type": "object"
},
"ListSpacesResponse": {
"description": "The response corresponding to ListSpacesRequest.",
"id": "ListSpacesResponse",
"properties": {
"nextPageToken": {
Expand Down
24 changes: 17 additions & 7 deletions chat/v1/chat-gen.go

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

4 changes: 2 additions & 2 deletions texttospeech/v1/texttospeech-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
}
}
},
"revision": "20220311",
"revision": "20221109",
"rootUrl": "https://texttospeech.googleapis.com/",
"schemas": {
"AudioConfig": {
Expand Down Expand Up @@ -250,7 +250,7 @@
"type": "object"
},
"SynthesisInput": {
"description": "Contains text input to be synthesized. Either `text` or `ssml` must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT. The input size is limited to 5000 characters.",
"description": "Contains text input to be synthesized. Either `text` or `ssml` must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT. The input size is limited to 5000 bytes.",
"id": "SynthesisInput",
"properties": {
"ssml": {
Expand Down
2 changes: 1 addition & 1 deletion texttospeech/v1/texttospeech-gen.go

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

4 changes: 2 additions & 2 deletions texttospeech/v1beta1/texttospeech-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
}
}
},
"revision": "20211130",
"revision": "20221109",
"rootUrl": "https://texttospeech.googleapis.com/",
"schemas": {
"AudioConfig": {
Expand Down Expand Up @@ -252,7 +252,7 @@
"type": "object"
},
"SynthesisInput": {
"description": "Contains text input to be synthesized. Either `text` or `ssml` must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT. The input size is limited to 5000 characters.",
"description": "Contains text input to be synthesized. Either `text` or `ssml` must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT. The input size is limited to 5000 bytes.",
"id": "SynthesisInput",
"properties": {
"ssml": {
Expand Down
2 changes: 1 addition & 1 deletion texttospeech/v1beta1/texttospeech-gen.go

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

0 comments on commit 97a9846

Please sign in to comment.