diff --git a/androidmanagement/v1/androidmanagement-api.json b/androidmanagement/v1/androidmanagement-api.json index 54a73c44154..7e0aaca7403 100644 --- a/androidmanagement/v1/androidmanagement-api.json +++ b/androidmanagement/v1/androidmanagement-api.json @@ -1065,7 +1065,7 @@ } } }, - "revision": "20221024", + "revision": "20221118", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": { @@ -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": { @@ -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" @@ -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" @@ -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": { diff --git a/androidmanagement/v1/androidmanagement-gen.go b/androidmanagement/v1/androidmanagement-gen.go index 22810070360..526049c40eb 100644 --- a/androidmanagement/v1/androidmanagement-gen.go +++ b/androidmanagement/v1/androidmanagement-gen.go @@ -968,7 +968,7 @@ type ApplicationPolicy struct { // LockTaskAllowed: Whether the app is allowed to lock itself in // full-screen mode. DEPRECATED. Use InstallType KIOSK or - // kioskCustomLauncherEnabled to to configure a dedicated device. + // kioskCustomLauncherEnabled to configure a dedicated device. LockTaskAllowed bool `json:"lockTaskAllowed,omitempty"` // ManagedConfiguration: Managed configuration applied to the app. The @@ -1004,6 +1004,20 @@ type ApplicationPolicy struct { // permission_grants which apply to all apps. PermissionGrants []*PermissionGrant `json:"permissionGrants,omitempty"` + // WorkProfileWidgets: Specifies whether the app installed in the work + // profile is allowed to add widgets to the home screen. + // + // Possible values: + // "WORK_PROFILE_WIDGETS_UNSPECIFIED" - Unspecified. Defaults to + // work_profile_widgets_default + // "WORK_PROFILE_WIDGETS_ALLOWED" - Work profile widgets are allowed. + // This means the application will be able to add widgets to the home + // screen. + // "WORK_PROFILE_WIDGETS_DISALLOWED" - Work profile widgets are + // disallowed. This means the application will not be able to add + // widgets to the home screen. + WorkProfileWidgets string `json:"workProfileWidgets,omitempty"` + // ForceSendFields is a list of field names (e.g. "AccessibleTrackIds") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -1829,6 +1843,24 @@ type CrossProfilePolicies struct { // and incoming calls ShowWorkContactsInPersonalProfile string `json:"showWorkContactsInPersonalProfile,omitempty"` + // WorkProfileWidgetsDefault: 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. + // + // Possible values: + // "WORK_PROFILE_WIDGETS_DEFAULT_UNSPECIFIED" - Unspecified. Defaults + // to WORK_PROFILE_WIDGETS_DEFAULT_DISALLOWED. + // "WORK_PROFILE_WIDGETS_DEFAULT_ALLOWED" - 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_DEFAULT_DISALLOWED" - 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. + WorkProfileWidgetsDefault string `json:"workProfileWidgetsDefault,omitempty"` + // ForceSendFields is a list of field names (e.g. // "CrossProfileCopyPaste") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API @@ -2520,7 +2552,15 @@ func (s *Enterprise) MarshalJSON() ([]byte, error) { // ExtensionConfig: Configuration to enable an app as an extension app, // with the capability of interacting with Android Device Policy -// offline. +// 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. type ExtensionConfig struct { // NotificationReceiver: Fully qualified class name of the receiver // service class for Android Device Policy to notify the extension app diff --git a/chat/v1/chat-api.json b/chat/v1/chat-api.json index c4ce0961d6e..3f403340e76 100644 --- a/chat/v1/chat-api.json +++ b/chat/v1/chat-api.json @@ -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" } @@ -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", @@ -849,7 +849,7 @@ } } }, - "revision": "20221112", + "revision": "20221115", "rootUrl": "https://chat.googleapis.com/", "schemas": { "ActionParameter": { @@ -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": { @@ -2545,7 +2545,6 @@ "type": "object" }, "ListSpacesResponse": { - "description": "The response corresponding to ListSpacesRequest.", "id": "ListSpacesResponse", "properties": { "nextPageToken": { diff --git a/chat/v1/chat-gen.go b/chat/v1/chat-gen.go index 044c502e7ba..ae99ae569be 100644 --- a/chat/v1/chat-gen.go +++ b/chat/v1/chat-gen.go @@ -590,7 +590,8 @@ func (s *Attachment) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AttachmentDataRef: A reference to the data of an attachment. +// AttachmentDataRef: Developer Preview +// (https://developers.google.com/workspace/preview). type AttachmentDataRef struct { // ResourceName: The resource name of the attachment data. This is used // with the media API to download the attachment data. @@ -3247,7 +3248,6 @@ func (s *ListMembershipsResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ListSpacesResponse: The response corresponding to ListSpacesRequest. type ListSpacesResponse struct { // NextPageToken: A token that can be sent as `pageToken` to retrieve // the next page of results. If empty, there are no subsequent pages. @@ -5872,8 +5872,9 @@ func (c *SpacesListCall) PageSize(pageSize int64) *SpacesListCall { // PageToken sets the optional parameter "pageToken": 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. +// 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. func (c *SpacesListCall) PageToken(pageToken string) *SpacesListCall { c.urlParams_.Set("pageToken", pageToken) return c @@ -5988,7 +5989,7 @@ func (c *SpacesListCall) Do(opts ...googleapi.CallOption) (*ListSpacesResponse, // "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" // } @@ -7156,8 +7157,17 @@ type SpacesMessagesUpdateCall struct { // Update: 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 +// 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. // // - name: Resource name in the form `spaces/*/messages/*`. Example: // `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. @@ -7280,7 +7290,7 @@ func (c *SpacesMessagesUpdateCall) Do(opts ...googleapi.CallOption) (*Message, e } return ret, nil // { - // "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", diff --git a/texttospeech/v1/texttospeech-api.json b/texttospeech/v1/texttospeech-api.json index ff0f52ba8ee..ef4ebb2ac95 100644 --- a/texttospeech/v1/texttospeech-api.json +++ b/texttospeech/v1/texttospeech-api.json @@ -153,7 +153,7 @@ } } }, - "revision": "20220311", + "revision": "20221109", "rootUrl": "https://texttospeech.googleapis.com/", "schemas": { "AudioConfig": { @@ -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": { diff --git a/texttospeech/v1/texttospeech-gen.go b/texttospeech/v1/texttospeech-gen.go index 666bbb019ec..1cee0dc379f 100644 --- a/texttospeech/v1/texttospeech-gen.go +++ b/texttospeech/v1/texttospeech-gen.go @@ -345,7 +345,7 @@ func (s *ListVoicesResponse) MarshalJSON() ([]byte, error) { // SynthesisInput: 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. +// bytes. type SynthesisInput struct { // Ssml: The SSML document to be synthesized. The SSML document must be // valid and well-formed. Otherwise the RPC will fail and return diff --git a/texttospeech/v1beta1/texttospeech-api.json b/texttospeech/v1beta1/texttospeech-api.json index e62a47dd30e..c126f1d104c 100644 --- a/texttospeech/v1beta1/texttospeech-api.json +++ b/texttospeech/v1beta1/texttospeech-api.json @@ -153,7 +153,7 @@ } } }, - "revision": "20211130", + "revision": "20221109", "rootUrl": "https://texttospeech.googleapis.com/", "schemas": { "AudioConfig": { @@ -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": { diff --git a/texttospeech/v1beta1/texttospeech-gen.go b/texttospeech/v1beta1/texttospeech-gen.go index e60420548ee..ab1a7a277b9 100644 --- a/texttospeech/v1beta1/texttospeech-gen.go +++ b/texttospeech/v1beta1/texttospeech-gen.go @@ -346,7 +346,7 @@ func (s *ListVoicesResponse) MarshalJSON() ([]byte, error) { // SynthesisInput: 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. +// bytes. type SynthesisInput struct { // Ssml: The SSML document to be synthesized. The SSML document must be // valid and well-formed. Otherwise the RPC will fail and return