diff --git a/adsense/v2/adsense-api.json b/adsense/v2/adsense-api.json index 96fcef36c03..646550c350c 100644 --- a/adsense/v2/adsense-api.json +++ b/adsense/v2/adsense-api.json @@ -1567,7 +1567,7 @@ } } }, - "revision": "20220330", + "revision": "20220420", "rootUrl": "https://adsense.googleapis.com/", "schemas": { "Account": { @@ -1692,14 +1692,14 @@ "properties": { "contentAdsSettings": { "$ref": "ContentAdsSettings", - "description": "Settings specific to content ads (AFC)." + "description": "Required. Settings specific to content ads (AFC)." }, "displayName": { "description": "Required. Display name of the ad unit, as provided when the ad unit was created.", "type": "string" }, "name": { - "description": "Required. Resource name of the ad unit. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}", + "description": "Resource name of the ad unit. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}", "type": "string" }, "reportingDimensionId": { @@ -1790,11 +1790,11 @@ "id": "ContentAdsSettings", "properties": { "size": { - "description": "Size of the ad unit. e.g. \"728x90\", \"1x3\" (for responsive ad units).", + "description": "Required. Size of the ad unit. e.g. \"728x90\", \"1x3\" (for responsive ad units).", "type": "string" }, "type": { - "description": "Type of the ad unit.", + "description": "Required. Type of the ad unit.", "enum": [ "TYPE_UNSPECIFIED", "DISPLAY", @@ -1821,7 +1821,7 @@ "id": "CustomChannel", "properties": { "displayName": { - "description": "Display name of the custom channel.", + "description": "Required. Display name of the custom channel.", "type": "string" }, "name": { diff --git a/adsense/v2/adsense-gen.go b/adsense/v2/adsense-gen.go index 15cb387231f..940f0b5e482 100644 --- a/adsense/v2/adsense-gen.go +++ b/adsense/v2/adsense-gen.go @@ -419,14 +419,14 @@ func (s *AdClientAdCode) MarshalJSON() ([]byte, error) { // ad unit with a specific set of ad settings that have been customized // within an account. type AdUnit struct { - // ContentAdsSettings: Settings specific to content ads (AFC). + // ContentAdsSettings: Required. Settings specific to content ads (AFC). ContentAdsSettings *ContentAdsSettings `json:"contentAdsSettings,omitempty"` // DisplayName: Required. Display name of the ad unit, as provided when // the ad unit was created. DisplayName string `json:"displayName,omitempty"` - // Name: Required. Resource name of the ad unit. Format: + // Name: Resource name of the ad unit. Format: // accounts/{account}/adclients/{adclient}/adunits/{adunit} Name string `json:"name,omitempty"` @@ -583,11 +583,11 @@ func (s *Cell) MarshalJSON() ([]byte, error) { // ContentAdsSettings: Settings specific to content ads (AFC). type ContentAdsSettings struct { - // Size: Size of the ad unit. e.g. "728x90", "1x3" (for responsive ad - // units). + // Size: Required. Size of the ad unit. e.g. "728x90", "1x3" (for + // responsive ad units). Size string `json:"size,omitempty"` - // Type: Type of the ad unit. + // Type: Required. Type of the ad unit. // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified ad unit type. @@ -624,7 +624,7 @@ func (s *ContentAdsSettings) MarshalJSON() ([]byte, error) { // CustomChannel: Representation of a custom channel. type CustomChannel struct { - // DisplayName: Display name of the custom channel. + // DisplayName: Required. Display name of the custom channel. DisplayName string `json:"displayName,omitempty"` // Name: Resource name of the custom channel. Format: diff --git a/apikeys/v2/apikeys-api.json b/apikeys/v2/apikeys-api.json index 1e9ab57291b..4a2f014b932 100644 --- a/apikeys/v2/apikeys-api.json +++ b/apikeys/v2/apikeys-api.json @@ -344,7 +344,7 @@ "type": "string" }, "updateMask": { - "description": "The field mask specifies which fields to be updated as part of this request. All other fields are ignored. Mutable fields are: `display_name` and `restrictions`. If an update mask is not provided, the service treats it as an implied mask equivalent to all allowed fields that are set on the wire. If the field mask has a special value \"*\", the service treats it equivalent to replace all allowed mutable fields.", + "description": "The field mask specifies which fields to be updated as part of this request. All other fields are ignored. Mutable fields are: `display_name`,`restrictions` and `annotations`. If an update mask is not provided, the service treats it as an implied mask equivalent to all allowed fields that are set on the wire. If the field mask has a special value \"*\", the service treats it equivalent to replace all allowed mutable fields.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -396,7 +396,7 @@ } } }, - "revision": "20220405", + "revision": "20220419", "rootUrl": "https://apikeys.googleapis.com/", "schemas": { "Operation": { diff --git a/apikeys/v2/apikeys-gen.go b/apikeys/v2/apikeys-gen.go index 777a164e452..3d3f009604a 100644 --- a/apikeys/v2/apikeys-gen.go +++ b/apikeys/v2/apikeys-gen.go @@ -1874,11 +1874,12 @@ func (r *ProjectsLocationsKeysService) Patch(name string, v2key *V2Key) *Project // UpdateMask sets the optional parameter "updateMask": The field mask // specifies which fields to be updated as part of this request. All -// other fields are ignored. Mutable fields are: `display_name` and -// `restrictions`. If an update mask is not provided, the service treats -// it as an implied mask equivalent to all allowed fields that are set -// on the wire. If the field mask has a special value "*", the service -// treats it equivalent to replace all allowed mutable fields. +// other fields are ignored. Mutable fields are: +// `display_name`,`restrictions` and `annotations`. If an update mask is +// not provided, the service treats it as an implied mask equivalent to +// all allowed fields that are set on the wire. If the field mask has a +// special value "*", the service treats it equivalent to replace all +// allowed mutable fields. func (c *ProjectsLocationsKeysPatchCall) UpdateMask(updateMask string) *ProjectsLocationsKeysPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -1991,7 +1992,7 @@ func (c *ProjectsLocationsKeysPatchCall) Do(opts ...googleapi.CallOption) (*Oper // "type": "string" // }, // "updateMask": { - // "description": "The field mask specifies which fields to be updated as part of this request. All other fields are ignored. Mutable fields are: `display_name` and `restrictions`. If an update mask is not provided, the service treats it as an implied mask equivalent to all allowed fields that are set on the wire. If the field mask has a special value \"*\", the service treats it equivalent to replace all allowed mutable fields.", + // "description": "The field mask specifies which fields to be updated as part of this request. All other fields are ignored. Mutable fields are: `display_name`,`restrictions` and `annotations`. If an update mask is not provided, the service treats it as an implied mask equivalent to all allowed fields that are set on the wire. If the field mask has a special value \"*\", the service treats it equivalent to replace all allowed mutable fields.", // "format": "google-fieldmask", // "location": "query", // "type": "string" diff --git a/cloudfunctions/v1/cloudfunctions-api.json b/cloudfunctions/v1/cloudfunctions-api.json index b3dbb67e9c2..4e82eb96d6d 100644 --- a/cloudfunctions/v1/cloudfunctions-api.json +++ b/cloudfunctions/v1/cloudfunctions-api.json @@ -546,7 +546,7 @@ } } }, - "revision": "20220331", + "revision": "20220413", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { @@ -606,7 +606,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, @@ -1578,7 +1578,7 @@ "properties": { "policy": { "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them." + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." }, "updateMask": { "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", @@ -1636,7 +1636,7 @@ "id": "TestIamPermissionsRequest", "properties": { "permissions": { - "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", "items": { "type": "string" }, diff --git a/cloudfunctions/v1/cloudfunctions-gen.go b/cloudfunctions/v1/cloudfunctions-gen.go index 75d410dc657..57488c0a10e 100644 --- a/cloudfunctions/v1/cloudfunctions-gen.go +++ b/cloudfunctions/v1/cloudfunctions-gen.go @@ -291,8 +291,8 @@ type Binding struct { // (https://cloud.google.com/iam/help/conditions/resource-policies). Condition *Expr `json:"condition,omitempty"` - // Members: Specifies the principals requesting access for a Cloud - // Platform resource. `members` can have the following values: * + // Members: Specifies the principals requesting access for a Google + // Cloud resource. `members` can have the following values: * // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone @@ -1883,7 +1883,7 @@ func (s *SecretVolume) MarshalJSON() ([]byte, error) { type SetIamPolicyRequest struct { // Policy: REQUIRED: The complete policy to be applied to the // `resource`. The size of the policy is limited to a few 10s of KB. An - // empty policy is a valid policy but certain Cloud Platform services + // empty policy is a valid policy but certain Google Cloud services // (such as Projects) might reject them. Policy *Policy `json:"policy,omitempty"` @@ -2008,7 +2008,7 @@ func (s *Status) MarshalJSON() ([]byte, error) { // method. type TestIamPermissionsRequest struct { // Permissions: The set of permissions to check for the `resource`. - // Permissions with wildcards (such as '*' or 'storage.*') are not + // Permissions with wildcards (such as `*` or `storage.*`) are not // allowed. For more information see IAM Overview // (https://cloud.google.com/iam/docs/overview#permissions). Permissions []string `json:"permissions,omitempty"` diff --git a/cloudfunctions/v2alpha/cloudfunctions-api.json b/cloudfunctions/v2alpha/cloudfunctions-api.json index 86347f443aa..435b5183827 100644 --- a/cloudfunctions/v2alpha/cloudfunctions-api.json +++ b/cloudfunctions/v2alpha/cloudfunctions-api.json @@ -571,7 +571,7 @@ } } }, - "revision": "20220331", + "revision": "20220413", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { @@ -631,7 +631,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, @@ -1645,7 +1645,7 @@ "properties": { "policy": { "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them." + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." }, "updateMask": { "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", @@ -1737,7 +1737,7 @@ "id": "TestIamPermissionsRequest", "properties": { "permissions": { - "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", "items": { "type": "string" }, diff --git a/cloudfunctions/v2alpha/cloudfunctions-gen.go b/cloudfunctions/v2alpha/cloudfunctions-gen.go index a54de080597..1dee951ad68 100644 --- a/cloudfunctions/v2alpha/cloudfunctions-gen.go +++ b/cloudfunctions/v2alpha/cloudfunctions-gen.go @@ -303,8 +303,8 @@ type Binding struct { // (https://cloud.google.com/iam/help/conditions/resource-policies). Condition *Expr `json:"condition,omitempty"` - // Members: Specifies the principals requesting access for a Cloud - // Platform resource. `members` can have the following values: * + // Members: Specifies the principals requesting access for a Google + // Cloud resource. `members` can have the following values: * // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone @@ -1800,7 +1800,7 @@ func (s *ServiceConfig) MarshalJSON() ([]byte, error) { type SetIamPolicyRequest struct { // Policy: REQUIRED: The complete policy to be applied to the // `resource`. The size of the policy is limited to a few 10s of KB. An - // empty policy is a valid policy but certain Cloud Platform services + // empty policy is a valid policy but certain Google Cloud services // (such as Projects) might reject them. Policy *Policy `json:"policy,omitempty"` @@ -1989,7 +1989,7 @@ func (s *StorageSource) MarshalJSON() ([]byte, error) { // method. type TestIamPermissionsRequest struct { // Permissions: The set of permissions to check for the `resource`. - // Permissions with wildcards (such as '*' or 'storage.*') are not + // Permissions with wildcards (such as `*` or `storage.*`) are not // allowed. For more information see IAM Overview // (https://cloud.google.com/iam/docs/overview#permissions). Permissions []string `json:"permissions,omitempty"` diff --git a/cloudfunctions/v2beta/cloudfunctions-api.json b/cloudfunctions/v2beta/cloudfunctions-api.json index f047af974e8..220fe45065c 100644 --- a/cloudfunctions/v2beta/cloudfunctions-api.json +++ b/cloudfunctions/v2beta/cloudfunctions-api.json @@ -571,7 +571,7 @@ } } }, - "revision": "20220331", + "revision": "20220413", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { @@ -631,7 +631,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, @@ -1645,7 +1645,7 @@ "properties": { "policy": { "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them." + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." }, "updateMask": { "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", @@ -1737,7 +1737,7 @@ "id": "TestIamPermissionsRequest", "properties": { "permissions": { - "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", "items": { "type": "string" }, diff --git a/cloudfunctions/v2beta/cloudfunctions-gen.go b/cloudfunctions/v2beta/cloudfunctions-gen.go index f363e19bd80..3590ea5cd5c 100644 --- a/cloudfunctions/v2beta/cloudfunctions-gen.go +++ b/cloudfunctions/v2beta/cloudfunctions-gen.go @@ -303,8 +303,8 @@ type Binding struct { // (https://cloud.google.com/iam/help/conditions/resource-policies). Condition *Expr `json:"condition,omitempty"` - // Members: Specifies the principals requesting access for a Cloud - // Platform resource. `members` can have the following values: * + // Members: Specifies the principals requesting access for a Google + // Cloud resource. `members` can have the following values: * // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone @@ -1800,7 +1800,7 @@ func (s *ServiceConfig) MarshalJSON() ([]byte, error) { type SetIamPolicyRequest struct { // Policy: REQUIRED: The complete policy to be applied to the // `resource`. The size of the policy is limited to a few 10s of KB. An - // empty policy is a valid policy but certain Cloud Platform services + // empty policy is a valid policy but certain Google Cloud services // (such as Projects) might reject them. Policy *Policy `json:"policy,omitempty"` @@ -1989,7 +1989,7 @@ func (s *StorageSource) MarshalJSON() ([]byte, error) { // method. type TestIamPermissionsRequest struct { // Permissions: The set of permissions to check for the `resource`. - // Permissions with wildcards (such as '*' or 'storage.*') are not + // Permissions with wildcards (such as `*` or `storage.*`) are not // allowed. For more information see IAM Overview // (https://cloud.google.com/iam/docs/overview#permissions). Permissions []string `json:"permissions,omitempty"` diff --git a/cloudkms/v1/cloudkms-api.json b/cloudkms/v1/cloudkms-api.json index d14b7fc9add..d57bba88b00 100644 --- a/cloudkms/v1/cloudkms-api.json +++ b/cloudkms/v1/cloudkms-api.json @@ -1582,7 +1582,7 @@ } } }, - "revision": "20220407", + "revision": "20220415", "rootUrl": "https://cloudkms.googleapis.com/", "schemas": { "AsymmetricDecryptRequest": { @@ -1771,7 +1771,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, @@ -3180,7 +3180,7 @@ "properties": { "policy": { "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them." + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." }, "updateMask": { "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", @@ -3195,7 +3195,7 @@ "id": "TestIamPermissionsRequest", "properties": { "permissions": { - "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", "items": { "type": "string" }, diff --git a/cloudkms/v1/cloudkms-gen.go b/cloudkms/v1/cloudkms-gen.go index d2a9184889d..29467b3e6c7 100644 --- a/cloudkms/v1/cloudkms-gen.go +++ b/cloudkms/v1/cloudkms-gen.go @@ -608,8 +608,8 @@ type Binding struct { // (https://cloud.google.com/iam/help/conditions/resource-policies). Condition *Expr `json:"condition,omitempty"` - // Members: Specifies the principals requesting access for a Cloud - // Platform resource. `members` can have the following values: * + // Members: Specifies the principals requesting access for a Google + // Cloud resource. `members` can have the following values: * // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone @@ -2934,7 +2934,7 @@ func (s *ServiceResolver) MarshalJSON() ([]byte, error) { type SetIamPolicyRequest struct { // Policy: REQUIRED: The complete policy to be applied to the // `resource`. The size of the policy is limited to a few 10s of KB. An - // empty policy is a valid policy but certain Cloud Platform services + // empty policy is a valid policy but certain Google Cloud services // (such as Projects) might reject them. Policy *Policy `json:"policy,omitempty"` @@ -2971,7 +2971,7 @@ func (s *SetIamPolicyRequest) MarshalJSON() ([]byte, error) { // method. type TestIamPermissionsRequest struct { // Permissions: The set of permissions to check for the `resource`. - // Permissions with wildcards (such as '*' or 'storage.*') are not + // Permissions with wildcards (such as `*` or `storage.*`) are not // allowed. For more information see IAM Overview // (https://cloud.google.com/iam/docs/overview#permissions). Permissions []string `json:"permissions,omitempty"` diff --git a/dataflow/v1b3/dataflow-api.json b/dataflow/v1b3/dataflow-api.json index c0398af1735..ccbdd8f68ca 100644 --- a/dataflow/v1b3/dataflow-api.json +++ b/dataflow/v1b3/dataflow-api.json @@ -2225,7 +2225,7 @@ } } }, - "revision": "20220405", + "revision": "20220414", "rootUrl": "https://dataflow.googleapis.com/", "schemas": { "ApproximateProgress": { @@ -3761,7 +3761,7 @@ "type": "string" }, "name": { - "description": "The user-specified Cloud Dataflow job name. Only one Job with a given name may exist in a project at any given time. If a caller attempts to create a Job with the same name as an already-existing Job, the attempt returns the existing Job. The name must match the regular expression `[a-z]([-a-z0-9]{0,38}[a-z0-9])?`", + "description": "The user-specified Cloud Dataflow job name. Only one Job with a given name can exist in a project within one region at any given time. Jobs in different regions can have the same name. If a caller attempts to create a Job with the same name as an already-existing Job, the attempt returns the existing Job. The name must match the regular expression `[a-z]([-a-z0-9]{0,38}[a-z0-9])?`", "type": "string" }, "pipelineDescription": { @@ -5198,11 +5198,11 @@ "type": "object" }, "SdkHarnessContainerImage": { - "description": "Defines a SDK harness container for executing Dataflow pipelines.", + "description": "Defines an SDK harness container for executing Dataflow pipelines.", "id": "SdkHarnessContainerImage", "properties": { "capabilities": { - "description": "The set of capabilities enumerated in the above Environment proto. See also https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto", + "description": "The set of capabilities enumerated in the above Environment proto. See also [beam_runner_api.proto](https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto)", "items": { "type": "string" }, diff --git a/dataflow/v1b3/dataflow-gen.go b/dataflow/v1b3/dataflow-gen.go index e8fab83799b..b9163e68877 100644 --- a/dataflow/v1b3/dataflow-gen.go +++ b/dataflow/v1b3/dataflow-gen.go @@ -2804,7 +2804,8 @@ type Job struct { Location string `json:"location,omitempty"` // Name: The user-specified Cloud Dataflow job name. Only one Job with a - // given name may exist in a project at any given time. If a caller + // given name can exist in a project within one region at any given + // time. Jobs in different regions can have the same name. If a caller // attempts to create a Job with the same name as an already-existing // Job, the attempt returns the existing Job. The name must match the // regular expression `[a-z]([-a-z0-9]{0,38}[a-z0-9])?` @@ -5094,12 +5095,12 @@ func (s *SDKInfo) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// SdkHarnessContainerImage: Defines a SDK harness container for +// SdkHarnessContainerImage: Defines an SDK harness container for // executing Dataflow pipelines. type SdkHarnessContainerImage struct { // Capabilities: The set of capabilities enumerated in the above - // Environment proto. See also - // https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto + // Environment proto. See also beam_runner_api.proto + // (https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto) Capabilities []string `json:"capabilities,omitempty"` // ContainerImage: A docker container image that resides in Google diff --git a/dataproc/v1/dataproc-api.json b/dataproc/v1/dataproc-api.json index 1727848627a..b923086a03d 100644 --- a/dataproc/v1/dataproc-api.json +++ b/dataproc/v1/dataproc-api.json @@ -2444,7 +2444,7 @@ } } }, - "revision": "20220404", + "revision": "20220419", "rootUrl": "https://dataproc.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2750,7 +2750,7 @@ "description": "The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. members can have the following values: allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account. allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account. user:{emailid}: An email address that represents a specific Google account. For example, alice@example.com . serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. group:{emailid}: An email address that represents a Google group. For example, admins@example.com. deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding. deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding. deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding. domain:{domain}: The G Suite domain (primary) that represents all the users of that domain. For example, google.com or example.com.", + "description": "Specifies the principals requesting access for a Cloud Platform resource. members can have the following values: allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account. allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account. user:{emailid}: An email address that represents a specific Google account. For example, alice@example.com . serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. group:{emailid}: An email address that represents a Google group. For example, admins@example.com. deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding. deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding. deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding. domain:{domain}: The G Suite domain (primary) that represents all the users of that domain. For example, google.com or example.com.", "items": { "type": "string" }, @@ -5013,7 +5013,7 @@ "properties": { "policy": { "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the resource. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." + "description": "REQUIRED: The complete policy to be applied to the resource. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them." } }, "type": "object" @@ -5516,7 +5516,7 @@ "id": "TestIamPermissionsRequest", "properties": { "permissions": { - "description": "The set of permissions to check for the resource. Permissions with wildcards (such as * or storage.*) are not allowed. For more information see IAM Overview (https://cloud.google.com/iam/docs/overview#permissions).", + "description": "The set of permissions to check for the resource. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see IAM Overview (https://cloud.google.com/iam/docs/overview#permissions).", "items": { "type": "string" }, diff --git a/dataproc/v1/dataproc-gen.go b/dataproc/v1/dataproc-gen.go index 82f7723b5d2..5ad4680b55c 100644 --- a/dataproc/v1/dataproc-gen.go +++ b/dataproc/v1/dataproc-gen.go @@ -746,8 +746,8 @@ type Binding struct { // (https://cloud.google.com/iam/help/conditions/resource-policies). Condition *Expr `json:"condition,omitempty"` - // Members: Specifies the principals requesting access for a Google - // Cloud resource. members can have the following values: allUsers: A + // Members: Specifies the principals requesting access for a Cloud + // Platform resource. members can have the following values: allUsers: A // special identifier that represents anyone who is on the internet; // with or without a Google account. allAuthenticatedUsers: A special // identifier that represents anyone who is authenticated with a Google @@ -4474,7 +4474,7 @@ func (s *SessionOperationMetadata) MarshalJSON() ([]byte, error) { type SetIamPolicyRequest struct { // Policy: REQUIRED: The complete policy to be applied to the resource. // The size of the policy is limited to a few 10s of KB. An empty policy - // is a valid policy but certain Google Cloud services (such as + // is a valid policy but certain Cloud Platform services (such as // Projects) might reject them. Policy *Policy `json:"policy,omitempty"` @@ -5318,8 +5318,8 @@ func (s *TemplateParameter) MarshalJSON() ([]byte, error) { // method. type TestIamPermissionsRequest struct { // Permissions: The set of permissions to check for the resource. - // Permissions with wildcards (such as * or storage.*) are not allowed. - // For more information see IAM Overview + // Permissions with wildcards (such as '*' or 'storage.*') are not + // allowed. For more information see IAM Overview // (https://cloud.google.com/iam/docs/overview#permissions). Permissions []string `json:"permissions,omitempty"` diff --git a/drive/v2/drive-api.json b/drive/v2/drive-api.json index d35080f7e23..653ac70fb79 100644 --- a/drive/v2/drive-api.json +++ b/drive/v2/drive-api.json @@ -38,7 +38,7 @@ "description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/drive/", - "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/TpIVFqF0vX0A00kEkuvQ2oYAYm0\"", + "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/EpcsQ8zN5Q6e-3DdG1WPwSIcAkA\"", "icons": { "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" @@ -932,11 +932,23 @@ "driveId" ], "parameters": { + "allowItemDeletion": { + "default": "false", + "description": "Whether any items inside the shared drive should also be deleted. This option is only supported when useDomainAdminAccess is also set to true.", + "location": "query", + "type": "boolean" + }, "driveId": { "description": "The ID of the shared drive.", "location": "path", "required": true, "type": "string" + }, + "useDomainAdminAccess": { + "default": "false", + "description": "Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs.", + "location": "query", + "type": "boolean" } }, "path": "drives/{driveId}", @@ -3527,7 +3539,7 @@ } } }, - "revision": "20220410", + "revision": "20220417", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { diff --git a/drive/v2/drive-gen.go b/drive/v2/drive-gen.go index 9466415eae9..d3c0367dd1f 100644 --- a/drive/v2/drive-gen.go +++ b/drive/v2/drive-gen.go @@ -7387,6 +7387,24 @@ func (r *DrivesService) Delete(driveId string) *DrivesDeleteCall { return c } +// AllowItemDeletion sets the optional parameter "allowItemDeletion": +// Whether any items inside the shared drive should also be deleted. +// This option is only supported when useDomainAdminAccess is also set +// to true. +func (c *DrivesDeleteCall) AllowItemDeletion(allowItemDeletion bool) *DrivesDeleteCall { + c.urlParams_.Set("allowItemDeletion", fmt.Sprint(allowItemDeletion)) + return c +} + +// UseDomainAdminAccess sets the optional parameter +// "useDomainAdminAccess": Issue the request as a domain administrator; +// if set to true, then the requester will be granted access if they are +// an administrator of the domain to which the shared drive belongs. +func (c *DrivesDeleteCall) UseDomainAdminAccess(useDomainAdminAccess bool) *DrivesDeleteCall { + c.urlParams_.Set("useDomainAdminAccess", fmt.Sprint(useDomainAdminAccess)) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. @@ -7455,11 +7473,23 @@ func (c *DrivesDeleteCall) Do(opts ...googleapi.CallOption) error { // "driveId" // ], // "parameters": { + // "allowItemDeletion": { + // "default": "false", + // "description": "Whether any items inside the shared drive should also be deleted. This option is only supported when useDomainAdminAccess is also set to true.", + // "location": "query", + // "type": "boolean" + // }, // "driveId": { // "description": "The ID of the shared drive.", // "location": "path", // "required": true, // "type": "string" + // }, + // "useDomainAdminAccess": { + // "default": "false", + // "description": "Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs.", + // "location": "query", + // "type": "boolean" // } // }, // "path": "drives/{driveId}", diff --git a/drive/v3/drive-api.json b/drive/v3/drive-api.json index a9d8fe75c48..8d4d3fcfc44 100644 --- a/drive/v3/drive-api.json +++ b/drive/v3/drive-api.json @@ -35,7 +35,7 @@ "description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/drive/", - "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/5PAnsVf9DiU_j92nDdFVDayKgEo\"", + "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/LI5k5ZxpZiLSJAmBbdB9dlf2J48\"", "icons": { "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" @@ -608,11 +608,23 @@ "driveId" ], "parameters": { + "allowItemDeletion": { + "default": "false", + "description": "Whether any items inside the shared drive should also be deleted. This option is only supported when useDomainAdminAccess is also set to true.", + "location": "query", + "type": "boolean" + }, "driveId": { "description": "The ID of the shared drive.", "location": "path", "required": true, "type": "string" + }, + "useDomainAdminAccess": { + "default": "false", + "description": "Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs.", + "location": "query", + "type": "boolean" } }, "path": "drives/{driveId}", @@ -2191,7 +2203,7 @@ } } }, - "revision": "20220410", + "revision": "20220417", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { diff --git a/drive/v3/drive-gen.go b/drive/v3/drive-gen.go index 9b53e4502b5..3eb3088bdd6 100644 --- a/drive/v3/drive-gen.go +++ b/drive/v3/drive-gen.go @@ -5058,6 +5058,24 @@ func (r *DrivesService) Delete(driveId string) *DrivesDeleteCall { return c } +// AllowItemDeletion sets the optional parameter "allowItemDeletion": +// Whether any items inside the shared drive should also be deleted. +// This option is only supported when useDomainAdminAccess is also set +// to true. +func (c *DrivesDeleteCall) AllowItemDeletion(allowItemDeletion bool) *DrivesDeleteCall { + c.urlParams_.Set("allowItemDeletion", fmt.Sprint(allowItemDeletion)) + return c +} + +// UseDomainAdminAccess sets the optional parameter +// "useDomainAdminAccess": Issue the request as a domain administrator; +// if set to true, then the requester will be granted access if they are +// an administrator of the domain to which the shared drive belongs. +func (c *DrivesDeleteCall) UseDomainAdminAccess(useDomainAdminAccess bool) *DrivesDeleteCall { + c.urlParams_.Set("useDomainAdminAccess", fmt.Sprint(useDomainAdminAccess)) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. @@ -5126,11 +5144,23 @@ func (c *DrivesDeleteCall) Do(opts ...googleapi.CallOption) error { // "driveId" // ], // "parameters": { + // "allowItemDeletion": { + // "default": "false", + // "description": "Whether any items inside the shared drive should also be deleted. This option is only supported when useDomainAdminAccess is also set to true.", + // "location": "query", + // "type": "boolean" + // }, // "driveId": { // "description": "The ID of the shared drive.", // "location": "path", // "required": true, // "type": "string" + // }, + // "useDomainAdminAccess": { + // "default": "false", + // "description": "Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs.", + // "location": "query", + // "type": "boolean" // } // }, // "path": "drives/{driveId}", diff --git a/logging/v2/logging-api.json b/logging/v2/logging-api.json index fc9cf5fe950..1bbe50f9fe1 100644 --- a/logging/v2/logging-api.json +++ b/logging/v2/logging-api.json @@ -6021,7 +6021,7 @@ } } }, - "revision": "20220408", + "revision": "20220414", "rootUrl": "https://logging.googleapis.com/", "schemas": { "BigQueryOptions": { @@ -7752,7 +7752,7 @@ "type": "string" }, "partialSuccess": { - "description": "Optional. Whether valid entries should be written even if some other entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not written, then the response status is the error associated with one of the failed entries and the response includes error details keyed by the entries' zero-based index in the entries.write method.", + "description": "Optional. Whether a batch's valid entries should be written even if some other entry failed due to a permanent error such as INVALID_ARGUMENT or PERMISSION_DENIED. If any entry failed, then the response status is the response status is the status of one of the failed entries. The response will include error details keyed by the entries' zero-based index in the entries.write method.", "type": "boolean" }, "resource": { diff --git a/logging/v2/logging-gen.go b/logging/v2/logging-gen.go index a620bcb6dbb..baafa9af2ea 100644 --- a/logging/v2/logging-gen.go +++ b/logging/v2/logging-gen.go @@ -3798,12 +3798,12 @@ type WriteLogEntriesRequest struct { // individual log entry. LogName string `json:"logName,omitempty"` - // PartialSuccess: Optional. Whether valid entries should be written - // even if some other entries fail due to INVALID_ARGUMENT or - // PERMISSION_DENIED errors. If any entry is not written, then the - // response status is the error associated with one of the failed - // entries and the response includes error details keyed by the entries' - // zero-based index in the entries.write method. + // PartialSuccess: Optional. Whether a batch's valid entries should be + // written even if some other entry failed due to a permanent error such + // as INVALID_ARGUMENT or PERMISSION_DENIED. If any entry failed, then + // the response status is the response status is the status of one of + // the failed entries. The response will include error details keyed by + // the entries' zero-based index in the entries.write method. PartialSuccess bool `json:"partialSuccess,omitempty"` // Resource: Optional. A default monitored resource object that is diff --git a/ondemandscanning/v1/ondemandscanning-api.json b/ondemandscanning/v1/ondemandscanning-api.json index 59dc8ac9d28..08a81656484 100644 --- a/ondemandscanning/v1/ondemandscanning-api.json +++ b/ondemandscanning/v1/ondemandscanning-api.json @@ -339,7 +339,7 @@ } } }, - "revision": "20220326", + "revision": "20220415", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AliasContext": { @@ -1528,6 +1528,13 @@ ], "type": "string" }, + "pathToFile": { + "description": "The path to the jar file / go binary file. The same jar file can be in multiple locations - all of them will be listed.", + "items": { + "type": "string" + }, + "type": "array" + }, "unused": { "type": "string" }, diff --git a/ondemandscanning/v1/ondemandscanning-gen.go b/ondemandscanning/v1/ondemandscanning-gen.go index fc48d86a5d8..1985d9070e5 100644 --- a/ondemandscanning/v1/ondemandscanning-gen.go +++ b/ondemandscanning/v1/ondemandscanning-gen.go @@ -1980,6 +1980,10 @@ type PackageData struct { // "GO_STDLIB" - Go toolchain + standard library packages. PackageType string `json:"packageType,omitempty"` + // PathToFile: The path to the jar file / go binary file. The same jar + // file can be in multiple locations - all of them will be listed. + PathToFile []string `json:"pathToFile,omitempty"` + Unused string `json:"unused,omitempty"` // Version: The version of the package being analysed diff --git a/ondemandscanning/v1beta1/ondemandscanning-api.json b/ondemandscanning/v1beta1/ondemandscanning-api.json index 3a6511db4e1..95245089ade 100644 --- a/ondemandscanning/v1beta1/ondemandscanning-api.json +++ b/ondemandscanning/v1beta1/ondemandscanning-api.json @@ -339,7 +339,7 @@ } } }, - "revision": "20220326", + "revision": "20220415", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AliasContext": { @@ -1524,6 +1524,13 @@ ], "type": "string" }, + "pathToFile": { + "description": "The path to the jar file / go binary file. The same jar file can be in multiple locations - all of them will be listed.", + "items": { + "type": "string" + }, + "type": "array" + }, "unused": { "type": "string" }, diff --git a/ondemandscanning/v1beta1/ondemandscanning-gen.go b/ondemandscanning/v1beta1/ondemandscanning-gen.go index e50031f16e9..1b2c5f271c2 100644 --- a/ondemandscanning/v1beta1/ondemandscanning-gen.go +++ b/ondemandscanning/v1beta1/ondemandscanning-gen.go @@ -1974,6 +1974,10 @@ type PackageData struct { // "GO_STDLIB" - Go toolchain + standard library packages. PackageType string `json:"packageType,omitempty"` + // PathToFile: The path to the jar file / go binary file. The same jar + // file can be in multiple locations - all of them will be listed. + PathToFile []string `json:"pathToFile,omitempty"` + Unused string `json:"unused,omitempty"` // Version: The version of the package being analysed diff --git a/sasportal/v1alpha1/sasportal-api.json b/sasportal/v1alpha1/sasportal-api.json index a29ad5665a6..7ee053450e2 100644 --- a/sasportal/v1alpha1/sasportal-api.json +++ b/sasportal/v1alpha1/sasportal-api.json @@ -1,13 +1,4 @@ { - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/userinfo.email": { - "description": "See your primary Google Account email address" - } - } - } - }, "basePath": "", "baseUrl": "https://sasportal.googleapis.com/", "batchPath": "batch", @@ -126,10 +117,7 @@ "path": "v1alpha1/{+name}", "response": { "$ref": "SasPortalCustomer" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "list": { "description": "Returns a list of requested customers.", @@ -153,10 +141,7 @@ "path": "v1alpha1/customers", "response": { "$ref": "SasPortalListCustomersResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "patch": { "description": "Updates an existing customer.", @@ -187,10 +172,7 @@ }, "response": { "$ref": "SasPortalCustomer" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } }, "resources": { @@ -219,10 +201,7 @@ }, "response": { "$ref": "SasPortalDeployment" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "delete": { "description": "Deletes a deployment.", @@ -244,10 +223,7 @@ "path": "v1alpha1/{+name}", "response": { "$ref": "SasPortalEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "get": { "description": "Returns a requested deployment.", @@ -269,10 +245,7 @@ "path": "v1alpha1/{+name}", "response": { "$ref": "SasPortalDeployment" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "list": { "description": "Lists deployments.", @@ -310,10 +283,7 @@ "path": "v1alpha1/{+parent}/deployments", "response": { "$ref": "SasPortalListDeploymentsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "move": { "description": "Moves a deployment under another node or customer.", @@ -338,10 +308,7 @@ }, "response": { "$ref": "SasPortalOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "patch": { "description": "Updates an existing deployment.", @@ -372,10 +339,7 @@ }, "response": { "$ref": "SasPortalDeployment" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } }, "resources": { @@ -404,10 +368,7 @@ }, "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "createSigned": { "description": "Creates a signed device under a node or customer.", @@ -432,10 +393,7 @@ }, "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "list": { "description": "Lists devices under a node or customer.", @@ -473,10 +431,7 @@ "path": "v1alpha1/{+parent}/devices", "response": { "$ref": "SasPortalListDevicesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } } } @@ -507,10 +462,7 @@ }, "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "createSigned": { "description": "Creates a signed device under a node or customer.", @@ -535,10 +487,7 @@ }, "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "delete": { "description": "Deletes a device.", @@ -560,10 +509,7 @@ "path": "v1alpha1/{+name}", "response": { "$ref": "SasPortalEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "get": { "description": "Gets details about a device.", @@ -585,10 +531,7 @@ "path": "v1alpha1/{+name}", "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "list": { "description": "Lists devices under a node or customer.", @@ -626,10 +569,7 @@ "path": "v1alpha1/{+parent}/devices", "response": { "$ref": "SasPortalListDevicesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "move": { "description": "Moves a device under another node or customer.", @@ -654,10 +594,7 @@ }, "response": { "$ref": "SasPortalOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "patch": { "description": "Updates a device.", @@ -688,10 +625,7 @@ }, "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "signDevice": { "description": "Signs a device.", @@ -716,10 +650,7 @@ }, "response": { "$ref": "SasPortalEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "updateSigned": { "description": "Updates a signed device.", @@ -744,10 +675,7 @@ }, "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } } }, @@ -776,10 +704,7 @@ }, "response": { "$ref": "SasPortalNode" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "delete": { "description": "Deletes a node.", @@ -801,10 +726,7 @@ "path": "v1alpha1/{+name}", "response": { "$ref": "SasPortalEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "get": { "description": "Returns a requested node.", @@ -826,10 +748,7 @@ "path": "v1alpha1/{+name}", "response": { "$ref": "SasPortalNode" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "list": { "description": "Lists nodes.", @@ -867,10 +786,7 @@ "path": "v1alpha1/{+parent}/nodes", "response": { "$ref": "SasPortalListNodesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "move": { "description": "Moves a node under another node or customer.", @@ -895,10 +811,7 @@ }, "response": { "$ref": "SasPortalOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "patch": { "description": "Updates an existing node.", @@ -929,10 +842,7 @@ }, "response": { "$ref": "SasPortalNode" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } }, "resources": { @@ -961,10 +871,7 @@ }, "response": { "$ref": "SasPortalDeployment" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "list": { "description": "Lists deployments.", @@ -1002,10 +909,7 @@ "path": "v1alpha1/{+parent}/deployments", "response": { "$ref": "SasPortalListDeploymentsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } } }, @@ -1034,10 +938,7 @@ }, "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "createSigned": { "description": "Creates a signed device under a node or customer.", @@ -1062,10 +963,7 @@ }, "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "list": { "description": "Lists devices under a node or customer.", @@ -1103,10 +1001,7 @@ "path": "v1alpha1/{+parent}/devices", "response": { "$ref": "SasPortalListDevicesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } } }, @@ -1135,10 +1030,7 @@ }, "response": { "$ref": "SasPortalNode" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "list": { "description": "Lists nodes.", @@ -1176,10 +1068,7 @@ "path": "v1alpha1/{+parent}/nodes", "response": { "$ref": "SasPortalListNodesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } } } @@ -1209,10 +1098,7 @@ "path": "v1alpha1/{+name}", "response": { "$ref": "SasPortalDeployment" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } }, "resources": { @@ -1238,10 +1124,7 @@ "path": "v1alpha1/{+name}", "response": { "$ref": "SasPortalEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "get": { "description": "Gets details about a device.", @@ -1263,10 +1146,7 @@ "path": "v1alpha1/{+name}", "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "move": { "description": "Moves a device under another node or customer.", @@ -1291,10 +1171,7 @@ }, "response": { "$ref": "SasPortalOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "patch": { "description": "Updates a device.", @@ -1325,10 +1202,7 @@ }, "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "signDevice": { "description": "Signs a device.", @@ -1353,10 +1227,7 @@ }, "response": { "$ref": "SasPortalEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "updateSigned": { "description": "Updates a signed device.", @@ -1381,10 +1252,7 @@ }, "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } } } @@ -1405,10 +1273,7 @@ }, "response": { "$ref": "SasPortalGenerateSecretResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "validate": { "description": "Validates the identity of a Certified Professional Installer (CPI).", @@ -1423,10 +1288,7 @@ }, "response": { "$ref": "SasPortalValidateInstallerResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } } }, @@ -1452,10 +1314,7 @@ "path": "v1alpha1/{+name}", "response": { "$ref": "SasPortalNode" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } }, "resources": { @@ -1481,10 +1340,7 @@ "path": "v1alpha1/{+name}", "response": { "$ref": "SasPortalEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "get": { "description": "Returns a requested deployment.", @@ -1506,10 +1362,7 @@ "path": "v1alpha1/{+name}", "response": { "$ref": "SasPortalDeployment" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "list": { "description": "Lists deployments.", @@ -1547,10 +1400,7 @@ "path": "v1alpha1/{+parent}/deployments", "response": { "$ref": "SasPortalListDeploymentsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "move": { "description": "Moves a deployment under another node or customer.", @@ -1575,10 +1425,7 @@ }, "response": { "$ref": "SasPortalOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "patch": { "description": "Updates an existing deployment.", @@ -1609,10 +1456,7 @@ }, "response": { "$ref": "SasPortalDeployment" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } }, "resources": { @@ -1641,10 +1485,7 @@ }, "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "createSigned": { "description": "Creates a signed device under a node or customer.", @@ -1669,10 +1510,7 @@ }, "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "list": { "description": "Lists devices under a node or customer.", @@ -1710,10 +1548,7 @@ "path": "v1alpha1/{+parent}/devices", "response": { "$ref": "SasPortalListDevicesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } } } @@ -1744,10 +1579,7 @@ }, "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "createSigned": { "description": "Creates a signed device under a node or customer.", @@ -1772,10 +1604,7 @@ }, "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "delete": { "description": "Deletes a device.", @@ -1797,10 +1626,7 @@ "path": "v1alpha1/{+name}", "response": { "$ref": "SasPortalEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "get": { "description": "Gets details about a device.", @@ -1822,10 +1648,7 @@ "path": "v1alpha1/{+name}", "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "list": { "description": "Lists devices under a node or customer.", @@ -1863,10 +1686,7 @@ "path": "v1alpha1/{+parent}/devices", "response": { "$ref": "SasPortalListDevicesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "move": { "description": "Moves a device under another node or customer.", @@ -1891,10 +1711,7 @@ }, "response": { "$ref": "SasPortalOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "patch": { "description": "Updates a device.", @@ -1925,10 +1742,7 @@ }, "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "signDevice": { "description": "Signs a device.", @@ -1953,10 +1767,7 @@ }, "response": { "$ref": "SasPortalEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "updateSigned": { "description": "Updates a signed device.", @@ -1981,10 +1792,7 @@ }, "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } } }, @@ -2013,10 +1821,7 @@ }, "response": { "$ref": "SasPortalNode" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "delete": { "description": "Deletes a node.", @@ -2038,10 +1843,7 @@ "path": "v1alpha1/{+name}", "response": { "$ref": "SasPortalEmpty" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "get": { "description": "Returns a requested node.", @@ -2063,10 +1865,7 @@ "path": "v1alpha1/{+name}", "response": { "$ref": "SasPortalNode" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "list": { "description": "Lists nodes.", @@ -2104,10 +1903,7 @@ "path": "v1alpha1/{+parent}/nodes", "response": { "$ref": "SasPortalListNodesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "move": { "description": "Moves a node under another node or customer.", @@ -2132,10 +1928,7 @@ }, "response": { "$ref": "SasPortalOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "patch": { "description": "Updates an existing node.", @@ -2166,10 +1959,7 @@ }, "response": { "$ref": "SasPortalNode" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } }, "resources": { @@ -2198,10 +1988,7 @@ }, "response": { "$ref": "SasPortalDeployment" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "list": { "description": "Lists deployments.", @@ -2239,10 +2026,7 @@ "path": "v1alpha1/{+parent}/deployments", "response": { "$ref": "SasPortalListDeploymentsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } } }, @@ -2271,10 +2055,7 @@ }, "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "createSigned": { "description": "Creates a signed device under a node or customer.", @@ -2299,10 +2080,7 @@ }, "response": { "$ref": "SasPortalDevice" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "list": { "description": "Lists devices under a node or customer.", @@ -2340,10 +2118,7 @@ "path": "v1alpha1/{+parent}/devices", "response": { "$ref": "SasPortalListDevicesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } } }, @@ -2372,10 +2147,7 @@ }, "response": { "$ref": "SasPortalNode" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "list": { "description": "Lists nodes.", @@ -2413,10 +2185,7 @@ "path": "v1alpha1/{+parent}/nodes", "response": { "$ref": "SasPortalListNodesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } } } @@ -2439,10 +2208,7 @@ }, "response": { "$ref": "SasPortalPolicy" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "set": { "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", @@ -2457,10 +2223,7 @@ }, "response": { "$ref": "SasPortalPolicy" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } }, "test": { "description": "Returns permissions that a caller has on the specified resource.", @@ -2475,15 +2238,12 @@ }, "response": { "$ref": "SasPortalTestPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/userinfo.email" - ] + } } } } }, - "revision": "20220319", + "revision": "20220419", "rootUrl": "https://sasportal.googleapis.com/", "schemas": { "SasPortalAssignment": { diff --git a/sasportal/v1alpha1/sasportal-gen.go b/sasportal/v1alpha1/sasportal-gen.go index a5e64ce8013..ff2772722d5 100644 --- a/sasportal/v1alpha1/sasportal-gen.go +++ b/sasportal/v1alpha1/sasportal-gen.go @@ -78,19 +78,8 @@ const apiVersion = "v1alpha1" const basePath = "https://sasportal.googleapis.com/" const mtlsBasePath = "https://sasportal.mtls.googleapis.com/" -// OAuth2 scopes used by this API. -const ( - // See your primary Google Account email address - UserinfoEmailScope = "https://www.googleapis.com/auth/userinfo.email" -) - // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { - scopesOption := internaloption.WithDefaultScopes( - "https://www.googleapis.com/auth/userinfo.email", - ) - // NOTE: prepend, so we don't override user-specified scopes. - opts = append([]option.ClientOption{scopesOption}, opts...) opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) client, endpoint, err := htransport.NewClient(ctx, opts...) @@ -2061,10 +2050,7 @@ func (c *CustomersGetCall) Do(opts ...googleapi.CallOption) (*SasPortalCustomer, // "path": "v1alpha1/{+name}", // "response": { // "$ref": "SasPortalCustomer" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -2217,10 +2203,7 @@ func (c *CustomersListCall) Do(opts ...googleapi.CallOption) (*SasPortalListCust // "path": "v1alpha1/customers", // "response": { // "$ref": "SasPortalListCustomersResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -2393,10 +2376,7 @@ func (c *CustomersPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalCustome // }, // "response": { // "$ref": "SasPortalCustomer" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -2536,10 +2516,7 @@ func (c *CustomersDeploymentsCreateCall) Do(opts ...googleapi.CallOption) (*SasP // }, // "response": { // "$ref": "SasPortalDeployment" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -2668,10 +2645,7 @@ func (c *CustomersDeploymentsDeleteCall) Do(opts ...googleapi.CallOption) (*SasP // "path": "v1alpha1/{+name}", // "response": { // "$ref": "SasPortalEmpty" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -2814,10 +2788,7 @@ func (c *CustomersDeploymentsGetCall) Do(opts ...googleapi.CallOption) (*SasPort // "path": "v1alpha1/{+name}", // "response": { // "$ref": "SasPortalDeployment" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -3001,10 +2972,7 @@ func (c *CustomersDeploymentsListCall) Do(opts ...googleapi.CallOption) (*SasPor // "path": "v1alpha1/{+parent}/deployments", // "response": { // "$ref": "SasPortalListDeploymentsResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -3164,10 +3132,7 @@ func (c *CustomersDeploymentsMoveCall) Do(opts ...googleapi.CallOption) (*SasPor // }, // "response": { // "$ref": "SasPortalOperation" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -3319,10 +3284,7 @@ func (c *CustomersDeploymentsPatchCall) Do(opts ...googleapi.CallOption) (*SasPo // }, // "response": { // "$ref": "SasPortalDeployment" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -3461,10 +3423,7 @@ func (c *CustomersDeploymentsDevicesCreateCall) Do(opts ...googleapi.CallOption) // }, // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -3603,10 +3562,7 @@ func (c *CustomersDeploymentsDevicesCreateSignedCall) Do(opts ...googleapi.CallO // }, // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -3790,10 +3746,7 @@ func (c *CustomersDeploymentsDevicesListCall) Do(opts ...googleapi.CallOption) ( // "path": "v1alpha1/{+parent}/devices", // "response": { // "$ref": "SasPortalListDevicesResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -3953,10 +3906,7 @@ func (c *CustomersDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPorta // }, // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -4095,10 +4045,7 @@ func (c *CustomersDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*Sa // }, // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -4227,10 +4174,7 @@ func (c *CustomersDevicesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPorta // "path": "v1alpha1/{+name}", // "response": { // "$ref": "SasPortalEmpty" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -4373,10 +4317,7 @@ func (c *CustomersDevicesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDe // "path": "v1alpha1/{+name}", // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -4560,10 +4501,7 @@ func (c *CustomersDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortalL // "path": "v1alpha1/{+parent}/devices", // "response": { // "$ref": "SasPortalListDevicesResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -4723,10 +4661,7 @@ func (c *CustomersDevicesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalO // }, // "response": { // "$ref": "SasPortalOperation" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -4878,10 +4813,7 @@ func (c *CustomersDevicesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortal // }, // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -5020,10 +4952,7 @@ func (c *CustomersDevicesSignDeviceCall) Do(opts ...googleapi.CallOption) (*SasP // }, // "response": { // "$ref": "SasPortalEmpty" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -5162,10 +5091,7 @@ func (c *CustomersDevicesUpdateSignedCall) Do(opts ...googleapi.CallOption) (*Sa // }, // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -5304,10 +5230,7 @@ func (c *CustomersNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalN // }, // "response": { // "$ref": "SasPortalNode" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -5436,10 +5359,7 @@ func (c *CustomersNodesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalE // "path": "v1alpha1/{+name}", // "response": { // "$ref": "SasPortalEmpty" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -5582,10 +5502,7 @@ func (c *CustomersNodesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalNode // "path": "v1alpha1/{+name}", // "response": { // "$ref": "SasPortalNode" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -5768,10 +5685,7 @@ func (c *CustomersNodesListCall) Do(opts ...googleapi.CallOption) (*SasPortalLis // "path": "v1alpha1/{+parent}/nodes", // "response": { // "$ref": "SasPortalListNodesResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -5931,10 +5845,7 @@ func (c *CustomersNodesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOpe // }, // "response": { // "$ref": "SasPortalOperation" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -6086,10 +5997,7 @@ func (c *CustomersNodesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalNo // }, // "response": { // "$ref": "SasPortalNode" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -6229,10 +6137,7 @@ func (c *CustomersNodesDeploymentsCreateCall) Do(opts ...googleapi.CallOption) ( // }, // "response": { // "$ref": "SasPortalDeployment" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -6416,10 +6321,7 @@ func (c *CustomersNodesDeploymentsListCall) Do(opts ...googleapi.CallOption) (*S // "path": "v1alpha1/{+parent}/deployments", // "response": { // "$ref": "SasPortalListDeploymentsResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -6579,10 +6481,7 @@ func (c *CustomersNodesDevicesCreateCall) Do(opts ...googleapi.CallOption) (*Sas // }, // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -6721,10 +6620,7 @@ func (c *CustomersNodesDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) // }, // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -6908,10 +6804,7 @@ func (c *CustomersNodesDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPo // "path": "v1alpha1/{+parent}/devices", // "response": { // "$ref": "SasPortalListDevicesResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -7071,10 +6964,7 @@ func (c *CustomersNodesNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPo // }, // "response": { // "$ref": "SasPortalNode" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -7257,10 +7147,7 @@ func (c *CustomersNodesNodesListCall) Do(opts ...googleapi.CallOption) (*SasPort // "path": "v1alpha1/{+parent}/nodes", // "response": { // "$ref": "SasPortalListNodesResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -7424,10 +7311,7 @@ func (c *DeploymentsGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDeploym // "path": "v1alpha1/{+name}", // "response": { // "$ref": "SasPortalDeployment" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -7556,10 +7440,7 @@ func (c *DeploymentsDevicesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPor // "path": "v1alpha1/{+name}", // "response": { // "$ref": "SasPortalEmpty" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -7702,10 +7583,7 @@ func (c *DeploymentsDevicesGetCall) Do(opts ...googleapi.CallOption) (*SasPortal // "path": "v1alpha1/{+name}", // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -7844,10 +7722,7 @@ func (c *DeploymentsDevicesMoveCall) Do(opts ...googleapi.CallOption) (*SasPorta // }, // "response": { // "$ref": "SasPortalOperation" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -7999,10 +7874,7 @@ func (c *DeploymentsDevicesPatchCall) Do(opts ...googleapi.CallOption) (*SasPort // }, // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -8141,10 +8013,7 @@ func (c *DeploymentsDevicesSignDeviceCall) Do(opts ...googleapi.CallOption) (*Sa // }, // "response": { // "$ref": "SasPortalEmpty" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -8283,10 +8152,7 @@ func (c *DeploymentsDevicesUpdateSignedCall) Do(opts ...googleapi.CallOption) (* // }, // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -8409,10 +8275,7 @@ func (c *InstallerGenerateSecretCall) Do(opts ...googleapi.CallOption) (*SasPort // }, // "response": { // "$ref": "SasPortalGenerateSecretResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -8536,10 +8399,7 @@ func (c *InstallerValidateCall) Do(opts ...googleapi.CallOption) (*SasPortalVali // }, // "response": { // "$ref": "SasPortalValidateInstallerResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -8682,10 +8542,7 @@ func (c *NodesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error) // "path": "v1alpha1/{+name}", // "response": { // "$ref": "SasPortalNode" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -8814,10 +8671,7 @@ func (c *NodesDeploymentsDeleteCall) Do(opts ...googleapi.CallOption) (*SasPorta // "path": "v1alpha1/{+name}", // "response": { // "$ref": "SasPortalEmpty" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -8960,10 +8814,7 @@ func (c *NodesDeploymentsGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDe // "path": "v1alpha1/{+name}", // "response": { // "$ref": "SasPortalDeployment" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -9147,10 +8998,7 @@ func (c *NodesDeploymentsListCall) Do(opts ...googleapi.CallOption) (*SasPortalL // "path": "v1alpha1/{+parent}/deployments", // "response": { // "$ref": "SasPortalListDeploymentsResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -9310,10 +9158,7 @@ func (c *NodesDeploymentsMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalO // }, // "response": { // "$ref": "SasPortalOperation" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -9465,10 +9310,7 @@ func (c *NodesDeploymentsPatchCall) Do(opts ...googleapi.CallOption) (*SasPortal // }, // "response": { // "$ref": "SasPortalDeployment" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -9607,10 +9449,7 @@ func (c *NodesDeploymentsDevicesCreateCall) Do(opts ...googleapi.CallOption) (*S // }, // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -9749,10 +9588,7 @@ func (c *NodesDeploymentsDevicesCreateSignedCall) Do(opts ...googleapi.CallOptio // }, // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -9936,10 +9772,7 @@ func (c *NodesDeploymentsDevicesListCall) Do(opts ...googleapi.CallOption) (*Sas // "path": "v1alpha1/{+parent}/devices", // "response": { // "$ref": "SasPortalListDevicesResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -10099,10 +9932,7 @@ func (c *NodesDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDev // }, // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -10241,10 +10071,7 @@ func (c *NodesDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*SasPor // }, // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -10373,10 +10200,7 @@ func (c *NodesDevicesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmp // "path": "v1alpha1/{+name}", // "response": { // "$ref": "SasPortalEmpty" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -10519,10 +10343,7 @@ func (c *NodesDevicesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice // "path": "v1alpha1/{+name}", // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -10706,10 +10527,7 @@ func (c *NodesDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListD // "path": "v1alpha1/{+parent}/devices", // "response": { // "$ref": "SasPortalListDevicesResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -10869,10 +10687,7 @@ func (c *NodesDevicesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOpera // }, // "response": { // "$ref": "SasPortalOperation" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -11024,10 +10839,7 @@ func (c *NodesDevicesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalDevi // }, // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -11166,10 +10978,7 @@ func (c *NodesDevicesSignDeviceCall) Do(opts ...googleapi.CallOption) (*SasPorta // }, // "response": { // "$ref": "SasPortalEmpty" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -11308,10 +11117,7 @@ func (c *NodesDevicesUpdateSignedCall) Do(opts ...googleapi.CallOption) (*SasPor // }, // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -11450,10 +11256,7 @@ func (c *NodesNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, // }, // "response": { // "$ref": "SasPortalNode" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -11582,10 +11385,7 @@ func (c *NodesNodesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty // "path": "v1alpha1/{+name}", // "response": { // "$ref": "SasPortalEmpty" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -11728,10 +11528,7 @@ func (c *NodesNodesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, er // "path": "v1alpha1/{+name}", // "response": { // "$ref": "SasPortalNode" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -11914,10 +11711,7 @@ func (c *NodesNodesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListNod // "path": "v1alpha1/{+parent}/nodes", // "response": { // "$ref": "SasPortalListNodesResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -12077,10 +11871,7 @@ func (c *NodesNodesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOperati // }, // "response": { // "$ref": "SasPortalOperation" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -12232,10 +12023,7 @@ func (c *NodesNodesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, // }, // "response": { // "$ref": "SasPortalNode" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -12375,10 +12163,7 @@ func (c *NodesNodesDeploymentsCreateCall) Do(opts ...googleapi.CallOption) (*Sas // }, // "response": { // "$ref": "SasPortalDeployment" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -12562,10 +12347,7 @@ func (c *NodesNodesDeploymentsListCall) Do(opts ...googleapi.CallOption) (*SasPo // "path": "v1alpha1/{+parent}/deployments", // "response": { // "$ref": "SasPortalListDeploymentsResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -12725,10 +12507,7 @@ func (c *NodesNodesDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPort // }, // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -12867,10 +12646,7 @@ func (c *NodesNodesDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*S // }, // "response": { // "$ref": "SasPortalDevice" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -13054,10 +12830,7 @@ func (c *NodesNodesDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortal // "path": "v1alpha1/{+parent}/devices", // "response": { // "$ref": "SasPortalListDevicesResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -13217,10 +12990,7 @@ func (c *NodesNodesNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortal // }, // "response": { // "$ref": "SasPortalNode" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -13403,10 +13173,7 @@ func (c *NodesNodesNodesListCall) Do(opts ...googleapi.CallOption) (*SasPortalLi // "path": "v1alpha1/{+parent}/nodes", // "response": { // "$ref": "SasPortalListNodesResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -13550,10 +13317,7 @@ func (c *PoliciesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalPolicy, er // }, // "response": { // "$ref": "SasPortalPolicy" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -13676,10 +13440,7 @@ func (c *PoliciesSetCall) Do(opts ...googleapi.CallOption) (*SasPortalPolicy, er // }, // "response": { // "$ref": "SasPortalPolicy" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } @@ -13802,10 +13563,7 @@ func (c *PoliciesTestCall) Do(opts ...googleapi.CallOption) (*SasPortalTestPermi // }, // "response": { // "$ref": "SasPortalTestPermissionsResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/userinfo.email" - // ] + // } // } } diff --git a/securitycenter/v1/securitycenter-api.json b/securitycenter/v1/securitycenter-api.json index b8dfbe79942..98aac76f3ab 100644 --- a/securitycenter/v1/securitycenter-api.json +++ b/securitycenter/v1/securitycenter-api.json @@ -3058,7 +3058,7 @@ } } }, - "revision": "20220411", + "revision": "20220414", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -3256,6 +3256,51 @@ }, "type": "object" }, + "Connection": { + "description": "Contains information about the IP connection associated with the finding.", + "id": "Connection", + "properties": { + "destinationIp": { + "description": "Destination IP address. Not present for sockets that are listening and not connected.", + "type": "string" + }, + "destinationPort": { + "description": "Destination port. Not present for sockets that are listening and not connected.", + "format": "int32", + "type": "integer" + }, + "protocol": { + "description": "IANA Internet Protocol Number such as TCP(6) and UDP(17).", + "enum": [ + "PROTOCOL_UNSPECIFIED", + "ICMP", + "TCP", + "UDP", + "GRE", + "ESP" + ], + "enumDescriptions": [ + "Unspecified protocol (not HOPOPT).", + "Internet Control Message Protocol.", + "Transmission Control Protocol.", + "User Datagram Protocol.", + "Generic Routing Encapsulation.", + "Encap Security Payload." + ], + "type": "string" + }, + "sourceIp": { + "description": "Source IP address.", + "type": "string" + }, + "sourcePort": { + "description": "Source port.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "Cve": { "description": "CVE stands for Common Vulnerabilities and Exposures. More information: https://cve.mitre.org", "id": "Cve", @@ -3463,11 +3508,22 @@ "description": "The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: \"XSS_FLASH_INJECTION\"", "type": "string" }, + "connections": { + "description": "Contains information about the IP connection associated with the finding.", + "items": { + "$ref": "Connection" + }, + "type": "array" + }, "createTime": { "description": "The time at which the finding was created in Security Command Center.", "format": "google-datetime", "type": "string" }, + "description": { + "description": "Contains more detail about the finding.", + "type": "string" + }, "eventTime": { "description": "The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.", "format": "google-datetime", diff --git a/securitycenter/v1/securitycenter-gen.go b/securitycenter/v1/securitycenter-gen.go index 17694cc23fe..947dbf7ea46 100644 --- a/securitycenter/v1/securitycenter-gen.go +++ b/securitycenter/v1/securitycenter-gen.go @@ -823,6 +823,57 @@ func (s *BulkMuteFindingsRequest) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Connection: Contains information about the IP connection associated +// with the finding. +type Connection struct { + // DestinationIp: Destination IP address. Not present for sockets that + // are listening and not connected. + DestinationIp string `json:"destinationIp,omitempty"` + + // DestinationPort: Destination port. Not present for sockets that are + // listening and not connected. + DestinationPort int64 `json:"destinationPort,omitempty"` + + // Protocol: IANA Internet Protocol Number such as TCP(6) and UDP(17). + // + // Possible values: + // "PROTOCOL_UNSPECIFIED" - Unspecified protocol (not HOPOPT). + // "ICMP" - Internet Control Message Protocol. + // "TCP" - Transmission Control Protocol. + // "UDP" - User Datagram Protocol. + // "GRE" - Generic Routing Encapsulation. + // "ESP" - Encap Security Payload. + Protocol string `json:"protocol,omitempty"` + + // SourceIp: Source IP address. + SourceIp string `json:"sourceIp,omitempty"` + + // SourcePort: Source port. + SourcePort int64 `json:"sourcePort,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DestinationIp") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DestinationIp") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *Connection) MarshalJSON() ([]byte, error) { + type NoMethod Connection + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Cve: CVE stands for Common Vulnerabilities and Exposures. More // information: https://cve.mitre.org type Cve struct { @@ -1118,10 +1169,17 @@ type Finding struct { // "XSS_FLASH_INJECTION" Category string `json:"category,omitempty"` + // Connections: Contains information about the IP connection associated + // with the finding. + Connections []*Connection `json:"connections,omitempty"` + // CreateTime: The time at which the finding was created in Security // Command Center. CreateTime string `json:"createTime,omitempty"` + // Description: Contains more detail about the finding. + Description string `json:"description,omitempty"` + // EventTime: The time the finding was first detected. If an existing // finding is updated, then this is the time the update occurred. For // example, if the finding represents an open firewall, this property diff --git a/securitycenter/v1beta1/securitycenter-api.json b/securitycenter/v1beta1/securitycenter-api.json index b95e3b20ebc..fdaf7819ffa 100644 --- a/securitycenter/v1beta1/securitycenter-api.json +++ b/securitycenter/v1beta1/securitycenter-api.json @@ -896,7 +896,7 @@ } } }, - "revision": "20220411", + "revision": "20220414", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -1070,6 +1070,51 @@ "properties": {}, "type": "object" }, + "Connection": { + "description": "Contains information about the IP connection associated with the finding.", + "id": "Connection", + "properties": { + "destinationIp": { + "description": "Destination IP address. Not present for sockets that are listening and not connected.", + "type": "string" + }, + "destinationPort": { + "description": "Destination port. Not present for sockets that are listening and not connected.", + "format": "int32", + "type": "integer" + }, + "protocol": { + "description": "IANA Internet Protocol Number such as TCP(6) and UDP(17).", + "enum": [ + "PROTOCOL_UNSPECIFIED", + "ICMP", + "TCP", + "UDP", + "GRE", + "ESP" + ], + "enumDescriptions": [ + "Unspecified protocol (not HOPOPT).", + "Internet Control Message Protocol.", + "Transmission Control Protocol.", + "User Datagram Protocol.", + "Generic Routing Encapsulation.", + "Encap Security Payload." + ], + "type": "string" + }, + "sourceIp": { + "description": "Source IP address.", + "type": "string" + }, + "sourcePort": { + "description": "Source port.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "Cve": { "description": "CVE stands for Common Vulnerabilities and Exposures. More information: https://cve.mitre.org", "id": "Cve", @@ -1277,11 +1322,22 @@ "description": "The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: \"XSS_FLASH_INJECTION\"", "type": "string" }, + "connections": { + "description": "Contains information about the IP connection associated with the finding.", + "items": { + "$ref": "Connection" + }, + "type": "array" + }, "createTime": { "description": "The time at which the finding was created in Security Command Center.", "format": "google-datetime", "type": "string" }, + "description": { + "description": "Contains more detail about the finding.", + "type": "string" + }, "eventTime": { "description": "The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.", "format": "google-datetime", diff --git a/securitycenter/v1beta1/securitycenter-gen.go b/securitycenter/v1beta1/securitycenter-gen.go index 1554ea790dd..1150780ae5d 100644 --- a/securitycenter/v1beta1/securitycenter-gen.go +++ b/securitycenter/v1beta1/securitycenter-gen.go @@ -514,6 +514,57 @@ func (s *Binding) MarshalJSON() ([]byte, error) { type CancelOperationRequest struct { } +// Connection: Contains information about the IP connection associated +// with the finding. +type Connection struct { + // DestinationIp: Destination IP address. Not present for sockets that + // are listening and not connected. + DestinationIp string `json:"destinationIp,omitempty"` + + // DestinationPort: Destination port. Not present for sockets that are + // listening and not connected. + DestinationPort int64 `json:"destinationPort,omitempty"` + + // Protocol: IANA Internet Protocol Number such as TCP(6) and UDP(17). + // + // Possible values: + // "PROTOCOL_UNSPECIFIED" - Unspecified protocol (not HOPOPT). + // "ICMP" - Internet Control Message Protocol. + // "TCP" - Transmission Control Protocol. + // "UDP" - User Datagram Protocol. + // "GRE" - Generic Routing Encapsulation. + // "ESP" - Encap Security Payload. + Protocol string `json:"protocol,omitempty"` + + // SourceIp: Source IP address. + SourceIp string `json:"sourceIp,omitempty"` + + // SourcePort: Source port. + SourcePort int64 `json:"sourcePort,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DestinationIp") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DestinationIp") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *Connection) MarshalJSON() ([]byte, error) { + type NoMethod Connection + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Cve: CVE stands for Common Vulnerabilities and Exposures. More // information: https://cve.mitre.org type Cve struct { @@ -809,10 +860,17 @@ type Finding struct { // "XSS_FLASH_INJECTION" Category string `json:"category,omitempty"` + // Connections: Contains information about the IP connection associated + // with the finding. + Connections []*Connection `json:"connections,omitempty"` + // CreateTime: The time at which the finding was created in Security // Command Center. CreateTime string `json:"createTime,omitempty"` + // Description: Contains more detail about the finding. + Description string `json:"description,omitempty"` + // EventTime: The time the finding was first detected. If an existing // finding is updated, then this is the time the update occurred. For // example, if the finding represents an open firewall, this property diff --git a/securitycenter/v1beta2/securitycenter-api.json b/securitycenter/v1beta2/securitycenter-api.json index c1271bdb970..d4ad289e994 100644 --- a/securitycenter/v1beta2/securitycenter-api.json +++ b/securitycenter/v1beta2/securitycenter-api.json @@ -1667,7 +1667,7 @@ } } }, - "revision": "20220411", + "revision": "20220414", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -1732,6 +1732,51 @@ }, "type": "object" }, + "Connection": { + "description": "Contains information about the IP connection associated with the finding.", + "id": "Connection", + "properties": { + "destinationIp": { + "description": "Destination IP address. Not present for sockets that are listening and not connected.", + "type": "string" + }, + "destinationPort": { + "description": "Destination port. Not present for sockets that are listening and not connected.", + "format": "int32", + "type": "integer" + }, + "protocol": { + "description": "IANA Internet Protocol Number such as TCP(6) and UDP(17).", + "enum": [ + "PROTOCOL_UNSPECIFIED", + "ICMP", + "TCP", + "UDP", + "GRE", + "ESP" + ], + "enumDescriptions": [ + "Unspecified protocol (not HOPOPT).", + "Internet Control Message Protocol.", + "Transmission Control Protocol.", + "User Datagram Protocol.", + "Generic Routing Encapsulation.", + "Encap Security Payload." + ], + "type": "string" + }, + "sourceIp": { + "description": "Source IP address.", + "type": "string" + }, + "sourcePort": { + "description": "Source port.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "ContainerThreatDetectionSettings": { "description": "Resource capturing the settings for the Container Threat Detection service.", "id": "ContainerThreatDetectionSettings", @@ -2030,11 +2075,22 @@ "description": "The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: \"XSS_FLASH_INJECTION\"", "type": "string" }, + "connections": { + "description": "Contains information about the IP connection associated with the finding.", + "items": { + "$ref": "Connection" + }, + "type": "array" + }, "createTime": { "description": "The time at which the finding was created in Security Command Center.", "format": "google-datetime", "type": "string" }, + "description": { + "description": "Contains more detail about the finding.", + "type": "string" + }, "eventTime": { "description": "The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.", "format": "google-datetime", diff --git a/securitycenter/v1beta2/securitycenter-gen.go b/securitycenter/v1beta2/securitycenter-gen.go index 3b597a10937..72b5c429239 100644 --- a/securitycenter/v1beta2/securitycenter-gen.go +++ b/securitycenter/v1beta2/securitycenter-gen.go @@ -475,6 +475,57 @@ func (s *Config) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Connection: Contains information about the IP connection associated +// with the finding. +type Connection struct { + // DestinationIp: Destination IP address. Not present for sockets that + // are listening and not connected. + DestinationIp string `json:"destinationIp,omitempty"` + + // DestinationPort: Destination port. Not present for sockets that are + // listening and not connected. + DestinationPort int64 `json:"destinationPort,omitempty"` + + // Protocol: IANA Internet Protocol Number such as TCP(6) and UDP(17). + // + // Possible values: + // "PROTOCOL_UNSPECIFIED" - Unspecified protocol (not HOPOPT). + // "ICMP" - Internet Control Message Protocol. + // "TCP" - Transmission Control Protocol. + // "UDP" - User Datagram Protocol. + // "GRE" - Generic Routing Encapsulation. + // "ESP" - Encap Security Payload. + Protocol string `json:"protocol,omitempty"` + + // SourceIp: Source IP address. + SourceIp string `json:"sourceIp,omitempty"` + + // SourcePort: Source port. + SourcePort int64 `json:"sourcePort,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DestinationIp") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DestinationIp") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *Connection) MarshalJSON() ([]byte, error) { + type NoMethod Connection + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ContainerThreatDetectionSettings: Resource capturing the settings for // the Container Threat Detection service. type ContainerThreatDetectionSettings struct { @@ -861,10 +912,17 @@ type Finding struct { // "XSS_FLASH_INJECTION" Category string `json:"category,omitempty"` + // Connections: Contains information about the IP connection associated + // with the finding. + Connections []*Connection `json:"connections,omitempty"` + // CreateTime: The time at which the finding was created in Security // Command Center. CreateTime string `json:"createTime,omitempty"` + // Description: Contains more detail about the finding. + Description string `json:"description,omitempty"` + // EventTime: The time the finding was first detected. If an existing // finding is updated, then this is the time the update occurred. For // example, if the finding represents an open firewall, this property diff --git a/spanner/v1/spanner-api.json b/spanner/v1/spanner-api.json index ec2b7707c6d..542a823825e 100644 --- a/spanner/v1/spanner-api.json +++ b/spanner/v1/spanner-api.json @@ -2192,7 +2192,7 @@ } } }, - "revision": "20220404", + "revision": "20220413", "rootUrl": "https://spanner.googleapis.com/", "schemas": { "Backup": { @@ -2368,7 +2368,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", "items": { "type": "string" }, @@ -4463,7 +4463,7 @@ "properties": { "policy": { "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them." + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." } }, "type": "object" diff --git a/spanner/v1/spanner-gen.go b/spanner/v1/spanner-gen.go index 75977689805..bd09c32fd01 100644 --- a/spanner/v1/spanner-gen.go +++ b/spanner/v1/spanner-gen.go @@ -572,8 +572,8 @@ type Binding struct { // (https://cloud.google.com/iam/help/conditions/resource-policies). Condition *Expr `json:"condition,omitempty"` - // Members: Specifies the principals requesting access for a Cloud - // Platform resource. `members` can have the following values: * + // Members: Specifies the principals requesting access for a Google + // Cloud resource. `members` can have the following values: * // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone @@ -4529,7 +4529,7 @@ func (s *Session) MarshalJSON() ([]byte, error) { type SetIamPolicyRequest struct { // Policy: REQUIRED: The complete policy to be applied to the // `resource`. The size of the policy is limited to a few 10s of KB. An - // empty policy is a valid policy but certain Cloud Platform services + // empty policy is a valid policy but certain Google Cloud services // (such as Projects) might reject them. Policy *Policy `json:"policy,omitempty"` diff --git a/youtube/v3/youtube-api.json b/youtube/v3/youtube-api.json index 9dfcba3feb6..2f71ca5179b 100644 --- a/youtube/v3/youtube-api.json +++ b/youtube/v3/youtube-api.json @@ -3789,7 +3789,7 @@ } } }, - "revision": "20220409", + "revision": "20220419", "rootUrl": "https://youtube.googleapis.com/", "schemas": { "AbuseReport": { @@ -5742,6 +5742,9 @@ "cbfcUnspecified", "cbfcU", "cbfcUA", + "cbfcUA7plus", + "cbfcUA13plus", + "cbfcUA16plus", "cbfcA", "cbfcS", "cbfcUnrated" @@ -5750,6 +5753,9 @@ "", "U", "U/A", + "U/A 7+", + "U/A 13+", + "U/A 16+", "A", "S", "" diff --git a/youtube/v3/youtube-gen.go b/youtube/v3/youtube-gen.go index 1a38866f9dd..420d363a2af 100644 --- a/youtube/v3/youtube-gen.go +++ b/youtube/v3/youtube-gen.go @@ -3184,6 +3184,9 @@ type ContentRating struct { // "cbfcUnspecified" // "cbfcU" - U // "cbfcUA" - U/A + // "cbfcUA7plus" - U/A 7+ + // "cbfcUA13plus" - U/A 13+ + // "cbfcUA16plus" - U/A 16+ // "cbfcA" - A // "cbfcS" - S // "cbfcUnrated"