diff --git a/admin/directory/v1/admin-api.json b/admin/directory/v1/admin-api.json index 6107a240a9b..a8e810c9270 100644 --- a/admin/directory/v1/admin-api.json +++ b/admin/directory/v1/admin-api.json @@ -416,8 +416,7 @@ "lastSync", "notes", "serialNumber", - "status", - "supportEndDate" + "status" ], "enumDescriptions": [ "Chrome device location as annotated by the administrator.", @@ -425,8 +424,7 @@ "The date and time the Chrome device was last synchronized with the policy settings in the Admin console.", "Chrome device notes as annotated by the administrator.", "The Chrome device serial number entered when the device was enabled.", - "Chrome device status. For more information, see the \u003ca [chromeosdevices](/admin-sdk/directory/v1/reference/chromeosdevices.html).", - "Chrome device support end date. This is applicable only for devices purchased directly from Google." + "Chrome device status. For more information, see the \u003ca [chromeosdevices](/admin-sdk/directory/v1/reference/chromeosdevices.html)." ], "location": "query", "type": "string" @@ -4407,7 +4405,7 @@ } } }, - "revision": "20220816", + "revision": "20220905", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Alias": { diff --git a/admin/directory/v1/admin-gen.go b/admin/directory/v1/admin-gen.go index 62af1d8edf9..c6c31a8226a 100644 --- a/admin/directory/v1/admin-gen.go +++ b/admin/directory/v1/admin-gen.go @@ -6776,10 +6776,6 @@ func (c *ChromeosdevicesListCall) MaxResults(maxResults int64) *ChromeosdevicesL // // [chromeosdevices](/admin-sdk/directory/v1/reference/chromeosdevices.ht // ml). -// -// "supportEndDate" - Chrome device support end date. This is -// -// applicable only for devices purchased directly from Google. func (c *ChromeosdevicesListCall) OrderBy(orderBy string) *ChromeosdevicesListCall { c.urlParams_.Set("orderBy", orderBy) return c @@ -6971,8 +6967,7 @@ func (c *ChromeosdevicesListCall) Do(opts ...googleapi.CallOption) (*ChromeOsDev // "lastSync", // "notes", // "serialNumber", - // "status", - // "supportEndDate" + // "status" // ], // "enumDescriptions": [ // "Chrome device location as annotated by the administrator.", @@ -6980,8 +6975,7 @@ func (c *ChromeosdevicesListCall) Do(opts ...googleapi.CallOption) (*ChromeOsDev // "The date and time the Chrome device was last synchronized with the policy settings in the Admin console.", // "Chrome device notes as annotated by the administrator.", // "The Chrome device serial number entered when the device was enabled.", - // "Chrome device status. For more information, see the \u003ca [chromeosdevices](/admin-sdk/directory/v1/reference/chromeosdevices.html).", - // "Chrome device support end date. This is applicable only for devices purchased directly from Google." + // "Chrome device status. For more information, see the \u003ca [chromeosdevices](/admin-sdk/directory/v1/reference/chromeosdevices.html)." // ], // "location": "query", // "type": "string" diff --git a/assuredworkloads/v1/assuredworkloads-api.json b/assuredworkloads/v1/assuredworkloads-api.json index 4d6dbdb5b90..c856fe71440 100644 --- a/assuredworkloads/v1/assuredworkloads-api.json +++ b/assuredworkloads/v1/assuredworkloads-api.json @@ -379,7 +379,7 @@ } } }, - "revision": "20220818", + "revision": "20220901", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata": { @@ -780,8 +780,7 @@ "id": "GoogleCloudAssuredworkloadsV1beta1Workload", "properties": { "billingAccount": { - "description": "Output only. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`.", - "readOnly": true, + "description": "Optional. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`.", "type": "string" }, "cjisSettings": { @@ -820,6 +819,14 @@ ], "type": "string" }, + "compliantButDisallowedServices": { + "description": "Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment.\"", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, "createTime": { "description": "Output only. Immutable. The Workload creation timestamp.", "format": "google-datetime", @@ -1137,7 +1144,7 @@ "id": "GoogleCloudAssuredworkloadsVersioningV1mainWorkload", "properties": { "billingAccount": { - "description": "Input only. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`.", + "description": "Optional. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`.", "type": "string" }, "cjisSettings": { @@ -1181,6 +1188,14 @@ "description": "Output only. Count of active Violations in the Workload.", "readOnly": true }, + "compliantButDisallowedServices": { + "description": "Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment.\"", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, "createTime": { "description": "Output only. Immutable. The Workload creation timestamp.", "format": "google-datetime", diff --git a/assuredworkloads/v1/assuredworkloads-gen.go b/assuredworkloads/v1/assuredworkloads-gen.go index 93b0259ce15..ca670f49feb 100644 --- a/assuredworkloads/v1/assuredworkloads-gen.go +++ b/assuredworkloads/v1/assuredworkloads-gen.go @@ -712,12 +712,12 @@ func (s *GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata) Mars // GoogleCloudAssuredworkloadsV1beta1Workload: An Workload object for // managing highly regulated workloads of cloud customers. type GoogleCloudAssuredworkloadsV1beta1Workload struct { - // BillingAccount: Output only. The billing account used for the - // resources which are direct children of workload. This billing account - // is initially associated with the resources created as part of - // Workload creation. After the initial creation of these resources, the - // customer can change the assigned billing account. The resource name - // has the form `billingAccounts/{billing_account_id}`. For example, + // BillingAccount: Optional. The billing account used for the resources + // which are direct children of workload. This billing account is + // initially associated with the resources created as part of Workload + // creation. After the initial creation of these resources, the customer + // can change the assigned billing account. The resource name has the + // form `billingAccounts/{billing_account_id}`. For example, // `billingAccounts/012345-567890-ABCDEF`. BillingAccount string `json:"billingAccount,omitempty"` @@ -749,6 +749,13 @@ type GoogleCloudAssuredworkloadsV1beta1Workload struct { // Regions and Support controls ComplianceRegime string `json:"complianceRegime,omitempty"` + // CompliantButDisallowedServices: Output only. Urls for services which + // are compliant for this Assured Workload, but which are currently + // disallowed by the ResourceUsageRestriction org policy. Invoke + // RestrictAllowedResources endpoint to allow your project developers to + // use these services in their environment." + CompliantButDisallowedServices []string `json:"compliantButDisallowedServices,omitempty"` + // CreateTime: Output only. Immutable. The Workload creation timestamp. CreateTime string `json:"createTime,omitempty"` @@ -1223,12 +1230,12 @@ func (s *GoogleCloudAssuredworkloadsVersioningV1mainCreateWorkloadOperationMetad // GoogleCloudAssuredworkloadsVersioningV1mainWorkload: An Workload // object for managing highly regulated workloads of cloud customers. type GoogleCloudAssuredworkloadsVersioningV1mainWorkload struct { - // BillingAccount: Input only. The billing account used for the - // resources which are direct children of workload. This billing account - // is initially associated with the resources created as part of - // Workload creation. After the initial creation of these resources, the - // customer can change the assigned billing account. The resource name - // has the form `billingAccounts/{billing_account_id}`. For example, + // BillingAccount: Optional. The billing account used for the resources + // which are direct children of workload. This billing account is + // initially associated with the resources created as part of Workload + // creation. After the initial creation of these resources, the customer + // can change the assigned billing account. The resource name has the + // form `billingAccounts/{billing_account_id}`. For example, // `billingAccounts/012345-567890-ABCDEF`. BillingAccount string `json:"billingAccount,omitempty"` @@ -1264,6 +1271,13 @@ type GoogleCloudAssuredworkloadsVersioningV1mainWorkload struct { // Workload. ComplianceStatus *GoogleCloudAssuredworkloadsVersioningV1mainWorkloadComplianceStatus `json:"complianceStatus,omitempty"` + // CompliantButDisallowedServices: Output only. Urls for services which + // are compliant for this Assured Workload, but which are currently + // disallowed by the ResourceUsageRestriction org policy. Invoke + // RestrictAllowedResources endpoint to allow your project developers to + // use these services in their environment." + CompliantButDisallowedServices []string `json:"compliantButDisallowedServices,omitempty"` + // CreateTime: Output only. Immutable. The Workload creation timestamp. CreateTime string `json:"createTime,omitempty"` diff --git a/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-api.json b/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-api.json index 778c20193c2..5fd19b94c6f 100644 --- a/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-api.json +++ b/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-api.json @@ -1262,7 +1262,7 @@ ] }, "list": { - "description": "Lists publisher profiles", + "description": "Lists publisher profiles. The returned publisher profiles aren't in any defined order. The order of the results might change. A new publisher profile can appear in any place in the list of returned results.", "flatPath": "v1/buyers/{buyersId}/publisherProfiles", "httpMethod": "GET", "id": "authorizedbuyersmarketplace.buyers.publisherProfiles.list", @@ -1307,7 +1307,7 @@ } } }, - "revision": "20220806", + "revision": "20220907", "rootUrl": "https://authorizedbuyersmarketplace.googleapis.com/", "schemas": { "AcceptProposalRequest": { diff --git a/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go b/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go index 24b43607e90..38e4f7d2d94 100644 --- a/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go +++ b/authorizedbuyersmarketplace/v1/authorizedbuyersmarketplace-gen.go @@ -8890,7 +8890,10 @@ type BuyersPublisherProfilesListCall struct { header_ http.Header } -// List: Lists publisher profiles +// List: Lists publisher profiles. The returned publisher profiles +// aren't in any defined order. The order of the results might change. A +// new publisher profile can appear in any place in the list of returned +// results. // // - parent: Parent that owns the collection of publisher profiles // Format: `buyers/{buyerId}`. @@ -9024,7 +9027,7 @@ func (c *BuyersPublisherProfilesListCall) Do(opts ...googleapi.CallOption) (*Lis } return ret, nil // { - // "description": "Lists publisher profiles", + // "description": "Lists publisher profiles. The returned publisher profiles aren't in any defined order. The order of the results might change. A new publisher profile can appear in any place in the list of returned results.", // "flatPath": "v1/buyers/{buyersId}/publisherProfiles", // "httpMethod": "GET", // "id": "authorizedbuyersmarketplace.buyers.publisherProfiles.list", diff --git a/chat/v1/chat-api.json b/chat/v1/chat-api.json index d1ecaaa9105..4ea8aafa78e 100644 --- a/chat/v1/chat-api.json +++ b/chat/v1/chat-api.json @@ -642,7 +642,7 @@ } } }, - "revision": "20220826", + "revision": "20220904", "rootUrl": "https://chat.googleapis.com/", "schemas": { "ActionParameter": { @@ -1283,7 +1283,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. Not supported by Google Chat apps.", + "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](https://developers.google.com/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](https://developers.google.com/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" } }, @@ -2033,7 +2033,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](https://developers.google.com/workspace/add-ons/concepts/widgets#text_formatting) for details.", "id": "GoogleAppsCardV1TextParagraph", "properties": { "text": { diff --git a/chat/v1/chat-gen.go b/chat/v1/chat-gen.go index 3cc4b068ba5..fe63ad222df 100644 --- a/chat/v1/chat-gen.go +++ b/chat/v1/chat-gen.go @@ -1344,14 +1344,14 @@ type GoogleAppsCardV1Action struct { // PersistValues: 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) + // (https://developers.google.com/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) + // (https://developers.google.com/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. @@ -2527,7 +2527,8 @@ func (s *GoogleAppsCardV1TextInput) MarshalJSON() ([]byte, error) { // GoogleAppsCardV1TextParagraph: A paragraph of text that supports // formatting. See Text formatting -// (workspace/add-ons/concepts/widgets#text_formatting) for details. +// (https://developers.google.com/workspace/add-ons/concepts/widgets#text_formatting) +// for details. type GoogleAppsCardV1TextParagraph struct { // Text: The text that's shown in the widget. Text string `json:"text,omitempty"` diff --git a/cloudsearch/v1/cloudsearch-api.json b/cloudsearch/v1/cloudsearch-api.json index b39bf7d7725..d902f6a6d78 100644 --- a/cloudsearch/v1/cloudsearch-api.json +++ b/cloudsearch/v1/cloudsearch-api.json @@ -2059,7 +2059,7 @@ } } }, - "revision": "20220816", + "revision": "20220829", "rootUrl": "https://cloudsearch.googleapis.com/", "schemas": { "AbuseReportingConfig": { @@ -2581,12 +2581,12 @@ "type": "object" }, "AppsDynamiteSharedActivityFeedAnnotationData": { - "description": "Next Id: 5", + "description": "Next Id: 6", "id": "AppsDynamiteSharedActivityFeedAnnotationData", "properties": { "activityFeedMessageId": { - "description": "Unique id of the Activity Feed message. This will be in the form of \"space-id/message-id\" or \"dm-id/message-id\", where the space-/dm-id and message-id components are extracted from the top-level MessageId in message.proto (http://shortn/_SulV51DNfF). This is copied into annotations so that no client changes are needed to access this value. Clients will need a unique id for every Activity Feed message to implement click-to-source.", - "type": "string" + "$ref": "MessageId", + "description": "Unique id of the Activity Feed message used by clients to implement click-to-source. This is the same messageId as the top-level id field for the Activity Feed item." }, "chatItem": { "$ref": "AppsDynamiteSharedChatItem" @@ -4152,13 +4152,25 @@ "type": "object" }, "AppsDynamiteSharedMessageInfo": { - "description": "Information that references a Dynamite chat message.", + "description": "Information that references a Dynamite chat message. This is only used for Activity Feed messages.", "id": "AppsDynamiteSharedMessageInfo", "properties": { "messageId": { "$ref": "MessageId", "description": "Id of the source chat message. This is kept here because the top-level message ID to refers the AF message ID." }, + "messageType": { + "description": "The type of the source chat message.", + "enum": [ + "MESSAGE_TYPE_UNSPECIFIED", + "INLINE_REPLY" + ], + "enumDescriptions": [ + "Default value where type is not specified.", + "The source chat message is a threaded reply to another message." + ], + "type": "string" + }, "topicReadTimeUsec": { "description": "Timestamp of when the topic containing the message has been read by the user. This is populated if the message references an inline reply, in which case the space may be marked as read but the topic still has unread messages.", "format": "int64", @@ -5512,7 +5524,7 @@ "type": "boolean" }, "moderationEnabled": { - "description": "Indicates whether the current call is moderated. go/meet-multimod-dd", + "description": "Indicates whether the current call is moderated.", "type": "boolean" }, "presentLock": { @@ -10865,7 +10877,7 @@ "type": "array" }, "meetingAlias": { - "description": "An optional alias for the meeting space. The alias can in some cases be resolved to the meeting space, similar to the meeting code. The limitation is that the user needs to be in the same meeting domain as the meeting space. See go/thor-backend/meeting-alias for more details.", + "description": "An optional alias for the meeting space. The alias can in some cases be resolved to the meeting space, similar to the meeting code. The limitation is that the user needs to be in the same meeting domain as the meeting space.", "type": "string" }, "meetingCode": { @@ -10881,7 +10893,7 @@ "type": "string" }, "moreJoinUrl": { - "description": "Output only. A URL that clients (e.g. Calendar) can use to show the web page with all join methods available for this meeting space. This link is also used in iOS universal links and Android intents, used for opening the \"More ways to join\" view in the Thor mobile apps. Example: https://tel.meet/mee-ting-cod?pin=1234567891011 Here, \"pin\" is the universal phone PIN. We include it explicitly to better support the offline case on the mobile. This is set when the meeting space has either a universal PIN or an interop PIN and clients who can show a \"more ways to join\" button should show it whenever this field is set.", + "description": "Output only. A URL that clients (e.g. Calendar) can use to show the web page with all join methods available for this meeting space. This link is also used in iOS universal links and Android intents, used for opening the \"More ways to join\" view in the Meet mobile apps. Example: https://tel.meet/mee-ting-cod?pin=1234567891011 Here, \"pin\" is the universal phone PIN. We include it explicitly to better support the offline case on the mobile. This is set when the meeting space has either a universal PIN or an interop PIN and clients who can show a \"more ways to join\" button should show it whenever this field is set.", "readOnly": true, "type": "string" }, @@ -11239,6 +11251,10 @@ "$ref": "MessageId", "description": "ID of the resource." }, + "isContentPurged": { + "description": "Whether the message is content purged. Content purged messages contain only data required for tombstone (see go/chat-infinite-tombstone). This field is only used by Vault to display tombstone and should only be set to true if the message is a tombstone.", + "type": "boolean" + }, "isInlineReply": { "description": "Output only. Indicates if the message is an inline reply. Set to true only if the message's ParentPath is non-NULL. Currently, only inline replies have non-NULL ParentPath. See go/chat-be-inline-reply-indicator.", "readOnly": true, @@ -12996,8 +13012,8 @@ "enumDescriptions": [ "This is never used.", "A meeting recording saved to a video file in Google Drive.", - "A *Google Live* managed stream. See go/thor-managed-streaming.", - "A meeting broadcast. See go/thor-streaming-prd." + "A *Google Live* managed stream.", + "A meeting broadcast." ], "type": "string" }, @@ -13130,9 +13146,11 @@ "items": { "enum": [ "REQUIRED_FEATURE_UNSPECIFIED", - "REQUIRED_FEATURE_MESSAGE_QUOTING" + "REQUIRED_FEATURE_MESSAGE_QUOTING", + "REQUIRED_FEATURE_TOMBSTONES_IN_DMS_AND_UFRS" ], "enumDescriptions": [ + "", "", "" ], @@ -14048,7 +14066,7 @@ "type": "boolean" }, "moderationEnabled": { - "description": "Indicates whether the meeting space is moderated. go/meet-multimod-dd", + "description": "Indicates whether the meeting space is moderated.", "type": "boolean" }, "presentLock": { @@ -14515,8 +14533,8 @@ "enumDescriptions": [ "This is never used.", "A meeting recording saved to a video file in Google Drive.", - "A *Google Live* managed stream. See go/thor-managed-streaming.", - "A meeting broadcast. See go/thor-streaming-prd." + "A *Google Live* managed stream.", + "A meeting broadcast." ], "type": "string" }, @@ -15428,7 +15446,7 @@ "type": "object" }, "UserInfo": { - "description": "Contains info regarding the updater of an Activity Feed item. Next Id: 6", + "description": "Contains info regarding the updater of an Activity Feed item. Next Id: 7", "id": "UserInfo", "properties": { "updaterCountDisplayType": { @@ -15459,6 +15477,10 @@ "format": "int64", "type": "string" }, + "updaterToShowName": { + "description": "The display name of the updater for clients to show used for Gmail items. This (along with the updater fields above) will be populated in the thread pipeline (http://shortn/_rPS0GCp94Y) when converting Activity Feed message attributes into client-renderable Activity Feed items.", + "type": "string" + }, "updaterToShowUserId": { "$ref": "UserId", "description": "The updater for clients to show used for Dynamite Chat items." diff --git a/cloudsearch/v1/cloudsearch-gen.go b/cloudsearch/v1/cloudsearch-gen.go index 26058122eb8..0c48dffcbfe 100644 --- a/cloudsearch/v1/cloudsearch-gen.go +++ b/cloudsearch/v1/cloudsearch-gen.go @@ -1156,16 +1156,12 @@ func (s *AppsDynamiteSharedActionActionParameter) MarshalJSON() ([]byte, error) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AppsDynamiteSharedActivityFeedAnnotationData: Next Id: 5 +// AppsDynamiteSharedActivityFeedAnnotationData: Next Id: 6 type AppsDynamiteSharedActivityFeedAnnotationData struct { - // ActivityFeedMessageId: Unique id of the Activity Feed message. This - // will be in the form of "space-id/message-id" or "dm-id/message-id", - // where the space-/dm-id and message-id components are extracted from - // the top-level MessageId in message.proto (http://shortn/_SulV51DNfF). - // This is copied into annotations so that no client changes are needed - // to access this value. Clients will need a unique id for every - // Activity Feed message to implement click-to-source. - ActivityFeedMessageId string `json:"activityFeedMessageId,omitempty"` + // ActivityFeedMessageId: Unique id of the Activity Feed message used by + // clients to implement click-to-source. This is the same messageId as + // the top-level id field for the Activity Feed item. + ActivityFeedMessageId *MessageId `json:"activityFeedMessageId,omitempty"` ChatItem *AppsDynamiteSharedChatItem `json:"chatItem,omitempty"` @@ -3583,12 +3579,21 @@ func (s *AppsDynamiteSharedMeetMetadata) MarshalJSON() ([]byte, error) { } // AppsDynamiteSharedMessageInfo: Information that references a Dynamite -// chat message. +// chat message. This is only used for Activity Feed messages. type AppsDynamiteSharedMessageInfo struct { // MessageId: Id of the source chat message. This is kept here because // the top-level message ID to refers the AF message ID. MessageId *MessageId `json:"messageId,omitempty"` + // MessageType: The type of the source chat message. + // + // Possible values: + // "MESSAGE_TYPE_UNSPECIFIED" - Default value where type is not + // specified. + // "INLINE_REPLY" - The source chat message is a threaded reply to + // another message. + MessageType string `json:"messageType,omitempty"` + // TopicReadTimeUsec: Timestamp of when the topic containing the message // has been read by the user. This is populated if the message // references an inline reply, in which case the space may be marked as @@ -5715,7 +5720,6 @@ type CallSettings struct { CseEnabled bool `json:"cseEnabled,omitempty"` // ModerationEnabled: Indicates whether the current call is moderated. - // go/meet-multimod-dd ModerationEnabled bool `json:"moderationEnabled,omitempty"` // PresentLock: Indicates whether the present lock is currently on or @@ -13711,8 +13715,7 @@ type MeetingSpace struct { // MeetingAlias: An optional alias for the meeting space. The alias can // in some cases be resolved to the meeting space, similar to the // meeting code. The limitation is that the user needs to be in the same - // meeting domain as the meeting space. See - // go/thor-backend/meeting-alias for more details. + // meeting domain as the meeting space. MeetingAlias string `json:"meetingAlias,omitempty"` // MeetingCode: A meeting code is a globally unique code which points to @@ -13734,7 +13737,7 @@ type MeetingSpace struct { // MoreJoinUrl: Output only. A URL that clients (e.g. Calendar) can use // to show the web page with all join methods available for this meeting // space. This link is also used in iOS universal links and Android - // intents, used for opening the "More ways to join" view in the Thor + // intents, used for opening the "More ways to join" view in the Meet // mobile apps. Example: https://tel.meet/mee-ting-cod?pin=1234567891011 // Here, "pin" is the universal phone PIN. We include it explicitly to // better support the offline case on the mobile. This is set when the @@ -14175,6 +14178,13 @@ type Message struct { // Id: ID of the resource. Id *MessageId `json:"id,omitempty"` + // IsContentPurged: Whether the message is content purged. Content + // purged messages contain only data required for tombstone (see + // go/chat-infinite-tombstone). This field is only used by Vault to + // display tombstone and should only be set to true if the message is a + // tombstone. + IsContentPurged bool `json:"isContentPurged,omitempty"` + // IsInlineReply: Output only. Indicates if the message is an inline // reply. Set to true only if the message's ParentPath is non-NULL. // Currently, only inline replies have non-NULL ParentPath. See @@ -16827,9 +16837,8 @@ type RecordingInfo struct { // "RECORDING_APPLICATION_TYPE_UNSPECIFIED" - This is never used. // "RECORDING" - A meeting recording saved to a video file in Google // Drive. - // "GLIVE_STREAM" - A *Google Live* managed stream. See - // go/thor-managed-streaming. - // "BROADCAST" - A meeting broadcast. See go/thor-streaming-prd. + // "GLIVE_STREAM" - A *Google Live* managed stream. + // "BROADCAST" - A meeting broadcast. RecordingApplicationType string `json:"recordingApplicationType,omitempty"` // RecordingId: An identifier for the current recording, if any. This is @@ -17053,6 +17062,7 @@ type RequiredMessageFeaturesMetadata struct { // Possible values: // "REQUIRED_FEATURE_UNSPECIFIED" // "REQUIRED_FEATURE_MESSAGE_QUOTING" + // "REQUIRED_FEATURE_TOMBSTONES_IN_DMS_AND_UFRS" RequiredFeatures []string `json:"requiredFeatures,omitempty"` // ForceSendFields is a list of field names (e.g. "RequiredFeatures") to @@ -18514,7 +18524,6 @@ type Settings struct { DefaultAsViewer bool `json:"defaultAsViewer,omitempty"` // ModerationEnabled: Indicates whether the meeting space is moderated. - // go/meet-multimod-dd ModerationEnabled bool `json:"moderationEnabled,omitempty"` // PresentLock: The present lock of the meeting space that lets owner @@ -19392,9 +19401,8 @@ type StreamingSessionInfo struct { // "RECORDING_APPLICATION_TYPE_UNSPECIFIED" - This is never used. // "RECORDING" - A meeting recording saved to a video file in Google // Drive. - // "GLIVE_STREAM" - A *Google Live* managed stream. See - // go/thor-managed-streaming. - // "BROADCAST" - A meeting broadcast. See go/thor-streaming-prd. + // "GLIVE_STREAM" - A *Google Live* managed stream. + // "BROADCAST" - A meeting broadcast. ApplicationType string `json:"applicationType,omitempty"` // LatestSessionEvent: The latest streaming session event. This can be @@ -20945,7 +20953,7 @@ func (s *UserId) MarshalJSON() ([]byte, error) { } // UserInfo: Contains info regarding the updater of an Activity Feed -// item. Next Id: 6 +// item. Next Id: 7 type UserInfo struct { // UpdaterCountDisplayType: Describes how updater_count_to_show should // be used. @@ -20974,6 +20982,13 @@ type UserInfo struct { // field below should be populated. UpdaterToShowGaiaId int64 `json:"updaterToShowGaiaId,omitempty,string"` + // UpdaterToShowName: The display name of the updater for clients to + // show used for Gmail items. This (along with the updater fields above) + // will be populated in the thread pipeline (http://shortn/_rPS0GCp94Y) + // when converting Activity Feed message attributes into + // client-renderable Activity Feed items. + UpdaterToShowName string `json:"updaterToShowName,omitempty"` + // UpdaterToShowUserId: The updater for clients to show used for // Dynamite Chat items. UpdaterToShowUserId *UserId `json:"updaterToShowUserId,omitempty"` diff --git a/dlp/v2/dlp-api.json b/dlp/v2/dlp-api.json index f743cf90c2f..3ac8345fc10 100644 --- a/dlp/v2/dlp-api.json +++ b/dlp/v2/dlp-api.json @@ -3412,7 +3412,7 @@ } } }, - "revision": "20220826", + "revision": "20220904", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": { @@ -8017,7 +8017,7 @@ "id": "GooglePrivacyDlpV2TimespanConfig", "properties": { "enableAutoPopulationOfTimespanConfig": { - "description": "When the job is started by a JobTrigger we will automatically figure out a valid start_time to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger.", + "description": "When the job is started by a JobTrigger we will automatically figure out a valid start_time to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger or the timespan end_time used in the last run of the JobTrigger.", "type": "boolean" }, "endTime": { diff --git a/dlp/v2/dlp-gen.go b/dlp/v2/dlp-gen.go index 444b1e5f192..41ab3aaaf48 100644 --- a/dlp/v2/dlp-gen.go +++ b/dlp/v2/dlp-gen.go @@ -8607,7 +8607,8 @@ type GooglePrivacyDlpV2TimespanConfig struct { // JobTrigger we will automatically figure out a valid start_time to // avoid scanning files that have not been modified since the last time // the JobTrigger executed. This will be based on the time of the - // execution of the last run of the JobTrigger. + // execution of the last run of the JobTrigger or the timespan end_time + // used in the last run of the JobTrigger. EnableAutoPopulationOfTimespanConfig bool `json:"enableAutoPopulationOfTimespanConfig,omitempty"` // EndTime: Exclude files, tables, or rows newer than this value. If not diff --git a/recommender/v1/recommender-api.json b/recommender/v1/recommender-api.json index c52e25633be..8957d6e49d4 100644 --- a/recommender/v1/recommender-api.json +++ b/recommender/v1/recommender-api.json @@ -1442,7 +1442,7 @@ } } }, - "revision": "20220626", + "revision": "20220905", "rootUrl": "https://recommender.googleapis.com/", "schemas": { "GoogleCloudRecommenderV1CostProjection": { @@ -1495,7 +1495,7 @@ "type": "object" }, "GoogleCloudRecommenderV1Insight": { - "description": "An insight along with the information used to derive the insight. The insight may have associated recomendations as well.", + "description": "An insight along with the information used to derive the insight. The insight may have associated recommendations as well.", "id": "GoogleCloudRecommenderV1Insight", "properties": { "associatedRecommendations": { diff --git a/recommender/v1/recommender-gen.go b/recommender/v1/recommender-gen.go index 8453a6cf109..1063113bb7b 100644 --- a/recommender/v1/recommender-gen.go +++ b/recommender/v1/recommender-gen.go @@ -506,7 +506,7 @@ func (s *GoogleCloudRecommenderV1Impact) MarshalJSON() ([]byte, error) { // GoogleCloudRecommenderV1Insight: An insight along with the // information used to derive the insight. The insight may have -// associated recomendations as well. +// associated recommendations as well. type GoogleCloudRecommenderV1Insight struct { // AssociatedRecommendations: Recommendations derived from this insight. AssociatedRecommendations []*GoogleCloudRecommenderV1InsightRecommendationReference `json:"associatedRecommendations,omitempty"` diff --git a/recommender/v1beta1/recommender-api.json b/recommender/v1beta1/recommender-api.json index ddfc9f6fd78..afdf07fe168 100644 --- a/recommender/v1beta1/recommender-api.json +++ b/recommender/v1beta1/recommender-api.json @@ -1442,7 +1442,7 @@ } } }, - "revision": "20220307", + "revision": "20220905", "rootUrl": "https://recommender.googleapis.com/", "schemas": { "GoogleCloudRecommenderV1beta1CostProjection": { @@ -1501,7 +1501,7 @@ "type": "object" }, "GoogleCloudRecommenderV1beta1Insight": { - "description": "An insight along with the information used to derive the insight. The insight may have associated recomendations as well.", + "description": "An insight along with the information used to derive the insight. The insight may have associated recommendations as well.", "id": "GoogleCloudRecommenderV1beta1Insight", "properties": { "associatedRecommendations": { diff --git a/recommender/v1beta1/recommender-gen.go b/recommender/v1beta1/recommender-gen.go index 1094e87b8e3..3fbbe77a633 100644 --- a/recommender/v1beta1/recommender-gen.go +++ b/recommender/v1beta1/recommender-gen.go @@ -511,7 +511,7 @@ func (s *GoogleCloudRecommenderV1beta1Impact) MarshalJSON() ([]byte, error) { // GoogleCloudRecommenderV1beta1Insight: An insight along with the // information used to derive the insight. The insight may have -// associated recomendations as well. +// associated recommendations as well. type GoogleCloudRecommenderV1beta1Insight struct { // AssociatedRecommendations: Recommendations derived from this insight. AssociatedRecommendations []*GoogleCloudRecommenderV1beta1InsightRecommendationReference `json:"associatedRecommendations,omitempty"` diff --git a/storagetransfer/v1/storagetransfer-api.json b/storagetransfer/v1/storagetransfer-api.json index ea352eb1085..83550f2fe87 100644 --- a/storagetransfer/v1/storagetransfer-api.json +++ b/storagetransfer/v1/storagetransfer-api.json @@ -318,6 +318,38 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "delete": { + "description": "Deletes a transfer job. Deleting a transfer job sets its status to DELETED.", + "flatPath": "v1/transferJobs/{transferJobsId}", + "httpMethod": "DELETE", + "id": "storagetransfer.transferJobs.delete", + "parameterOrder": [ + "jobName", + "projectId" + ], + "parameters": { + "jobName": { + "description": "Required. The job to delete.", + "location": "path", + "pattern": "^transferJobs/.*$", + "required": true, + "type": "string" + }, + "projectId": { + "description": "Required. The ID of the Google Cloud project that owns the job.", + "location": "query", + "required": true, + "type": "string" + } + }, + "path": "v1/{+jobName}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "get": { "description": "Gets a transfer job.", "flatPath": "v1/transferJobs/{transferJobsId}", @@ -600,7 +632,7 @@ } } }, - "revision": "20220714", + "revision": "20220901", "rootUrl": "https://storagetransfer.googleapis.com/", "schemas": { "AgentPool": { @@ -1823,7 +1855,7 @@ }, "transferJob": { "$ref": "TransferJob", - "description": "Required. The job to update. `transferJob` is expected to specify one or more of five fields: description, transfer_spec, notification_config, logging_config, and status. An `UpdateTransferJobRequest` that specifies other fields are rejected with the error INVALID_ARGUMENT. Updating a job status to DELETED requires `storagetransfer.jobs.delete` permissions." + "description": "Required. The job to update. `transferJob` is expected to specify one or more of five fields: description, transfer_spec, notification_config, logging_config, and status. An `UpdateTransferJobRequest` that specifies other fields are rejected with the error INVALID_ARGUMENT. Updating a job status to DELETED requires `storagetransfer.jobs.delete` permission." }, "updateTransferJobFieldMask": { "description": "The field mask of the fields in `transferJob` that are to be updated in this request. Fields in `transferJob` that can be updated are: description, transfer_spec, notification_config, logging_config, and status. To update the `transfer_spec` of the job, a complete transfer specification must be provided. An incomplete specification missing any required fields is rejected with the error INVALID_ARGUMENT.", diff --git a/storagetransfer/v1/storagetransfer-gen.go b/storagetransfer/v1/storagetransfer-gen.go index e456af39554..0709f4aeeb4 100644 --- a/storagetransfer/v1/storagetransfer-gen.go +++ b/storagetransfer/v1/storagetransfer-gen.go @@ -2174,7 +2174,7 @@ type UpdateTransferJobRequest struct { // notification_config, logging_config, and status. An // `UpdateTransferJobRequest` that specifies other fields are rejected // with the error INVALID_ARGUMENT. Updating a job status to DELETED - // requires `storagetransfer.jobs.delete` permissions. + // requires `storagetransfer.jobs.delete` permission. TransferJob *TransferJob `json:"transferJob,omitempty"` // UpdateTransferJobFieldMask: The field mask of the fields in @@ -3293,6 +3293,148 @@ func (c *TransferJobsCreateCall) Do(opts ...googleapi.CallOption) (*TransferJob, } +// method id "storagetransfer.transferJobs.delete": + +type TransferJobsDeleteCall struct { + s *Service + jobName string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes a transfer job. Deleting a transfer job sets its +// status to DELETED. +// +// - jobName: The job to delete. +// - projectId: The ID of the Google Cloud project that owns the job. +func (r *TransferJobsService) Delete(jobName string, projectId string) *TransferJobsDeleteCall { + c := &TransferJobsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.jobName = jobName + c.urlParams_.Set("projectId", projectId) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *TransferJobsDeleteCall) Fields(s ...googleapi.Field) *TransferJobsDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *TransferJobsDeleteCall) Context(ctx context.Context) *TransferJobsDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *TransferJobsDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *TransferJobsDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+jobName}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "jobName": c.jobName, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "storagetransfer.transferJobs.delete" call. +// Exactly one of *Empty or error will be non-nil. Any non-2xx status +// code is an error. Response headers are in either +// *Empty.ServerResponse.Header or (if a response was returned at all) +// in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to +// check whether the returned error was because http.StatusNotModified +// was returned. +func (c *TransferJobsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &Empty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes a transfer job. Deleting a transfer job sets its status to DELETED.", + // "flatPath": "v1/transferJobs/{transferJobsId}", + // "httpMethod": "DELETE", + // "id": "storagetransfer.transferJobs.delete", + // "parameterOrder": [ + // "jobName", + // "projectId" + // ], + // "parameters": { + // "jobName": { + // "description": "Required. The job to delete.", + // "location": "path", + // "pattern": "^transferJobs/.*$", + // "required": true, + // "type": "string" + // }, + // "projectId": { + // "description": "Required. The ID of the Google Cloud project that owns the job.", + // "location": "query", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+jobName}", + // "response": { + // "$ref": "Empty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + // method id "storagetransfer.transferJobs.get": type TransferJobsGetCall struct {