diff --git a/accessapproval/v1/accessapproval-api.json b/accessapproval/v1/accessapproval-api.json index 7f4de594d3f..1e1631c3b0e 100644 --- a/accessapproval/v1/accessapproval-api.json +++ b/accessapproval/v1/accessapproval-api.json @@ -913,7 +913,7 @@ } } }, - "revision": "20220519", + "revision": "20220902", "rootUrl": "https://accessapproval.googleapis.com/", "schemas": { "AccessApprovalServiceAccount": { @@ -1140,7 +1140,7 @@ "id": "EnrolledService", "properties": { "cloudProduct": { - "description": "The product for which Access Approval will be enrolled. Allowed values are listed below (case-sensitive): * all * GA * App Engine * BigQuery * Cloud Bigtable * Cloud Key Management Service * Compute Engine * Cloud Dataflow * Cloud DLP * Cloud EKM * Cloud HSM * Cloud Identity and Access Management * Cloud Logging * Cloud Pub/Sub * Cloud Spanner * Cloud SQL * Cloud Storage * Google Kubernetes Engine * Organization Policy Serivice * Persistent Disk * Resource Manager * Speaker ID Note: These values are supported as input for legacy purposes, but will not be returned from the API. * all * ga-only * appengine.googleapis.com * bigquery.googleapis.com * bigtable.googleapis.com * container.googleapis.com * cloudkms.googleapis.com * cloudresourcemanager.googleapis.com * cloudsql.googleapis.com * compute.googleapis.com * dataflow.googleapis.com * dlp.googleapis.com * iam.googleapis.com * logging.googleapis.com * orgpolicy.googleapis.com * pubsub.googleapis.com * spanner.googleapis.com * speakerid.googleapis.com * storage.googleapis.com Calls to UpdateAccessApprovalSettings using 'all' or any of the XXX.googleapis.com will be translated to the associated product name ('all', 'App Engine', etc.). Note: 'all' will enroll the resource in all products supported at both 'GA' and 'Preview' levels. More information about levels of support is available at https://cloud.google.com/access-approval/docs/supported-services", + "description": "The product for which Access Approval will be enrolled. Allowed values are listed below (case-sensitive): * all * GA * App Engine * BigQuery * Cloud Bigtable * Cloud Key Management Service * Compute Engine * Cloud Dataflow * Cloud Dataproc * Cloud DLP * Cloud EKM * Cloud HSM * Cloud Identity and Access Management * Cloud Logging * Cloud Pub/Sub * Cloud Spanner * Cloud SQL * Cloud Storage * Google Kubernetes Engine * Organization Policy Serivice * Persistent Disk * Resource Manager * Secret Manager * Speaker ID Note: These values are supported as input for legacy purposes, but will not be returned from the API. * all * ga-only * appengine.googleapis.com * bigquery.googleapis.com * bigtable.googleapis.com * container.googleapis.com * cloudkms.googleapis.com * cloudresourcemanager.googleapis.com * cloudsql.googleapis.com * compute.googleapis.com * dataflow.googleapis.com * dataproc.googleapis.com * dlp.googleapis.com * iam.googleapis.com * logging.googleapis.com * orgpolicy.googleapis.com * pubsub.googleapis.com * spanner.googleapis.com * secretmanager.googleapis.com * speakerid.googleapis.com * storage.googleapis.com Calls to UpdateAccessApprovalSettings using 'all' or any of the XXX.googleapis.com will be translated to the associated product name ('all', 'App Engine', etc.). Note: 'all' will enroll the resource in all products supported at both 'GA' and 'Preview' levels. More information about levels of support is available at https://cloud.google.com/access-approval/docs/supported-services", "type": "string" }, "enrollmentLevel": { diff --git a/accessapproval/v1/accessapproval-gen.go b/accessapproval/v1/accessapproval-gen.go index 27035bffe61..aee1a3e83ac 100644 --- a/accessapproval/v1/accessapproval-gen.go +++ b/accessapproval/v1/accessapproval-gen.go @@ -627,25 +627,27 @@ type EnrolledService struct { // CloudProduct: The product for which Access Approval will be enrolled. // Allowed values are listed below (case-sensitive): * all * GA * App // Engine * BigQuery * Cloud Bigtable * Cloud Key Management Service * - // Compute Engine * Cloud Dataflow * Cloud DLP * Cloud EKM * Cloud HSM * - // Cloud Identity and Access Management * Cloud Logging * Cloud Pub/Sub - // * Cloud Spanner * Cloud SQL * Cloud Storage * Google Kubernetes - // Engine * Organization Policy Serivice * Persistent Disk * Resource - // Manager * Speaker ID Note: These values are supported as input for - // legacy purposes, but will not be returned from the API. * all * - // ga-only * appengine.googleapis.com * bigquery.googleapis.com * - // bigtable.googleapis.com * container.googleapis.com * - // cloudkms.googleapis.com * cloudresourcemanager.googleapis.com * - // cloudsql.googleapis.com * compute.googleapis.com * - // dataflow.googleapis.com * dlp.googleapis.com * iam.googleapis.com * + // Compute Engine * Cloud Dataflow * Cloud Dataproc * Cloud DLP * Cloud + // EKM * Cloud HSM * Cloud Identity and Access Management * Cloud + // Logging * Cloud Pub/Sub * Cloud Spanner * Cloud SQL * Cloud Storage * + // Google Kubernetes Engine * Organization Policy Serivice * Persistent + // Disk * Resource Manager * Secret Manager * Speaker ID Note: These + // values are supported as input for legacy purposes, but will not be + // returned from the API. * all * ga-only * appengine.googleapis.com * + // bigquery.googleapis.com * bigtable.googleapis.com * + // container.googleapis.com * cloudkms.googleapis.com * + // cloudresourcemanager.googleapis.com * cloudsql.googleapis.com * + // compute.googleapis.com * dataflow.googleapis.com * + // dataproc.googleapis.com * dlp.googleapis.com * iam.googleapis.com * // logging.googleapis.com * orgpolicy.googleapis.com * // pubsub.googleapis.com * spanner.googleapis.com * - // speakerid.googleapis.com * storage.googleapis.com Calls to - // UpdateAccessApprovalSettings using 'all' or any of the - // XXX.googleapis.com will be translated to the associated product name - // ('all', 'App Engine', etc.). Note: 'all' will enroll the resource in - // all products supported at both 'GA' and 'Preview' levels. More - // information about levels of support is available at + // secretmanager.googleapis.com * speakerid.googleapis.com * + // storage.googleapis.com Calls to UpdateAccessApprovalSettings using + // 'all' or any of the XXX.googleapis.com will be translated to the + // associated product name ('all', 'App Engine', etc.). Note: 'all' will + // enroll the resource in all products supported at both 'GA' and + // 'Preview' levels. More information about levels of support is + // available at // https://cloud.google.com/access-approval/docs/supported-services CloudProduct string `json:"cloudProduct,omitempty"` diff --git a/accesscontextmanager/v1/accesscontextmanager-api.json b/accesscontextmanager/v1/accesscontextmanager-api.json index 3044f42266f..773eb6f385e 100644 --- a/accesscontextmanager/v1/accesscontextmanager-api.json +++ b/accesscontextmanager/v1/accesscontextmanager-api.json @@ -1083,7 +1083,7 @@ } } }, - "revision": "20220806", + "revision": "20220826", "rootUrl": "https://accesscontextmanager.googleapis.com/", "schemas": { "AccessContextManagerOperationMetadata": { @@ -1250,7 +1250,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/accesscontextmanager/v1/accesscontextmanager-gen.go b/accesscontextmanager/v1/accesscontextmanager-gen.go index 35fd9cdd46d..8e736dea9a3 100644 --- a/accesscontextmanager/v1/accesscontextmanager-gen.go +++ b/accesscontextmanager/v1/accesscontextmanager-gen.go @@ -528,11 +528,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/adsense/v2/adsense-api.json b/adsense/v2/adsense-api.json index 891c5955261..71ea04a7784 100644 --- a/adsense/v2/adsense-api.json +++ b/adsense/v2/adsense-api.json @@ -156,7 +156,8 @@ "$ref": "AdBlockingRecoveryTag" }, "scopes": [ - "https://www.googleapis.com/auth/adsense" + "https://www.googleapis.com/auth/adsense", + "https://www.googleapis.com/auth/adsense.readonly" ] }, "list": { @@ -744,6 +745,7 @@ "MONTH", "ACCOUNT_NAME", "AD_CLIENT_ID", + "HOSTED_AD_CLIENT_ID", "PRODUCT_NAME", "PRODUCT_CODE", "AD_UNIT_NAME", @@ -792,6 +794,7 @@ "Month dimension in YYYY-MM format (e.g. \"2010-02\").", "Account name. The members of this dimension match the values from Account.display_name.", "Unique ID of an ad client. The members of this dimension match the values from AdClient.reporting_dimension_id.", + "Unique ID of a sub-account's ad client. The members of this dimension match the values from AdClient.reporting_dimension_id (for the sub-account).", "Localized product name (e.g. \"AdSense for Content\", \"AdSense for Search\").", "Product code (e.g. \"AFC\", \"AFS\"). The members of this dimension match the values from AdClient.product_code.", "Ad unit name (within which an ad was served). The members of this dimension match the values from AdUnit.display_name.", @@ -1052,6 +1055,7 @@ "MONTH", "ACCOUNT_NAME", "AD_CLIENT_ID", + "HOSTED_AD_CLIENT_ID", "PRODUCT_NAME", "PRODUCT_CODE", "AD_UNIT_NAME", @@ -1100,6 +1104,7 @@ "Month dimension in YYYY-MM format (e.g. \"2010-02\").", "Account name. The members of this dimension match the values from Account.display_name.", "Unique ID of an ad client. The members of this dimension match the values from AdClient.reporting_dimension_id.", + "Unique ID of a sub-account's ad client. The members of this dimension match the values from AdClient.reporting_dimension_id (for the sub-account).", "Localized product name (e.g. \"AdSense for Content\", \"AdSense for Search\").", "Product code (e.g. \"AFC\", \"AFS\"). The members of this dimension match the values from AdClient.product_code.", "Ad unit name (within which an ad was served). The members of this dimension match the values from AdUnit.display_name.", @@ -1670,7 +1675,7 @@ } } }, - "revision": "20220817", + "revision": "20220904", "rootUrl": "https://adsense.googleapis.com/", "schemas": { "Account": { diff --git a/adsense/v2/adsense-gen.go b/adsense/v2/adsense-gen.go index e7ba42ce276..ba46509e9ac 100644 --- a/adsense/v2/adsense-gen.go +++ b/adsense/v2/adsense-gen.go @@ -1908,7 +1908,8 @@ func (c *AccountsGetAdBlockingRecoveryTagCall) Do(opts ...googleapi.CallOption) // "$ref": "AdBlockingRecoveryTag" // }, // "scopes": [ - // "https://www.googleapis.com/auth/adsense" + // "https://www.googleapis.com/auth/adsense", + // "https://www.googleapis.com/auth/adsense.readonly" // ] // } @@ -4785,6 +4786,11 @@ func (c *AccountsReportsGenerateCall) DateRange(dateRange string) *AccountsRepor // // dimension match the values from AdClient.reporting_dimension_id. // +// "HOSTED_AD_CLIENT_ID" - Unique ID of a sub-account's ad client. The +// +// members of this dimension match the values from +// AdClient.reporting_dimension_id (for the sub-account). +// // "PRODUCT_NAME" - Localized product name (e.g. "AdSense for // // Content", "AdSense for Search"). @@ -5333,6 +5339,7 @@ func (c *AccountsReportsGenerateCall) Do(opts ...googleapi.CallOption) (*ReportR // "MONTH", // "ACCOUNT_NAME", // "AD_CLIENT_ID", + // "HOSTED_AD_CLIENT_ID", // "PRODUCT_NAME", // "PRODUCT_CODE", // "AD_UNIT_NAME", @@ -5381,6 +5388,7 @@ func (c *AccountsReportsGenerateCall) Do(opts ...googleapi.CallOption) (*ReportR // "Month dimension in YYYY-MM format (e.g. \"2010-02\").", // "Account name. The members of this dimension match the values from Account.display_name.", // "Unique ID of an ad client. The members of this dimension match the values from AdClient.reporting_dimension_id.", + // "Unique ID of a sub-account's ad client. The members of this dimension match the values from AdClient.reporting_dimension_id (for the sub-account).", // "Localized product name (e.g. \"AdSense for Content\", \"AdSense for Search\").", // "Product code (e.g. \"AFC\", \"AFS\"). The members of this dimension match the values from AdClient.product_code.", // "Ad unit name (within which an ad was served). The members of this dimension match the values from AdUnit.display_name.", @@ -5672,6 +5680,11 @@ func (c *AccountsReportsGenerateCsvCall) DateRange(dateRange string) *AccountsRe // // dimension match the values from AdClient.reporting_dimension_id. // +// "HOSTED_AD_CLIENT_ID" - Unique ID of a sub-account's ad client. The +// +// members of this dimension match the values from +// AdClient.reporting_dimension_id (for the sub-account). +// // "PRODUCT_NAME" - Localized product name (e.g. "AdSense for // // Content", "AdSense for Search"). @@ -6220,6 +6233,7 @@ func (c *AccountsReportsGenerateCsvCall) Do(opts ...googleapi.CallOption) (*Http // "MONTH", // "ACCOUNT_NAME", // "AD_CLIENT_ID", + // "HOSTED_AD_CLIENT_ID", // "PRODUCT_NAME", // "PRODUCT_CODE", // "AD_UNIT_NAME", @@ -6268,6 +6282,7 @@ func (c *AccountsReportsGenerateCsvCall) Do(opts ...googleapi.CallOption) (*Http // "Month dimension in YYYY-MM format (e.g. \"2010-02\").", // "Account name. The members of this dimension match the values from Account.display_name.", // "Unique ID of an ad client. The members of this dimension match the values from AdClient.reporting_dimension_id.", + // "Unique ID of a sub-account's ad client. The members of this dimension match the values from AdClient.reporting_dimension_id (for the sub-account).", // "Localized product name (e.g. \"AdSense for Content\", \"AdSense for Search\").", // "Product code (e.g. \"AFC\", \"AFS\"). The members of this dimension match the values from AdClient.product_code.", // "Ad unit name (within which an ad was served). The members of this dimension match the values from AdUnit.display_name.", diff --git a/analyticsadmin/v1alpha/analyticsadmin-api.json b/analyticsadmin/v1alpha/analyticsadmin-api.json index 0d0d18b851f..0e1528bb6c4 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-api.json +++ b/analyticsadmin/v1alpha/analyticsadmin-api.json @@ -2802,7 +2802,7 @@ } } }, - "revision": "20220817", + "revision": "20220904", "rootUrl": "https://analyticsadmin.googleapis.com/", "schemas": { "GoogleAnalyticsAdminV1alphaAccessBetweenFilter": { @@ -3089,7 +3089,11 @@ }, "tokensPerHour": { "$ref": "GoogleAnalyticsAdminV1alphaAccessQuotaStatus", - "description": "Properties can use 50,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from both the hourly and daily quotas." + "description": "Properties can use 50,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas." + }, + "tokensPerProjectPerHour": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessQuotaStatus", + "description": "Properties can use up to 25% of their tokens per project per hour. This amounts to Analytics 360 Properties can use 12,500 tokens per project per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas." } }, "type": "object" diff --git a/analyticsadmin/v1alpha/analyticsadmin-gen.go b/analyticsadmin/v1alpha/analyticsadmin-gen.go index 03174786c1d..80fd3c271fd 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-gen.go +++ b/analyticsadmin/v1alpha/analyticsadmin-gen.go @@ -903,9 +903,17 @@ type GoogleAnalyticsAdminV1alphaAccessQuota struct { // TokensPerHour: Properties can use 50,000 tokens per hour. An API // request consumes a single number of tokens, and that number is - // deducted from both the hourly and daily quotas. + // deducted from all of the hourly, daily, and per project hourly + // quotas. TokensPerHour *GoogleAnalyticsAdminV1alphaAccessQuotaStatus `json:"tokensPerHour,omitempty"` + // TokensPerProjectPerHour: Properties can use up to 25% of their tokens + // per project per hour. This amounts to Analytics 360 Properties can + // use 12,500 tokens per project per hour. An API request consumes a + // single number of tokens, and that number is deducted from all of the + // hourly, daily, and per project hourly quotas. + TokensPerProjectPerHour *GoogleAnalyticsAdminV1alphaAccessQuotaStatus `json:"tokensPerProjectPerHour,omitempty"` + // ForceSendFields is a list of field names (e.g. "ConcurrentRequests") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any diff --git a/analyticsdata/v1beta/analyticsdata-api.json b/analyticsdata/v1beta/analyticsdata-api.json index 414a41b5270..b70a81281a2 100644 --- a/analyticsdata/v1beta/analyticsdata-api.json +++ b/analyticsdata/v1beta/analyticsdata-api.json @@ -313,7 +313,7 @@ } } }, - "revision": "20220620", + "revision": "20220904", "rootUrl": "https://analyticsdata.googleapis.com/", "schemas": { "ActiveMetricRestriction": { @@ -1301,7 +1301,11 @@ }, "tokensPerHour": { "$ref": "QuotaStatus", - "description": "Standard Analytics Properties can use up to 5,000 tokens per hour; Analytics 360 Properties can use 50,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from both the hourly and daily quotas." + "description": "Standard Analytics Properties can use up to 5,000 tokens per hour; Analytics 360 Properties can use 50,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas." + }, + "tokensPerProjectPerHour": { + "$ref": "QuotaStatus", + "description": "Analytics Properties can use up to 25% of their tokens per project per hour. This amounts to standard Analytics Properties can use up to 1,250 tokens per project per hour, and Analytics 360 Properties can use 12,500 tokens per project per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas." } }, "type": "object" diff --git a/analyticsdata/v1beta/analyticsdata-gen.go b/analyticsdata/v1beta/analyticsdata-gen.go index 95ba5ba003b..f5eb77aa22e 100644 --- a/analyticsdata/v1beta/analyticsdata-gen.go +++ b/analyticsdata/v1beta/analyticsdata-gen.go @@ -1952,9 +1952,19 @@ type PropertyQuota struct { // TokensPerHour: Standard Analytics Properties can use up to 5,000 // tokens per hour; Analytics 360 Properties can use 50,000 tokens per // hour. An API request consumes a single number of tokens, and that - // number is deducted from both the hourly and daily quotas. + // number is deducted from all of the hourly, daily, and per project + // hourly quotas. TokensPerHour *QuotaStatus `json:"tokensPerHour,omitempty"` + // TokensPerProjectPerHour: Analytics Properties can use up to 25% of + // their tokens per project per hour. This amounts to standard Analytics + // Properties can use up to 1,250 tokens per project per hour, and + // Analytics 360 Properties can use 12,500 tokens per project per hour. + // An API request consumes a single number of tokens, and that number is + // deducted from all of the hourly, daily, and per project hourly + // quotas. + TokensPerProjectPerHour *QuotaStatus `json:"tokensPerProjectPerHour,omitempty"` + // ForceSendFields is a list of field names (e.g. "ConcurrentRequests") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any diff --git a/analyticshub/v1beta1/analyticshub-api.json b/analyticshub/v1beta1/analyticshub-api.json index bd8ec0167ab..3f3cd1843cd 100644 --- a/analyticshub/v1beta1/analyticshub-api.json +++ b/analyticshub/v1beta1/analyticshub-api.json @@ -765,7 +765,7 @@ } } }, - "revision": "20220808", + "revision": "20220902", "rootUrl": "https://analyticshub.googleapis.com/", "schemas": { "AuditConfig": { @@ -836,7 +836,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/analyticshub/v1beta1/analyticshub-gen.go b/analyticshub/v1beta1/analyticshub-gen.go index 53080db0667..33d8daf96f2 100644 --- a/analyticshub/v1beta1/analyticshub-gen.go +++ b/analyticshub/v1beta1/analyticshub-gen.go @@ -376,11 +376,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/androidmanagement/v1/androidmanagement-api.json b/androidmanagement/v1/androidmanagement-api.json index 3d6967d90fc..2067ca1cfa2 100644 --- a/androidmanagement/v1/androidmanagement-api.json +++ b/androidmanagement/v1/androidmanagement-api.json @@ -1065,7 +1065,7 @@ } } }, - "revision": "20220725", + "revision": "20220829", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": { @@ -2772,7 +2772,7 @@ "type": "object" }, "FreezePeriod": { - "description": "A system freeze period. When a device’s clock is within the freeze period, all incoming system updates (including security patches) are blocked and won’t be installed. When a device is outside the freeze period, normal update behavior applies. Leap years are ignored in freeze period calculations, in particular: * If Feb. 29th is set as the start or end date of a freeze period, the freeze period will start or end on Feb. 28th instead. * When a device’s system clock reads Feb. 29th, it’s treated as Feb. 28th. * When calculating the number of days in a freeze period or the time between two freeze periods, Feb. 29th is ignored and not counted as a day.", + "description": "A system freeze period. When a device’s clock is within the freeze period, all incoming system updates (including security patches) are blocked and won’t be installed. When a device is outside the freeze period, normal update behavior applies. Leap years are ignored in freeze period calculations, in particular: * If Feb. 29th is set as the start or end date of a freeze period, the freeze period will start or end on Feb. 28th instead. * When a device’s system clock reads Feb. 29th, it’s treated as Feb. 28th. * When calculating the number of days in a freeze period or the time between two freeze periods, Feb. 29th is ignored and not counted as a day.Note: For Freeze Periods to take effect, SystemUpdateType cannot be specified as SYSTEM_UPDATE_TYPE_UNSPECIFIED, because freeze periods require a defined policy to be specified.", "id": "FreezePeriod", "properties": { "endDate": { @@ -4630,7 +4630,7 @@ "type": "boolean" }, "uninstallAppsDisabled": { - "description": "Whether user uninstallation of applications is disabled.", + "description": "Whether user uninstallation of applications is disabled. This prevents apps from being uninstalled, even those removed using applications", "type": "boolean" }, "unmuteMicrophoneDisabled": { @@ -4642,7 +4642,7 @@ "description": "Configuration of device activity logging." }, "usbFileTransferDisabled": { - "description": "Whether transferring files over USB is disabled.", + "description": "Whether transferring files over USB is disabled. This is supported only on company-owned devices.", "type": "boolean" }, "usbMassStorageEnabled": { diff --git a/androidmanagement/v1/androidmanagement-gen.go b/androidmanagement/v1/androidmanagement-gen.go index e8378e95f9f..536509dcd9a 100644 --- a/androidmanagement/v1/androidmanagement-gen.go +++ b/androidmanagement/v1/androidmanagement-gen.go @@ -2670,7 +2670,9 @@ func (s *FilePushedEvent) MarshalJSON() ([]byte, error) { // device’s system clock reads Feb. 29th, it’s treated as Feb. 28th. // * When calculating the number of days in a freeze period or the time // between two freeze periods, Feb. 29th is ignored and not counted as a -// day. +// day.Note: For Freeze Periods to take effect, SystemUpdateType cannot +// be specified as SYSTEM_UPDATE_TYPE_UNSPECIFIED, because freeze +// periods require a defined policy to be specified. type FreezePeriod struct { // EndDate: The end date (inclusive) of the freeze period. Must be no // later than 90 days from the start date. If the end date is earlier @@ -5168,7 +5170,8 @@ type Policy struct { TetheringConfigDisabled bool `json:"tetheringConfigDisabled,omitempty"` // UninstallAppsDisabled: Whether user uninstallation of applications is - // disabled. + // disabled. This prevents apps from being uninstalled, even those + // removed using applications UninstallAppsDisabled bool `json:"uninstallAppsDisabled,omitempty"` // UnmuteMicrophoneDisabled: If microphone_access is set to any value @@ -5182,7 +5185,7 @@ type Policy struct { UsageLog *UsageLog `json:"usageLog,omitempty"` // UsbFileTransferDisabled: Whether transferring files over USB is - // disabled. + // disabled. This is supported only on company-owned devices. UsbFileTransferDisabled bool `json:"usbFileTransferDisabled,omitempty"` // UsbMassStorageEnabled: Whether USB storage is enabled. Deprecated. diff --git a/androidpublisher/v3/androidpublisher-api.json b/androidpublisher/v3/androidpublisher-api.json index 2de98e5df6b..73d3989906d 100644 --- a/androidpublisher/v3/androidpublisher-api.json +++ b/androidpublisher/v3/androidpublisher-api.json @@ -550,6 +550,11 @@ "location": "query", "type": "boolean" }, + "deviceTierConfigId": { + "description": "Device tier config (DTC) to be used for generating deliverables (APKs). Contains id of the DTC or \"LATEST\" for last uploaded DTC.", + "location": "query", + "type": "string" + }, "editId": { "description": "Identifier of the edit.", "location": "path", @@ -3915,7 +3920,7 @@ } } }, - "revision": "20220704", + "revision": "20220906", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "AcquisitionTargetingRule": { diff --git a/androidpublisher/v3/androidpublisher-gen.go b/androidpublisher/v3/androidpublisher-gen.go index dec80da6d01..537d1097724 100644 --- a/androidpublisher/v3/androidpublisher-gen.go +++ b/androidpublisher/v3/androidpublisher-gen.go @@ -7786,6 +7786,14 @@ func (c *EditsBundlesUploadCall) AckBundleInstallationWarning(ackBundleInstallat return c } +// DeviceTierConfigId sets the optional parameter "deviceTierConfigId": +// Device tier config (DTC) to be used for generating deliverables +// (APKs). Contains id of the DTC or "LATEST" for last uploaded DTC. +func (c *EditsBundlesUploadCall) DeviceTierConfigId(deviceTierConfigId string) *EditsBundlesUploadCall { + c.urlParams_.Set("deviceTierConfigId", deviceTierConfigId) + return c +} + // Media specifies the media to upload in one or more chunks. The chunk // size may be controlled by supplying a MediaOption generated by // googleapi.ChunkSize. The chunk size defaults to @@ -7970,6 +7978,11 @@ func (c *EditsBundlesUploadCall) Do(opts ...googleapi.CallOption) (*Bundle, erro // "location": "query", // "type": "boolean" // }, + // "deviceTierConfigId": { + // "description": "Device tier config (DTC) to be used for generating deliverables (APKs). Contains id of the DTC or \"LATEST\" for last uploaded DTC.", + // "location": "query", + // "type": "string" + // }, // "editId": { // "description": "Identifier of the edit.", // "location": "path", diff --git a/api-list.json b/api-list.json index c32199630ab..170c4f11f08 100644 --- a/api-list.json +++ b/api-list.json @@ -1276,6 +1276,21 @@ "documentationLink": "https://cloud.google.com/identity/", "preferred": true }, + { + "kind": "discovery#directoryItem", + "id": "cloudiot:v1", + "name": "cloudiot", + "version": "v1", + "title": "Cloud IoT API", + "description": "Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform.", + "discoveryRestUrl": "https://cloudiot.googleapis.com/$discovery/rest?version=v1", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/iot", + "preferred": true + }, { "kind": "discovery#directoryItem", "id": "cloudkms:v1", @@ -4627,21 +4642,6 @@ "documentationLink": "https://cloud.google.com/recommendations", "preferred": true }, - { - "kind": "discovery#directoryItem", - "id": "run:v1alpha1", - "name": "run", - "version": "v1alpha1", - "title": "Cloud Run Admin API", - "description": "Deploy and manage user provided container images that scale automatically based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving API specification, while v2 is aligned with Google Cloud AIP-based API standards, as described in https://google.aip.dev/.", - "discoveryRestUrl": "https://run.googleapis.com/$discovery/rest?version=v1alpha1", - "icons": { - "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", - "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" - }, - "documentationLink": "https://cloud.google.com/run/", - "preferred": false - }, { "kind": "discovery#directoryItem", "id": "run:v1", diff --git a/apigee/v1/apigee-api.json b/apigee/v1/apigee-api.json index 35539087287..c2d38b97b75 100644 --- a/apigee/v1/apigee-api.json +++ b/apigee/v1/apigee-api.json @@ -8609,7 +8609,7 @@ } } }, - "revision": "20220811", + "revision": "20220825", "rootUrl": "https://apigee.googleapis.com/", "schemas": { "EdgeConfigstoreBundleBadBundle": { @@ -15026,7 +15026,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/apigee/v1/apigee-gen.go b/apigee/v1/apigee-gen.go index bda02dbb17e..897758da729 100644 --- a/apigee/v1/apigee-gen.go +++ b/apigee/v1/apigee-gen.go @@ -11237,11 +11237,12 @@ type GoogleIamV1Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/apigeeregistry/v1/apigeeregistry-api.json b/apigeeregistry/v1/apigeeregistry-api.json index 751eca8c744..e89cd4ed4ef 100644 --- a/apigeeregistry/v1/apigeeregistry-api.json +++ b/apigeeregistry/v1/apigeeregistry-api.json @@ -180,7 +180,7 @@ "apis": { "methods": { "create": { - "description": "CreateApi creates a specified API.", + "description": "Creates a specified API.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis", "httpMethod": "POST", "id": "apigeeregistry.projects.locations.apis.create", @@ -189,12 +189,12 @@ ], "parameters": { "apiId": { - "description": "Required. The ID to use for the api, which will become the final component of the api's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.", + "description": "Required. The ID to use for the API, which will become the final component of the API's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.", "location": "query", "type": "string" }, "parent": { - "description": "Required. The parent, which owns this collection of APIs. Format: projects/*/locations/*", + "description": "Required. The parent, which owns this collection of APIs. Format: `projects/*/locations/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -213,7 +213,7 @@ ] }, "delete": { - "description": "DeleteApi removes a specified API and all of the resources that it owns.", + "description": "Removes a specified API and all of the resources that it owns.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}", "httpMethod": "DELETE", "id": "apigeeregistry.projects.locations.apis.delete", @@ -227,7 +227,7 @@ "type": "boolean" }, "name": { - "description": "Required. The name of the API to delete. Format: projects/*/locations/*/apis/*", + "description": "Required. The name of the API to delete. Format: `projects/*/locations/*/apis/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", "required": true, @@ -243,7 +243,7 @@ ] }, "get": { - "description": "GetApi returns a specified API.", + "description": "Returns a specified API.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.get", @@ -252,7 +252,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the API to retrieve. Format: projects/*/locations/*/apis/*", + "description": "Required. The name of the API to retrieve. Format: `projects/*/locations/*/apis/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", "required": true, @@ -299,7 +299,7 @@ ] }, "list": { - "description": "ListApis returns matching APIs.", + "description": "Returns matching APIs.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.list", @@ -312,6 +312,11 @@ "location": "query", "type": "string" }, + "orderBy": { + "description": "A comma-separated list of fields, e.g. \"foo,bar\" Fields can be sorted in descending order using the \"desc\" identifier, e.g. \"foo desc,bar\"", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of APIs to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.", "format": "int32", @@ -324,7 +329,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns this collection of APIs. Format: projects/*/locations/*", + "description": "Required. The parent, which owns this collection of APIs. Format: `projects/*/locations/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -340,7 +345,7 @@ ] }, "patch": { - "description": "UpdateApi can be used to modify a specified API.", + "description": "Used to modify a specified API.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}", "httpMethod": "PATCH", "id": "apigeeregistry.projects.locations.apis.patch", @@ -349,7 +354,7 @@ ], "parameters": { "allowMissing": { - "description": "If set to true, and the api is not found, a new api will be created. In this situation, `update_mask` is ignored.", + "description": "If set to true, and the API is not found, a new API will be created. In this situation, `update_mask` is ignored.", "location": "query", "type": "boolean" }, @@ -361,7 +366,7 @@ "type": "string" }, "updateMask": { - "description": "The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If a \"*\" is specified, all fields are updated, including fields that are unspecified/default in the request.", + "description": "The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk \"*\" is specified, all fields are updated, including fields that are unspecified/default in the request.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -439,7 +444,7 @@ "artifacts": { "methods": { "create": { - "description": "CreateArtifact creates a specified artifact.", + "description": "Creates a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/artifacts", "httpMethod": "POST", "id": "apigeeregistry.projects.locations.apis.artifacts.create", @@ -453,7 +458,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", "required": true, @@ -472,7 +477,7 @@ ] }, "delete": { - "description": "DeleteArtifact removes a specified artifact.", + "description": "Removes a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/artifacts/{artifactsId}", "httpMethod": "DELETE", "id": "apigeeregistry.projects.locations.apis.artifacts.delete", @@ -481,7 +486,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the artifact to delete. Format: {parent}/artifacts/*", + "description": "Required. The name of the artifact to delete. Format: `{parent}/artifacts/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/artifacts/[^/]+$", "required": true, @@ -497,7 +502,7 @@ ] }, "get": { - "description": "GetArtifact returns a specified artifact.", + "description": "Returns a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/artifacts/{artifactsId}", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.artifacts.get", @@ -506,7 +511,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the artifact to retrieve. Format: {parent}/artifacts/*", + "description": "Required. The name of the artifact to retrieve. Format: `{parent}/artifacts/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/artifacts/[^/]+$", "required": true, @@ -522,7 +527,7 @@ ] }, "getContents": { - "description": "GetArtifactContents returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", + "description": "Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/artifacts/{artifactsId}:getContents", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.artifacts.getContents", @@ -531,7 +536,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the artifact whose contents should be retrieved. Format: {parent}/artifacts/*", + "description": "Required. The name of the artifact whose contents should be retrieved. Format: `{parent}/artifacts/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/artifacts/[^/]+$", "required": true, @@ -578,7 +583,7 @@ ] }, "list": { - "description": "ListArtifacts returns matching artifacts.", + "description": "Returns matching artifacts.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/artifacts", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.artifacts.list", @@ -591,6 +596,11 @@ "location": "query", "type": "string" }, + "orderBy": { + "description": "A comma-separated list of fields, e.g. \"foo,bar\" Fields can be sorted in descending order using the \"desc\" identifier, e.g. \"foo desc,bar\"", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of artifacts to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.", "format": "int32", @@ -603,7 +613,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", "required": true, @@ -619,7 +629,7 @@ ] }, "replaceArtifact": { - "description": "ReplaceArtifact can be used to replace a specified artifact.", + "description": "Used to replace a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/artifacts/{artifactsId}", "httpMethod": "PUT", "id": "apigeeregistry.projects.locations.apis.artifacts.replaceArtifact", @@ -707,7 +717,7 @@ "deployments": { "methods": { "create": { - "description": "CreateApiDeployment creates a specified deployment.", + "description": "Creates a specified deployment.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments", "httpMethod": "POST", "id": "apigeeregistry.projects.locations.apis.deployments.create", @@ -721,7 +731,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns this collection of deployments. Format: projects/*/locations/*/apis/*", + "description": "Required. The parent, which owns this collection of deployments. Format: `projects/*/locations/*/apis/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", "required": true, @@ -740,7 +750,7 @@ ] }, "delete": { - "description": "DeleteApiDeployment removes a specified deployment, all revisions, and all child resources (e.g. artifacts).", + "description": "Removes a specified deployment, all revisions, and all child resources (e.g., artifacts).", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}", "httpMethod": "DELETE", "id": "apigeeregistry.projects.locations.apis.deployments.delete", @@ -754,7 +764,7 @@ "type": "boolean" }, "name": { - "description": "Required. The name of the deployment to delete. Format: projects/*/locations/*/apis/*/deployments/*", + "description": "Required. The name of the deployment to delete. Format: `projects/*/locations/*/apis/*/deployments/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/deployments/[^/]+$", "required": true, @@ -770,7 +780,7 @@ ] }, "deleteRevision": { - "description": "DeleteApiDeploymentRevision deletes a revision of a deployment.", + "description": "Deletes a revision of a deployment.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}:deleteRevision", "httpMethod": "DELETE", "id": "apigeeregistry.projects.locations.apis.deployments.deleteRevision", @@ -779,7 +789,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the deployment revision to be deleted, with a revision ID explicitly included. Example: projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8", + "description": "Required. The name of the deployment revision to be deleted, with a revision ID explicitly included. Example: `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/deployments/[^/]+$", "required": true, @@ -795,7 +805,7 @@ ] }, "get": { - "description": "GetApiDeployment returns a specified deployment.", + "description": "Returns a specified deployment.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.deployments.get", @@ -804,7 +814,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the deployment to retrieve. Format: projects/*/locations/*/apis/*/deployments/*", + "description": "Required. The name of the deployment to retrieve. Format: `projects/*/locations/*/apis/*/deployments/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/deployments/[^/]+$", "required": true, @@ -851,7 +861,7 @@ ] }, "list": { - "description": "ListApiDeployments returns matching deployments.", + "description": "Returns matching deployments.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.deployments.list", @@ -864,6 +874,11 @@ "location": "query", "type": "string" }, + "orderBy": { + "description": "A comma-separated list of fields, e.g. \"foo,bar\" Fields can be sorted in descending order using the \"desc\" identifier, e.g. \"foo desc,bar\"", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of deployments to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.", "format": "int32", @@ -876,7 +891,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns this collection of deployments. Format: projects/*/locations/*/apis/*", + "description": "Required. The parent, which owns this collection of deployments. Format: `projects/*/locations/*/apis/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", "required": true, @@ -892,7 +907,7 @@ ] }, "listRevisions": { - "description": "ListApiDeploymentRevisions lists all revisions of a deployment. Revisions are returned in descending order of revision creation time.", + "description": "Lists all revisions of a deployment. Revisions are returned in descending order of revision creation time.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}:listRevisions", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.deployments.listRevisions", @@ -928,7 +943,7 @@ ] }, "patch": { - "description": "UpdateApiDeployment can be used to modify a specified deployment.", + "description": "Used to modify a specified deployment.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}", "httpMethod": "PATCH", "id": "apigeeregistry.projects.locations.apis.deployments.patch", @@ -949,7 +964,7 @@ "type": "string" }, "updateMask": { - "description": "The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If a \"*\" is specified, all fields are updated, including fields that are unspecified/default in the request.", + "description": "The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk \"*\" is specified, all fields are updated, including fields that are unspecified/default in the request.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -967,7 +982,7 @@ ] }, "rollback": { - "description": "RollbackApiDeployment sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.", + "description": "Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}:rollback", "httpMethod": "POST", "id": "apigeeregistry.projects.locations.apis.deployments.rollback", @@ -1023,7 +1038,7 @@ ] }, "tagRevision": { - "description": "TagApiDeploymentRevision adds a tag to a specified revision of a deployment.", + "description": "Adds a tag to a specified revision of a deployment.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}:tagRevision", "httpMethod": "POST", "id": "apigeeregistry.projects.locations.apis.deployments.tagRevision", @@ -1083,7 +1098,7 @@ "artifacts": { "methods": { "create": { - "description": "CreateArtifact creates a specified artifact.", + "description": "Creates a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}/artifacts", "httpMethod": "POST", "id": "apigeeregistry.projects.locations.apis.deployments.artifacts.create", @@ -1097,7 +1112,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/deployments/[^/]+$", "required": true, @@ -1116,7 +1131,7 @@ ] }, "delete": { - "description": "DeleteArtifact removes a specified artifact.", + "description": "Removes a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}/artifacts/{artifactsId}", "httpMethod": "DELETE", "id": "apigeeregistry.projects.locations.apis.deployments.artifacts.delete", @@ -1125,7 +1140,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the artifact to delete. Format: {parent}/artifacts/*", + "description": "Required. The name of the artifact to delete. Format: `{parent}/artifacts/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/deployments/[^/]+/artifacts/[^/]+$", "required": true, @@ -1141,7 +1156,7 @@ ] }, "get": { - "description": "GetArtifact returns a specified artifact.", + "description": "Returns a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}/artifacts/{artifactsId}", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.deployments.artifacts.get", @@ -1150,7 +1165,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the artifact to retrieve. Format: {parent}/artifacts/*", + "description": "Required. The name of the artifact to retrieve. Format: `{parent}/artifacts/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/deployments/[^/]+/artifacts/[^/]+$", "required": true, @@ -1166,7 +1181,7 @@ ] }, "getContents": { - "description": "GetArtifactContents returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", + "description": "Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}/artifacts/{artifactsId}:getContents", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.deployments.artifacts.getContents", @@ -1175,7 +1190,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the artifact whose contents should be retrieved. Format: {parent}/artifacts/*", + "description": "Required. The name of the artifact whose contents should be retrieved. Format: `{parent}/artifacts/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/deployments/[^/]+/artifacts/[^/]+$", "required": true, @@ -1191,7 +1206,7 @@ ] }, "list": { - "description": "ListArtifacts returns matching artifacts.", + "description": "Returns matching artifacts.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}/artifacts", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.deployments.artifacts.list", @@ -1204,6 +1219,11 @@ "location": "query", "type": "string" }, + "orderBy": { + "description": "A comma-separated list of fields, e.g. \"foo,bar\" Fields can be sorted in descending order using the \"desc\" identifier, e.g. \"foo desc,bar\"", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of artifacts to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.", "format": "int32", @@ -1216,7 +1236,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/deployments/[^/]+$", "required": true, @@ -1232,7 +1252,7 @@ ] }, "replaceArtifact": { - "description": "ReplaceArtifact can be used to replace a specified artifact.", + "description": "Used to replace a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}/artifacts/{artifactsId}", "httpMethod": "PUT", "id": "apigeeregistry.projects.locations.apis.deployments.artifacts.replaceArtifact", @@ -1266,7 +1286,7 @@ "versions": { "methods": { "create": { - "description": "CreateApiVersion creates a specified version.", + "description": "Creates a specified version.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions", "httpMethod": "POST", "id": "apigeeregistry.projects.locations.apis.versions.create", @@ -1280,7 +1300,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns this collection of versions. Format: projects/*/locations/*/apis/*", + "description": "Required. The parent, which owns this collection of versions. Format: `projects/*/locations/*/apis/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", "required": true, @@ -1299,7 +1319,7 @@ ] }, "delete": { - "description": "DeleteApiVersion removes a specified version and all of the resources that it owns.", + "description": "Removes a specified version and all of the resources that it owns.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}", "httpMethod": "DELETE", "id": "apigeeregistry.projects.locations.apis.versions.delete", @@ -1313,7 +1333,7 @@ "type": "boolean" }, "name": { - "description": "Required. The name of the version to delete. Format: projects/*/locations/*/apis/*/versions/*", + "description": "Required. The name of the version to delete. Format: `projects/*/locations/*/apis/*/versions/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+$", "required": true, @@ -1329,7 +1349,7 @@ ] }, "get": { - "description": "GetApiVersion returns a specified version.", + "description": "Returns a specified version.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.versions.get", @@ -1338,7 +1358,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the version to retrieve. Format: projects/*/locations/*/apis/*/versions/*", + "description": "Required. The name of the version to retrieve. Format: `projects/*/locations/*/apis/*/versions/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+$", "required": true, @@ -1385,7 +1405,7 @@ ] }, "list": { - "description": "ListApiVersions returns matching versions.", + "description": "Returns matching versions.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.versions.list", @@ -1398,6 +1418,11 @@ "location": "query", "type": "string" }, + "orderBy": { + "description": "A comma-separated list of fields, e.g. \"foo,bar\" Fields can be sorted in descending order using the \"desc\" identifier, e.g. \"foo desc,bar\"", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.", "format": "int32", @@ -1410,7 +1435,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns this collection of versions. Format: projects/*/locations/*/apis/*", + "description": "Required. The parent, which owns this collection of versions. Format: `projects/*/locations/*/apis/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", "required": true, @@ -1426,7 +1451,7 @@ ] }, "patch": { - "description": "UpdateApiVersion can be used to modify a specified version.", + "description": "Used to modify a specified version.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}", "httpMethod": "PATCH", "id": "apigeeregistry.projects.locations.apis.versions.patch", @@ -1447,7 +1472,7 @@ "type": "string" }, "updateMask": { - "description": "The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If a \"*\" is specified, all fields are updated, including fields that are unspecified/default in the request.", + "description": "The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk \"*\" is specified, all fields are updated, including fields that are unspecified/default in the request.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1525,7 +1550,7 @@ "artifacts": { "methods": { "create": { - "description": "CreateArtifact creates a specified artifact.", + "description": "Creates a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/artifacts", "httpMethod": "POST", "id": "apigeeregistry.projects.locations.apis.versions.artifacts.create", @@ -1539,7 +1564,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+$", "required": true, @@ -1558,7 +1583,7 @@ ] }, "delete": { - "description": "DeleteArtifact removes a specified artifact.", + "description": "Removes a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/artifacts/{artifactsId}", "httpMethod": "DELETE", "id": "apigeeregistry.projects.locations.apis.versions.artifacts.delete", @@ -1567,7 +1592,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the artifact to delete. Format: {parent}/artifacts/*", + "description": "Required. The name of the artifact to delete. Format: `{parent}/artifacts/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/artifacts/[^/]+$", "required": true, @@ -1583,7 +1608,7 @@ ] }, "get": { - "description": "GetArtifact returns a specified artifact.", + "description": "Returns a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/artifacts/{artifactsId}", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.versions.artifacts.get", @@ -1592,7 +1617,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the artifact to retrieve. Format: {parent}/artifacts/*", + "description": "Required. The name of the artifact to retrieve. Format: `{parent}/artifacts/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/artifacts/[^/]+$", "required": true, @@ -1608,7 +1633,7 @@ ] }, "getContents": { - "description": "GetArtifactContents returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", + "description": "Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/artifacts/{artifactsId}:getContents", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.versions.artifacts.getContents", @@ -1617,7 +1642,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the artifact whose contents should be retrieved. Format: {parent}/artifacts/*", + "description": "Required. The name of the artifact whose contents should be retrieved. Format: `{parent}/artifacts/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/artifacts/[^/]+$", "required": true, @@ -1664,7 +1689,7 @@ ] }, "list": { - "description": "ListArtifacts returns matching artifacts.", + "description": "Returns matching artifacts.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/artifacts", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.versions.artifacts.list", @@ -1677,6 +1702,11 @@ "location": "query", "type": "string" }, + "orderBy": { + "description": "A comma-separated list of fields, e.g. \"foo,bar\" Fields can be sorted in descending order using the \"desc\" identifier, e.g. \"foo desc,bar\"", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of artifacts to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.", "format": "int32", @@ -1689,7 +1719,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+$", "required": true, @@ -1705,7 +1735,7 @@ ] }, "replaceArtifact": { - "description": "ReplaceArtifact can be used to replace a specified artifact.", + "description": "Used to replace a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/artifacts/{artifactsId}", "httpMethod": "PUT", "id": "apigeeregistry.projects.locations.apis.versions.artifacts.replaceArtifact", @@ -1793,7 +1823,7 @@ "specs": { "methods": { "create": { - "description": "CreateApiSpec creates a specified spec.", + "description": "Creates a specified spec.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs", "httpMethod": "POST", "id": "apigeeregistry.projects.locations.apis.versions.specs.create", @@ -1807,7 +1837,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns this collection of specs. Format: projects/*/locations/*/apis/*/versions/*", + "description": "Required. The parent, which owns this collection of specs. Format: `projects/*/locations/*/apis/*/versions/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+$", "required": true, @@ -1826,7 +1856,7 @@ ] }, "delete": { - "description": "DeleteApiSpec removes a specified spec, all revisions, and all child resources (e.g. artifacts).", + "description": "Removes a specified spec, all revisions, and all child resources (e.g., artifacts).", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}", "httpMethod": "DELETE", "id": "apigeeregistry.projects.locations.apis.versions.specs.delete", @@ -1840,7 +1870,7 @@ "type": "boolean" }, "name": { - "description": "Required. The name of the spec to delete. Format: projects/*/locations/*/apis/*/versions/*/specs/*", + "description": "Required. The name of the spec to delete. Format: `projects/*/locations/*/apis/*/versions/*/specs/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+$", "required": true, @@ -1856,7 +1886,7 @@ ] }, "deleteRevision": { - "description": "DeleteApiSpecRevision deletes a revision of a spec.", + "description": "Deletes a revision of a spec.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}:deleteRevision", "httpMethod": "DELETE", "id": "apigeeregistry.projects.locations.apis.versions.specs.deleteRevision", @@ -1865,7 +1895,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the spec revision to be deleted, with a revision ID explicitly included. Example: projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8", + "description": "Required. The name of the spec revision to be deleted, with a revision ID explicitly included. Example: `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+$", "required": true, @@ -1881,7 +1911,7 @@ ] }, "get": { - "description": "GetApiSpec returns a specified spec.", + "description": "Returns a specified spec.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.versions.specs.get", @@ -1890,7 +1920,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the spec to retrieve. Format: projects/*/locations/*/apis/*/versions/*/specs/*", + "description": "Required. The name of the spec to retrieve. Format: `projects/*/locations/*/apis/*/versions/*/specs/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+$", "required": true, @@ -1906,7 +1936,7 @@ ] }, "getContents": { - "description": "GetApiSpecContents returns the contents of a specified spec. If specs are stored with GZip compression, the default behavior is to return the spec uncompressed (the mime_type response field indicates the exact format returned).", + "description": "Returns the contents of a specified spec. If specs are stored with GZip compression, the default behavior is to return the spec uncompressed (the mime_type response field indicates the exact format returned).", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}:getContents", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.versions.specs.getContents", @@ -1915,7 +1945,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the spec whose contents should be retrieved. Format: projects/*/locations/*/apis/*/versions/*/specs/*", + "description": "Required. The name of the spec whose contents should be retrieved. Format: `projects/*/locations/*/apis/*/versions/*/specs/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+$", "required": true, @@ -1962,7 +1992,7 @@ ] }, "list": { - "description": "ListApiSpecs returns matching specs.", + "description": "Returns matching specs.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.versions.specs.list", @@ -1975,6 +2005,11 @@ "location": "query", "type": "string" }, + "orderBy": { + "description": "A comma-separated list of fields, e.g. \"foo,bar\" Fields can be sorted in descending order using the \"desc\" identifier, e.g. \"foo desc,bar\"", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of specs to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.", "format": "int32", @@ -1987,7 +2022,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns this collection of specs. Format: projects/*/locations/*/apis/*/versions/*", + "description": "Required. The parent, which owns this collection of specs. Format: `projects/*/locations/*/apis/*/versions/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+$", "required": true, @@ -2003,7 +2038,7 @@ ] }, "listRevisions": { - "description": "ListApiSpecRevisions lists all revisions of a spec. Revisions are returned in descending order of revision creation time.", + "description": "Lists all revisions of a spec. Revisions are returned in descending order of revision creation time.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}:listRevisions", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.versions.specs.listRevisions", @@ -2039,7 +2074,7 @@ ] }, "patch": { - "description": "UpdateApiSpec can be used to modify a specified spec.", + "description": "Used to modify a specified spec.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}", "httpMethod": "PATCH", "id": "apigeeregistry.projects.locations.apis.versions.specs.patch", @@ -2060,7 +2095,7 @@ "type": "string" }, "updateMask": { - "description": "The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If a \"*\" is specified, all fields are updated, including fields that are unspecified/default in the request.", + "description": "The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk \"*\" is specified, all fields are updated, including fields that are unspecified/default in the request.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -2078,7 +2113,7 @@ ] }, "rollback": { - "description": "RollbackApiSpec sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.", + "description": "Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}:rollback", "httpMethod": "POST", "id": "apigeeregistry.projects.locations.apis.versions.specs.rollback", @@ -2134,7 +2169,7 @@ ] }, "tagRevision": { - "description": "TagApiSpecRevision adds a tag to a specified revision of a spec.", + "description": "Adds a tag to a specified revision of a spec.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}:tagRevision", "httpMethod": "POST", "id": "apigeeregistry.projects.locations.apis.versions.specs.tagRevision", @@ -2194,7 +2229,7 @@ "artifacts": { "methods": { "create": { - "description": "CreateArtifact creates a specified artifact.", + "description": "Creates a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}/artifacts", "httpMethod": "POST", "id": "apigeeregistry.projects.locations.apis.versions.specs.artifacts.create", @@ -2208,7 +2243,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+$", "required": true, @@ -2227,7 +2262,7 @@ ] }, "delete": { - "description": "DeleteArtifact removes a specified artifact.", + "description": "Removes a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}/artifacts/{artifactsId}", "httpMethod": "DELETE", "id": "apigeeregistry.projects.locations.apis.versions.specs.artifacts.delete", @@ -2236,7 +2271,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the artifact to delete. Format: {parent}/artifacts/*", + "description": "Required. The name of the artifact to delete. Format: `{parent}/artifacts/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+/artifacts/[^/]+$", "required": true, @@ -2252,7 +2287,7 @@ ] }, "get": { - "description": "GetArtifact returns a specified artifact.", + "description": "Returns a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}/artifacts/{artifactsId}", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.versions.specs.artifacts.get", @@ -2261,7 +2296,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the artifact to retrieve. Format: {parent}/artifacts/*", + "description": "Required. The name of the artifact to retrieve. Format: `{parent}/artifacts/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+/artifacts/[^/]+$", "required": true, @@ -2277,7 +2312,7 @@ ] }, "getContents": { - "description": "GetArtifactContents returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", + "description": "Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}/artifacts/{artifactsId}:getContents", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.versions.specs.artifacts.getContents", @@ -2286,7 +2321,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the artifact whose contents should be retrieved. Format: {parent}/artifacts/*", + "description": "Required. The name of the artifact whose contents should be retrieved. Format: `{parent}/artifacts/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+/artifacts/[^/]+$", "required": true, @@ -2333,7 +2368,7 @@ ] }, "list": { - "description": "ListArtifacts returns matching artifacts.", + "description": "Returns matching artifacts.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}/artifacts", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.apis.versions.specs.artifacts.list", @@ -2346,6 +2381,11 @@ "location": "query", "type": "string" }, + "orderBy": { + "description": "A comma-separated list of fields, e.g. \"foo,bar\" Fields can be sorted in descending order using the \"desc\" identifier, e.g. \"foo desc,bar\"", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of artifacts to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.", "format": "int32", @@ -2358,7 +2398,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+$", "required": true, @@ -2374,7 +2414,7 @@ ] }, "replaceArtifact": { - "description": "ReplaceArtifact can be used to replace a specified artifact.", + "description": "Used to replace a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}/artifacts/{artifactsId}", "httpMethod": "PUT", "id": "apigeeregistry.projects.locations.apis.versions.specs.artifacts.replaceArtifact", @@ -2468,7 +2508,7 @@ "artifacts": { "methods": { "create": { - "description": "CreateArtifact creates a specified artifact.", + "description": "Creates a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/artifacts", "httpMethod": "POST", "id": "apigeeregistry.projects.locations.artifacts.create", @@ -2482,7 +2522,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -2501,7 +2541,7 @@ ] }, "delete": { - "description": "DeleteArtifact removes a specified artifact.", + "description": "Removes a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/artifacts/{artifactsId}", "httpMethod": "DELETE", "id": "apigeeregistry.projects.locations.artifacts.delete", @@ -2510,7 +2550,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the artifact to delete. Format: {parent}/artifacts/*", + "description": "Required. The name of the artifact to delete. Format: `{parent}/artifacts/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/artifacts/[^/]+$", "required": true, @@ -2526,7 +2566,7 @@ ] }, "get": { - "description": "GetArtifact returns a specified artifact.", + "description": "Returns a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/artifacts/{artifactsId}", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.artifacts.get", @@ -2535,7 +2575,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the artifact to retrieve. Format: {parent}/artifacts/*", + "description": "Required. The name of the artifact to retrieve. Format: `{parent}/artifacts/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/artifacts/[^/]+$", "required": true, @@ -2551,7 +2591,7 @@ ] }, "getContents": { - "description": "GetArtifactContents returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", + "description": "Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/artifacts/{artifactsId}:getContents", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.artifacts.getContents", @@ -2560,7 +2600,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the artifact whose contents should be retrieved. Format: {parent}/artifacts/*", + "description": "Required. The name of the artifact whose contents should be retrieved. Format: `{parent}/artifacts/*`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/artifacts/[^/]+$", "required": true, @@ -2607,7 +2647,7 @@ ] }, "list": { - "description": "ListArtifacts returns matching artifacts.", + "description": "Returns matching artifacts.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/artifacts", "httpMethod": "GET", "id": "apigeeregistry.projects.locations.artifacts.list", @@ -2620,6 +2660,11 @@ "location": "query", "type": "string" }, + "orderBy": { + "description": "A comma-separated list of fields, e.g. \"foo,bar\" Fields can be sorted in descending order using the \"desc\" identifier, e.g. \"foo desc,bar\"", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of artifacts to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.", "format": "int32", @@ -2632,7 +2677,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -2648,7 +2693,7 @@ ] }, "replaceArtifact": { - "description": "ReplaceArtifact can be used to replace a specified artifact.", + "description": "Used to replace a specified artifact.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/artifacts/{artifactsId}", "httpMethod": "PUT", "id": "apigeeregistry.projects.locations.artifacts.replaceArtifact", @@ -3126,11 +3171,11 @@ } } }, - "revision": "20220706", + "revision": "20220831", "rootUrl": "https://apigeeregistry.googleapis.com/", "schemas": { "Api": { - "description": "An Api is a top-level description of an API. Apis are produced by producers and are commitments to provide services.", + "description": "A top-level description of an API. Produced by producers and are commitments to provide services.", "id": "Api", "properties": { "annotations": { @@ -3141,7 +3186,7 @@ "type": "object" }, "availability": { - "description": "A user-definable description of the availability of this service. Format: free-form, but we expect single words that describe availability, e.g. \"NONE\", \"TESTING\", \"PREVIEW\", \"GENERAL\", \"DEPRECATED\", \"SHUTDOWN\".", + "description": "A user-definable description of the availability of this service. Format: free-form, but we expect single words that describe availability, e.g., \"NONE\", \"TESTING\", \"PREVIEW\", \"GENERAL\", \"DEPRECATED\", \"SHUTDOWN\".", "type": "string" }, "createTime": { @@ -3162,7 +3207,7 @@ "additionalProperties": { "type": "string" }, - "description": "Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with \"apigeeregistry.googleapis.com/\" and cannot be changed.", + "description": "Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.", "type": "object" }, "name": { @@ -3170,11 +3215,11 @@ "type": "string" }, "recommendedDeployment": { - "description": "The recommended deployment of the API. Format: apis/{api}/deployments/{deployment}", + "description": "The recommended deployment of the API. Format: `apis/{api}/deployments/{deployment}`", "type": "string" }, "recommendedVersion": { - "description": "The recommended version of the API. Format: apis/{api}/versions/{version}", + "description": "The recommended version of the API. Format: `apis/{api}/versions/{version}`", "type": "string" }, "updateTime": { @@ -3187,7 +3232,7 @@ "type": "object" }, "ApiDeployment": { - "description": "An ApiDeployment describes a service running at particular address that provides a particular version of an API. ApiDeployments have revisions which correspond to different configurations of a single deployment in time. Revision identifiers should be updated whenever the served API spec or endpoint address changes.", + "description": "Describes a service running at particular address that provides a particular version of an API. ApiDeployments have revisions which correspond to different configurations of a single deployment in time. Revision identifiers should be updated whenever the served API spec or endpoint address changes.", "id": "ApiDeployment", "properties": { "accessGuidance": { @@ -3202,7 +3247,7 @@ "type": "object" }, "apiSpecRevision": { - "description": "The full resource name (including revision id) of the spec of the API being served by the deployment. Changes to this value will update the revision. Format: apis/{api}/deployments/{deployment}", + "description": "The full resource name (including revision ID) of the spec of the API being served by the deployment. Changes to this value will update the revision. Format: `apis/{api}/deployments/{deployment}`", "type": "string" }, "createTime": { @@ -3224,7 +3269,7 @@ "type": "string" }, "externalChannelUri": { - "description": "The address of the external channel of the API (e.g. the Developer Portal). Changes to this value will not affect the revision.", + "description": "The address of the external channel of the API (e.g., the Developer Portal). Changes to this value will not affect the revision.", "type": "string" }, "intendedAudience": { @@ -3235,7 +3280,7 @@ "additionalProperties": { "type": "string" }, - "description": "Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with \"apigeeregistry.googleapis.com/\" and cannot be changed.", + "description": "Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.", "type": "object" }, "name": { @@ -3263,7 +3308,7 @@ "type": "object" }, "ApiSpec": { - "description": "An ApiSpec describes a version of an API in a structured way. ApiSpecs provide formal descriptions that consumers can use to use a version. ApiSpec resources are intended to be fully-resolved descriptions of an ApiVersion. When specs consist of multiple files, these should be bundled together (e.g. in a zip archive) and stored as a unit. Multiple specs can exist to provide representations in different API description formats. Synchronization of these representations would be provided by tooling and background services.", + "description": "Describes a version of an API in a structured way. ApiSpecs provide formal descriptions that consumers can use to use a version. ApiSpec resources are intended to be fully-resolved descriptions of an ApiVersion. When specs consist of multiple files, these should be bundled together (e.g., in a zip archive) and stored as a unit. Multiple specs can exist to provide representations in different API description formats. Synchronization of these representations would be provided by tooling and background services.", "id": "ApiSpec", "properties": { "annotations": { @@ -3301,11 +3346,11 @@ "additionalProperties": { "type": "string" }, - "description": "Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with \"apigeeregistry.googleapis.com/\" and cannot be changed.", + "description": "Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.", "type": "object" }, "mimeType": { - "description": "A style (format) descriptor for this spec that is specified as a Media Type (https://en.wikipedia.org/wiki/Media_type). Possible values include \"application/vnd.apigee.proto\", \"application/vnd.apigee.openapi\", and \"application/vnd.apigee.graphql\", with possible suffixes representing compression types. These hypothetical names are defined in the vendor tree defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final. Content types can specify compression. Currently only GZip compression is supported (indicated with \"+gzip\").", + "description": "A style (format) descriptor for this spec that is specified as a Media Type (https://en.wikipedia.org/wiki/Media_type). Possible values include `application/vnd.apigee.proto`, `application/vnd.apigee.openapi`, and `application/vnd.apigee.graphql`, with possible suffixes representing compression types. These hypothetical names are defined in the vendor tree defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final. Content types can specify compression. Currently only GZip compression is supported (indicated with \"+gzip\").", "type": "string" }, "name": { @@ -3343,7 +3388,7 @@ "type": "object" }, "ApiVersion": { - "description": "An ApiVersion describes a particular version of an API. ApiVersions are what consumers actually use.", + "description": "Describes a particular version of an API. ApiVersions are what consumers actually use.", "id": "ApiVersion", "properties": { "annotations": { @@ -3371,7 +3416,7 @@ "additionalProperties": { "type": "string" }, - "description": "Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with \"apigeeregistry.googleapis.com/\" and cannot be changed.", + "description": "Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.", "type": "object" }, "name": { @@ -3379,7 +3424,7 @@ "type": "string" }, "state": { - "description": "A user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g. \"CONCEPT\", \"DESIGN\", \"DEVELOPMENT\", \"STAGING\", \"PRODUCTION\", \"DEPRECATED\", \"RETIRED\".", + "description": "A user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g., \"CONCEPT\", \"DESIGN\", \"DEVELOPMENT\", \"STAGING\", \"PRODUCTION\", \"DEPRECATED\", \"RETIRED\".", "type": "string" }, "updateTime": { @@ -3392,7 +3437,7 @@ "type": "object" }, "Artifact": { - "description": "Artifacts of resources. Artifacts are unique (single-value) per resource and are used to store metadata that is too large or numerous to be stored directly on the resource. Since artifacts are stored separately from parent resources, they should generally be used for metadata that is needed infrequently, i.e. not for display in primary views of the resource but perhaps displayed or downloaded upon request. The ListArtifacts method allows artifacts to be quickly enumerated and checked for presence without downloading their (potentially-large) contents.", + "description": "Artifacts of resources. Artifacts are unique (single-value) per resource and are used to store metadata that is too large or numerous to be stored directly on the resource. Since artifacts are stored separately from parent resources, they should generally be used for metadata that is needed infrequently, i.e., not for display in primary views of the resource but perhaps displayed or downloaded upon request. The `ListArtifacts` method allows artifacts to be quickly enumerated and checked for presence without downloading their (potentially-large) contents.", "id": "Artifact", "properties": { "contents": { @@ -3443,7 +3488,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 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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, @@ -3549,7 +3594,7 @@ "type": "string" }, "name": { - "description": "Format: `projects/*/locations/*/instance`. Currently only locations/global is supported.", + "description": "Format: `projects/*/locations/*/instance`. Currently only `locations/global` is supported.", "type": "string" }, "state": { @@ -3886,7 +3931,7 @@ "id": "RollbackApiDeploymentRequest", "properties": { "revisionId": { - "description": "Required. The revision ID to roll back to. It must be a revision of the same deployment. Example: c7cfa2a8", + "description": "Required. The revision ID to roll back to. It must be a revision of the same deployment. Example: `c7cfa2a8`", "type": "string" } }, @@ -3897,7 +3942,7 @@ "id": "RollbackApiSpecRequest", "properties": { "revisionId": { - "description": "Required. The revision ID to roll back to. It must be a revision of the same spec. Example: c7cfa2a8", + "description": "Required. The revision ID to roll back to. It must be a revision of the same spec. Example: `c7cfa2a8`", "type": "string" } }, diff --git a/apigeeregistry/v1/apigeeregistry-gen.go b/apigeeregistry/v1/apigeeregistry-gen.go index 581e1d1f491..6b47432c838 100644 --- a/apigeeregistry/v1/apigeeregistry-gen.go +++ b/apigeeregistry/v1/apigeeregistry-gen.go @@ -302,8 +302,8 @@ type ProjectsLocationsRuntimeService struct { s *Service } -// Api: An Api is a top-level description of an API. Apis are produced -// by producers and are commitments to provide services. +// Api: A top-level description of an API. Produced by producers and are +// commitments to provide services. type Api struct { // Annotations: Annotations attach non-identifying metadata to // resources. Annotation keys and values are less restricted than those @@ -314,7 +314,7 @@ type Api struct { // Availability: A user-definable description of the availability of // this service. Format: free-form, but we expect single words that - // describe availability, e.g. "NONE", "TESTING", "PREVIEW", "GENERAL", + // describe availability, e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", // "DEPRECATED", "SHUTDOWN". Availability string `json:"availability,omitempty"` @@ -330,23 +330,23 @@ type Api struct { // Labels: Labels attach identifying metadata to resources. Identifying // metadata can be used to filter list operations. Label keys and values // can be no longer than 64 characters (Unicode codepoints), can only - // contain lowercase letters, numeric characters, underscores and + // contain lowercase letters, numeric characters, underscores, and // dashes. International characters are allowed. No more than 64 user // labels can be associated with one resource (System labels are // excluded). See https://goo.gl/xmQnxf for more information and // examples of labels. System reserved label keys are prefixed with - // "apigeeregistry.googleapis.com/" and cannot be changed. + // `apigeeregistry.googleapis.com/` and cannot be changed. Labels map[string]string `json:"labels,omitempty"` // Name: Resource name. Name string `json:"name,omitempty"` // RecommendedDeployment: The recommended deployment of the API. Format: - // apis/{api}/deployments/{deployment} + // `apis/{api}/deployments/{deployment}` RecommendedDeployment string `json:"recommendedDeployment,omitempty"` // RecommendedVersion: The recommended version of the API. Format: - // apis/{api}/versions/{version} + // `apis/{api}/versions/{version}` RecommendedVersion string `json:"recommendedVersion,omitempty"` // UpdateTime: Output only. Last update timestamp. @@ -379,12 +379,11 @@ func (s *Api) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ApiDeployment: An ApiDeployment describes a service running at -// particular address that provides a particular version of an API. -// ApiDeployments have revisions which correspond to different -// configurations of a single deployment in time. Revision identifiers -// should be updated whenever the served API spec or endpoint address -// changes. +// ApiDeployment: Describes a service running at particular address that +// provides a particular version of an API. ApiDeployments have +// revisions which correspond to different configurations of a single +// deployment in time. Revision identifiers should be updated whenever +// the served API spec or endpoint address changes. type ApiDeployment struct { // AccessGuidance: Text briefly describing how to access the endpoint. // Changes to this value will not affect the revision. @@ -397,10 +396,10 @@ type ApiDeployment struct { // Artifacts. Annotations map[string]string `json:"annotations,omitempty"` - // ApiSpecRevision: The full resource name (including revision id) of + // ApiSpecRevision: The full resource name (including revision ID) of // the spec of the API being served by the deployment. Changes to this // value will update the revision. Format: - // apis/{api}/deployments/{deployment} + // `apis/{api}/deployments/{deployment}` ApiSpecRevision string `json:"apiSpecRevision,omitempty"` // CreateTime: Output only. Creation timestamp; when the deployment @@ -418,7 +417,7 @@ type ApiDeployment struct { EndpointUri string `json:"endpointUri,omitempty"` // ExternalChannelUri: The address of the external channel of the API - // (e.g. the Developer Portal). Changes to this value will not affect + // (e.g., the Developer Portal). Changes to this value will not affect // the revision. ExternalChannelUri string `json:"externalChannelUri,omitempty"` @@ -434,7 +433,7 @@ type ApiDeployment struct { // labels can be associated with one resource (System labels are // excluded). See https://goo.gl/xmQnxf for more information and // examples of labels. System reserved label keys are prefixed with - // "apigeeregistry.googleapis.com/" and cannot be changed. + // `apigeeregistry.googleapis.com/` and cannot be changed. Labels map[string]string `json:"labels,omitempty"` // Name: Resource name. @@ -482,14 +481,14 @@ func (s *ApiDeployment) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ApiSpec: An ApiSpec describes a version of an API in a structured -// way. ApiSpecs provide formal descriptions that consumers can use to -// use a version. ApiSpec resources are intended to be fully-resolved -// descriptions of an ApiVersion. When specs consist of multiple files, -// these should be bundled together (e.g. in a zip archive) and stored -// as a unit. Multiple specs can exist to provide representations in -// different API description formats. Synchronization of these -// representations would be provided by tooling and background services. +// ApiSpec: Describes a version of an API in a structured way. ApiSpecs +// provide formal descriptions that consumers can use to use a version. +// ApiSpec resources are intended to be fully-resolved descriptions of +// an ApiVersion. When specs consist of multiple files, these should be +// bundled together (e.g., in a zip archive) and stored as a unit. +// Multiple specs can exist to provide representations in different API +// description formats. Synchronization of these representations would +// be provided by tooling and background services. type ApiSpec struct { // Annotations: Annotations attach non-identifying metadata to // resources. Annotation keys and values are less restricted than those @@ -526,14 +525,14 @@ type ApiSpec struct { // labels can be associated with one resource (System labels are // excluded). See https://goo.gl/xmQnxf for more information and // examples of labels. System reserved label keys are prefixed with - // "apigeeregistry.googleapis.com/" and cannot be changed. + // `apigeeregistry.googleapis.com/` and cannot be changed. Labels map[string]string `json:"labels,omitempty"` // MimeType: A style (format) descriptor for this spec that is specified // as a Media Type (https://en.wikipedia.org/wiki/Media_type). Possible - // values include "application/vnd.apigee.proto", - // "application/vnd.apigee.openapi", and - // "application/vnd.apigee.graphql", with possible suffixes representing + // values include `application/vnd.apigee.proto`, + // `application/vnd.apigee.openapi`, and + // `application/vnd.apigee.graphql`, with possible suffixes representing // compression types. These hypothetical names are defined in the vendor // tree defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are // not final. Content types can specify compression. Currently only GZip @@ -593,8 +592,8 @@ func (s *ApiSpec) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ApiVersion: An ApiVersion describes a particular version of an API. -// ApiVersions are what consumers actually use. +// ApiVersion: Describes a particular version of an API. ApiVersions are +// what consumers actually use. type ApiVersion struct { // Annotations: Annotations attach non-identifying metadata to // resources. Annotation keys and values are less restricted than those @@ -620,7 +619,7 @@ type ApiVersion struct { // labels can be associated with one resource (System labels are // excluded). See https://goo.gl/xmQnxf for more information and // examples of labels. System reserved label keys are prefixed with - // "apigeeregistry.googleapis.com/" and cannot be changed. + // `apigeeregistry.googleapis.com/` and cannot be changed. Labels map[string]string `json:"labels,omitempty"` // Name: Resource name. @@ -628,7 +627,7 @@ type ApiVersion struct { // State: A user-definable description of the lifecycle phase of this // API version. Format: free-form, but we expect single words that - // describe API maturity, e.g. "CONCEPT", "DESIGN", "DEVELOPMENT", + // describe API maturity, e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", // "STAGING", "PRODUCTION", "DEPRECATED", "RETIRED". State string `json:"state,omitempty"` @@ -666,10 +665,10 @@ func (s *ApiVersion) MarshalJSON() ([]byte, error) { // per resource and are used to store metadata that is too large or // numerous to be stored directly on the resource. Since artifacts are // stored separately from parent resources, they should generally be -// used for metadata that is needed infrequently, i.e. not for display +// used for metadata that is needed infrequently, i.e., not for display // in primary views of the resource but perhaps displayed or downloaded -// upon request. The ListArtifacts method allows artifacts to be quickly -// enumerated and checked for presence without downloading their +// upon request. The `ListArtifacts` method allows artifacts to be +// quickly enumerated and checked for presence without downloading their // (potentially-large) contents. type Artifact struct { // Contents: Input only. The contents of the artifact. Provided by API @@ -745,19 +744,24 @@ type Binding struct { // `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. * + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, + // `my-other-app@appspot.gserviceaccount.com`. * + // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: + // An identifier for a Kubernetes service account + // (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). + // For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. + // * `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, @@ -978,7 +982,7 @@ type Instance struct { CreateTime string `json:"createTime,omitempty"` // Name: Format: `projects/*/locations/*/instance`. Currently only - // locations/global is supported. + // `locations/global` is supported. Name string `json:"name,omitempty"` // State: Output only. The current state of the Instance. @@ -1638,7 +1642,7 @@ func (s *Policy) MarshalJSON() ([]byte, error) { // RollbackApiDeployment. type RollbackApiDeploymentRequest struct { // RevisionId: Required. The revision ID to roll back to. It must be a - // revision of the same deployment. Example: c7cfa2a8 + // revision of the same deployment. Example: `c7cfa2a8` RevisionId string `json:"revisionId,omitempty"` // ForceSendFields is a list of field names (e.g. "RevisionId") to @@ -1667,7 +1671,7 @@ func (s *RollbackApiDeploymentRequest) MarshalJSON() ([]byte, error) { // RollbackApiSpecRequest: Request message for RollbackApiSpec. type RollbackApiSpecRequest struct { // RevisionId: Required. The revision ID to roll back to. It must be a - // revision of the same spec. Example: c7cfa2a8 + // revision of the same spec. Example: `c7cfa2a8` RevisionId string `json:"revisionId,omitempty"` // ForceSendFields is a list of field names (e.g. "RevisionId") to @@ -2259,10 +2263,10 @@ type ProjectsLocationsApisCreateCall struct { header_ http.Header } -// Create: CreateApi creates a specified API. +// Create: Creates a specified API. // // - parent: The parent, which owns this collection of APIs. Format: -// projects/*/locations/*. +// `projects/*/locations/*`. func (r *ProjectsLocationsApisService) Create(parent string, api *Api) *ProjectsLocationsApisCreateCall { c := &ProjectsLocationsApisCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -2271,7 +2275,7 @@ func (r *ProjectsLocationsApisService) Create(parent string, api *Api) *Projects } // ApiId sets the optional parameter "apiId": Required. The ID to use -// for the api, which will become the final component of the api's +// for the API, which will become the final component of the API's // resource name. This value should be 4-63 characters, and valid // characters are /a-z-/. Following AIP-162, IDs must not have the form // of a UUID. @@ -2371,7 +2375,7 @@ func (c *ProjectsLocationsApisCreateCall) Do(opts ...googleapi.CallOption) (*Api } return ret, nil // { - // "description": "CreateApi creates a specified API.", + // "description": "Creates a specified API.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis", // "httpMethod": "POST", // "id": "apigeeregistry.projects.locations.apis.create", @@ -2380,12 +2384,12 @@ func (c *ProjectsLocationsApisCreateCall) Do(opts ...googleapi.CallOption) (*Api // ], // "parameters": { // "apiId": { - // "description": "Required. The ID to use for the api, which will become the final component of the api's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.", + // "description": "Required. The ID to use for the API, which will become the final component of the API's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.", // "location": "query", // "type": "string" // }, // "parent": { - // "description": "Required. The parent, which owns this collection of APIs. Format: projects/*/locations/*", + // "description": "Required. The parent, which owns this collection of APIs. Format: `projects/*/locations/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, @@ -2416,11 +2420,11 @@ type ProjectsLocationsApisDeleteCall struct { header_ http.Header } -// Delete: DeleteApi removes a specified API and all of the resources -// that it owns. +// Delete: Removes a specified API and all of the resources that it +// owns. // // - name: The name of the API to delete. Format: -// projects/*/locations/*/apis/*. +// `projects/*/locations/*/apis/*`. func (r *ProjectsLocationsApisService) Delete(name string) *ProjectsLocationsApisDeleteCall { c := &ProjectsLocationsApisDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -2521,7 +2525,7 @@ func (c *ProjectsLocationsApisDeleteCall) Do(opts ...googleapi.CallOption) (*Emp } return ret, nil // { - // "description": "DeleteApi removes a specified API and all of the resources that it owns.", + // "description": "Removes a specified API and all of the resources that it owns.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}", // "httpMethod": "DELETE", // "id": "apigeeregistry.projects.locations.apis.delete", @@ -2535,7 +2539,7 @@ func (c *ProjectsLocationsApisDeleteCall) Do(opts ...googleapi.CallOption) (*Emp // "type": "boolean" // }, // "name": { - // "description": "Required. The name of the API to delete. Format: projects/*/locations/*/apis/*", + // "description": "Required. The name of the API to delete. Format: `projects/*/locations/*/apis/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", // "required": true, @@ -2564,10 +2568,10 @@ type ProjectsLocationsApisGetCall struct { header_ http.Header } -// Get: GetApi returns a specified API. +// Get: Returns a specified API. // // - name: The name of the API to retrieve. Format: -// projects/*/locations/*/apis/*. +// `projects/*/locations/*/apis/*`. func (r *ProjectsLocationsApisService) Get(name string) *ProjectsLocationsApisGetCall { c := &ProjectsLocationsApisGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -2673,7 +2677,7 @@ func (c *ProjectsLocationsApisGetCall) Do(opts ...googleapi.CallOption) (*Api, e } return ret, nil // { - // "description": "GetApi returns a specified API.", + // "description": "Returns a specified API.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.get", @@ -2682,7 +2686,7 @@ func (c *ProjectsLocationsApisGetCall) Do(opts ...googleapi.CallOption) (*Api, e // ], // "parameters": { // "name": { - // "description": "Required. The name of the API to retrieve. Format: projects/*/locations/*/apis/*", + // "description": "Required. The name of the API to retrieve. Format: `projects/*/locations/*/apis/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", // "required": true, @@ -2886,10 +2890,10 @@ type ProjectsLocationsApisListCall struct { header_ http.Header } -// List: ListApis returns matching APIs. +// List: Returns matching APIs. // // - parent: The parent, which owns this collection of APIs. Format: -// projects/*/locations/*. +// `projects/*/locations/*`. func (r *ProjectsLocationsApisService) List(parent string) *ProjectsLocationsApisListCall { c := &ProjectsLocationsApisListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -2904,6 +2908,14 @@ func (c *ProjectsLocationsApisListCall) Filter(filter string) *ProjectsLocations return c } +// OrderBy sets the optional parameter "orderBy": A comma-separated list +// of fields, e.g. "foo,bar" Fields can be sorted in descending order +// using the "desc" identifier, e.g. "foo desc,bar" +func (c *ProjectsLocationsApisListCall) OrderBy(orderBy string) *ProjectsLocationsApisListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number // of APIs to return. The service may return fewer than this value. If // unspecified, at most 50 values will be returned. The maximum is 1000; @@ -3021,7 +3033,7 @@ func (c *ProjectsLocationsApisListCall) Do(opts ...googleapi.CallOption) (*ListA } return ret, nil // { - // "description": "ListApis returns matching APIs.", + // "description": "Returns matching APIs.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.list", @@ -3034,6 +3046,11 @@ func (c *ProjectsLocationsApisListCall) Do(opts ...googleapi.CallOption) (*ListA // "location": "query", // "type": "string" // }, + // "orderBy": { + // "description": "A comma-separated list of fields, e.g. \"foo,bar\" Fields can be sorted in descending order using the \"desc\" identifier, e.g. \"foo desc,bar\"", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "The maximum number of APIs to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.", // "format": "int32", @@ -3046,7 +3063,7 @@ func (c *ProjectsLocationsApisListCall) Do(opts ...googleapi.CallOption) (*ListA // "type": "string" // }, // "parent": { - // "description": "Required. The parent, which owns this collection of APIs. Format: projects/*/locations/*", + // "description": "Required. The parent, which owns this collection of APIs. Format: `projects/*/locations/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, @@ -3096,7 +3113,7 @@ type ProjectsLocationsApisPatchCall struct { header_ http.Header } -// Patch: UpdateApi can be used to modify a specified API. +// Patch: Used to modify a specified API. // // - name: Resource name. func (r *ProjectsLocationsApisService) Patch(name string, api *Api) *ProjectsLocationsApisPatchCall { @@ -3107,7 +3124,7 @@ func (r *ProjectsLocationsApisService) Patch(name string, api *Api) *ProjectsLoc } // AllowMissing sets the optional parameter "allowMissing": If set to -// true, and the api is not found, a new api will be created. In this +// true, and the API is not found, a new API will be created. In this // situation, `update_mask` is ignored. func (c *ProjectsLocationsApisPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsApisPatchCall { c.urlParams_.Set("allowMissing", fmt.Sprint(allowMissing)) @@ -3117,8 +3134,8 @@ func (c *ProjectsLocationsApisPatchCall) AllowMissing(allowMissing bool) *Projec // UpdateMask sets the optional parameter "updateMask": The list of // fields to be updated. If omitted, all fields are updated that are set // in the request message (fields set to default values are ignored). If -// a "*" is specified, all fields are updated, including fields that are -// unspecified/default in the request. +// an asterisk "*" is specified, all fields are updated, including +// fields that are unspecified/default in the request. func (c *ProjectsLocationsApisPatchCall) UpdateMask(updateMask string) *ProjectsLocationsApisPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -3215,7 +3232,7 @@ func (c *ProjectsLocationsApisPatchCall) Do(opts ...googleapi.CallOption) (*Api, } return ret, nil // { - // "description": "UpdateApi can be used to modify a specified API.", + // "description": "Used to modify a specified API.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}", // "httpMethod": "PATCH", // "id": "apigeeregistry.projects.locations.apis.patch", @@ -3224,7 +3241,7 @@ func (c *ProjectsLocationsApisPatchCall) Do(opts ...googleapi.CallOption) (*Api, // ], // "parameters": { // "allowMissing": { - // "description": "If set to true, and the api is not found, a new api will be created. In this situation, `update_mask` is ignored.", + // "description": "If set to true, and the API is not found, a new API will be created. In this situation, `update_mask` is ignored.", // "location": "query", // "type": "boolean" // }, @@ -3236,7 +3253,7 @@ func (c *ProjectsLocationsApisPatchCall) Do(opts ...googleapi.CallOption) (*Api, // "type": "string" // }, // "updateMask": { - // "description": "The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If a \"*\" is specified, all fields are updated, including fields that are unspecified/default in the request.", + // "description": "The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk \"*\" is specified, all fields are updated, including fields that are unspecified/default in the request.", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -3564,10 +3581,10 @@ type ProjectsLocationsApisArtifactsCreateCall struct { header_ http.Header } -// Create: CreateArtifact creates a specified artifact. +// Create: Creates a specified artifact. // // - parent: The parent, which owns this collection of artifacts. -// Format: {parent}. +// Format: `{parent}`. func (r *ProjectsLocationsApisArtifactsService) Create(parent string, artifact *Artifact) *ProjectsLocationsApisArtifactsCreateCall { c := &ProjectsLocationsApisArtifactsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -3676,7 +3693,7 @@ func (c *ProjectsLocationsApisArtifactsCreateCall) Do(opts ...googleapi.CallOpti } return ret, nil // { - // "description": "CreateArtifact creates a specified artifact.", + // "description": "Creates a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/artifacts", // "httpMethod": "POST", // "id": "apigeeregistry.projects.locations.apis.artifacts.create", @@ -3690,7 +3707,7 @@ func (c *ProjectsLocationsApisArtifactsCreateCall) Do(opts ...googleapi.CallOpti // "type": "string" // }, // "parent": { - // "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + // "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", // "required": true, @@ -3721,10 +3738,10 @@ type ProjectsLocationsApisArtifactsDeleteCall struct { header_ http.Header } -// Delete: DeleteArtifact removes a specified artifact. +// Delete: Removes a specified artifact. // // - name: The name of the artifact to delete. Format: -// {parent}/artifacts/*. +// `{parent}/artifacts/*`. func (r *ProjectsLocationsApisArtifactsService) Delete(name string) *ProjectsLocationsApisArtifactsDeleteCall { c := &ProjectsLocationsApisArtifactsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -3817,7 +3834,7 @@ func (c *ProjectsLocationsApisArtifactsDeleteCall) Do(opts ...googleapi.CallOpti } return ret, nil // { - // "description": "DeleteArtifact removes a specified artifact.", + // "description": "Removes a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/artifacts/{artifactsId}", // "httpMethod": "DELETE", // "id": "apigeeregistry.projects.locations.apis.artifacts.delete", @@ -3826,7 +3843,7 @@ func (c *ProjectsLocationsApisArtifactsDeleteCall) Do(opts ...googleapi.CallOpti // ], // "parameters": { // "name": { - // "description": "Required. The name of the artifact to delete. Format: {parent}/artifacts/*", + // "description": "Required. The name of the artifact to delete. Format: `{parent}/artifacts/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/artifacts/[^/]+$", // "required": true, @@ -3855,10 +3872,10 @@ type ProjectsLocationsApisArtifactsGetCall struct { header_ http.Header } -// Get: GetArtifact returns a specified artifact. +// Get: Returns a specified artifact. // // - name: The name of the artifact to retrieve. Format: -// {parent}/artifacts/*. +// `{parent}/artifacts/*`. func (r *ProjectsLocationsApisArtifactsService) Get(name string) *ProjectsLocationsApisArtifactsGetCall { c := &ProjectsLocationsApisArtifactsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -3964,7 +3981,7 @@ func (c *ProjectsLocationsApisArtifactsGetCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "GetArtifact returns a specified artifact.", + // "description": "Returns a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/artifacts/{artifactsId}", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.artifacts.get", @@ -3973,7 +3990,7 @@ func (c *ProjectsLocationsApisArtifactsGetCall) Do(opts ...googleapi.CallOption) // ], // "parameters": { // "name": { - // "description": "Required. The name of the artifact to retrieve. Format: {parent}/artifacts/*", + // "description": "Required. The name of the artifact to retrieve. Format: `{parent}/artifacts/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/artifacts/[^/]+$", // "required": true, @@ -4002,13 +4019,13 @@ type ProjectsLocationsApisArtifactsGetContentsCall struct { header_ http.Header } -// GetContents: GetArtifactContents returns the contents of a specified -// artifact. If artifacts are stored with GZip compression, the default -// behavior is to return the artifact uncompressed (the mime_type -// response field indicates the exact format returned). +// GetContents: Returns the contents of a specified artifact. If +// artifacts are stored with GZip compression, the default behavior is +// to return the artifact uncompressed (the mime_type response field +// indicates the exact format returned). // // - name: The name of the artifact whose contents should be retrieved. -// Format: {parent}/artifacts/*. +// Format: `{parent}/artifacts/*`. func (r *ProjectsLocationsApisArtifactsService) GetContents(name string) *ProjectsLocationsApisArtifactsGetContentsCall { c := &ProjectsLocationsApisArtifactsGetContentsCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -4114,7 +4131,7 @@ func (c *ProjectsLocationsApisArtifactsGetContentsCall) Do(opts ...googleapi.Cal } return ret, nil // { - // "description": "GetArtifactContents returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", + // "description": "Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/artifacts/{artifactsId}:getContents", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.artifacts.getContents", @@ -4123,7 +4140,7 @@ func (c *ProjectsLocationsApisArtifactsGetContentsCall) Do(opts ...googleapi.Cal // ], // "parameters": { // "name": { - // "description": "Required. The name of the artifact whose contents should be retrieved. Format: {parent}/artifacts/*", + // "description": "Required. The name of the artifact whose contents should be retrieved. Format: `{parent}/artifacts/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/artifacts/[^/]+$", // "required": true, @@ -4327,10 +4344,10 @@ type ProjectsLocationsApisArtifactsListCall struct { header_ http.Header } -// List: ListArtifacts returns matching artifacts. +// List: Returns matching artifacts. // // - parent: The parent, which owns this collection of artifacts. -// Format: {parent}. +// Format: `{parent}`. func (r *ProjectsLocationsApisArtifactsService) List(parent string) *ProjectsLocationsApisArtifactsListCall { c := &ProjectsLocationsApisArtifactsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -4345,6 +4362,14 @@ func (c *ProjectsLocationsApisArtifactsListCall) Filter(filter string) *Projects return c } +// OrderBy sets the optional parameter "orderBy": A comma-separated list +// of fields, e.g. "foo,bar" Fields can be sorted in descending order +// using the "desc" identifier, e.g. "foo desc,bar" +func (c *ProjectsLocationsApisArtifactsListCall) OrderBy(orderBy string) *ProjectsLocationsApisArtifactsListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number // of artifacts to return. The service may return fewer than this value. // If unspecified, at most 50 values will be returned. The maximum is @@ -4463,7 +4488,7 @@ func (c *ProjectsLocationsApisArtifactsListCall) Do(opts ...googleapi.CallOption } return ret, nil // { - // "description": "ListArtifacts returns matching artifacts.", + // "description": "Returns matching artifacts.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/artifacts", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.artifacts.list", @@ -4476,6 +4501,11 @@ func (c *ProjectsLocationsApisArtifactsListCall) Do(opts ...googleapi.CallOption // "location": "query", // "type": "string" // }, + // "orderBy": { + // "description": "A comma-separated list of fields, e.g. \"foo,bar\" Fields can be sorted in descending order using the \"desc\" identifier, e.g. \"foo desc,bar\"", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "The maximum number of artifacts to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.", // "format": "int32", @@ -4488,7 +4518,7 @@ func (c *ProjectsLocationsApisArtifactsListCall) Do(opts ...googleapi.CallOption // "type": "string" // }, // "parent": { - // "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + // "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", // "required": true, @@ -4538,8 +4568,7 @@ type ProjectsLocationsApisArtifactsReplaceArtifactCall struct { header_ http.Header } -// ReplaceArtifact: ReplaceArtifact can be used to replace a specified -// artifact. +// ReplaceArtifact: Used to replace a specified artifact. // // - name: Resource name. func (r *ProjectsLocationsApisArtifactsService) ReplaceArtifact(name string, artifact *Artifact) *ProjectsLocationsApisArtifactsReplaceArtifactCall { @@ -4640,7 +4669,7 @@ func (c *ProjectsLocationsApisArtifactsReplaceArtifactCall) Do(opts ...googleapi } return ret, nil // { - // "description": "ReplaceArtifact can be used to replace a specified artifact.", + // "description": "Used to replace a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/artifacts/{artifactsId}", // "httpMethod": "PUT", // "id": "apigeeregistry.projects.locations.apis.artifacts.replaceArtifact", @@ -4978,10 +5007,10 @@ type ProjectsLocationsApisDeploymentsCreateCall struct { header_ http.Header } -// Create: CreateApiDeployment creates a specified deployment. +// Create: Creates a specified deployment. // // - parent: The parent, which owns this collection of deployments. -// Format: projects/*/locations/*/apis/*. +// Format: `projects/*/locations/*/apis/*`. func (r *ProjectsLocationsApisDeploymentsService) Create(parent string, apideployment *ApiDeployment) *ProjectsLocationsApisDeploymentsCreateCall { c := &ProjectsLocationsApisDeploymentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -5090,7 +5119,7 @@ func (c *ProjectsLocationsApisDeploymentsCreateCall) Do(opts ...googleapi.CallOp } return ret, nil // { - // "description": "CreateApiDeployment creates a specified deployment.", + // "description": "Creates a specified deployment.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments", // "httpMethod": "POST", // "id": "apigeeregistry.projects.locations.apis.deployments.create", @@ -5104,7 +5133,7 @@ func (c *ProjectsLocationsApisDeploymentsCreateCall) Do(opts ...googleapi.CallOp // "type": "string" // }, // "parent": { - // "description": "Required. The parent, which owns this collection of deployments. Format: projects/*/locations/*/apis/*", + // "description": "Required. The parent, which owns this collection of deployments. Format: `projects/*/locations/*/apis/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", // "required": true, @@ -5135,11 +5164,11 @@ type ProjectsLocationsApisDeploymentsDeleteCall struct { header_ http.Header } -// Delete: DeleteApiDeployment removes a specified deployment, all -// revisions, and all child resources (e.g. artifacts). +// Delete: Removes a specified deployment, all revisions, and all child +// resources (e.g., artifacts). // // - name: The name of the deployment to delete. Format: -// projects/*/locations/*/apis/*/deployments/*. +// `projects/*/locations/*/apis/*/deployments/*`. func (r *ProjectsLocationsApisDeploymentsService) Delete(name string) *ProjectsLocationsApisDeploymentsDeleteCall { c := &ProjectsLocationsApisDeploymentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -5240,7 +5269,7 @@ func (c *ProjectsLocationsApisDeploymentsDeleteCall) Do(opts ...googleapi.CallOp } return ret, nil // { - // "description": "DeleteApiDeployment removes a specified deployment, all revisions, and all child resources (e.g. artifacts).", + // "description": "Removes a specified deployment, all revisions, and all child resources (e.g., artifacts).", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}", // "httpMethod": "DELETE", // "id": "apigeeregistry.projects.locations.apis.deployments.delete", @@ -5254,7 +5283,7 @@ func (c *ProjectsLocationsApisDeploymentsDeleteCall) Do(opts ...googleapi.CallOp // "type": "boolean" // }, // "name": { - // "description": "Required. The name of the deployment to delete. Format: projects/*/locations/*/apis/*/deployments/*", + // "description": "Required. The name of the deployment to delete. Format: `projects/*/locations/*/apis/*/deployments/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/deployments/[^/]+$", // "required": true, @@ -5282,13 +5311,12 @@ type ProjectsLocationsApisDeploymentsDeleteRevisionCall struct { header_ http.Header } -// DeleteRevision: DeleteApiDeploymentRevision deletes a revision of a -// deployment. +// DeleteRevision: Deletes a revision of a deployment. // // - name: The name of the deployment revision to be deleted, with a // revision ID explicitly included. Example: -// projects/sample/locations/global/apis/petstore/deployments/prod@c7cf -// a2a8. +// `projects/sample/locations/global/apis/petstore/deployments/prod@c7c +// fa2a8`. func (r *ProjectsLocationsApisDeploymentsService) DeleteRevision(name string) *ProjectsLocationsApisDeploymentsDeleteRevisionCall { c := &ProjectsLocationsApisDeploymentsDeleteRevisionCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -5381,7 +5409,7 @@ func (c *ProjectsLocationsApisDeploymentsDeleteRevisionCall) Do(opts ...googleap } return ret, nil // { - // "description": "DeleteApiDeploymentRevision deletes a revision of a deployment.", + // "description": "Deletes a revision of a deployment.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}:deleteRevision", // "httpMethod": "DELETE", // "id": "apigeeregistry.projects.locations.apis.deployments.deleteRevision", @@ -5390,7 +5418,7 @@ func (c *ProjectsLocationsApisDeploymentsDeleteRevisionCall) Do(opts ...googleap // ], // "parameters": { // "name": { - // "description": "Required. The name of the deployment revision to be deleted, with a revision ID explicitly included. Example: projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8", + // "description": "Required. The name of the deployment revision to be deleted, with a revision ID explicitly included. Example: `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/deployments/[^/]+$", // "required": true, @@ -5419,10 +5447,10 @@ type ProjectsLocationsApisDeploymentsGetCall struct { header_ http.Header } -// Get: GetApiDeployment returns a specified deployment. +// Get: Returns a specified deployment. // // - name: The name of the deployment to retrieve. Format: -// projects/*/locations/*/apis/*/deployments/*. +// `projects/*/locations/*/apis/*/deployments/*`. func (r *ProjectsLocationsApisDeploymentsService) Get(name string) *ProjectsLocationsApisDeploymentsGetCall { c := &ProjectsLocationsApisDeploymentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -5528,7 +5556,7 @@ func (c *ProjectsLocationsApisDeploymentsGetCall) Do(opts ...googleapi.CallOptio } return ret, nil // { - // "description": "GetApiDeployment returns a specified deployment.", + // "description": "Returns a specified deployment.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.deployments.get", @@ -5537,7 +5565,7 @@ func (c *ProjectsLocationsApisDeploymentsGetCall) Do(opts ...googleapi.CallOptio // ], // "parameters": { // "name": { - // "description": "Required. The name of the deployment to retrieve. Format: projects/*/locations/*/apis/*/deployments/*", + // "description": "Required. The name of the deployment to retrieve. Format: `projects/*/locations/*/apis/*/deployments/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/deployments/[^/]+$", // "required": true, @@ -5741,10 +5769,10 @@ type ProjectsLocationsApisDeploymentsListCall struct { header_ http.Header } -// List: ListApiDeployments returns matching deployments. +// List: Returns matching deployments. // // - parent: The parent, which owns this collection of deployments. -// Format: projects/*/locations/*/apis/*. +// Format: `projects/*/locations/*/apis/*`. func (r *ProjectsLocationsApisDeploymentsService) List(parent string) *ProjectsLocationsApisDeploymentsListCall { c := &ProjectsLocationsApisDeploymentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -5759,6 +5787,14 @@ func (c *ProjectsLocationsApisDeploymentsListCall) Filter(filter string) *Projec return c } +// OrderBy sets the optional parameter "orderBy": A comma-separated list +// of fields, e.g. "foo,bar" Fields can be sorted in descending order +// using the "desc" identifier, e.g. "foo desc,bar" +func (c *ProjectsLocationsApisDeploymentsListCall) OrderBy(orderBy string) *ProjectsLocationsApisDeploymentsListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number // of deployments to return. The service may return fewer than this // value. If unspecified, at most 50 values will be returned. The @@ -5877,7 +5913,7 @@ func (c *ProjectsLocationsApisDeploymentsListCall) Do(opts ...googleapi.CallOpti } return ret, nil // { - // "description": "ListApiDeployments returns matching deployments.", + // "description": "Returns matching deployments.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.deployments.list", @@ -5890,6 +5926,11 @@ func (c *ProjectsLocationsApisDeploymentsListCall) Do(opts ...googleapi.CallOpti // "location": "query", // "type": "string" // }, + // "orderBy": { + // "description": "A comma-separated list of fields, e.g. \"foo,bar\" Fields can be sorted in descending order using the \"desc\" identifier, e.g. \"foo desc,bar\"", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "The maximum number of deployments to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.", // "format": "int32", @@ -5902,7 +5943,7 @@ func (c *ProjectsLocationsApisDeploymentsListCall) Do(opts ...googleapi.CallOpti // "type": "string" // }, // "parent": { - // "description": "Required. The parent, which owns this collection of deployments. Format: projects/*/locations/*/apis/*", + // "description": "Required. The parent, which owns this collection of deployments. Format: `projects/*/locations/*/apis/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", // "required": true, @@ -5952,9 +5993,8 @@ type ProjectsLocationsApisDeploymentsListRevisionsCall struct { header_ http.Header } -// ListRevisions: ListApiDeploymentRevisions lists all revisions of a -// deployment. Revisions are returned in descending order of revision -// creation time. +// ListRevisions: Lists all revisions of a deployment. Revisions are +// returned in descending order of revision creation time. // // - name: The name of the deployment to list revisions for. func (r *ProjectsLocationsApisDeploymentsService) ListRevisions(name string) *ProjectsLocationsApisDeploymentsListRevisionsCall { @@ -6078,7 +6118,7 @@ func (c *ProjectsLocationsApisDeploymentsListRevisionsCall) Do(opts ...googleapi } return ret, nil // { - // "description": "ListApiDeploymentRevisions lists all revisions of a deployment. Revisions are returned in descending order of revision creation time.", + // "description": "Lists all revisions of a deployment. Revisions are returned in descending order of revision creation time.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}:listRevisions", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.deployments.listRevisions", @@ -6148,8 +6188,7 @@ type ProjectsLocationsApisDeploymentsPatchCall struct { header_ http.Header } -// Patch: UpdateApiDeployment can be used to modify a specified -// deployment. +// Patch: Used to modify a specified deployment. // // - name: Resource name. func (r *ProjectsLocationsApisDeploymentsService) Patch(name string, apideployment *ApiDeployment) *ProjectsLocationsApisDeploymentsPatchCall { @@ -6170,8 +6209,8 @@ func (c *ProjectsLocationsApisDeploymentsPatchCall) AllowMissing(allowMissing bo // UpdateMask sets the optional parameter "updateMask": The list of // fields to be updated. If omitted, all fields are updated that are set // in the request message (fields set to default values are ignored). If -// a "*" is specified, all fields are updated, including fields that are -// unspecified/default in the request. +// an asterisk "*" is specified, all fields are updated, including +// fields that are unspecified/default in the request. func (c *ProjectsLocationsApisDeploymentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsApisDeploymentsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -6268,7 +6307,7 @@ func (c *ProjectsLocationsApisDeploymentsPatchCall) Do(opts ...googleapi.CallOpt } return ret, nil // { - // "description": "UpdateApiDeployment can be used to modify a specified deployment.", + // "description": "Used to modify a specified deployment.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}", // "httpMethod": "PATCH", // "id": "apigeeregistry.projects.locations.apis.deployments.patch", @@ -6289,7 +6328,7 @@ func (c *ProjectsLocationsApisDeploymentsPatchCall) Do(opts ...googleapi.CallOpt // "type": "string" // }, // "updateMask": { - // "description": "The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If a \"*\" is specified, all fields are updated, including fields that are unspecified/default in the request.", + // "description": "The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk \"*\" is specified, all fields are updated, including fields that are unspecified/default in the request.", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -6320,9 +6359,8 @@ type ProjectsLocationsApisDeploymentsRollbackCall struct { header_ http.Header } -// Rollback: RollbackApiDeployment sets the current revision to a -// specified prior revision. Note that this creates a new revision with -// a new revision ID. +// Rollback: Sets the current revision to a specified prior revision. +// Note that this creates a new revision with a new revision ID. // // - name: The deployment being rolled back. func (r *ProjectsLocationsApisDeploymentsService) Rollback(name string, rollbackapideploymentrequest *RollbackApiDeploymentRequest) *ProjectsLocationsApisDeploymentsRollbackCall { @@ -6423,7 +6461,7 @@ func (c *ProjectsLocationsApisDeploymentsRollbackCall) Do(opts ...googleapi.Call } return ret, nil // { - // "description": "RollbackApiDeployment sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.", + // "description": "Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}:rollback", // "httpMethod": "POST", // "id": "apigeeregistry.projects.locations.apis.deployments.rollback", @@ -6611,8 +6649,7 @@ type ProjectsLocationsApisDeploymentsTagRevisionCall struct { header_ http.Header } -// TagRevision: TagApiDeploymentRevision adds a tag to a specified -// revision of a deployment. +// TagRevision: Adds a tag to a specified revision of a deployment. // // - name: The name of the deployment to be tagged, including the // revision ID. @@ -6714,7 +6751,7 @@ func (c *ProjectsLocationsApisDeploymentsTagRevisionCall) Do(opts ...googleapi.C } return ret, nil // { - // "description": "TagApiDeploymentRevision adds a tag to a specified revision of a deployment.", + // "description": "Adds a tag to a specified revision of a deployment.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}:tagRevision", // "httpMethod": "POST", // "id": "apigeeregistry.projects.locations.apis.deployments.tagRevision", @@ -6905,10 +6942,10 @@ type ProjectsLocationsApisDeploymentsArtifactsCreateCall struct { header_ http.Header } -// Create: CreateArtifact creates a specified artifact. +// Create: Creates a specified artifact. // // - parent: The parent, which owns this collection of artifacts. -// Format: {parent}. +// Format: `{parent}`. func (r *ProjectsLocationsApisDeploymentsArtifactsService) Create(parent string, artifact *Artifact) *ProjectsLocationsApisDeploymentsArtifactsCreateCall { c := &ProjectsLocationsApisDeploymentsArtifactsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -7017,7 +7054,7 @@ func (c *ProjectsLocationsApisDeploymentsArtifactsCreateCall) Do(opts ...googlea } return ret, nil // { - // "description": "CreateArtifact creates a specified artifact.", + // "description": "Creates a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}/artifacts", // "httpMethod": "POST", // "id": "apigeeregistry.projects.locations.apis.deployments.artifacts.create", @@ -7031,7 +7068,7 @@ func (c *ProjectsLocationsApisDeploymentsArtifactsCreateCall) Do(opts ...googlea // "type": "string" // }, // "parent": { - // "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + // "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/deployments/[^/]+$", // "required": true, @@ -7062,10 +7099,10 @@ type ProjectsLocationsApisDeploymentsArtifactsDeleteCall struct { header_ http.Header } -// Delete: DeleteArtifact removes a specified artifact. +// Delete: Removes a specified artifact. // // - name: The name of the artifact to delete. Format: -// {parent}/artifacts/*. +// `{parent}/artifacts/*`. func (r *ProjectsLocationsApisDeploymentsArtifactsService) Delete(name string) *ProjectsLocationsApisDeploymentsArtifactsDeleteCall { c := &ProjectsLocationsApisDeploymentsArtifactsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -7158,7 +7195,7 @@ func (c *ProjectsLocationsApisDeploymentsArtifactsDeleteCall) Do(opts ...googlea } return ret, nil // { - // "description": "DeleteArtifact removes a specified artifact.", + // "description": "Removes a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}/artifacts/{artifactsId}", // "httpMethod": "DELETE", // "id": "apigeeregistry.projects.locations.apis.deployments.artifacts.delete", @@ -7167,7 +7204,7 @@ func (c *ProjectsLocationsApisDeploymentsArtifactsDeleteCall) Do(opts ...googlea // ], // "parameters": { // "name": { - // "description": "Required. The name of the artifact to delete. Format: {parent}/artifacts/*", + // "description": "Required. The name of the artifact to delete. Format: `{parent}/artifacts/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/deployments/[^/]+/artifacts/[^/]+$", // "required": true, @@ -7196,10 +7233,10 @@ type ProjectsLocationsApisDeploymentsArtifactsGetCall struct { header_ http.Header } -// Get: GetArtifact returns a specified artifact. +// Get: Returns a specified artifact. // // - name: The name of the artifact to retrieve. Format: -// {parent}/artifacts/*. +// `{parent}/artifacts/*`. func (r *ProjectsLocationsApisDeploymentsArtifactsService) Get(name string) *ProjectsLocationsApisDeploymentsArtifactsGetCall { c := &ProjectsLocationsApisDeploymentsArtifactsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -7305,7 +7342,7 @@ func (c *ProjectsLocationsApisDeploymentsArtifactsGetCall) Do(opts ...googleapi. } return ret, nil // { - // "description": "GetArtifact returns a specified artifact.", + // "description": "Returns a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}/artifacts/{artifactsId}", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.deployments.artifacts.get", @@ -7314,7 +7351,7 @@ func (c *ProjectsLocationsApisDeploymentsArtifactsGetCall) Do(opts ...googleapi. // ], // "parameters": { // "name": { - // "description": "Required. The name of the artifact to retrieve. Format: {parent}/artifacts/*", + // "description": "Required. The name of the artifact to retrieve. Format: `{parent}/artifacts/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/deployments/[^/]+/artifacts/[^/]+$", // "required": true, @@ -7343,13 +7380,13 @@ type ProjectsLocationsApisDeploymentsArtifactsGetContentsCall struct { header_ http.Header } -// GetContents: GetArtifactContents returns the contents of a specified -// artifact. If artifacts are stored with GZip compression, the default -// behavior is to return the artifact uncompressed (the mime_type -// response field indicates the exact format returned). +// GetContents: Returns the contents of a specified artifact. If +// artifacts are stored with GZip compression, the default behavior is +// to return the artifact uncompressed (the mime_type response field +// indicates the exact format returned). // // - name: The name of the artifact whose contents should be retrieved. -// Format: {parent}/artifacts/*. +// Format: `{parent}/artifacts/*`. func (r *ProjectsLocationsApisDeploymentsArtifactsService) GetContents(name string) *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall { c := &ProjectsLocationsApisDeploymentsArtifactsGetContentsCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -7455,7 +7492,7 @@ func (c *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall) Do(opts ...go } return ret, nil // { - // "description": "GetArtifactContents returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", + // "description": "Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}/artifacts/{artifactsId}:getContents", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.deployments.artifacts.getContents", @@ -7464,7 +7501,7 @@ func (c *ProjectsLocationsApisDeploymentsArtifactsGetContentsCall) Do(opts ...go // ], // "parameters": { // "name": { - // "description": "Required. The name of the artifact whose contents should be retrieved. Format: {parent}/artifacts/*", + // "description": "Required. The name of the artifact whose contents should be retrieved. Format: `{parent}/artifacts/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/deployments/[^/]+/artifacts/[^/]+$", // "required": true, @@ -7493,10 +7530,10 @@ type ProjectsLocationsApisDeploymentsArtifactsListCall struct { header_ http.Header } -// List: ListArtifacts returns matching artifacts. +// List: Returns matching artifacts. // // - parent: The parent, which owns this collection of artifacts. -// Format: {parent}. +// Format: `{parent}`. func (r *ProjectsLocationsApisDeploymentsArtifactsService) List(parent string) *ProjectsLocationsApisDeploymentsArtifactsListCall { c := &ProjectsLocationsApisDeploymentsArtifactsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -7511,6 +7548,14 @@ func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) Filter(filter string return c } +// OrderBy sets the optional parameter "orderBy": A comma-separated list +// of fields, e.g. "foo,bar" Fields can be sorted in descending order +// using the "desc" identifier, e.g. "foo desc,bar" +func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) OrderBy(orderBy string) *ProjectsLocationsApisDeploymentsArtifactsListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number // of artifacts to return. The service may return fewer than this value. // If unspecified, at most 50 values will be returned. The maximum is @@ -7629,7 +7674,7 @@ func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) Do(opts ...googleapi } return ret, nil // { - // "description": "ListArtifacts returns matching artifacts.", + // "description": "Returns matching artifacts.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}/artifacts", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.deployments.artifacts.list", @@ -7642,6 +7687,11 @@ func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) Do(opts ...googleapi // "location": "query", // "type": "string" // }, + // "orderBy": { + // "description": "A comma-separated list of fields, e.g. \"foo,bar\" Fields can be sorted in descending order using the \"desc\" identifier, e.g. \"foo desc,bar\"", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "The maximum number of artifacts to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.", // "format": "int32", @@ -7654,7 +7704,7 @@ func (c *ProjectsLocationsApisDeploymentsArtifactsListCall) Do(opts ...googleapi // "type": "string" // }, // "parent": { - // "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + // "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/deployments/[^/]+$", // "required": true, @@ -7704,8 +7754,7 @@ type ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall struct { header_ http.Header } -// ReplaceArtifact: ReplaceArtifact can be used to replace a specified -// artifact. +// ReplaceArtifact: Used to replace a specified artifact. // // - name: Resource name. func (r *ProjectsLocationsApisDeploymentsArtifactsService) ReplaceArtifact(name string, artifact *Artifact) *ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall { @@ -7806,7 +7855,7 @@ func (c *ProjectsLocationsApisDeploymentsArtifactsReplaceArtifactCall) Do(opts . } return ret, nil // { - // "description": "ReplaceArtifact can be used to replace a specified artifact.", + // "description": "Used to replace a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/deployments/{deploymentsId}/artifacts/{artifactsId}", // "httpMethod": "PUT", // "id": "apigeeregistry.projects.locations.apis.deployments.artifacts.replaceArtifact", @@ -7847,10 +7896,10 @@ type ProjectsLocationsApisVersionsCreateCall struct { header_ http.Header } -// Create: CreateApiVersion creates a specified version. +// Create: Creates a specified version. // // - parent: The parent, which owns this collection of versions. Format: -// projects/*/locations/*/apis/*. +// `projects/*/locations/*/apis/*`. func (r *ProjectsLocationsApisVersionsService) Create(parent string, apiversion *ApiVersion) *ProjectsLocationsApisVersionsCreateCall { c := &ProjectsLocationsApisVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -7959,7 +8008,7 @@ func (c *ProjectsLocationsApisVersionsCreateCall) Do(opts ...googleapi.CallOptio } return ret, nil // { - // "description": "CreateApiVersion creates a specified version.", + // "description": "Creates a specified version.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions", // "httpMethod": "POST", // "id": "apigeeregistry.projects.locations.apis.versions.create", @@ -7973,7 +8022,7 @@ func (c *ProjectsLocationsApisVersionsCreateCall) Do(opts ...googleapi.CallOptio // "type": "string" // }, // "parent": { - // "description": "Required. The parent, which owns this collection of versions. Format: projects/*/locations/*/apis/*", + // "description": "Required. The parent, which owns this collection of versions. Format: `projects/*/locations/*/apis/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", // "required": true, @@ -8004,11 +8053,11 @@ type ProjectsLocationsApisVersionsDeleteCall struct { header_ http.Header } -// Delete: DeleteApiVersion removes a specified version and all of the -// resources that it owns. +// Delete: Removes a specified version and all of the resources that it +// owns. // // - name: The name of the version to delete. Format: -// projects/*/locations/*/apis/*/versions/*. +// `projects/*/locations/*/apis/*/versions/*`. func (r *ProjectsLocationsApisVersionsService) Delete(name string) *ProjectsLocationsApisVersionsDeleteCall { c := &ProjectsLocationsApisVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -8109,7 +8158,7 @@ func (c *ProjectsLocationsApisVersionsDeleteCall) Do(opts ...googleapi.CallOptio } return ret, nil // { - // "description": "DeleteApiVersion removes a specified version and all of the resources that it owns.", + // "description": "Removes a specified version and all of the resources that it owns.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}", // "httpMethod": "DELETE", // "id": "apigeeregistry.projects.locations.apis.versions.delete", @@ -8123,7 +8172,7 @@ func (c *ProjectsLocationsApisVersionsDeleteCall) Do(opts ...googleapi.CallOptio // "type": "boolean" // }, // "name": { - // "description": "Required. The name of the version to delete. Format: projects/*/locations/*/apis/*/versions/*", + // "description": "Required. The name of the version to delete. Format: `projects/*/locations/*/apis/*/versions/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+$", // "required": true, @@ -8152,10 +8201,10 @@ type ProjectsLocationsApisVersionsGetCall struct { header_ http.Header } -// Get: GetApiVersion returns a specified version. +// Get: Returns a specified version. // // - name: The name of the version to retrieve. Format: -// projects/*/locations/*/apis/*/versions/*. +// `projects/*/locations/*/apis/*/versions/*`. func (r *ProjectsLocationsApisVersionsService) Get(name string) *ProjectsLocationsApisVersionsGetCall { c := &ProjectsLocationsApisVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -8261,7 +8310,7 @@ func (c *ProjectsLocationsApisVersionsGetCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "GetApiVersion returns a specified version.", + // "description": "Returns a specified version.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.versions.get", @@ -8270,7 +8319,7 @@ func (c *ProjectsLocationsApisVersionsGetCall) Do(opts ...googleapi.CallOption) // ], // "parameters": { // "name": { - // "description": "Required. The name of the version to retrieve. Format: projects/*/locations/*/apis/*/versions/*", + // "description": "Required. The name of the version to retrieve. Format: `projects/*/locations/*/apis/*/versions/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+$", // "required": true, @@ -8474,10 +8523,10 @@ type ProjectsLocationsApisVersionsListCall struct { header_ http.Header } -// List: ListApiVersions returns matching versions. +// List: Returns matching versions. // // - parent: The parent, which owns this collection of versions. Format: -// projects/*/locations/*/apis/*. +// `projects/*/locations/*/apis/*`. func (r *ProjectsLocationsApisVersionsService) List(parent string) *ProjectsLocationsApisVersionsListCall { c := &ProjectsLocationsApisVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -8492,6 +8541,14 @@ func (c *ProjectsLocationsApisVersionsListCall) Filter(filter string) *ProjectsL return c } +// OrderBy sets the optional parameter "orderBy": A comma-separated list +// of fields, e.g. "foo,bar" Fields can be sorted in descending order +// using the "desc" identifier, e.g. "foo desc,bar" +func (c *ProjectsLocationsApisVersionsListCall) OrderBy(orderBy string) *ProjectsLocationsApisVersionsListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number // of versions to return. The service may return fewer than this value. // If unspecified, at most 50 values will be returned. The maximum is @@ -8610,7 +8667,7 @@ func (c *ProjectsLocationsApisVersionsListCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "ListApiVersions returns matching versions.", + // "description": "Returns matching versions.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.versions.list", @@ -8623,6 +8680,11 @@ func (c *ProjectsLocationsApisVersionsListCall) Do(opts ...googleapi.CallOption) // "location": "query", // "type": "string" // }, + // "orderBy": { + // "description": "A comma-separated list of fields, e.g. \"foo,bar\" Fields can be sorted in descending order using the \"desc\" identifier, e.g. \"foo desc,bar\"", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.", // "format": "int32", @@ -8635,7 +8697,7 @@ func (c *ProjectsLocationsApisVersionsListCall) Do(opts ...googleapi.CallOption) // "type": "string" // }, // "parent": { - // "description": "Required. The parent, which owns this collection of versions. Format: projects/*/locations/*/apis/*", + // "description": "Required. The parent, which owns this collection of versions. Format: `projects/*/locations/*/apis/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", // "required": true, @@ -8685,7 +8747,7 @@ type ProjectsLocationsApisVersionsPatchCall struct { header_ http.Header } -// Patch: UpdateApiVersion can be used to modify a specified version. +// Patch: Used to modify a specified version. // // - name: Resource name. func (r *ProjectsLocationsApisVersionsService) Patch(name string, apiversion *ApiVersion) *ProjectsLocationsApisVersionsPatchCall { @@ -8706,8 +8768,8 @@ func (c *ProjectsLocationsApisVersionsPatchCall) AllowMissing(allowMissing bool) // UpdateMask sets the optional parameter "updateMask": The list of // fields to be updated. If omitted, all fields are updated that are set // in the request message (fields set to default values are ignored). If -// a "*" is specified, all fields are updated, including fields that are -// unspecified/default in the request. +// an asterisk "*" is specified, all fields are updated, including +// fields that are unspecified/default in the request. func (c *ProjectsLocationsApisVersionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsApisVersionsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -8804,7 +8866,7 @@ func (c *ProjectsLocationsApisVersionsPatchCall) Do(opts ...googleapi.CallOption } return ret, nil // { - // "description": "UpdateApiVersion can be used to modify a specified version.", + // "description": "Used to modify a specified version.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}", // "httpMethod": "PATCH", // "id": "apigeeregistry.projects.locations.apis.versions.patch", @@ -8825,7 +8887,7 @@ func (c *ProjectsLocationsApisVersionsPatchCall) Do(opts ...googleapi.CallOption // "type": "string" // }, // "updateMask": { - // "description": "The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If a \"*\" is specified, all fields are updated, including fields that are unspecified/default in the request.", + // "description": "The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk \"*\" is specified, all fields are updated, including fields that are unspecified/default in the request.", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -9153,10 +9215,10 @@ type ProjectsLocationsApisVersionsArtifactsCreateCall struct { header_ http.Header } -// Create: CreateArtifact creates a specified artifact. +// Create: Creates a specified artifact. // // - parent: The parent, which owns this collection of artifacts. -// Format: {parent}. +// Format: `{parent}`. func (r *ProjectsLocationsApisVersionsArtifactsService) Create(parent string, artifact *Artifact) *ProjectsLocationsApisVersionsArtifactsCreateCall { c := &ProjectsLocationsApisVersionsArtifactsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -9265,7 +9327,7 @@ func (c *ProjectsLocationsApisVersionsArtifactsCreateCall) Do(opts ...googleapi. } return ret, nil // { - // "description": "CreateArtifact creates a specified artifact.", + // "description": "Creates a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/artifacts", // "httpMethod": "POST", // "id": "apigeeregistry.projects.locations.apis.versions.artifacts.create", @@ -9279,7 +9341,7 @@ func (c *ProjectsLocationsApisVersionsArtifactsCreateCall) Do(opts ...googleapi. // "type": "string" // }, // "parent": { - // "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + // "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+$", // "required": true, @@ -9310,10 +9372,10 @@ type ProjectsLocationsApisVersionsArtifactsDeleteCall struct { header_ http.Header } -// Delete: DeleteArtifact removes a specified artifact. +// Delete: Removes a specified artifact. // // - name: The name of the artifact to delete. Format: -// {parent}/artifacts/*. +// `{parent}/artifacts/*`. func (r *ProjectsLocationsApisVersionsArtifactsService) Delete(name string) *ProjectsLocationsApisVersionsArtifactsDeleteCall { c := &ProjectsLocationsApisVersionsArtifactsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -9406,7 +9468,7 @@ func (c *ProjectsLocationsApisVersionsArtifactsDeleteCall) Do(opts ...googleapi. } return ret, nil // { - // "description": "DeleteArtifact removes a specified artifact.", + // "description": "Removes a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/artifacts/{artifactsId}", // "httpMethod": "DELETE", // "id": "apigeeregistry.projects.locations.apis.versions.artifacts.delete", @@ -9415,7 +9477,7 @@ func (c *ProjectsLocationsApisVersionsArtifactsDeleteCall) Do(opts ...googleapi. // ], // "parameters": { // "name": { - // "description": "Required. The name of the artifact to delete. Format: {parent}/artifacts/*", + // "description": "Required. The name of the artifact to delete. Format: `{parent}/artifacts/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/artifacts/[^/]+$", // "required": true, @@ -9444,10 +9506,10 @@ type ProjectsLocationsApisVersionsArtifactsGetCall struct { header_ http.Header } -// Get: GetArtifact returns a specified artifact. +// Get: Returns a specified artifact. // // - name: The name of the artifact to retrieve. Format: -// {parent}/artifacts/*. +// `{parent}/artifacts/*`. func (r *ProjectsLocationsApisVersionsArtifactsService) Get(name string) *ProjectsLocationsApisVersionsArtifactsGetCall { c := &ProjectsLocationsApisVersionsArtifactsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -9553,7 +9615,7 @@ func (c *ProjectsLocationsApisVersionsArtifactsGetCall) Do(opts ...googleapi.Cal } return ret, nil // { - // "description": "GetArtifact returns a specified artifact.", + // "description": "Returns a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/artifacts/{artifactsId}", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.versions.artifacts.get", @@ -9562,7 +9624,7 @@ func (c *ProjectsLocationsApisVersionsArtifactsGetCall) Do(opts ...googleapi.Cal // ], // "parameters": { // "name": { - // "description": "Required. The name of the artifact to retrieve. Format: {parent}/artifacts/*", + // "description": "Required. The name of the artifact to retrieve. Format: `{parent}/artifacts/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/artifacts/[^/]+$", // "required": true, @@ -9591,13 +9653,13 @@ type ProjectsLocationsApisVersionsArtifactsGetContentsCall struct { header_ http.Header } -// GetContents: GetArtifactContents returns the contents of a specified -// artifact. If artifacts are stored with GZip compression, the default -// behavior is to return the artifact uncompressed (the mime_type -// response field indicates the exact format returned). +// GetContents: Returns the contents of a specified artifact. If +// artifacts are stored with GZip compression, the default behavior is +// to return the artifact uncompressed (the mime_type response field +// indicates the exact format returned). // // - name: The name of the artifact whose contents should be retrieved. -// Format: {parent}/artifacts/*. +// Format: `{parent}/artifacts/*`. func (r *ProjectsLocationsApisVersionsArtifactsService) GetContents(name string) *ProjectsLocationsApisVersionsArtifactsGetContentsCall { c := &ProjectsLocationsApisVersionsArtifactsGetContentsCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -9703,7 +9765,7 @@ func (c *ProjectsLocationsApisVersionsArtifactsGetContentsCall) Do(opts ...googl } return ret, nil // { - // "description": "GetArtifactContents returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", + // "description": "Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/artifacts/{artifactsId}:getContents", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.versions.artifacts.getContents", @@ -9712,7 +9774,7 @@ func (c *ProjectsLocationsApisVersionsArtifactsGetContentsCall) Do(opts ...googl // ], // "parameters": { // "name": { - // "description": "Required. The name of the artifact whose contents should be retrieved. Format: {parent}/artifacts/*", + // "description": "Required. The name of the artifact whose contents should be retrieved. Format: `{parent}/artifacts/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/artifacts/[^/]+$", // "required": true, @@ -9916,10 +9978,10 @@ type ProjectsLocationsApisVersionsArtifactsListCall struct { header_ http.Header } -// List: ListArtifacts returns matching artifacts. +// List: Returns matching artifacts. // // - parent: The parent, which owns this collection of artifacts. -// Format: {parent}. +// Format: `{parent}`. func (r *ProjectsLocationsApisVersionsArtifactsService) List(parent string) *ProjectsLocationsApisVersionsArtifactsListCall { c := &ProjectsLocationsApisVersionsArtifactsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -9934,6 +9996,14 @@ func (c *ProjectsLocationsApisVersionsArtifactsListCall) Filter(filter string) * return c } +// OrderBy sets the optional parameter "orderBy": A comma-separated list +// of fields, e.g. "foo,bar" Fields can be sorted in descending order +// using the "desc" identifier, e.g. "foo desc,bar" +func (c *ProjectsLocationsApisVersionsArtifactsListCall) OrderBy(orderBy string) *ProjectsLocationsApisVersionsArtifactsListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number // of artifacts to return. The service may return fewer than this value. // If unspecified, at most 50 values will be returned. The maximum is @@ -10052,7 +10122,7 @@ func (c *ProjectsLocationsApisVersionsArtifactsListCall) Do(opts ...googleapi.Ca } return ret, nil // { - // "description": "ListArtifacts returns matching artifacts.", + // "description": "Returns matching artifacts.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/artifacts", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.versions.artifacts.list", @@ -10065,6 +10135,11 @@ func (c *ProjectsLocationsApisVersionsArtifactsListCall) Do(opts ...googleapi.Ca // "location": "query", // "type": "string" // }, + // "orderBy": { + // "description": "A comma-separated list of fields, e.g. \"foo,bar\" Fields can be sorted in descending order using the \"desc\" identifier, e.g. \"foo desc,bar\"", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "The maximum number of artifacts to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.", // "format": "int32", @@ -10077,7 +10152,7 @@ func (c *ProjectsLocationsApisVersionsArtifactsListCall) Do(opts ...googleapi.Ca // "type": "string" // }, // "parent": { - // "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + // "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+$", // "required": true, @@ -10127,8 +10202,7 @@ type ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall struct { header_ http.Header } -// ReplaceArtifact: ReplaceArtifact can be used to replace a specified -// artifact. +// ReplaceArtifact: Used to replace a specified artifact. // // - name: Resource name. func (r *ProjectsLocationsApisVersionsArtifactsService) ReplaceArtifact(name string, artifact *Artifact) *ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall { @@ -10229,7 +10303,7 @@ func (c *ProjectsLocationsApisVersionsArtifactsReplaceArtifactCall) Do(opts ...g } return ret, nil // { - // "description": "ReplaceArtifact can be used to replace a specified artifact.", + // "description": "Used to replace a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/artifacts/{artifactsId}", // "httpMethod": "PUT", // "id": "apigeeregistry.projects.locations.apis.versions.artifacts.replaceArtifact", @@ -10567,10 +10641,10 @@ type ProjectsLocationsApisVersionsSpecsCreateCall struct { header_ http.Header } -// Create: CreateApiSpec creates a specified spec. +// Create: Creates a specified spec. // // - parent: The parent, which owns this collection of specs. Format: -// projects/*/locations/*/apis/*/versions/*. +// `projects/*/locations/*/apis/*/versions/*`. func (r *ProjectsLocationsApisVersionsSpecsService) Create(parent string, apispec *ApiSpec) *ProjectsLocationsApisVersionsSpecsCreateCall { c := &ProjectsLocationsApisVersionsSpecsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -10679,7 +10753,7 @@ func (c *ProjectsLocationsApisVersionsSpecsCreateCall) Do(opts ...googleapi.Call } return ret, nil // { - // "description": "CreateApiSpec creates a specified spec.", + // "description": "Creates a specified spec.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs", // "httpMethod": "POST", // "id": "apigeeregistry.projects.locations.apis.versions.specs.create", @@ -10693,7 +10767,7 @@ func (c *ProjectsLocationsApisVersionsSpecsCreateCall) Do(opts ...googleapi.Call // "type": "string" // }, // "parent": { - // "description": "Required. The parent, which owns this collection of specs. Format: projects/*/locations/*/apis/*/versions/*", + // "description": "Required. The parent, which owns this collection of specs. Format: `projects/*/locations/*/apis/*/versions/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+$", // "required": true, @@ -10724,11 +10798,11 @@ type ProjectsLocationsApisVersionsSpecsDeleteCall struct { header_ http.Header } -// Delete: DeleteApiSpec removes a specified spec, all revisions, and -// all child resources (e.g. artifacts). +// Delete: Removes a specified spec, all revisions, and all child +// resources (e.g., artifacts). // // - name: The name of the spec to delete. Format: -// projects/*/locations/*/apis/*/versions/*/specs/*. +// `projects/*/locations/*/apis/*/versions/*/specs/*`. func (r *ProjectsLocationsApisVersionsSpecsService) Delete(name string) *ProjectsLocationsApisVersionsSpecsDeleteCall { c := &ProjectsLocationsApisVersionsSpecsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -10829,7 +10903,7 @@ func (c *ProjectsLocationsApisVersionsSpecsDeleteCall) Do(opts ...googleapi.Call } return ret, nil // { - // "description": "DeleteApiSpec removes a specified spec, all revisions, and all child resources (e.g. artifacts).", + // "description": "Removes a specified spec, all revisions, and all child resources (e.g., artifacts).", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}", // "httpMethod": "DELETE", // "id": "apigeeregistry.projects.locations.apis.versions.specs.delete", @@ -10843,7 +10917,7 @@ func (c *ProjectsLocationsApisVersionsSpecsDeleteCall) Do(opts ...googleapi.Call // "type": "boolean" // }, // "name": { - // "description": "Required. The name of the spec to delete. Format: projects/*/locations/*/apis/*/versions/*/specs/*", + // "description": "Required. The name of the spec to delete. Format: `projects/*/locations/*/apis/*/versions/*/specs/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+$", // "required": true, @@ -10871,12 +10945,12 @@ type ProjectsLocationsApisVersionsSpecsDeleteRevisionCall struct { header_ http.Header } -// DeleteRevision: DeleteApiSpecRevision deletes a revision of a spec. +// DeleteRevision: Deletes a revision of a spec. // // - name: The name of the spec revision to be deleted, with a revision // ID explicitly included. Example: -// projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/ -// openapi.yaml@c7cfa2a8. +// `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs +// /openapi.yaml@c7cfa2a8`. func (r *ProjectsLocationsApisVersionsSpecsService) DeleteRevision(name string) *ProjectsLocationsApisVersionsSpecsDeleteRevisionCall { c := &ProjectsLocationsApisVersionsSpecsDeleteRevisionCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -10969,7 +11043,7 @@ func (c *ProjectsLocationsApisVersionsSpecsDeleteRevisionCall) Do(opts ...google } return ret, nil // { - // "description": "DeleteApiSpecRevision deletes a revision of a spec.", + // "description": "Deletes a revision of a spec.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}:deleteRevision", // "httpMethod": "DELETE", // "id": "apigeeregistry.projects.locations.apis.versions.specs.deleteRevision", @@ -10978,7 +11052,7 @@ func (c *ProjectsLocationsApisVersionsSpecsDeleteRevisionCall) Do(opts ...google // ], // "parameters": { // "name": { - // "description": "Required. The name of the spec revision to be deleted, with a revision ID explicitly included. Example: projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8", + // "description": "Required. The name of the spec revision to be deleted, with a revision ID explicitly included. Example: `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+$", // "required": true, @@ -11007,10 +11081,10 @@ type ProjectsLocationsApisVersionsSpecsGetCall struct { header_ http.Header } -// Get: GetApiSpec returns a specified spec. +// Get: Returns a specified spec. // // - name: The name of the spec to retrieve. Format: -// projects/*/locations/*/apis/*/versions/*/specs/*. +// `projects/*/locations/*/apis/*/versions/*/specs/*`. func (r *ProjectsLocationsApisVersionsSpecsService) Get(name string) *ProjectsLocationsApisVersionsSpecsGetCall { c := &ProjectsLocationsApisVersionsSpecsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -11116,7 +11190,7 @@ func (c *ProjectsLocationsApisVersionsSpecsGetCall) Do(opts ...googleapi.CallOpt } return ret, nil // { - // "description": "GetApiSpec returns a specified spec.", + // "description": "Returns a specified spec.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.versions.specs.get", @@ -11125,7 +11199,7 @@ func (c *ProjectsLocationsApisVersionsSpecsGetCall) Do(opts ...googleapi.CallOpt // ], // "parameters": { // "name": { - // "description": "Required. The name of the spec to retrieve. Format: projects/*/locations/*/apis/*/versions/*/specs/*", + // "description": "Required. The name of the spec to retrieve. Format: `projects/*/locations/*/apis/*/versions/*/specs/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+$", // "required": true, @@ -11154,13 +11228,13 @@ type ProjectsLocationsApisVersionsSpecsGetContentsCall struct { header_ http.Header } -// GetContents: GetApiSpecContents returns the contents of a specified -// spec. If specs are stored with GZip compression, the default behavior -// is to return the spec uncompressed (the mime_type response field -// indicates the exact format returned). +// GetContents: Returns the contents of a specified spec. If specs are +// stored with GZip compression, the default behavior is to return the +// spec uncompressed (the mime_type response field indicates the exact +// format returned). // // - name: The name of the spec whose contents should be retrieved. -// Format: projects/*/locations/*/apis/*/versions/*/specs/*. +// Format: `projects/*/locations/*/apis/*/versions/*/specs/*`. func (r *ProjectsLocationsApisVersionsSpecsService) GetContents(name string) *ProjectsLocationsApisVersionsSpecsGetContentsCall { c := &ProjectsLocationsApisVersionsSpecsGetContentsCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -11266,7 +11340,7 @@ func (c *ProjectsLocationsApisVersionsSpecsGetContentsCall) Do(opts ...googleapi } return ret, nil // { - // "description": "GetApiSpecContents returns the contents of a specified spec. If specs are stored with GZip compression, the default behavior is to return the spec uncompressed (the mime_type response field indicates the exact format returned).", + // "description": "Returns the contents of a specified spec. If specs are stored with GZip compression, the default behavior is to return the spec uncompressed (the mime_type response field indicates the exact format returned).", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}:getContents", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.versions.specs.getContents", @@ -11275,7 +11349,7 @@ func (c *ProjectsLocationsApisVersionsSpecsGetContentsCall) Do(opts ...googleapi // ], // "parameters": { // "name": { - // "description": "Required. The name of the spec whose contents should be retrieved. Format: projects/*/locations/*/apis/*/versions/*/specs/*", + // "description": "Required. The name of the spec whose contents should be retrieved. Format: `projects/*/locations/*/apis/*/versions/*/specs/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+$", // "required": true, @@ -11479,10 +11553,10 @@ type ProjectsLocationsApisVersionsSpecsListCall struct { header_ http.Header } -// List: ListApiSpecs returns matching specs. +// List: Returns matching specs. // // - parent: The parent, which owns this collection of specs. Format: -// projects/*/locations/*/apis/*/versions/*. +// `projects/*/locations/*/apis/*/versions/*`. func (r *ProjectsLocationsApisVersionsSpecsService) List(parent string) *ProjectsLocationsApisVersionsSpecsListCall { c := &ProjectsLocationsApisVersionsSpecsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -11497,6 +11571,14 @@ func (c *ProjectsLocationsApisVersionsSpecsListCall) Filter(filter string) *Proj return c } +// OrderBy sets the optional parameter "orderBy": A comma-separated list +// of fields, e.g. "foo,bar" Fields can be sorted in descending order +// using the "desc" identifier, e.g. "foo desc,bar" +func (c *ProjectsLocationsApisVersionsSpecsListCall) OrderBy(orderBy string) *ProjectsLocationsApisVersionsSpecsListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number // of specs to return. The service may return fewer than this value. If // unspecified, at most 50 values will be returned. The maximum is 1000; @@ -11615,7 +11697,7 @@ func (c *ProjectsLocationsApisVersionsSpecsListCall) Do(opts ...googleapi.CallOp } return ret, nil // { - // "description": "ListApiSpecs returns matching specs.", + // "description": "Returns matching specs.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.versions.specs.list", @@ -11628,6 +11710,11 @@ func (c *ProjectsLocationsApisVersionsSpecsListCall) Do(opts ...googleapi.CallOp // "location": "query", // "type": "string" // }, + // "orderBy": { + // "description": "A comma-separated list of fields, e.g. \"foo,bar\" Fields can be sorted in descending order using the \"desc\" identifier, e.g. \"foo desc,bar\"", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "The maximum number of specs to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.", // "format": "int32", @@ -11640,7 +11727,7 @@ func (c *ProjectsLocationsApisVersionsSpecsListCall) Do(opts ...googleapi.CallOp // "type": "string" // }, // "parent": { - // "description": "Required. The parent, which owns this collection of specs. Format: projects/*/locations/*/apis/*/versions/*", + // "description": "Required. The parent, which owns this collection of specs. Format: `projects/*/locations/*/apis/*/versions/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+$", // "required": true, @@ -11690,8 +11777,8 @@ type ProjectsLocationsApisVersionsSpecsListRevisionsCall struct { header_ http.Header } -// ListRevisions: ListApiSpecRevisions lists all revisions of a spec. -// Revisions are returned in descending order of revision creation time. +// ListRevisions: Lists all revisions of a spec. Revisions are returned +// in descending order of revision creation time. // // - name: The name of the spec to list revisions for. func (r *ProjectsLocationsApisVersionsSpecsService) ListRevisions(name string) *ProjectsLocationsApisVersionsSpecsListRevisionsCall { @@ -11814,7 +11901,7 @@ func (c *ProjectsLocationsApisVersionsSpecsListRevisionsCall) Do(opts ...googlea } return ret, nil // { - // "description": "ListApiSpecRevisions lists all revisions of a spec. Revisions are returned in descending order of revision creation time.", + // "description": "Lists all revisions of a spec. Revisions are returned in descending order of revision creation time.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}:listRevisions", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.versions.specs.listRevisions", @@ -11884,7 +11971,7 @@ type ProjectsLocationsApisVersionsSpecsPatchCall struct { header_ http.Header } -// Patch: UpdateApiSpec can be used to modify a specified spec. +// Patch: Used to modify a specified spec. // // - name: Resource name. func (r *ProjectsLocationsApisVersionsSpecsService) Patch(name string, apispec *ApiSpec) *ProjectsLocationsApisVersionsSpecsPatchCall { @@ -11905,8 +11992,8 @@ func (c *ProjectsLocationsApisVersionsSpecsPatchCall) AllowMissing(allowMissing // UpdateMask sets the optional parameter "updateMask": The list of // fields to be updated. If omitted, all fields are updated that are set // in the request message (fields set to default values are ignored). If -// a "*" is specified, all fields are updated, including fields that are -// unspecified/default in the request. +// an asterisk "*" is specified, all fields are updated, including +// fields that are unspecified/default in the request. func (c *ProjectsLocationsApisVersionsSpecsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsApisVersionsSpecsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -12003,7 +12090,7 @@ func (c *ProjectsLocationsApisVersionsSpecsPatchCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "UpdateApiSpec can be used to modify a specified spec.", + // "description": "Used to modify a specified spec.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}", // "httpMethod": "PATCH", // "id": "apigeeregistry.projects.locations.apis.versions.specs.patch", @@ -12024,7 +12111,7 @@ func (c *ProjectsLocationsApisVersionsSpecsPatchCall) Do(opts ...googleapi.CallO // "type": "string" // }, // "updateMask": { - // "description": "The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If a \"*\" is specified, all fields are updated, including fields that are unspecified/default in the request.", + // "description": "The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk \"*\" is specified, all fields are updated, including fields that are unspecified/default in the request.", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -12055,9 +12142,8 @@ type ProjectsLocationsApisVersionsSpecsRollbackCall struct { header_ http.Header } -// Rollback: RollbackApiSpec sets the current revision to a specified -// prior revision. Note that this creates a new revision with a new -// revision ID. +// Rollback: Sets the current revision to a specified prior revision. +// Note that this creates a new revision with a new revision ID. // // - name: The spec being rolled back. func (r *ProjectsLocationsApisVersionsSpecsService) Rollback(name string, rollbackapispecrequest *RollbackApiSpecRequest) *ProjectsLocationsApisVersionsSpecsRollbackCall { @@ -12158,7 +12244,7 @@ func (c *ProjectsLocationsApisVersionsSpecsRollbackCall) Do(opts ...googleapi.Ca } return ret, nil // { - // "description": "RollbackApiSpec sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.", + // "description": "Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}:rollback", // "httpMethod": "POST", // "id": "apigeeregistry.projects.locations.apis.versions.specs.rollback", @@ -12346,8 +12432,7 @@ type ProjectsLocationsApisVersionsSpecsTagRevisionCall struct { header_ http.Header } -// TagRevision: TagApiSpecRevision adds a tag to a specified revision of -// a spec. +// TagRevision: Adds a tag to a specified revision of a spec. // // - name: The name of the spec to be tagged, including the revision ID. func (r *ProjectsLocationsApisVersionsSpecsService) TagRevision(name string, tagapispecrevisionrequest *TagApiSpecRevisionRequest) *ProjectsLocationsApisVersionsSpecsTagRevisionCall { @@ -12448,7 +12533,7 @@ func (c *ProjectsLocationsApisVersionsSpecsTagRevisionCall) Do(opts ...googleapi } return ret, nil // { - // "description": "TagApiSpecRevision adds a tag to a specified revision of a spec.", + // "description": "Adds a tag to a specified revision of a spec.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}:tagRevision", // "httpMethod": "POST", // "id": "apigeeregistry.projects.locations.apis.versions.specs.tagRevision", @@ -12639,10 +12724,10 @@ type ProjectsLocationsApisVersionsSpecsArtifactsCreateCall struct { header_ http.Header } -// Create: CreateArtifact creates a specified artifact. +// Create: Creates a specified artifact. // // - parent: The parent, which owns this collection of artifacts. -// Format: {parent}. +// Format: `{parent}`. func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) Create(parent string, artifact *Artifact) *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall { c := &ProjectsLocationsApisVersionsSpecsArtifactsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -12751,7 +12836,7 @@ func (c *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall) Do(opts ...googl } return ret, nil // { - // "description": "CreateArtifact creates a specified artifact.", + // "description": "Creates a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}/artifacts", // "httpMethod": "POST", // "id": "apigeeregistry.projects.locations.apis.versions.specs.artifacts.create", @@ -12765,7 +12850,7 @@ func (c *ProjectsLocationsApisVersionsSpecsArtifactsCreateCall) Do(opts ...googl // "type": "string" // }, // "parent": { - // "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + // "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+$", // "required": true, @@ -12796,10 +12881,10 @@ type ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall struct { header_ http.Header } -// Delete: DeleteArtifact removes a specified artifact. +// Delete: Removes a specified artifact. // // - name: The name of the artifact to delete. Format: -// {parent}/artifacts/*. +// `{parent}/artifacts/*`. func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) Delete(name string) *ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall { c := &ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -12892,7 +12977,7 @@ func (c *ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall) Do(opts ...googl } return ret, nil // { - // "description": "DeleteArtifact removes a specified artifact.", + // "description": "Removes a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}/artifacts/{artifactsId}", // "httpMethod": "DELETE", // "id": "apigeeregistry.projects.locations.apis.versions.specs.artifacts.delete", @@ -12901,7 +12986,7 @@ func (c *ProjectsLocationsApisVersionsSpecsArtifactsDeleteCall) Do(opts ...googl // ], // "parameters": { // "name": { - // "description": "Required. The name of the artifact to delete. Format: {parent}/artifacts/*", + // "description": "Required. The name of the artifact to delete. Format: `{parent}/artifacts/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+/artifacts/[^/]+$", // "required": true, @@ -12930,10 +13015,10 @@ type ProjectsLocationsApisVersionsSpecsArtifactsGetCall struct { header_ http.Header } -// Get: GetArtifact returns a specified artifact. +// Get: Returns a specified artifact. // // - name: The name of the artifact to retrieve. Format: -// {parent}/artifacts/*. +// `{parent}/artifacts/*`. func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) Get(name string) *ProjectsLocationsApisVersionsSpecsArtifactsGetCall { c := &ProjectsLocationsApisVersionsSpecsArtifactsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -13039,7 +13124,7 @@ func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetCall) Do(opts ...googleap } return ret, nil // { - // "description": "GetArtifact returns a specified artifact.", + // "description": "Returns a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}/artifacts/{artifactsId}", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.versions.specs.artifacts.get", @@ -13048,7 +13133,7 @@ func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetCall) Do(opts ...googleap // ], // "parameters": { // "name": { - // "description": "Required. The name of the artifact to retrieve. Format: {parent}/artifacts/*", + // "description": "Required. The name of the artifact to retrieve. Format: `{parent}/artifacts/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+/artifacts/[^/]+$", // "required": true, @@ -13077,13 +13162,13 @@ type ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall struct { header_ http.Header } -// GetContents: GetArtifactContents returns the contents of a specified -// artifact. If artifacts are stored with GZip compression, the default -// behavior is to return the artifact uncompressed (the mime_type -// response field indicates the exact format returned). +// GetContents: Returns the contents of a specified artifact. If +// artifacts are stored with GZip compression, the default behavior is +// to return the artifact uncompressed (the mime_type response field +// indicates the exact format returned). // // - name: The name of the artifact whose contents should be retrieved. -// Format: {parent}/artifacts/*. +// Format: `{parent}/artifacts/*`. func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) GetContents(name string) *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall { c := &ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -13189,7 +13274,7 @@ func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall) Do(opts ... } return ret, nil // { - // "description": "GetArtifactContents returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", + // "description": "Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}/artifacts/{artifactsId}:getContents", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.versions.specs.artifacts.getContents", @@ -13198,7 +13283,7 @@ func (c *ProjectsLocationsApisVersionsSpecsArtifactsGetContentsCall) Do(opts ... // ], // "parameters": { // "name": { - // "description": "Required. The name of the artifact whose contents should be retrieved. Format: {parent}/artifacts/*", + // "description": "Required. The name of the artifact whose contents should be retrieved. Format: `{parent}/artifacts/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+/artifacts/[^/]+$", // "required": true, @@ -13402,10 +13487,10 @@ type ProjectsLocationsApisVersionsSpecsArtifactsListCall struct { header_ http.Header } -// List: ListArtifacts returns matching artifacts. +// List: Returns matching artifacts. // // - parent: The parent, which owns this collection of artifacts. -// Format: {parent}. +// Format: `{parent}`. func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) List(parent string) *ProjectsLocationsApisVersionsSpecsArtifactsListCall { c := &ProjectsLocationsApisVersionsSpecsArtifactsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -13420,6 +13505,14 @@ func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) Filter(filter stri return c } +// OrderBy sets the optional parameter "orderBy": A comma-separated list +// of fields, e.g. "foo,bar" Fields can be sorted in descending order +// using the "desc" identifier, e.g. "foo desc,bar" +func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) OrderBy(orderBy string) *ProjectsLocationsApisVersionsSpecsArtifactsListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number // of artifacts to return. The service may return fewer than this value. // If unspecified, at most 50 values will be returned. The maximum is @@ -13538,7 +13631,7 @@ func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) Do(opts ...googlea } return ret, nil // { - // "description": "ListArtifacts returns matching artifacts.", + // "description": "Returns matching artifacts.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}/artifacts", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.apis.versions.specs.artifacts.list", @@ -13551,6 +13644,11 @@ func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) Do(opts ...googlea // "location": "query", // "type": "string" // }, + // "orderBy": { + // "description": "A comma-separated list of fields, e.g. \"foo,bar\" Fields can be sorted in descending order using the \"desc\" identifier, e.g. \"foo desc,bar\"", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "The maximum number of artifacts to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.", // "format": "int32", @@ -13563,7 +13661,7 @@ func (c *ProjectsLocationsApisVersionsSpecsArtifactsListCall) Do(opts ...googlea // "type": "string" // }, // "parent": { - // "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + // "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/versions/[^/]+/specs/[^/]+$", // "required": true, @@ -13613,8 +13711,7 @@ type ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall struct { header_ http.Header } -// ReplaceArtifact: ReplaceArtifact can be used to replace a specified -// artifact. +// ReplaceArtifact: Used to replace a specified artifact. // // - name: Resource name. func (r *ProjectsLocationsApisVersionsSpecsArtifactsService) ReplaceArtifact(name string, artifact *Artifact) *ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall { @@ -13715,7 +13812,7 @@ func (c *ProjectsLocationsApisVersionsSpecsArtifactsReplaceArtifactCall) Do(opts } return ret, nil // { - // "description": "ReplaceArtifact can be used to replace a specified artifact.", + // "description": "Used to replace a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/versions/{versionsId}/specs/{specsId}/artifacts/{artifactsId}", // "httpMethod": "PUT", // "id": "apigeeregistry.projects.locations.apis.versions.specs.artifacts.replaceArtifact", @@ -14053,10 +14150,10 @@ type ProjectsLocationsArtifactsCreateCall struct { header_ http.Header } -// Create: CreateArtifact creates a specified artifact. +// Create: Creates a specified artifact. // // - parent: The parent, which owns this collection of artifacts. -// Format: {parent}. +// Format: `{parent}`. func (r *ProjectsLocationsArtifactsService) Create(parent string, artifact *Artifact) *ProjectsLocationsArtifactsCreateCall { c := &ProjectsLocationsArtifactsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -14165,7 +14262,7 @@ func (c *ProjectsLocationsArtifactsCreateCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "CreateArtifact creates a specified artifact.", + // "description": "Creates a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/artifacts", // "httpMethod": "POST", // "id": "apigeeregistry.projects.locations.artifacts.create", @@ -14179,7 +14276,7 @@ func (c *ProjectsLocationsArtifactsCreateCall) Do(opts ...googleapi.CallOption) // "type": "string" // }, // "parent": { - // "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + // "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, @@ -14210,10 +14307,10 @@ type ProjectsLocationsArtifactsDeleteCall struct { header_ http.Header } -// Delete: DeleteArtifact removes a specified artifact. +// Delete: Removes a specified artifact. // // - name: The name of the artifact to delete. Format: -// {parent}/artifacts/*. +// `{parent}/artifacts/*`. func (r *ProjectsLocationsArtifactsService) Delete(name string) *ProjectsLocationsArtifactsDeleteCall { c := &ProjectsLocationsArtifactsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -14306,7 +14403,7 @@ func (c *ProjectsLocationsArtifactsDeleteCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "DeleteArtifact removes a specified artifact.", + // "description": "Removes a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/artifacts/{artifactsId}", // "httpMethod": "DELETE", // "id": "apigeeregistry.projects.locations.artifacts.delete", @@ -14315,7 +14412,7 @@ func (c *ProjectsLocationsArtifactsDeleteCall) Do(opts ...googleapi.CallOption) // ], // "parameters": { // "name": { - // "description": "Required. The name of the artifact to delete. Format: {parent}/artifacts/*", + // "description": "Required. The name of the artifact to delete. Format: `{parent}/artifacts/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/artifacts/[^/]+$", // "required": true, @@ -14344,10 +14441,10 @@ type ProjectsLocationsArtifactsGetCall struct { header_ http.Header } -// Get: GetArtifact returns a specified artifact. +// Get: Returns a specified artifact. // // - name: The name of the artifact to retrieve. Format: -// {parent}/artifacts/*. +// `{parent}/artifacts/*`. func (r *ProjectsLocationsArtifactsService) Get(name string) *ProjectsLocationsArtifactsGetCall { c := &ProjectsLocationsArtifactsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -14453,7 +14550,7 @@ func (c *ProjectsLocationsArtifactsGetCall) Do(opts ...googleapi.CallOption) (*A } return ret, nil // { - // "description": "GetArtifact returns a specified artifact.", + // "description": "Returns a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/artifacts/{artifactsId}", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.artifacts.get", @@ -14462,7 +14559,7 @@ func (c *ProjectsLocationsArtifactsGetCall) Do(opts ...googleapi.CallOption) (*A // ], // "parameters": { // "name": { - // "description": "Required. The name of the artifact to retrieve. Format: {parent}/artifacts/*", + // "description": "Required. The name of the artifact to retrieve. Format: `{parent}/artifacts/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/artifacts/[^/]+$", // "required": true, @@ -14491,13 +14588,13 @@ type ProjectsLocationsArtifactsGetContentsCall struct { header_ http.Header } -// GetContents: GetArtifactContents returns the contents of a specified -// artifact. If artifacts are stored with GZip compression, the default -// behavior is to return the artifact uncompressed (the mime_type -// response field indicates the exact format returned). +// GetContents: Returns the contents of a specified artifact. If +// artifacts are stored with GZip compression, the default behavior is +// to return the artifact uncompressed (the mime_type response field +// indicates the exact format returned). // // - name: The name of the artifact whose contents should be retrieved. -// Format: {parent}/artifacts/*. +// Format: `{parent}/artifacts/*`. func (r *ProjectsLocationsArtifactsService) GetContents(name string) *ProjectsLocationsArtifactsGetContentsCall { c := &ProjectsLocationsArtifactsGetContentsCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -14603,7 +14700,7 @@ func (c *ProjectsLocationsArtifactsGetContentsCall) Do(opts ...googleapi.CallOpt } return ret, nil // { - // "description": "GetArtifactContents returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", + // "description": "Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/artifacts/{artifactsId}:getContents", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.artifacts.getContents", @@ -14612,7 +14709,7 @@ func (c *ProjectsLocationsArtifactsGetContentsCall) Do(opts ...googleapi.CallOpt // ], // "parameters": { // "name": { - // "description": "Required. The name of the artifact whose contents should be retrieved. Format: {parent}/artifacts/*", + // "description": "Required. The name of the artifact whose contents should be retrieved. Format: `{parent}/artifacts/*`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/artifacts/[^/]+$", // "required": true, @@ -14816,10 +14913,10 @@ type ProjectsLocationsArtifactsListCall struct { header_ http.Header } -// List: ListArtifacts returns matching artifacts. +// List: Returns matching artifacts. // // - parent: The parent, which owns this collection of artifacts. -// Format: {parent}. +// Format: `{parent}`. func (r *ProjectsLocationsArtifactsService) List(parent string) *ProjectsLocationsArtifactsListCall { c := &ProjectsLocationsArtifactsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -14834,6 +14931,14 @@ func (c *ProjectsLocationsArtifactsListCall) Filter(filter string) *ProjectsLoca return c } +// OrderBy sets the optional parameter "orderBy": A comma-separated list +// of fields, e.g. "foo,bar" Fields can be sorted in descending order +// using the "desc" identifier, e.g. "foo desc,bar" +func (c *ProjectsLocationsArtifactsListCall) OrderBy(orderBy string) *ProjectsLocationsArtifactsListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number // of artifacts to return. The service may return fewer than this value. // If unspecified, at most 50 values will be returned. The maximum is @@ -14952,7 +15057,7 @@ func (c *ProjectsLocationsArtifactsListCall) Do(opts ...googleapi.CallOption) (* } return ret, nil // { - // "description": "ListArtifacts returns matching artifacts.", + // "description": "Returns matching artifacts.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/artifacts", // "httpMethod": "GET", // "id": "apigeeregistry.projects.locations.artifacts.list", @@ -14965,6 +15070,11 @@ func (c *ProjectsLocationsArtifactsListCall) Do(opts ...googleapi.CallOption) (* // "location": "query", // "type": "string" // }, + // "orderBy": { + // "description": "A comma-separated list of fields, e.g. \"foo,bar\" Fields can be sorted in descending order using the \"desc\" identifier, e.g. \"foo desc,bar\"", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "The maximum number of artifacts to return. The service may return fewer than this value. If unspecified, at most 50 values will be returned. The maximum is 1000; values above 1000 will be coerced to 1000.", // "format": "int32", @@ -14977,7 +15087,7 @@ func (c *ProjectsLocationsArtifactsListCall) Do(opts ...googleapi.CallOption) (* // "type": "string" // }, // "parent": { - // "description": "Required. The parent, which owns this collection of artifacts. Format: {parent}", + // "description": "Required. The parent, which owns this collection of artifacts. Format: `{parent}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, @@ -15027,8 +15137,7 @@ type ProjectsLocationsArtifactsReplaceArtifactCall struct { header_ http.Header } -// ReplaceArtifact: ReplaceArtifact can be used to replace a specified -// artifact. +// ReplaceArtifact: Used to replace a specified artifact. // // - name: Resource name. func (r *ProjectsLocationsArtifactsService) ReplaceArtifact(name string, artifact *Artifact) *ProjectsLocationsArtifactsReplaceArtifactCall { @@ -15129,7 +15238,7 @@ func (c *ProjectsLocationsArtifactsReplaceArtifactCall) Do(opts ...googleapi.Cal } return ret, nil // { - // "description": "ReplaceArtifact can be used to replace a specified artifact.", + // "description": "Used to replace a specified artifact.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/artifacts/{artifactsId}", // "httpMethod": "PUT", // "id": "apigeeregistry.projects.locations.artifacts.replaceArtifact", diff --git a/appengine/v1/appengine-api.json b/appengine/v1/appengine-api.json index 5f761cee024..5977d71645c 100644 --- a/appengine/v1/appengine-api.json +++ b/appengine/v1/appengine-api.json @@ -1595,11 +1595,11 @@ } } }, - "revision": "20220813", + "revision": "20220826", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "ApiConfigHandler": { - "description": "Cloud Endpoints (https://cloud.google.com/endpoints/) configuration for API handlers.", + "description": "Google Cloud Endpoints (https://cloud.google.com/endpoints) configuration for API handlers.", "id": "ApiConfigHandler", "properties": { "authFailAction": { @@ -2133,7 +2133,7 @@ "type": "object" }, "EndpointsApiService": { - "description": "Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.The fields here refer to the name and configuration ID of a \"service\" resource in the Service Management API (https://cloud.google.com/service-management/overview).", + "description": "Google Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.The fields here refer to the name and configuration ID of a \"service\" resource in the Service Management API (https://cloud.google.com/service-management/overview).", "id": "EndpointsApiService", "properties": { "configId": { @@ -3494,7 +3494,7 @@ "properties": { "apiConfig": { "$ref": "ApiConfigHandler", - "description": "Serving configuration for Cloud Endpoints (https://cloud.google.com/endpoints/).Only returned in GET requests if view=FULL is set." + "description": "Serving configuration for Google Cloud Endpoints (https://cloud.google.com/endpoints).Only returned in GET requests if view=FULL is set." }, "appEngineApis": { "description": "Allows App Engine second generation runtimes to access the legacy bundled services.", diff --git a/appengine/v1/appengine-gen.go b/appengine/v1/appengine-gen.go index 1947b6e0579..942ea4b08f5 100644 --- a/appengine/v1/appengine-gen.go +++ b/appengine/v1/appengine-gen.go @@ -279,8 +279,8 @@ type AppsServicesVersionsInstancesService struct { s *APIService } -// ApiConfigHandler: Cloud Endpoints -// (https://cloud.google.com/endpoints/) configuration for API handlers. +// ApiConfigHandler: Google Cloud Endpoints +// (https://cloud.google.com/endpoints) configuration for API handlers. type ApiConfigHandler struct { // AuthFailAction: Action to take when users access resources that // require authentication. Defaults to redirect. @@ -1226,7 +1226,7 @@ type Empty struct { googleapi.ServerResponse `json:"-"` } -// EndpointsApiService: Cloud Endpoints +// EndpointsApiService: Google Cloud Endpoints // (https://cloud.google.com/endpoints) configuration. The Endpoints API // Service provides tooling for serving Open API and gRPC endpoints via // an NGINX proxy. Only valid for App Engine Flexible environment @@ -3471,9 +3471,9 @@ func (s *UrlMap) MarshalJSON() ([]byte, error) { // Version: A Version resource is a specific set of source code and // configuration files that are deployed into a service. type Version struct { - // ApiConfig: Serving configuration for Cloud Endpoints - // (https://cloud.google.com/endpoints/).Only returned in GET requests - // if view=FULL is set. + // ApiConfig: Serving configuration for Google Cloud Endpoints + // (https://cloud.google.com/endpoints).Only returned in GET requests if + // view=FULL is set. ApiConfig *ApiConfigHandler `json:"apiConfig,omitempty"` // AppEngineApis: Allows App Engine second generation runtimes to access diff --git a/appengine/v1beta/appengine-api.json b/appengine/v1beta/appengine-api.json index 555f02a9dad..76a53d63485 100644 --- a/appengine/v1beta/appengine-api.json +++ b/appengine/v1beta/appengine-api.json @@ -1595,11 +1595,11 @@ } } }, - "revision": "20220509", + "revision": "20220826", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "ApiConfigHandler": { - "description": "Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/) configuration for API handlers.", + "description": "Google Cloud Endpoints (https://cloud.google.com/endpoints) configuration for API handlers.", "id": "ApiConfigHandler", "properties": { "authFailAction": { @@ -2184,7 +2184,7 @@ "type": "object" }, "EndpointsApiService": { - "description": "Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.The fields here refer to the name and configuration ID of a \"service\" resource in the Service Management API (https://cloud.google.com/service-management/overview).", + "description": "Google Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.The fields here refer to the name and configuration ID of a \"service\" resource in the Service Management API (https://cloud.google.com/service-management/overview).", "id": "EndpointsApiService", "properties": { "configId": { @@ -3541,7 +3541,7 @@ "properties": { "apiConfig": { "$ref": "ApiConfigHandler", - "description": "Serving configuration for Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if view=FULL is set." + "description": "Serving configuration for Google Cloud Endpoints (https://cloud.google.com/endpoints).Only returned in GET requests if view=FULL is set." }, "appEngineApis": { "description": "Allows App Engine second generation runtimes to access the legacy bundled services.", diff --git a/appengine/v1beta/appengine-gen.go b/appengine/v1beta/appengine-gen.go index a164894a65a..21bf911daab 100644 --- a/appengine/v1beta/appengine-gen.go +++ b/appengine/v1beta/appengine-gen.go @@ -280,8 +280,7 @@ type AppsServicesVersionsInstancesService struct { } // ApiConfigHandler: Google Cloud Endpoints -// (https://cloud.google.com/appengine/docs/python/endpoints/) -// configuration for API handlers. +// (https://cloud.google.com/endpoints) configuration for API handlers. type ApiConfigHandler struct { // AuthFailAction: Action to take when users access resources that // require authentication. Defaults to redirect. @@ -1324,7 +1323,7 @@ type Empty struct { googleapi.ServerResponse `json:"-"` } -// EndpointsApiService: Cloud Endpoints +// EndpointsApiService: Google Cloud Endpoints // (https://cloud.google.com/endpoints) configuration. The Endpoints API // Service provides tooling for serving Open API and gRPC endpoints via // an NGINX proxy. Only valid for App Engine Flexible environment @@ -3568,8 +3567,8 @@ func (s *UrlMap) MarshalJSON() ([]byte, error) { // configuration files that are deployed into a service. type Version struct { // ApiConfig: Serving configuration for Google Cloud Endpoints - // (https://cloud.google.com/appengine/docs/python/endpoints/).Only - // returned in GET requests if view=FULL is set. + // (https://cloud.google.com/endpoints).Only returned in GET requests if + // view=FULL is set. ApiConfig *ApiConfigHandler `json:"apiConfig,omitempty"` // AppEngineApis: Allows App Engine second generation runtimes to access diff --git a/artifactregistry/v1/artifactregistry-api.json b/artifactregistry/v1/artifactregistry-api.json index 7d694452892..98bcd451160 100644 --- a/artifactregistry/v1/artifactregistry-api.json +++ b/artifactregistry/v1/artifactregistry-api.json @@ -1413,7 +1413,7 @@ } } }, - "revision": "20220809", + "revision": "20220829", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { @@ -1487,7 +1487,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/artifactregistry/v1/artifactregistry-gen.go b/artifactregistry/v1/artifactregistry-gen.go index 0db1c6c0069..4a0ae59e09a 100644 --- a/artifactregistry/v1/artifactregistry-gen.go +++ b/artifactregistry/v1/artifactregistry-gen.go @@ -411,11 +411,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/artifactregistry/v1beta1/artifactregistry-api.json b/artifactregistry/v1beta1/artifactregistry-api.json index cd4f1e9b0ae..0220d712e29 100644 --- a/artifactregistry/v1beta1/artifactregistry-api.json +++ b/artifactregistry/v1beta1/artifactregistry-api.json @@ -929,7 +929,7 @@ } } }, - "revision": "20220803", + "revision": "20220829", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "Binding": { @@ -941,7 +941,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/artifactregistry/v1beta1/artifactregistry-gen.go b/artifactregistry/v1beta1/artifactregistry-gen.go index bb73c108942..f6bb3e47c8d 100644 --- a/artifactregistry/v1beta1/artifactregistry-gen.go +++ b/artifactregistry/v1beta1/artifactregistry-gen.go @@ -256,11 +256,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/artifactregistry/v1beta2/artifactregistry-api.json b/artifactregistry/v1beta2/artifactregistry-api.json index cff0b746919..95203ef95f5 100644 --- a/artifactregistry/v1beta2/artifactregistry-api.json +++ b/artifactregistry/v1beta2/artifactregistry-api.json @@ -1135,7 +1135,7 @@ } } }, - "revision": "20220803", + "revision": "20220829", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { @@ -1195,7 +1195,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/artifactregistry/v1beta2/artifactregistry-gen.go b/artifactregistry/v1beta2/artifactregistry-gen.go index 2e836e6c0fb..516dc5126e7 100644 --- a/artifactregistry/v1beta2/artifactregistry-gen.go +++ b/artifactregistry/v1beta2/artifactregistry-gen.go @@ -333,11 +333,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/baremetalsolution/v2/baremetalsolution-api.json b/baremetalsolution/v2/baremetalsolution-api.json index 60c6780aaf7..b6f1bb323bd 100644 --- a/baremetalsolution/v2/baremetalsolution-api.json +++ b/baremetalsolution/v2/baremetalsolution-api.json @@ -1137,7 +1137,7 @@ } } }, - "revision": "20220822", + "revision": "20220829", "rootUrl": "https://baremetalsolution.googleapis.com/", "schemas": { "AllowedClient": { @@ -2692,6 +2692,10 @@ "description": "VLAN attachment details.", "id": "VlanAttachment", "properties": { + "id": { + "description": "Immutable. The identifier of the attachment within vrf.", + "type": "string" + }, "pairingKey": { "description": "Input only. Pairing key.", "type": "string" @@ -2761,11 +2765,29 @@ "readOnly": true, "type": "string" }, + "notes": { + "description": "Input only. User-specified notes for new Volume. Used to provision Volumes that require manual intervention.", + "type": "string" + }, "originallyRequestedSizeGib": { "description": "Originally requested size, in GiB.", "format": "int64", "type": "string" }, + "performanceTier": { + "description": "Immutable. Performance tier of the Volume. Default is SHARED.", + "enum": [ + "VOLUME_PERFORMANCE_TIER_UNSPECIFIED", + "VOLUME_PERFORMANCE_TIER_SHARED", + "VOLUME_PERFORMANCE_TIER_DEDICATED" + ], + "enumDescriptions": [ + "Value is not specified.", + "Regular volumes, shared aggregates.", + "Dedicated (assigned) aggregates." + ], + "type": "string" + }, "pod": { "description": "Immutable. Pod name.", "type": "string" @@ -2894,6 +2916,20 @@ }, "type": "array" }, + "performanceTier": { + "description": "Performance tier of the Volume. Default is SHARED.", + "enum": [ + "VOLUME_PERFORMANCE_TIER_UNSPECIFIED", + "VOLUME_PERFORMANCE_TIER_SHARED", + "VOLUME_PERFORMANCE_TIER_DEDICATED" + ], + "enumDescriptions": [ + "Value is not specified.", + "Regular volumes, shared aggregates.", + "Dedicated (assigned) aggregates." + ], + "type": "string" + }, "protocol": { "description": "Volume protocol.", "enum": [ diff --git a/baremetalsolution/v2/baremetalsolution-gen.go b/baremetalsolution/v2/baremetalsolution-gen.go index e318fdb5b29..bca7aaaf12a 100644 --- a/baremetalsolution/v2/baremetalsolution-gen.go +++ b/baremetalsolution/v2/baremetalsolution-gen.go @@ -2338,6 +2338,9 @@ func (s *VRF) MarshalJSON() ([]byte, error) { // VlanAttachment: VLAN attachment details. type VlanAttachment struct { + // Id: Immutable. The identifier of the attachment within vrf. + Id string `json:"id,omitempty"` + // PairingKey: Input only. Pairing key. PairingKey string `json:"pairingKey,omitempty"` @@ -2354,7 +2357,7 @@ type VlanAttachment struct { // RouterIp: The router IP of the attachment. RouterIp string `json:"routerIp,omitempty"` - // ForceSendFields is a list of field names (e.g. "PairingKey") to + // ForceSendFields is a list of field names (e.g. "Id") 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 @@ -2362,8 +2365,8 @@ type VlanAttachment struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "PairingKey") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Id") 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. @@ -2414,9 +2417,24 @@ type Volume struct { // `projects/{project}/locations/{location}/volumes/{volume}` Name string `json:"name,omitempty"` + // Notes: Input only. User-specified notes for new Volume. Used to + // provision Volumes that require manual intervention. + Notes string `json:"notes,omitempty"` + // OriginallyRequestedSizeGib: Originally requested size, in GiB. OriginallyRequestedSizeGib int64 `json:"originallyRequestedSizeGib,omitempty,string"` + // PerformanceTier: Immutable. Performance tier of the Volume. Default + // is SHARED. + // + // Possible values: + // "VOLUME_PERFORMANCE_TIER_UNSPECIFIED" - Value is not specified. + // "VOLUME_PERFORMANCE_TIER_SHARED" - Regular volumes, shared + // aggregates. + // "VOLUME_PERFORMANCE_TIER_DEDICATED" - Dedicated (assigned) + // aggregates. + PerformanceTier string `json:"performanceTier,omitempty"` + // Pod: Immutable. Pod name. Pod string `json:"pod,omitempty"` @@ -2530,6 +2548,16 @@ type VolumeConfig struct { // NfsExports: NFS exports. Set only when protocol is PROTOCOL_NFS. NfsExports []*NfsExport `json:"nfsExports,omitempty"` + // PerformanceTier: Performance tier of the Volume. Default is SHARED. + // + // Possible values: + // "VOLUME_PERFORMANCE_TIER_UNSPECIFIED" - Value is not specified. + // "VOLUME_PERFORMANCE_TIER_SHARED" - Regular volumes, shared + // aggregates. + // "VOLUME_PERFORMANCE_TIER_DEDICATED" - Dedicated (assigned) + // aggregates. + PerformanceTier string `json:"performanceTier,omitempty"` + // Protocol: Volume protocol. // // Possible values: diff --git a/bigquery/v2/bigquery-api.json b/bigquery/v2/bigquery-api.json index ef5bfdaef9c..06ec992e988 100644 --- a/bigquery/v2/bigquery-api.json +++ b/bigquery/v2/bigquery-api.json @@ -1710,7 +1710,7 @@ } } }, - "revision": "20220806", + "revision": "20220827", "rootUrl": "https://bigquery.googleapis.com/", "schemas": { "AggregateClassificationMetrics": { @@ -2391,7 +2391,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, @@ -4704,6 +4704,10 @@ "$ref": "SearchStatistics", "description": "[Output-only] Search query specific statistics." }, + "sparkStatistics": { + "$ref": "SparkStatistics", + "description": "[Output-only] Statistics of a Spark procedure job." + }, "statementType": { "description": "The type of query statement, if valid. Possible values (new values might be added in the future): \"SELECT\": SELECT query. \"INSERT\": INSERT query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language. \"UPDATE\": UPDATE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language. \"DELETE\": DELETE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language. \"MERGE\": MERGE query; see https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language. \"ALTER_TABLE\": ALTER TABLE query. \"ALTER_VIEW\": ALTER VIEW query. \"ASSERT\": ASSERT condition AS 'description'. \"CREATE_FUNCTION\": CREATE FUNCTION query. \"CREATE_MODEL\": CREATE [OR REPLACE] MODEL ... AS SELECT ... . \"CREATE_PROCEDURE\": CREATE PROCEDURE query. \"CREATE_TABLE\": CREATE [OR REPLACE] TABLE without AS SELECT. \"CREATE_TABLE_AS_SELECT\": CREATE [OR REPLACE] TABLE ... AS SELECT ... . \"CREATE_VIEW\": CREATE [OR REPLACE] VIEW ... AS SELECT ... . \"DROP_FUNCTION\" : DROP FUNCTION query. \"DROP_PROCEDURE\": DROP PROCEDURE query. \"DROP_TABLE\": DROP TABLE query. \"DROP_VIEW\": DROP VIEW query.", "type": "string" @@ -6035,6 +6039,20 @@ }, "type": "object" }, + "SparkLoggingInfo": { + "id": "SparkLoggingInfo", + "properties": { + "project_id": { + "description": "[Output-only] Project ID used for logging", + "type": "string" + }, + "resource_type": { + "description": "[Output-only] Resource type used for logging", + "type": "string" + } + }, + "type": "object" + }, "SparkOptions": { "description": "Options for a user-defined Spark routine.", "id": "SparkOptions", @@ -6093,6 +6111,31 @@ }, "type": "object" }, + "SparkStatistics": { + "id": "SparkStatistics", + "properties": { + "endpoints": { + "additionalProperties": { + "type": "string" + }, + "description": "[Output-only] Endpoints generated for the Spark job.", + "type": "object" + }, + "logging_info": { + "$ref": "SparkLoggingInfo", + "description": "[Output-only] Logging info is used to generate a link to Cloud Logging." + }, + "spark_job_id": { + "description": "[Output-only] Spark job id if a Spark job is created successfully.", + "type": "string" + }, + "spark_job_location": { + "description": "[Output-only] Location where the Spark job is executed.", + "type": "string" + } + }, + "type": "object" + }, "StandardSqlDataType": { "description": "The data type of a variable such as a function argument. Examples include: * INT64: `{\"typeKind\": \"INT64\"}` * ARRAY: { \"typeKind\": \"ARRAY\", \"arrayElementType\": {\"typeKind\": \"STRING\"} } * STRUCT\u003e: { \"typeKind\": \"STRUCT\", \"structType\": { \"fields\": [ { \"name\": \"x\", \"type\": {\"typeKind: \"STRING\"} }, { \"name\": \"y\", \"type\": { \"typeKind\": \"ARRAY\", \"arrayElementType\": {\"typekind\": \"DATE\"} } } ] } }", "id": "StandardSqlDataType", diff --git a/bigquery/v2/bigquery-gen.go b/bigquery/v2/bigquery-gen.go index 8680402368a..b0f181d4305 100644 --- a/bigquery/v2/bigquery-gen.go +++ b/bigquery/v2/bigquery-gen.go @@ -1336,11 +1336,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -5167,6 +5168,9 @@ type JobStatistics2 struct { // SearchStatistics: [Output-only] Search query specific statistics. SearchStatistics *SearchStatistics `json:"searchStatistics,omitempty"` + // SparkStatistics: [Output-only] Statistics of a Spark procedure job. + SparkStatistics *SparkStatistics `json:"sparkStatistics,omitempty"` + // StatementType: The type of query statement, if valid. Possible values // (new values might be added in the future): "SELECT": SELECT query. // "INSERT": INSERT query; see @@ -7445,6 +7449,36 @@ func (s *SnapshotDefinition) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +type SparkLoggingInfo struct { + // ProjectId: [Output-only] Project ID used for logging + ProjectId string `json:"project_id,omitempty"` + + // ResourceType: [Output-only] Resource type used for logging + ResourceType string `json:"resource_type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ProjectId") 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. "ProjectId") 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 *SparkLoggingInfo) MarshalJSON() ([]byte, error) { + type NoMethod SparkLoggingInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // SparkOptions: Options for a user-defined Spark routine. type SparkOptions struct { // ArchiveUris: Archive files to be extracted into the working directory @@ -7514,6 +7548,45 @@ func (s *SparkOptions) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +type SparkStatistics struct { + // Endpoints: [Output-only] Endpoints generated for the Spark job. + Endpoints map[string]string `json:"endpoints,omitempty"` + + // LoggingInfo: [Output-only] Logging info is used to generate a link to + // Cloud Logging. + LoggingInfo *SparkLoggingInfo `json:"logging_info,omitempty"` + + // SparkJobId: [Output-only] Spark job id if a Spark job is created + // successfully. + SparkJobId string `json:"spark_job_id,omitempty"` + + // SparkJobLocation: [Output-only] Location where the Spark job is + // executed. + SparkJobLocation string `json:"spark_job_location,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Endpoints") 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. "Endpoints") 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 *SparkStatistics) MarshalJSON() ([]byte, error) { + type NoMethod SparkStatistics + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // StandardSqlDataType: The data type of a variable such as a function // argument. Examples include: * INT64: `{"typeKind": "INT64"}` * ARRAY: // { "typeKind": "ARRAY", "arrayElementType": {"typeKind": "STRING"} } * diff --git a/bigqueryconnection/v1beta1/bigqueryconnection-api.json b/bigqueryconnection/v1beta1/bigqueryconnection-api.json index 326f1de8e43..473a6112b3e 100644 --- a/bigqueryconnection/v1beta1/bigqueryconnection-api.json +++ b/bigqueryconnection/v1beta1/bigqueryconnection-api.json @@ -395,7 +395,7 @@ } } }, - "revision": "20220807", + "revision": "20220903", "rootUrl": "https://bigqueryconnection.googleapis.com/", "schemas": { "AuditConfig": { @@ -455,7 +455,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/bigqueryconnection/v1beta1/bigqueryconnection-gen.go b/bigqueryconnection/v1beta1/bigqueryconnection-gen.go index 5cc32d57e01..696d81849bd 100644 --- a/bigqueryconnection/v1beta1/bigqueryconnection-gen.go +++ b/bigqueryconnection/v1beta1/bigqueryconnection-gen.go @@ -293,11 +293,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/bigtableadmin/v2/bigtableadmin-api.json b/bigtableadmin/v2/bigtableadmin-api.json index 0377fec8ab2..c5276d0760f 100644 --- a/bigtableadmin/v2/bigtableadmin-api.json +++ b/bigtableadmin/v2/bigtableadmin-api.json @@ -1892,7 +1892,7 @@ } } }, - "revision": "20220806", + "revision": "20220819", "rootUrl": "https://bigtableadmin.googleapis.com/", "schemas": { "AppProfile": { @@ -2622,7 +2622,7 @@ "additionalProperties": { "type": "string" }, - "description": "Required. Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. They can be used to filter resources and aggregate metrics. * Label keys must be between 1 and 63 characters long and must conform to the regular expression: `\\p{Ll}\\p{Lo}{0,62}`. * Label values must be between 0 and 63 characters long and must conform to the regular expression: `[\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}`. * No more than 64 labels can be associated with a given resource. * Keys and values must both be under 128 bytes.", + "description": "Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. They can be used to filter resources and aggregate metrics. * Label keys must be between 1 and 63 characters long and must conform to the regular expression: `\\p{Ll}\\p{Lo}{0,62}`. * Label values must be between 0 and 63 characters long and must conform to the regular expression: `[\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}`. * No more than 64 labels can be associated with a given resource. * Keys and values must both be under 128 bytes.", "type": "object" }, "name": { @@ -2650,7 +2650,7 @@ "type": "string" }, "type": { - "description": "Required. The type of the instance. Defaults to `PRODUCTION`.", + "description": "The type of the instance. Defaults to `PRODUCTION`.", "enum": [ "TYPE_UNSPECIFIED", "PRODUCTION", diff --git a/bigtableadmin/v2/bigtableadmin-gen.go b/bigtableadmin/v2/bigtableadmin-gen.go index d0b32ad2faf..83c92a2cc36 100644 --- a/bigtableadmin/v2/bigtableadmin-gen.go +++ b/bigtableadmin/v2/bigtableadmin-gen.go @@ -1718,7 +1718,7 @@ type Instance struct { // globally unique to avoid confusion. DisplayName string `json:"displayName,omitempty"` - // Labels: Required. Labels are a flexible and lightweight mechanism for + // Labels: Labels are a flexible and lightweight mechanism for // organizing cloud resources into groups that reflect a customer's // organizational needs and deployment strategies. They can be used to // filter resources and aggregate metrics. * Label keys must be between @@ -1748,7 +1748,7 @@ type Instance struct { // destroyed if the creation process encounters an error. State string `json:"state,omitempty"` - // Type: Required. The type of the instance. Defaults to `PRODUCTION`. + // Type: The type of the instance. Defaults to `PRODUCTION`. // // Possible values: // "TYPE_UNSPECIFIED" - The type of the instance is unspecified. If diff --git a/binaryauthorization/v1/binaryauthorization-api.json b/binaryauthorization/v1/binaryauthorization-api.json index 6561c0cb169..c1a77d74f4e 100644 --- a/binaryauthorization/v1/binaryauthorization-api.json +++ b/binaryauthorization/v1/binaryauthorization-api.json @@ -551,7 +551,7 @@ } } }, - "revision": "20220812", + "revision": "20220902", "rootUrl": "https://binaryauthorization.googleapis.com/", "schemas": { "AdmissionRule": { @@ -696,7 +696,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/binaryauthorization/v1/binaryauthorization-gen.go b/binaryauthorization/v1/binaryauthorization-gen.go index 99e5990e69c..07d3c41e544 100644 --- a/binaryauthorization/v1/binaryauthorization-gen.go +++ b/binaryauthorization/v1/binaryauthorization-gen.go @@ -455,11 +455,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/binaryauthorization/v1beta1/binaryauthorization-api.json b/binaryauthorization/v1beta1/binaryauthorization-api.json index 7c39fc6a80d..e19a2a9134d 100644 --- a/binaryauthorization/v1beta1/binaryauthorization-api.json +++ b/binaryauthorization/v1beta1/binaryauthorization-api.json @@ -551,7 +551,7 @@ } } }, - "revision": "20220812", + "revision": "20220902", "rootUrl": "https://binaryauthorization.googleapis.com/", "schemas": { "AdmissionRule": { @@ -696,7 +696,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/binaryauthorization/v1beta1/binaryauthorization-gen.go b/binaryauthorization/v1beta1/binaryauthorization-gen.go index ca087acc3a2..480e0bdbe06 100644 --- a/binaryauthorization/v1beta1/binaryauthorization-gen.go +++ b/binaryauthorization/v1beta1/binaryauthorization-gen.go @@ -457,11 +457,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/chat/v1/chat-api.json b/chat/v1/chat-api.json index 1ccb1f8b468..d1ecaaa9105 100644 --- a/chat/v1/chat-api.json +++ b/chat/v1/chat-api.json @@ -595,7 +595,7 @@ "type": "string" }, "updateMask": { - "description": "Required. The field paths to update. Separate multiple values with commas. Currently supported field paths: - text - cards (Requires [service account authentication](/chat/api/guides/auth/service-accounts).) ", + "description": "Required. The field paths to update. Separate multiple values with commas. Currently supported field paths: - text - cards (Requires [service account authentication](/chat/api/guides/auth/service-accounts).) - cards_v2 ", "format": "google-fieldmask", "location": "query", "type": "string" @@ -642,7 +642,7 @@ } } }, - "revision": "20220805", + "revision": "20220826", "rootUrl": "https://chat.googleapis.com/", "schemas": { "ActionParameter": { @@ -1021,6 +1021,7 @@ "DRIVE", "DEMO", "DOCS", + "MEET", "SHEETS", "SLIDES", "DRAWINGS", @@ -1033,6 +1034,7 @@ "The add-on launches from Google Drive.", "Not used.", "The add-on launches from Google Docs.", + "The add-on launches from Google Meet.", "The add-on launches from Google Sheets.", "The add-on launches from Google Slides.", "The add-on launches from Google Drawings.", @@ -2645,8 +2647,7 @@ "type": "string" }, "singleUserBotDm": { - "description": "Output only. Whether the space is a DM between a Chat app and a single human.", - "readOnly": true, + "description": "Optional. Whether the space is a DM between a Chat app and a single human.", "type": "boolean" }, "spaceDetails": { diff --git a/chat/v1/chat-gen.go b/chat/v1/chat-gen.go index d0b59aa4dd0..3cc4b068ba5 100644 --- a/chat/v1/chat-gen.go +++ b/chat/v1/chat-gen.go @@ -956,6 +956,7 @@ type CommonEventObject struct { // "DRIVE" - The add-on launches from Google Drive. // "DEMO" - Not used. // "DOCS" - The add-on launches from Google Docs. + // "MEET" - The add-on launches from Google Meet. // "SHEETS" - The add-on launches from Google Sheets. // "SLIDES" - The add-on launches from Google Slides. // "DRAWINGS" - The add-on launches from Google Drawings. @@ -3400,8 +3401,8 @@ type Space struct { // Name: Resource name of the space. Format: spaces/{space} Name string `json:"name,omitempty"` - // SingleUserBotDm: Output only. Whether the space is a DM between a - // Chat app and a single human. + // SingleUserBotDm: Optional. Whether the space is a DM between a Chat + // app and a single human. SingleUserBotDm bool `json:"singleUserBotDm,omitempty"` // SpaceDetails: Details about the space including description and @@ -6319,7 +6320,8 @@ func (r *SpacesMessagesService) Update(name string, message *Message) *SpacesMes // UpdateMask sets the optional parameter "updateMask": Required. The // field paths to update. Separate multiple values with commas. // Currently supported field paths: - text - cards (Requires service -// account authentication (/chat/api/guides/auth/service-accounts).) +// account authentication (/chat/api/guides/auth/service-accounts).) - +// cards_v2 func (c *SpacesMessagesUpdateCall) UpdateMask(updateMask string) *SpacesMessagesUpdateCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -6432,7 +6434,7 @@ func (c *SpacesMessagesUpdateCall) Do(opts ...googleapi.CallOption) (*Message, e // "type": "string" // }, // "updateMask": { - // "description": "Required. The field paths to update. Separate multiple values with commas. Currently supported field paths: - text - cards (Requires [service account authentication](/chat/api/guides/auth/service-accounts).) ", + // "description": "Required. The field paths to update. Separate multiple values with commas. Currently supported field paths: - text - cards (Requires [service account authentication](/chat/api/guides/auth/service-accounts).) - cards_v2 ", // "format": "google-fieldmask", // "location": "query", // "type": "string" diff --git a/chromepolicy/v1/chromepolicy-api.json b/chromepolicy/v1/chromepolicy-api.json index d59b0d818d8..a4f8acc2907 100644 --- a/chromepolicy/v1/chromepolicy-api.json +++ b/chromepolicy/v1/chromepolicy-api.json @@ -441,7 +441,7 @@ } } }, - "revision": "20220816", + "revision": "20220904", "rootUrl": "https://chromepolicy.googleapis.com/", "schemas": { "ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle": { @@ -676,7 +676,7 @@ "type": "object" }, "GoogleChromePolicyV1PolicySchema": { - "description": "Resource representing a policy schema. Next ID: 13", + "description": "Resource representing a policy schema. Next ID: 14", "id": "GoogleChromePolicyV1PolicySchema", "properties": { "accessRestrictions": { @@ -695,6 +695,11 @@ "readOnly": true, "type": "array" }, + "categoryTitle": { + "description": "Output only. Title of the category in which a setting belongs.", + "readOnly": true, + "type": "string" + }, "definition": { "$ref": "Proto2FileDescriptorProto", "description": "Schema definition using proto descriptor." diff --git a/chromepolicy/v1/chromepolicy-gen.go b/chromepolicy/v1/chromepolicy-gen.go index bd12664319a..fd48d8e9a2a 100644 --- a/chromepolicy/v1/chromepolicy-gen.go +++ b/chromepolicy/v1/chromepolicy-gen.go @@ -714,7 +714,7 @@ func (s *GoogleChromePolicyV1ModifyOrgUnitPolicyRequest) MarshalJSON() ([]byte, } // GoogleChromePolicyV1PolicySchema: Resource representing a policy -// schema. Next ID: 13 +// schema. Next ID: 14 type GoogleChromePolicyV1PolicySchema struct { // AccessRestrictions: Output only. Specific access restrictions related // to this policy. @@ -726,6 +726,10 @@ type GoogleChromePolicyV1PolicySchema struct { // have to be included in the `additionalTargetKeys` map. AdditionalTargetKeyNames []*GoogleChromePolicyV1AdditionalTargetKeyName `json:"additionalTargetKeyNames,omitempty"` + // CategoryTitle: Output only. Title of the category in which a setting + // belongs. + CategoryTitle string `json:"categoryTitle,omitempty"` + // Definition: Schema definition using proto descriptor. Definition *Proto2FileDescriptorProto `json:"definition,omitempty"` diff --git a/cloudasset/v1/cloudasset-api.json b/cloudasset/v1/cloudasset-api.json index 3c04acdb601..9731a28fc4b 100644 --- a/cloudasset/v1/cloudasset-api.json +++ b/cloudasset/v1/cloudasset-api.json @@ -929,7 +929,7 @@ } } }, - "revision": "20220820", + "revision": "20220826", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AccessSelector": { @@ -1223,7 +1223,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/cloudasset/v1/cloudasset-gen.go b/cloudasset/v1/cloudasset-gen.go index 2b97a8d40f3..8560cbfadfd 100644 --- a/cloudasset/v1/cloudasset-gen.go +++ b/cloudasset/v1/cloudasset-gen.go @@ -821,11 +821,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/cloudasset/v1beta1/cloudasset-api.json b/cloudasset/v1beta1/cloudasset-api.json index 7c96024b6ce..68cb9880720 100644 --- a/cloudasset/v1beta1/cloudasset-api.json +++ b/cloudasset/v1beta1/cloudasset-api.json @@ -411,7 +411,7 @@ } } }, - "revision": "20220805", + "revision": "20220826", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AnalyzeIamPolicyLongrunningMetadata": { @@ -546,7 +546,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/cloudasset/v1beta1/cloudasset-gen.go b/cloudasset/v1beta1/cloudasset-gen.go index 678f0807539..23a22f6056c 100644 --- a/cloudasset/v1beta1/cloudasset-gen.go +++ b/cloudasset/v1beta1/cloudasset-gen.go @@ -463,11 +463,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/cloudasset/v1p1beta1/cloudasset-api.json b/cloudasset/v1p1beta1/cloudasset-api.json index f6508d7214d..9514bfccba1 100644 --- a/cloudasset/v1p1beta1/cloudasset-api.json +++ b/cloudasset/v1p1beta1/cloudasset-api.json @@ -207,7 +207,7 @@ } } }, - "revision": "20220805", + "revision": "20220826", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AnalyzeIamPolicyLongrunningMetadata": { @@ -286,7 +286,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/cloudasset/v1p1beta1/cloudasset-gen.go b/cloudasset/v1p1beta1/cloudasset-gen.go index b4aa4c96e97..9d745a94e17 100644 --- a/cloudasset/v1p1beta1/cloudasset-gen.go +++ b/cloudasset/v1p1beta1/cloudasset-gen.go @@ -306,11 +306,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/cloudasset/v1p5beta1/cloudasset-api.json b/cloudasset/v1p5beta1/cloudasset-api.json index 544b1aa8855..9114feb50d7 100644 --- a/cloudasset/v1p5beta1/cloudasset-api.json +++ b/cloudasset/v1p5beta1/cloudasset-api.json @@ -177,7 +177,7 @@ } } }, - "revision": "20220805", + "revision": "20220826", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AnalyzeIamPolicyLongrunningMetadata": { @@ -305,7 +305,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/cloudasset/v1p5beta1/cloudasset-gen.go b/cloudasset/v1p5beta1/cloudasset-gen.go index 7fd7add2ebf..d44140315b4 100644 --- a/cloudasset/v1p5beta1/cloudasset-gen.go +++ b/cloudasset/v1p5beta1/cloudasset-gen.go @@ -381,11 +381,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/cloudasset/v1p7beta1/cloudasset-api.json b/cloudasset/v1p7beta1/cloudasset-api.json index 0b7f610d818..e08177f2491 100644 --- a/cloudasset/v1p7beta1/cloudasset-api.json +++ b/cloudasset/v1p7beta1/cloudasset-api.json @@ -167,7 +167,7 @@ } } }, - "revision": "20220805", + "revision": "20220826", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AnalyzeIamPolicyLongrunningMetadata": { @@ -246,7 +246,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/cloudasset/v1p7beta1/cloudasset-gen.go b/cloudasset/v1p7beta1/cloudasset-gen.go index 45e30c3abab..577c45edb9d 100644 --- a/cloudasset/v1p7beta1/cloudasset-gen.go +++ b/cloudasset/v1p7beta1/cloudasset-gen.go @@ -306,11 +306,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/cloudbuild/v1/cloudbuild-api.json b/cloudbuild/v1/cloudbuild-api.json index 969fefb74ca..781ab8da12d 100644 --- a/cloudbuild/v1/cloudbuild-api.json +++ b/cloudbuild/v1/cloudbuild-api.json @@ -105,6 +105,31 @@ }, "protocol": "rest", "resources": { + "githubDotComWebhook": { + "methods": { + "receive": { + "description": "ReceiveGitHubDotComWebhook is called when the API receives a github.com webhook.", + "flatPath": "v1/githubDotComWebhook:receive", + "httpMethod": "POST", + "id": "cloudbuild.githubDotComWebhook.receive", + "parameterOrder": [], + "parameters": { + "webhookKey": { + "description": "For GitHub Enterprise webhooks, this key is used to associate the webhook request with the GitHubEnterpriseConfig to use for validation.", + "location": "query", + "type": "string" + } + }, + "path": "v1/githubDotComWebhook:receive", + "request": { + "$ref": "HttpBody" + }, + "response": { + "$ref": "Empty" + } + } + } + }, "locations": { "methods": { "regionalWebhook": { @@ -2011,7 +2036,7 @@ } } }, - "revision": "20220808", + "revision": "20220826", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "ApprovalConfig": { @@ -2675,8 +2700,8 @@ "VERIFIED" ], "enumDescriptions": [ - "Not a verifiable build. (default)", - "Verified build." + "Not a verifiable build (the default).", + "Build must be verified." ], "type": "string" }, @@ -2734,6 +2759,18 @@ "description": "A step in the build pipeline.", "id": "BuildStep", "properties": { + "allowExitCodes": { + "description": "Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "allowFailure": { + "description": "Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.", + "type": "boolean" + }, "args": { "description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.", "items": { @@ -2756,6 +2793,12 @@ }, "type": "array" }, + "exitCode": { + "description": "Output only. Return code from running the step.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "id": { "description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.", "type": "string" diff --git a/cloudbuild/v1/cloudbuild-gen.go b/cloudbuild/v1/cloudbuild-gen.go index f3c0e0cb35a..bcb26ac03d7 100644 --- a/cloudbuild/v1/cloudbuild-gen.go +++ b/cloudbuild/v1/cloudbuild-gen.go @@ -118,6 +118,7 @@ func New(client *http.Client) (*Service, error) { return nil, errors.New("client is nil") } s := &Service{client: client, BasePath: basePath} + s.GithubDotComWebhook = NewGithubDotComWebhookService(s) s.Locations = NewLocationsService(s) s.Operations = NewOperationsService(s) s.Projects = NewProjectsService(s) @@ -130,6 +131,8 @@ type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment + GithubDotComWebhook *GithubDotComWebhookService + Locations *LocationsService Operations *OperationsService @@ -146,6 +149,15 @@ func (s *Service) userAgent() string { return googleapi.UserAgent + " " + s.UserAgent } +func NewGithubDotComWebhookService(s *Service) *GithubDotComWebhookService { + rs := &GithubDotComWebhookService{s: s} + return rs +} + +type GithubDotComWebhookService struct { + s *Service +} + func NewLocationsService(s *Service) *LocationsService { rs := &LocationsService{s: s} return rs @@ -1278,8 +1290,8 @@ type BuildOptions struct { // RequestedVerifyOption: Requested verifiability options. // // Possible values: - // "NOT_VERIFIED" - Not a verifiable build. (default) - // "VERIFIED" - Verified build. + // "NOT_VERIFIED" - Not a verifiable build (the default). + // "VERIFIED" - Build must be verified. RequestedVerifyOption string `json:"requestedVerifyOption,omitempty"` // SecretEnv: A list of global environment variables, which are @@ -1345,6 +1357,19 @@ func (s *BuildOptions) MarshalJSON() ([]byte, error) { // BuildStep: A step in the build pipeline. type BuildStep struct { + // AllowExitCodes: Allow this build step to fail without failing the + // entire build if and only if the exit code is one of the specified + // codes. If allow_failure is also specified, this field will take + // precedence. + AllowExitCodes []int64 `json:"allowExitCodes,omitempty"` + + // AllowFailure: Allow this build step to fail without failing the + // entire build. If false, the entire build will fail if this step + // fails. Otherwise, the build will succeed, but this step will still + // have a failure status. Error information will be reported in the + // failure_detail field. + AllowFailure bool `json:"allowFailure,omitempty"` + // Args: A list of arguments that will be presented to the step when it // is started. If the image used to run the step's container has an // entrypoint, the `args` are used as arguments to that entrypoint. If @@ -1371,6 +1396,9 @@ type BuildStep struct { // environment variable "KEY" being given the value "VALUE". Env []string `json:"env,omitempty"` + // ExitCode: Output only. Return code from running the step. + ExitCode int64 `json:"exitCode,omitempty"` + // Id: Unique identifier for this build step, used in `wait_for` to // reference this build step as a dependency. Id string `json:"id,omitempty"` @@ -1445,7 +1473,7 @@ type BuildStep struct { // `Build.Steps` list have completed successfully. WaitFor []string `json:"waitFor,omitempty"` - // ForceSendFields is a list of field names (e.g. "Args") to + // ForceSendFields is a list of field names (e.g. "AllowExitCodes") 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 @@ -1453,12 +1481,13 @@ type BuildStep struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Args") 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 is a list of field names (e.g. "AllowExitCodes") 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:"-"` } @@ -4489,6 +4518,143 @@ func (s *WorkerPool) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// method id "cloudbuild.githubDotComWebhook.receive": + +type GithubDotComWebhookReceiveCall struct { + s *Service + httpbody *HttpBody + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Receive: ReceiveGitHubDotComWebhook is called when the API receives a +// github.com webhook. +func (r *GithubDotComWebhookService) Receive(httpbody *HttpBody) *GithubDotComWebhookReceiveCall { + c := &GithubDotComWebhookReceiveCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.httpbody = httpbody + return c +} + +// WebhookKey sets the optional parameter "webhookKey": For GitHub +// Enterprise webhooks, this key is used to associate the webhook +// request with the GitHubEnterpriseConfig to use for validation. +func (c *GithubDotComWebhookReceiveCall) WebhookKey(webhookKey string) *GithubDotComWebhookReceiveCall { + c.urlParams_.Set("webhookKey", webhookKey) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *GithubDotComWebhookReceiveCall) Fields(s ...googleapi.Field) *GithubDotComWebhookReceiveCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *GithubDotComWebhookReceiveCall) Context(ctx context.Context) *GithubDotComWebhookReceiveCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *GithubDotComWebhookReceiveCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *GithubDotComWebhookReceiveCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.httpbody) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/githubDotComWebhook:receive") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "cloudbuild.githubDotComWebhook.receive" call. +// Exactly one of *Empty or error will be non-nil. Any non-2xx status +// code is an error. Response headers are in either +// *Empty.ServerResponse.Header or (if a response was returned at all) +// in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to +// check whether the returned error was because http.StatusNotModified +// was returned. +func (c *GithubDotComWebhookReceiveCall) Do(opts ...googleapi.CallOption) (*Empty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &Empty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "ReceiveGitHubDotComWebhook is called when the API receives a github.com webhook.", + // "flatPath": "v1/githubDotComWebhook:receive", + // "httpMethod": "POST", + // "id": "cloudbuild.githubDotComWebhook.receive", + // "parameterOrder": [], + // "parameters": { + // "webhookKey": { + // "description": "For GitHub Enterprise webhooks, this key is used to associate the webhook request with the GitHubEnterpriseConfig to use for validation.", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v1/githubDotComWebhook:receive", + // "request": { + // "$ref": "HttpBody" + // }, + // "response": { + // "$ref": "Empty" + // } + // } + +} + // method id "cloudbuild.locations.regionalWebhook": type LocationsRegionalWebhookCall struct { diff --git a/cloudbuild/v1alpha1/cloudbuild-api.json b/cloudbuild/v1alpha1/cloudbuild-api.json index b2127ef6bf9..83343f5cdae 100644 --- a/cloudbuild/v1alpha1/cloudbuild-api.json +++ b/cloudbuild/v1alpha1/cloudbuild-api.json @@ -306,7 +306,7 @@ } } }, - "revision": "20220512", + "revision": "20220826", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "ApprovalConfig": { @@ -814,8 +814,8 @@ "VERIFIED" ], "enumDescriptions": [ - "Not a verifiable build. (default)", - "Verified build." + "Not a verifiable build (the default).", + "Build must be verified." ], "type": "string" }, @@ -873,6 +873,18 @@ "description": "A step in the build pipeline.", "id": "BuildStep", "properties": { + "allowExitCodes": { + "description": "Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "allowFailure": { + "description": "Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.", + "type": "boolean" + }, "args": { "description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.", "items": { @@ -895,6 +907,12 @@ }, "type": "array" }, + "exitCode": { + "description": "Output only. Return code from running the step.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "id": { "description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.", "type": "string" diff --git a/cloudbuild/v1alpha1/cloudbuild-gen.go b/cloudbuild/v1alpha1/cloudbuild-gen.go index 02335329100..dd95209fd7a 100644 --- a/cloudbuild/v1alpha1/cloudbuild-gen.go +++ b/cloudbuild/v1alpha1/cloudbuild-gen.go @@ -853,8 +853,8 @@ type BuildOptions struct { // RequestedVerifyOption: Requested verifiability options. // // Possible values: - // "NOT_VERIFIED" - Not a verifiable build. (default) - // "VERIFIED" - Verified build. + // "NOT_VERIFIED" - Not a verifiable build (the default). + // "VERIFIED" - Build must be verified. RequestedVerifyOption string `json:"requestedVerifyOption,omitempty"` // SecretEnv: A list of global environment variables, which are @@ -920,6 +920,19 @@ func (s *BuildOptions) MarshalJSON() ([]byte, error) { // BuildStep: A step in the build pipeline. type BuildStep struct { + // AllowExitCodes: Allow this build step to fail without failing the + // entire build if and only if the exit code is one of the specified + // codes. If allow_failure is also specified, this field will take + // precedence. + AllowExitCodes []int64 `json:"allowExitCodes,omitempty"` + + // AllowFailure: Allow this build step to fail without failing the + // entire build. If false, the entire build will fail if this step + // fails. Otherwise, the build will succeed, but this step will still + // have a failure status. Error information will be reported in the + // failure_detail field. + AllowFailure bool `json:"allowFailure,omitempty"` + // Args: A list of arguments that will be presented to the step when it // is started. If the image used to run the step's container has an // entrypoint, the `args` are used as arguments to that entrypoint. If @@ -946,6 +959,9 @@ type BuildStep struct { // environment variable "KEY" being given the value "VALUE". Env []string `json:"env,omitempty"` + // ExitCode: Output only. Return code from running the step. + ExitCode int64 `json:"exitCode,omitempty"` + // Id: Unique identifier for this build step, used in `wait_for` to // reference this build step as a dependency. Id string `json:"id,omitempty"` @@ -1020,7 +1036,7 @@ type BuildStep struct { // `Build.Steps` list have completed successfully. WaitFor []string `json:"waitFor,omitempty"` - // ForceSendFields is a list of field names (e.g. "Args") to + // ForceSendFields is a list of field names (e.g. "AllowExitCodes") 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 @@ -1028,12 +1044,13 @@ type BuildStep struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Args") 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 is a list of field names (e.g. "AllowExitCodes") 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:"-"` } diff --git a/cloudbuild/v1alpha2/cloudbuild-api.json b/cloudbuild/v1alpha2/cloudbuild-api.json index af0308465b8..2753426b4c8 100644 --- a/cloudbuild/v1alpha2/cloudbuild-api.json +++ b/cloudbuild/v1alpha2/cloudbuild-api.json @@ -317,7 +317,7 @@ } } }, - "revision": "20220512", + "revision": "20220826", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "ApprovalConfig": { @@ -825,8 +825,8 @@ "VERIFIED" ], "enumDescriptions": [ - "Not a verifiable build. (default)", - "Verified build." + "Not a verifiable build (the default).", + "Build must be verified." ], "type": "string" }, @@ -884,6 +884,18 @@ "description": "A step in the build pipeline.", "id": "BuildStep", "properties": { + "allowExitCodes": { + "description": "Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "allowFailure": { + "description": "Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.", + "type": "boolean" + }, "args": { "description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.", "items": { @@ -906,6 +918,12 @@ }, "type": "array" }, + "exitCode": { + "description": "Output only. Return code from running the step.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "id": { "description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.", "type": "string" diff --git a/cloudbuild/v1alpha2/cloudbuild-gen.go b/cloudbuild/v1alpha2/cloudbuild-gen.go index 7eff0ad8068..81906d9a78c 100644 --- a/cloudbuild/v1alpha2/cloudbuild-gen.go +++ b/cloudbuild/v1alpha2/cloudbuild-gen.go @@ -853,8 +853,8 @@ type BuildOptions struct { // RequestedVerifyOption: Requested verifiability options. // // Possible values: - // "NOT_VERIFIED" - Not a verifiable build. (default) - // "VERIFIED" - Verified build. + // "NOT_VERIFIED" - Not a verifiable build (the default). + // "VERIFIED" - Build must be verified. RequestedVerifyOption string `json:"requestedVerifyOption,omitempty"` // SecretEnv: A list of global environment variables, which are @@ -920,6 +920,19 @@ func (s *BuildOptions) MarshalJSON() ([]byte, error) { // BuildStep: A step in the build pipeline. type BuildStep struct { + // AllowExitCodes: Allow this build step to fail without failing the + // entire build if and only if the exit code is one of the specified + // codes. If allow_failure is also specified, this field will take + // precedence. + AllowExitCodes []int64 `json:"allowExitCodes,omitempty"` + + // AllowFailure: Allow this build step to fail without failing the + // entire build. If false, the entire build will fail if this step + // fails. Otherwise, the build will succeed, but this step will still + // have a failure status. Error information will be reported in the + // failure_detail field. + AllowFailure bool `json:"allowFailure,omitempty"` + // Args: A list of arguments that will be presented to the step when it // is started. If the image used to run the step's container has an // entrypoint, the `args` are used as arguments to that entrypoint. If @@ -946,6 +959,9 @@ type BuildStep struct { // environment variable "KEY" being given the value "VALUE". Env []string `json:"env,omitempty"` + // ExitCode: Output only. Return code from running the step. + ExitCode int64 `json:"exitCode,omitempty"` + // Id: Unique identifier for this build step, used in `wait_for` to // reference this build step as a dependency. Id string `json:"id,omitempty"` @@ -1020,7 +1036,7 @@ type BuildStep struct { // `Build.Steps` list have completed successfully. WaitFor []string `json:"waitFor,omitempty"` - // ForceSendFields is a list of field names (e.g. "Args") to + // ForceSendFields is a list of field names (e.g. "AllowExitCodes") 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 @@ -1028,12 +1044,13 @@ type BuildStep struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Args") 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 is a list of field names (e.g. "AllowExitCodes") 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:"-"` } diff --git a/cloudbuild/v1beta1/cloudbuild-api.json b/cloudbuild/v1beta1/cloudbuild-api.json index 7da612c2071..6cdd5361217 100644 --- a/cloudbuild/v1beta1/cloudbuild-api.json +++ b/cloudbuild/v1beta1/cloudbuild-api.json @@ -322,7 +322,7 @@ } } }, - "revision": "20220512", + "revision": "20220826", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "ApprovalConfig": { @@ -830,8 +830,8 @@ "VERIFIED" ], "enumDescriptions": [ - "Not a verifiable build. (default)", - "Verified build." + "Not a verifiable build (the default).", + "Build must be verified." ], "type": "string" }, @@ -889,6 +889,18 @@ "description": "A step in the build pipeline.", "id": "BuildStep", "properties": { + "allowExitCodes": { + "description": "Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "allowFailure": { + "description": "Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.", + "type": "boolean" + }, "args": { "description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.", "items": { @@ -911,6 +923,12 @@ }, "type": "array" }, + "exitCode": { + "description": "Output only. Return code from running the step.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "id": { "description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.", "type": "string" diff --git a/cloudbuild/v1beta1/cloudbuild-gen.go b/cloudbuild/v1beta1/cloudbuild-gen.go index bc76e9817d6..cd52f0af990 100644 --- a/cloudbuild/v1beta1/cloudbuild-gen.go +++ b/cloudbuild/v1beta1/cloudbuild-gen.go @@ -853,8 +853,8 @@ type BuildOptions struct { // RequestedVerifyOption: Requested verifiability options. // // Possible values: - // "NOT_VERIFIED" - Not a verifiable build. (default) - // "VERIFIED" - Verified build. + // "NOT_VERIFIED" - Not a verifiable build (the default). + // "VERIFIED" - Build must be verified. RequestedVerifyOption string `json:"requestedVerifyOption,omitempty"` // SecretEnv: A list of global environment variables, which are @@ -920,6 +920,19 @@ func (s *BuildOptions) MarshalJSON() ([]byte, error) { // BuildStep: A step in the build pipeline. type BuildStep struct { + // AllowExitCodes: Allow this build step to fail without failing the + // entire build if and only if the exit code is one of the specified + // codes. If allow_failure is also specified, this field will take + // precedence. + AllowExitCodes []int64 `json:"allowExitCodes,omitempty"` + + // AllowFailure: Allow this build step to fail without failing the + // entire build. If false, the entire build will fail if this step + // fails. Otherwise, the build will succeed, but this step will still + // have a failure status. Error information will be reported in the + // failure_detail field. + AllowFailure bool `json:"allowFailure,omitempty"` + // Args: A list of arguments that will be presented to the step when it // is started. If the image used to run the step's container has an // entrypoint, the `args` are used as arguments to that entrypoint. If @@ -946,6 +959,9 @@ type BuildStep struct { // environment variable "KEY" being given the value "VALUE". Env []string `json:"env,omitempty"` + // ExitCode: Output only. Return code from running the step. + ExitCode int64 `json:"exitCode,omitempty"` + // Id: Unique identifier for this build step, used in `wait_for` to // reference this build step as a dependency. Id string `json:"id,omitempty"` @@ -1020,7 +1036,7 @@ type BuildStep struct { // `Build.Steps` list have completed successfully. WaitFor []string `json:"waitFor,omitempty"` - // ForceSendFields is a list of field names (e.g. "Args") to + // ForceSendFields is a list of field names (e.g. "AllowExitCodes") 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 @@ -1028,12 +1044,13 @@ type BuildStep struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Args") 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 is a list of field names (e.g. "AllowExitCodes") 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:"-"` } diff --git a/cloudfunctions/v1/cloudfunctions-api.json b/cloudfunctions/v1/cloudfunctions-api.json index fa3353b049c..52373d368f5 100644 --- a/cloudfunctions/v1/cloudfunctions-api.json +++ b/cloudfunctions/v1/cloudfunctions-api.json @@ -546,7 +546,7 @@ } } }, - "revision": "20220805", + "revision": "20220824", "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 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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/cloudfunctions/v1/cloudfunctions-gen.go b/cloudfunctions/v1/cloudfunctions-gen.go index e6a90c72a5e..7fa6b4e8ddb 100644 --- a/cloudfunctions/v1/cloudfunctions-gen.go +++ b/cloudfunctions/v1/cloudfunctions-gen.go @@ -296,11 +296,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/cloudfunctions/v2/cloudfunctions-api.json b/cloudfunctions/v2/cloudfunctions-api.json index 9279b141064..b7627608df8 100644 --- a/cloudfunctions/v2/cloudfunctions-api.json +++ b/cloudfunctions/v2/cloudfunctions-api.json @@ -571,7 +571,7 @@ } } }, - "revision": "20220805", + "revision": "20220824", "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 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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/cloudfunctions/v2/cloudfunctions-gen.go b/cloudfunctions/v2/cloudfunctions-gen.go index 1493d5ca394..a0584cf2404 100644 --- a/cloudfunctions/v2/cloudfunctions-gen.go +++ b/cloudfunctions/v2/cloudfunctions-gen.go @@ -308,11 +308,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/cloudfunctions/v2alpha/cloudfunctions-api.json b/cloudfunctions/v2alpha/cloudfunctions-api.json index c15cf3513c8..2c8cd44e65a 100644 --- a/cloudfunctions/v2alpha/cloudfunctions-api.json +++ b/cloudfunctions/v2alpha/cloudfunctions-api.json @@ -571,7 +571,7 @@ } } }, - "revision": "20220805", + "revision": "20220824", "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 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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/cloudfunctions/v2alpha/cloudfunctions-gen.go b/cloudfunctions/v2alpha/cloudfunctions-gen.go index 4627c356c54..f170c8db62b 100644 --- a/cloudfunctions/v2alpha/cloudfunctions-gen.go +++ b/cloudfunctions/v2alpha/cloudfunctions-gen.go @@ -308,11 +308,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/cloudfunctions/v2beta/cloudfunctions-api.json b/cloudfunctions/v2beta/cloudfunctions-api.json index 694313c533c..e2dc04d4a53 100644 --- a/cloudfunctions/v2beta/cloudfunctions-api.json +++ b/cloudfunctions/v2beta/cloudfunctions-api.json @@ -571,7 +571,7 @@ } } }, - "revision": "20220805", + "revision": "20220824", "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 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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/cloudfunctions/v2beta/cloudfunctions-gen.go b/cloudfunctions/v2beta/cloudfunctions-gen.go index e1006c254ca..65c8b719194 100644 --- a/cloudfunctions/v2beta/cloudfunctions-gen.go +++ b/cloudfunctions/v2beta/cloudfunctions-gen.go @@ -308,11 +308,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/cloudidentity/v1/cloudidentity-api.json b/cloudidentity/v1/cloudidentity-api.json index 4c9e45d475a..8d8a35393ae 100644 --- a/cloudidentity/v1/cloudidentity-api.json +++ b/cloudidentity/v1/cloudidentity-api.json @@ -2,9 +2,6 @@ "auth": { "oauth2": { "scopes": { - "https://www.googleapis.com/auth/cloud-identity": { - "description": "Private Service: https://www.googleapis.com/auth/cloud-identity" - }, "https://www.googleapis.com/auth/cloud-identity.devices": { "description": "Private Service: https://www.googleapis.com/auth/cloud-identity.devices" }, @@ -20,12 +17,6 @@ "https://www.googleapis.com/auth/cloud-identity.groups.readonly": { "description": "See any Cloud Identity Groups that you can access, including group members and their emails" }, - "https://www.googleapis.com/auth/cloud-identity.userinvitations": { - "description": "See, send, or cancel any Cloud Identity UserInvitations to join your organization to users" - }, - "https://www.googleapis.com/auth/cloud-identity.userinvitations.readonly": { - "description": "See, send, or cancel any Cloud Identity UserInvitations to join your organization to users" - }, "https://www.googleapis.com/auth/cloud-platform": { "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } @@ -156,10 +147,7 @@ }, "response": { "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-identity.userinvitations" - ] + } }, "get": { "description": "Retrieves a UserInvitation resource. **Note:** New consumer accounts with the customer's verified domain created within the previous 48 hours will not appear in the result. This delay also applies to newly-verified domains.", @@ -181,11 +169,7 @@ "path": "v1/{+name}", "response": { "$ref": "UserInvitation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-identity.userinvitations", - "https://www.googleapis.com/auth/cloud-identity.userinvitations.readonly" - ] + } }, "isInvitableUser": { "description": "Verifies whether a user account is eligible to receive a UserInvitation (is an unmanaged account). Eligibility is based on the following criteria: * the email address is a consumer account and it's the primary email address of the account, and * the domain of the email address matches an existing verified Google Workspace or Cloud Identity domain If both conditions are met, the user is eligible. **Note:** This method is not supported for Workspace Essentials customers.", @@ -207,11 +191,7 @@ "path": "v1/{+name}:isInvitableUser", "response": { "$ref": "IsInvitableUserResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-identity.userinvitations", - "https://www.googleapis.com/auth/cloud-identity.userinvitations.readonly" - ] + } }, "list": { "description": "Retrieves a list of UserInvitation resources. **Note:** New consumer accounts with the customer's verified domain created within the previous 48 hours will not appear in the result. This delay also applies to newly-verified domains.", @@ -254,11 +234,7 @@ "path": "v1/{+parent}/userinvitations", "response": { "$ref": "ListUserInvitationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-identity.userinvitations", - "https://www.googleapis.com/auth/cloud-identity.userinvitations.readonly" - ] + } }, "send": { "description": "Sends a UserInvitation to email. If the `UserInvitation` does not exist for this request and it is a valid request, the request creates a `UserInvitation`. **Note:** The `get` and `list` methods have a 48-hour delay where newly-created consumer accounts will not appear in the results. You can still send a `UserInvitation` to those accounts if you know the unmanaged email address and IsInvitableUser==True.", @@ -283,10 +259,7 @@ }, "response": { "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-identity.userinvitations" - ] + } } } } @@ -319,7 +292,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] }, @@ -344,7 +316,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] }, @@ -375,7 +346,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] }, @@ -406,7 +376,6 @@ "$ref": "GoogleAppsCloudidentityDevicesV1Device" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.readonly" ] @@ -465,7 +434,6 @@ "$ref": "GoogleAppsCloudidentityDevicesV1ListDevicesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.readonly" ] @@ -495,7 +463,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] } @@ -528,7 +495,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] }, @@ -557,7 +523,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] }, @@ -586,7 +551,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] }, @@ -617,7 +581,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] }, @@ -648,7 +611,6 @@ "$ref": "GoogleAppsCloudidentityDevicesV1DeviceUser" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.readonly" ] @@ -701,7 +663,6 @@ "$ref": "GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.readonly" ] @@ -782,7 +743,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] } @@ -817,7 +777,6 @@ "$ref": "GoogleAppsCloudidentityDevicesV1ClientState" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.readonly" ] @@ -864,7 +823,6 @@ "$ref": "GoogleAppsCloudidentityDevicesV1ListClientStatesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.readonly" ] @@ -905,7 +863,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] } @@ -948,7 +905,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ] @@ -975,7 +931,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ] @@ -1002,7 +957,6 @@ "$ref": "Group" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1036,7 +990,6 @@ "$ref": "SecuritySettings" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1086,7 +1039,6 @@ "$ref": "ListGroupsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1115,7 +1067,6 @@ "$ref": "LookupGroupNameResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1152,7 +1103,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ] @@ -1201,7 +1151,6 @@ "$ref": "SearchGroupsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1238,7 +1187,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ] @@ -1274,7 +1222,6 @@ "$ref": "CheckTransitiveMembershipResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1305,7 +1252,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ] @@ -1332,7 +1278,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ] @@ -1359,7 +1304,6 @@ "$ref": "Membership" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1392,7 +1336,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1446,7 +1389,6 @@ "$ref": "ListMembershipsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1484,7 +1426,6 @@ "$ref": "LookupMembershipNameResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1515,7 +1456,6 @@ "$ref": "ModifyMembershipRolesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ] @@ -1558,7 +1498,6 @@ "$ref": "SearchTransitiveGroupsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1597,7 +1536,6 @@ "$ref": "SearchTransitiveMembershipsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1608,7 +1546,7 @@ } } }, - "revision": "20220729", + "revision": "20220831", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "CancelUserInvitationRequest": { diff --git a/cloudidentity/v1/cloudidentity-gen.go b/cloudidentity/v1/cloudidentity-gen.go index 20f60f27a09..121b85de03b 100644 --- a/cloudidentity/v1/cloudidentity-gen.go +++ b/cloudidentity/v1/cloudidentity-gen.go @@ -84,9 +84,6 @@ const mtlsBasePath = "https://cloudidentity.mtls.googleapis.com/" // OAuth2 scopes used by this API. const ( - // Private Service: https://www.googleapis.com/auth/cloud-identity - CloudIdentityScope = "https://www.googleapis.com/auth/cloud-identity" - // Private Service: // https://www.googleapis.com/auth/cloud-identity.devices CloudIdentityDevicesScope = "https://www.googleapis.com/auth/cloud-identity.devices" @@ -106,14 +103,6 @@ const ( // members and their emails CloudIdentityGroupsReadonlyScope = "https://www.googleapis.com/auth/cloud-identity.groups.readonly" - // See, send, or cancel any Cloud Identity UserInvitations to join your - // organization to users - CloudIdentityUserinvitationsScope = "https://www.googleapis.com/auth/cloud-identity.userinvitations" - - // See, send, or cancel any Cloud Identity UserInvitations to join your - // organization to users - CloudIdentityUserinvitationsReadonlyScope = "https://www.googleapis.com/auth/cloud-identity.userinvitations.readonly" - // See, edit, configure, and delete your Google Cloud data and see the // email address for your Google Account. CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform" @@ -122,14 +111,11 @@ const ( // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { scopesOption := internaloption.WithDefaultScopes( - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.lookup", "https://www.googleapis.com/auth/cloud-identity.devices.readonly", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", - "https://www.googleapis.com/auth/cloud-identity.userinvitations", - "https://www.googleapis.com/auth/cloud-identity.userinvitations.readonly", "https://www.googleapis.com/auth/cloud-platform", ) // NOTE: prepend, so we don't override user-specified scopes. @@ -2958,10 +2944,7 @@ func (c *CustomersUserinvitationsCancelCall) Do(opts ...googleapi.CallOption) (* // }, // "response": { // "$ref": "Operation" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity.userinvitations" - // ] + // } // } } @@ -3108,11 +3091,7 @@ func (c *CustomersUserinvitationsGetCall) Do(opts ...googleapi.CallOption) (*Use // "path": "v1/{+name}", // "response": { // "$ref": "UserInvitation" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity.userinvitations", - // "https://www.googleapis.com/auth/cloud-identity.userinvitations.readonly" - // ] + // } // } } @@ -3263,11 +3242,7 @@ func (c *CustomersUserinvitationsIsInvitableUserCall) Do(opts ...googleapi.CallO // "path": "v1/{+name}:isInvitableUser", // "response": { // "$ref": "IsInvitableUserResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity.userinvitations", - // "https://www.googleapis.com/auth/cloud-identity.userinvitations.readonly" - // ] + // } // } } @@ -3474,11 +3449,7 @@ func (c *CustomersUserinvitationsListCall) Do(opts ...googleapi.CallOption) (*Li // "path": "v1/{+parent}/userinvitations", // "response": { // "$ref": "ListUserInvitationsResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity.userinvitations", - // "https://www.googleapis.com/auth/cloud-identity.userinvitations.readonly" - // ] + // } // } } @@ -3645,10 +3616,7 @@ func (c *CustomersUserinvitationsSendCall) Do(opts ...googleapi.CallOption) (*Op // }, // "response": { // "$ref": "Operation" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity.userinvitations" - // ] + // } // } } @@ -3798,7 +3766,6 @@ func (c *DevicesCancelWipeCall) Do(opts ...googleapi.CallOption) (*Operation, er // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -3944,7 +3911,6 @@ func (c *DevicesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -4096,7 +4062,6 @@ func (c *DevicesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -4264,7 +4229,6 @@ func (c *DevicesGetCall) Do(opts ...googleapi.CallOption) (*GoogleAppsCloudident // "$ref": "GoogleAppsCloudidentityDevicesV1Device" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices", // "https://www.googleapis.com/auth/cloud-identity.devices.readonly" // ] @@ -4512,7 +4476,6 @@ func (c *DevicesListCall) Do(opts ...googleapi.CallOption) (*GoogleAppsCloudiden // "$ref": "GoogleAppsCloudidentityDevicesV1ListDevicesResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices", // "https://www.googleapis.com/auth/cloud-identity.devices.readonly" // ] @@ -4681,7 +4644,6 @@ func (c *DevicesWipeCall) Do(opts ...googleapi.CallOption) (*Operation, error) { // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -4828,7 +4790,6 @@ func (c *DevicesDeviceUsersApproveCall) Do(opts ...googleapi.CallOption) (*Opera // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -4975,7 +4936,6 @@ func (c *DevicesDeviceUsersBlockCall) Do(opts ...googleapi.CallOption) (*Operati // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -5124,7 +5084,6 @@ func (c *DevicesDeviceUsersCancelWipeCall) Do(opts ...googleapi.CallOption) (*Op // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -5278,7 +5237,6 @@ func (c *DevicesDeviceUsersDeleteCall) Do(opts ...googleapi.CallOption) (*Operat // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -5447,7 +5405,6 @@ func (c *DevicesDeviceUsersGetCall) Do(opts ...googleapi.CallOption) (*GoogleApp // "$ref": "GoogleAppsCloudidentityDevicesV1DeviceUser" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices", // "https://www.googleapis.com/auth/cloud-identity.devices.readonly" // ] @@ -5673,7 +5630,6 @@ func (c *DevicesDeviceUsersListCall) Do(opts ...googleapi.CallOption) (*GoogleAp // "$ref": "GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices", // "https://www.googleapis.com/auth/cloud-identity.devices.readonly" // ] @@ -6104,7 +6060,6 @@ func (c *DevicesDeviceUsersWipeCall) Do(opts ...googleapi.CallOption) (*Operatio // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -6284,7 +6239,6 @@ func (c *DevicesDeviceUsersClientStatesGetCall) Do(opts ...googleapi.CallOption) // "$ref": "GoogleAppsCloudidentityDevicesV1ClientState" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices", // "https://www.googleapis.com/auth/cloud-identity.devices.readonly" // ] @@ -6493,7 +6447,6 @@ func (c *DevicesDeviceUsersClientStatesListCall) Do(opts ...googleapi.CallOption // "$ref": "GoogleAppsCloudidentityDevicesV1ListClientStatesResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices", // "https://www.googleapis.com/auth/cloud-identity.devices.readonly" // ] @@ -6707,7 +6660,6 @@ func (c *DevicesDeviceUsersClientStatesPatchCall) Do(opts ...googleapi.CallOptio // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -6867,7 +6819,6 @@ func (c *GroupsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-platform" // ] @@ -7003,7 +6954,6 @@ func (c *GroupsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-platform" // ] @@ -7153,7 +7103,6 @@ func (c *GroupsGetCall) Do(opts ...googleapi.CallOption) (*Group, error) { // "$ref": "Group" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -7318,7 +7267,6 @@ func (c *GroupsGetSecuritySettingsCall) Do(opts ...googleapi.CallOption) (*Secur // "$ref": "SecuritySettings" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -7526,7 +7474,6 @@ func (c *GroupsListCall) Do(opts ...googleapi.CallOption) (*ListGroupsResponse, // "$ref": "ListGroupsResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -7714,7 +7661,6 @@ func (c *GroupsLookupCall) Do(opts ...googleapi.CallOption) (*LookupGroupNameRes // "$ref": "LookupGroupNameResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -7875,7 +7821,6 @@ func (c *GroupsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-platform" // ] @@ -8084,7 +8029,6 @@ func (c *GroupsSearchCall) Do(opts ...googleapi.CallOption) (*SearchGroupsRespon // "$ref": "SearchGroupsResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -8265,7 +8209,6 @@ func (c *GroupsUpdateSecuritySettingsCall) Do(opts ...googleapi.CallOption) (*Op // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-platform" // ] @@ -8442,7 +8385,6 @@ func (c *GroupsMembershipsCheckTransitiveMembershipCall) Do(opts ...googleapi.Ca // "$ref": "CheckTransitiveMembershipResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -8588,7 +8530,6 @@ func (c *GroupsMembershipsCreateCall) Do(opts ...googleapi.CallOption) (*Operati // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-platform" // ] @@ -8725,7 +8666,6 @@ func (c *GroupsMembershipsDeleteCall) Do(opts ...googleapi.CallOption) (*Operati // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-platform" // ] @@ -8876,7 +8816,6 @@ func (c *GroupsMembershipsGetCall) Do(opts ...googleapi.CallOption) (*Membership // "$ref": "Membership" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -9057,7 +8996,6 @@ func (c *GroupsMembershipsGetMembershipGraphCall) Do(opts ...googleapi.CallOptio // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -9267,7 +9205,6 @@ func (c *GroupsMembershipsListCall) Do(opts ...googleapi.CallOption) (*ListMembe // "$ref": "ListMembershipsResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -9472,7 +9409,6 @@ func (c *GroupsMembershipsLookupCall) Do(opts ...googleapi.CallOption) (*LookupM // "$ref": "LookupMembershipNameResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -9621,7 +9557,6 @@ func (c *GroupsMembershipsModifyMembershipRolesCall) Do(opts ...googleapi.CallOp // "$ref": "ModifyMembershipRolesResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-platform" // ] @@ -9823,7 +9758,6 @@ func (c *GroupsMembershipsSearchTransitiveGroupsCall) Do(opts ...googleapi.CallO // "$ref": "SearchTransitiveGroupsResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -10029,7 +9963,6 @@ func (c *GroupsMembershipsSearchTransitiveMembershipsCall) Do(opts ...googleapi. // "$ref": "SearchTransitiveMembershipsResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" diff --git a/cloudidentity/v1beta1/cloudidentity-api.json b/cloudidentity/v1beta1/cloudidentity-api.json index b77db2998c9..8053f295572 100644 --- a/cloudidentity/v1beta1/cloudidentity-api.json +++ b/cloudidentity/v1beta1/cloudidentity-api.json @@ -2,9 +2,6 @@ "auth": { "oauth2": { "scopes": { - "https://www.googleapis.com/auth/cloud-identity": { - "description": "Private Service: https://www.googleapis.com/auth/cloud-identity" - }, "https://www.googleapis.com/auth/cloud-identity.devices": { "description": "Private Service: https://www.googleapis.com/auth/cloud-identity.devices" }, @@ -20,12 +17,6 @@ "https://www.googleapis.com/auth/cloud-identity.groups.readonly": { "description": "See any Cloud Identity Groups that you can access, including group members and their emails" }, - "https://www.googleapis.com/auth/cloud-identity.userinvitations": { - "description": "See, send, or cancel any Cloud Identity UserInvitations to join your organization to users" - }, - "https://www.googleapis.com/auth/cloud-identity.userinvitations.readonly": { - "description": "See, send, or cancel any Cloud Identity UserInvitations to join your organization to users" - }, "https://www.googleapis.com/auth/cloud-platform": { "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } @@ -156,10 +147,7 @@ }, "response": { "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-identity.userinvitations" - ] + } }, "get": { "description": "Retrieves a UserInvitation resource. **Note:** New consumer accounts with the customer's verified domain created within the previous 48 hours will not appear in the result. This delay also applies to newly-verified domains.", @@ -181,11 +169,7 @@ "path": "v1beta1/{+name}", "response": { "$ref": "UserInvitation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-identity.userinvitations", - "https://www.googleapis.com/auth/cloud-identity.userinvitations.readonly" - ] + } }, "isInvitableUser": { "description": "Verifies whether a user account is eligible to receive a UserInvitation (is an unmanaged account). Eligibility is based on the following criteria: * the email address is a consumer account and it's the primary email address of the account, and * the domain of the email address matches an existing verified Google Workspace or Cloud Identity domain If both conditions are met, the user is eligible. **Note:** This method is not supported for Workspace Essentials customers.", @@ -207,11 +191,7 @@ "path": "v1beta1/{+name}:isInvitableUser", "response": { "$ref": "IsInvitableUserResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-identity.userinvitations", - "https://www.googleapis.com/auth/cloud-identity.userinvitations.readonly" - ] + } }, "list": { "description": "Retrieves a list of UserInvitation resources. **Note:** New consumer accounts with the customer's verified domain created within the previous 48 hours will not appear in the result. This delay also applies to newly-verified domains.", @@ -254,11 +234,7 @@ "path": "v1beta1/{+parent}/userinvitations", "response": { "$ref": "ListUserInvitationsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-identity.userinvitations", - "https://www.googleapis.com/auth/cloud-identity.userinvitations.readonly" - ] + } }, "send": { "description": "Sends a UserInvitation to email. If the `UserInvitation` does not exist for this request and it is a valid request, the request creates a `UserInvitation`. **Note:** The `get` and `list` methods have a 48-hour delay where newly-created consumer accounts will not appear in the results. You can still send a `UserInvitation` to those accounts if you know the unmanaged email address and IsInvitableUser==True.", @@ -283,10 +259,7 @@ }, "response": { "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-identity.userinvitations" - ] + } } } } @@ -319,7 +292,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] }, @@ -338,7 +310,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] }, @@ -364,7 +335,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] }, @@ -390,7 +360,6 @@ "$ref": "Device" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.readonly" ] @@ -444,7 +413,6 @@ "$ref": "ListDevicesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.readonly" ] @@ -474,7 +442,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] } @@ -507,7 +474,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] }, @@ -536,7 +502,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] }, @@ -565,7 +530,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] }, @@ -591,7 +555,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] }, @@ -617,7 +580,6 @@ "$ref": "DeviceUser" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.readonly" ] @@ -665,7 +627,6 @@ "$ref": "ListDeviceUsersResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.readonly" ] @@ -746,7 +707,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] } @@ -781,7 +741,6 @@ "$ref": "ClientState" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.readonly" ] @@ -822,7 +781,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices" ] } @@ -865,7 +823,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ] @@ -892,7 +849,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ] @@ -919,7 +875,6 @@ "$ref": "Group" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -953,7 +908,6 @@ "$ref": "SecuritySettings" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1003,7 +957,6 @@ "$ref": "ListGroupsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1032,7 +985,6 @@ "$ref": "LookupGroupNameResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1069,7 +1021,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ] @@ -1116,7 +1067,6 @@ "$ref": "SearchGroupsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1153,7 +1103,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ] @@ -1189,7 +1138,6 @@ "$ref": "CheckTransitiveMembershipResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1220,7 +1168,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ] @@ -1247,7 +1194,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ] @@ -1274,7 +1220,6 @@ "$ref": "Membership" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1307,7 +1252,6 @@ "$ref": "Operation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1359,7 +1303,6 @@ "$ref": "ListMembershipsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1397,7 +1340,6 @@ "$ref": "LookupMembershipNameResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1428,7 +1370,6 @@ "$ref": "ModifyMembershipRolesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-platform" ] @@ -1471,7 +1412,6 @@ "$ref": "SearchTransitiveGroupsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1510,7 +1450,6 @@ "$ref": "SearchTransitiveMembershipsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", "https://www.googleapis.com/auth/cloud-platform" @@ -1597,7 +1536,7 @@ } } }, - "revision": "20220808", + "revision": "20220831", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "AndroidAttributes": { diff --git a/cloudidentity/v1beta1/cloudidentity-gen.go b/cloudidentity/v1beta1/cloudidentity-gen.go index 4ec53c4c1f0..96f5b594bb6 100644 --- a/cloudidentity/v1beta1/cloudidentity-gen.go +++ b/cloudidentity/v1beta1/cloudidentity-gen.go @@ -84,9 +84,6 @@ const mtlsBasePath = "https://cloudidentity.mtls.googleapis.com/" // OAuth2 scopes used by this API. const ( - // Private Service: https://www.googleapis.com/auth/cloud-identity - CloudIdentityScope = "https://www.googleapis.com/auth/cloud-identity" - // Private Service: // https://www.googleapis.com/auth/cloud-identity.devices CloudIdentityDevicesScope = "https://www.googleapis.com/auth/cloud-identity.devices" @@ -106,14 +103,6 @@ const ( // members and their emails CloudIdentityGroupsReadonlyScope = "https://www.googleapis.com/auth/cloud-identity.groups.readonly" - // See, send, or cancel any Cloud Identity UserInvitations to join your - // organization to users - CloudIdentityUserinvitationsScope = "https://www.googleapis.com/auth/cloud-identity.userinvitations" - - // See, send, or cancel any Cloud Identity UserInvitations to join your - // organization to users - CloudIdentityUserinvitationsReadonlyScope = "https://www.googleapis.com/auth/cloud-identity.userinvitations.readonly" - // See, edit, configure, and delete your Google Cloud data and see the // email address for your Google Account. CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform" @@ -122,14 +111,11 @@ const ( // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { scopesOption := internaloption.WithDefaultScopes( - "https://www.googleapis.com/auth/cloud-identity", "https://www.googleapis.com/auth/cloud-identity.devices", "https://www.googleapis.com/auth/cloud-identity.devices.lookup", "https://www.googleapis.com/auth/cloud-identity.devices.readonly", "https://www.googleapis.com/auth/cloud-identity.groups", "https://www.googleapis.com/auth/cloud-identity.groups.readonly", - "https://www.googleapis.com/auth/cloud-identity.userinvitations", - "https://www.googleapis.com/auth/cloud-identity.userinvitations.readonly", "https://www.googleapis.com/auth/cloud-platform", ) // NOTE: prepend, so we don't override user-specified scopes. @@ -3792,10 +3778,7 @@ func (c *CustomersUserinvitationsCancelCall) Do(opts ...googleapi.CallOption) (* // }, // "response": { // "$ref": "Operation" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity.userinvitations" - // ] + // } // } } @@ -3942,11 +3925,7 @@ func (c *CustomersUserinvitationsGetCall) Do(opts ...googleapi.CallOption) (*Use // "path": "v1beta1/{+name}", // "response": { // "$ref": "UserInvitation" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity.userinvitations", - // "https://www.googleapis.com/auth/cloud-identity.userinvitations.readonly" - // ] + // } // } } @@ -4097,11 +4076,7 @@ func (c *CustomersUserinvitationsIsInvitableUserCall) Do(opts ...googleapi.CallO // "path": "v1beta1/{+name}:isInvitableUser", // "response": { // "$ref": "IsInvitableUserResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity.userinvitations", - // "https://www.googleapis.com/auth/cloud-identity.userinvitations.readonly" - // ] + // } // } } @@ -4308,11 +4283,7 @@ func (c *CustomersUserinvitationsListCall) Do(opts ...googleapi.CallOption) (*Li // "path": "v1beta1/{+parent}/userinvitations", // "response": { // "$ref": "ListUserInvitationsResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity.userinvitations", - // "https://www.googleapis.com/auth/cloud-identity.userinvitations.readonly" - // ] + // } // } } @@ -4479,10 +4450,7 @@ func (c *CustomersUserinvitationsSendCall) Do(opts ...googleapi.CallOption) (*Op // }, // "response": { // "$ref": "Operation" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity.userinvitations" - // ] + // } // } } @@ -4628,7 +4596,6 @@ func (c *DevicesCancelWipeCall) Do(opts ...googleapi.CallOption) (*Operation, er // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -4757,7 +4724,6 @@ func (c *DevicesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -4893,7 +4859,6 @@ func (c *DevicesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -5043,7 +5008,6 @@ func (c *DevicesGetCall) Do(opts ...googleapi.CallOption) (*Device, error) { // "$ref": "Device" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices", // "https://www.googleapis.com/auth/cloud-identity.devices.readonly" // ] @@ -5271,7 +5235,6 @@ func (c *DevicesListCall) Do(opts ...googleapi.CallOption) (*ListDevicesResponse // "$ref": "ListDevicesResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices", // "https://www.googleapis.com/auth/cloud-identity.devices.readonly" // ] @@ -5440,7 +5403,6 @@ func (c *DevicesWipeCall) Do(opts ...googleapi.CallOption) (*Operation, error) { // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -5587,7 +5549,6 @@ func (c *DevicesDeviceUsersApproveCall) Do(opts ...googleapi.CallOption) (*Opera // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -5734,7 +5695,6 @@ func (c *DevicesDeviceUsersBlockCall) Do(opts ...googleapi.CallOption) (*Operati // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -5883,7 +5843,6 @@ func (c *DevicesDeviceUsersCancelWipeCall) Do(opts ...googleapi.CallOption) (*Op // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -6021,7 +5980,6 @@ func (c *DevicesDeviceUsersDeleteCall) Do(opts ...googleapi.CallOption) (*Operat // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -6172,7 +6130,6 @@ func (c *DevicesDeviceUsersGetCall) Do(opts ...googleapi.CallOption) (*DeviceUse // "$ref": "DeviceUser" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices", // "https://www.googleapis.com/auth/cloud-identity.devices.readonly" // ] @@ -6379,7 +6336,6 @@ func (c *DevicesDeviceUsersListCall) Do(opts ...googleapi.CallOption) (*ListDevi // "$ref": "ListDeviceUsersResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices", // "https://www.googleapis.com/auth/cloud-identity.devices.readonly" // ] @@ -6801,7 +6757,6 @@ func (c *DevicesDeviceUsersWipeCall) Do(opts ...googleapi.CallOption) (*Operatio // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -6980,7 +6935,6 @@ func (c *DevicesDeviceUsersClientStatesGetCall) Do(opts ...googleapi.CallOption) // "$ref": "ClientState" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices", // "https://www.googleapis.com/auth/cloud-identity.devices.readonly" // ] @@ -7162,7 +7116,6 @@ func (c *DevicesDeviceUsersClientStatesPatchCall) Do(opts ...googleapi.CallOptio // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.devices" // ] // } @@ -7322,7 +7275,6 @@ func (c *GroupsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-platform" // ] @@ -7458,7 +7410,6 @@ func (c *GroupsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-platform" // ] @@ -7608,7 +7559,6 @@ func (c *GroupsGetCall) Do(opts ...googleapi.CallOption) (*Group, error) { // "$ref": "Group" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -7773,7 +7723,6 @@ func (c *GroupsGetSecuritySettingsCall) Do(opts ...googleapi.CallOption) (*Secur // "$ref": "SecuritySettings" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -7982,7 +7931,6 @@ func (c *GroupsListCall) Do(opts ...googleapi.CallOption) (*ListGroupsResponse, // "$ref": "ListGroupsResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -8170,7 +8118,6 @@ func (c *GroupsLookupCall) Do(opts ...googleapi.CallOption) (*LookupGroupNameRes // "$ref": "LookupGroupNameResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -8332,7 +8279,6 @@ func (c *GroupsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-platform" // ] @@ -8538,7 +8484,6 @@ func (c *GroupsSearchCall) Do(opts ...googleapi.CallOption) (*SearchGroupsRespon // "$ref": "SearchGroupsResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -8719,7 +8664,6 @@ func (c *GroupsUpdateSecuritySettingsCall) Do(opts ...googleapi.CallOption) (*Op // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-platform" // ] @@ -8895,7 +8839,6 @@ func (c *GroupsMembershipsCheckTransitiveMembershipCall) Do(opts ...googleapi.Ca // "$ref": "CheckTransitiveMembershipResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -9041,7 +8984,6 @@ func (c *GroupsMembershipsCreateCall) Do(opts ...googleapi.CallOption) (*Operati // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-platform" // ] @@ -9178,7 +9120,6 @@ func (c *GroupsMembershipsDeleteCall) Do(opts ...googleapi.CallOption) (*Operati // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-platform" // ] @@ -9329,7 +9270,6 @@ func (c *GroupsMembershipsGetCall) Do(opts ...googleapi.CallOption) (*Membership // "$ref": "Membership" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -9508,7 +9448,6 @@ func (c *GroupsMembershipsGetMembershipGraphCall) Do(opts ...googleapi.CallOptio // "$ref": "Operation" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -9715,7 +9654,6 @@ func (c *GroupsMembershipsListCall) Do(opts ...googleapi.CallOption) (*ListMembe // "$ref": "ListMembershipsResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -9920,7 +9858,6 @@ func (c *GroupsMembershipsLookupCall) Do(opts ...googleapi.CallOption) (*LookupM // "$ref": "LookupMembershipNameResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -10069,7 +10006,6 @@ func (c *GroupsMembershipsModifyMembershipRolesCall) Do(opts ...googleapi.CallOp // "$ref": "ModifyMembershipRolesResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-platform" // ] @@ -10269,7 +10205,6 @@ func (c *GroupsMembershipsSearchTransitiveGroupsCall) Do(opts ...googleapi.CallO // "$ref": "SearchTransitiveGroupsResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" @@ -10473,7 +10408,6 @@ func (c *GroupsMembershipsSearchTransitiveMembershipsCall) Do(opts ...googleapi. // "$ref": "SearchTransitiveMembershipsResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/cloud-identity", // "https://www.googleapis.com/auth/cloud-identity.groups", // "https://www.googleapis.com/auth/cloud-identity.groups.readonly", // "https://www.googleapis.com/auth/cloud-platform" diff --git a/cloudiot/v1/cloudiot-api.json b/cloudiot/v1/cloudiot-api.json index 8b45aea3e08..bdc7195afed 100644 --- a/cloudiot/v1/cloudiot-api.json +++ b/cloudiot/v1/cloudiot-api.json @@ -938,7 +938,7 @@ } } }, - "revision": "20220524", + "revision": "20220822", "rootUrl": "https://cloudiot.googleapis.com/", "schemas": { "BindDeviceToGatewayRequest": { @@ -971,7 +971,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 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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/cloudiot/v1/cloudiot-gen.go b/cloudiot/v1/cloudiot-gen.go index dee8fc7d16d..673a5c94999 100644 --- a/cloudiot/v1/cloudiot-gen.go +++ b/cloudiot/v1/cloudiot-gen.go @@ -299,16 +299,20 @@ type Binding struct { // 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 + // `serviceAccount:{emailid}`: An email address that represents a Google // 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. * + // `my-other-app@appspot.gserviceaccount.com`. * + // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: + // An identifier for a Kubernetes service account + // (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). + // For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. + // * `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, diff --git a/cloudkms/v1/cloudkms-api.json b/cloudkms/v1/cloudkms-api.json index 490afa610a9..30550b13446 100644 --- a/cloudkms/v1/cloudkms-api.json +++ b/cloudkms/v1/cloudkms-api.json @@ -1582,7 +1582,7 @@ } } }, - "revision": "20220701", + "revision": "20220826", "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 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 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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/cloudkms/v1/cloudkms-gen.go b/cloudkms/v1/cloudkms-gen.go index 5a2ba042889..6eb77d7325b 100644 --- a/cloudkms/v1/cloudkms-gen.go +++ b/cloudkms/v1/cloudkms-gen.go @@ -613,19 +613,24 @@ type Binding struct { // `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. * + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, + // `my-other-app@appspot.gserviceaccount.com`. * + // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: + // An identifier for a Kubernetes service account + // (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). + // For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. + // * `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, diff --git a/cloudresourcemanager/v1/cloudresourcemanager-api.json b/cloudresourcemanager/v1/cloudresourcemanager-api.json index ee65d4789d3..d73517d78ff 100644 --- a/cloudresourcemanager/v1/cloudresourcemanager-api.json +++ b/cloudresourcemanager/v1/cloudresourcemanager-api.json @@ -1171,7 +1171,7 @@ } } }, - "revision": "20220807", + "revision": "20220901", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "Ancestor": { @@ -1242,7 +1242,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/cloudresourcemanager/v1/cloudresourcemanager-gen.go b/cloudresourcemanager/v1/cloudresourcemanager-gen.go index 3cbb5ddb0e8..386a79adc9d 100644 --- a/cloudresourcemanager/v1/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v1/cloudresourcemanager-gen.go @@ -345,11 +345,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/cloudresourcemanager/v1beta1/cloudresourcemanager-api.json b/cloudresourcemanager/v1beta1/cloudresourcemanager-api.json index 5f016559a16..55dab7e2189 100644 --- a/cloudresourcemanager/v1beta1/cloudresourcemanager-api.json +++ b/cloudresourcemanager/v1beta1/cloudresourcemanager-api.json @@ -566,7 +566,7 @@ } } }, - "revision": "20220807", + "revision": "20220901", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "Ancestor": { @@ -637,7 +637,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go b/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go index 2d2cc697405..4b092739842 100644 --- a/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go @@ -309,11 +309,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/cloudresourcemanager/v2/cloudresourcemanager-api.json b/cloudresourcemanager/v2/cloudresourcemanager-api.json index 468f1456240..cc198f7b5ea 100644 --- a/cloudresourcemanager/v2/cloudresourcemanager-api.json +++ b/cloudresourcemanager/v2/cloudresourcemanager-api.json @@ -450,7 +450,7 @@ } } }, - "revision": "20220807", + "revision": "20220901", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "AuditConfig": { @@ -510,7 +510,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/cloudresourcemanager/v2/cloudresourcemanager-gen.go b/cloudresourcemanager/v2/cloudresourcemanager-gen.go index 54dc6fa3fd1..872e444d738 100644 --- a/cloudresourcemanager/v2/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v2/cloudresourcemanager-gen.go @@ -281,11 +281,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/cloudresourcemanager/v2beta1/cloudresourcemanager-api.json b/cloudresourcemanager/v2beta1/cloudresourcemanager-api.json index 4507decb854..6f939ca14a3 100644 --- a/cloudresourcemanager/v2beta1/cloudresourcemanager-api.json +++ b/cloudresourcemanager/v2beta1/cloudresourcemanager-api.json @@ -450,7 +450,7 @@ } } }, - "revision": "20220807", + "revision": "20220901", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "AuditConfig": { @@ -510,7 +510,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go b/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go index 9e1cd8daa69..7cf2b25812f 100644 --- a/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go @@ -281,11 +281,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/cloudresourcemanager/v3/cloudresourcemanager-api.json b/cloudresourcemanager/v3/cloudresourcemanager-api.json index 0e35d73ada7..7b1a34b7b52 100644 --- a/cloudresourcemanager/v3/cloudresourcemanager-api.json +++ b/cloudresourcemanager/v3/cloudresourcemanager-api.json @@ -1760,7 +1760,7 @@ } } }, - "revision": "20220807", + "revision": "20220901", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "AuditConfig": { @@ -1820,7 +1820,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/cloudresourcemanager/v3/cloudresourcemanager-gen.go b/cloudresourcemanager/v3/cloudresourcemanager-gen.go index 894b2e81af9..9045a206b21 100644 --- a/cloudresourcemanager/v3/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v3/cloudresourcemanager-gen.go @@ -377,11 +377,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/cloudtasks/v2beta2/cloudtasks-api.json b/cloudtasks/v2beta2/cloudtasks-api.json index 3474c1f7513..0ad5ee6b927 100644 --- a/cloudtasks/v2beta2/cloudtasks-api.json +++ b/cloudtasks/v2beta2/cloudtasks-api.json @@ -180,28 +180,28 @@ "queues": { "methods": { "buffer": { - "description": "Note: This feature is in its experimental stage. You must request access to the API through the [Cloud Tasks BufferQueues Experiment Signup form](https://forms.gle/X8Zr5hiXH5tTGFqh8). Creates and buffers a new task without the need to explicitly define a Task message. The queue must be an http queue (i.e., must have HTTP target). This method is used for a simplified application of Cloud Tasks queues in buffer and rate limitting HTTP requests.", + "description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. Note: This feature is in its experimental stage. You must request access to the API through the [Cloud Tasks BufferTasks Experiment Signup form](https://forms.gle/X8Zr5hiXH5tTGFqh8).", "flatPath": "v2beta2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}:buffer", "httpMethod": "POST", "id": "cloudtasks.projects.locations.queues.buffer", "parameterOrder": [ - "name" + "queue" ], "parameters": { - "name": { - "description": "Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist.", + "queue": { + "description": "Required. The parent queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", "required": true, "type": "string" } }, - "path": "v2beta2/{+name}:buffer", + "path": "v2beta2/{+queue}:buffer", "request": { - "$ref": "BufferQueueRequest" + "$ref": "BufferTaskRequest" }, "response": { - "$ref": "BufferQueueResponse" + "$ref": "BufferTaskResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" @@ -837,7 +837,7 @@ } } }, - "revision": "20220825", + "revision": "20220906", "rootUrl": "https://cloudtasks.googleapis.com/", "schemas": { "AcknowledgeTaskRequest": { @@ -985,24 +985,28 @@ }, "type": "object" }, - "BufferQueueRequest": { - "description": "Request message for BufferQueue.", - "id": "BufferQueueRequest", + "BufferTaskRequest": { + "description": "Request message for BufferTask.", + "id": "BufferTaskRequest", "properties": { "body": { "$ref": "HttpBody", "description": "Body of the HTTP request. The body can take any generic value. The value will be written to the HttpRequest of the [Task]." + }, + "taskId": { + "description": "Optional. The user-specified ID for the task.", + "type": "string" } }, "type": "object" }, - "BufferQueueResponse": { - "description": "Response message for BufferQueue.", - "id": "BufferQueueResponse", + "BufferTaskResponse": { + "description": "Response message for BufferTask.", + "id": "BufferTaskResponse", "properties": { "task": { - "description": "The name of the created task. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. TASK_ID is randomly generated and is unique within the queue.", - "type": "string" + "$ref": "Task", + "description": "The created task." } }, "type": "object" diff --git a/cloudtasks/v2beta2/cloudtasks-gen.go b/cloudtasks/v2beta2/cloudtasks-gen.go index 0c41800e10a..12f2d9f7196 100644 --- a/cloudtasks/v2beta2/cloudtasks-gen.go +++ b/cloudtasks/v2beta2/cloudtasks-gen.go @@ -603,12 +603,15 @@ func (s *Binding) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// BufferQueueRequest: Request message for BufferQueue. -type BufferQueueRequest struct { +// BufferTaskRequest: Request message for BufferTask. +type BufferTaskRequest struct { // Body: Body of the HTTP request. The body can take any generic value. // The value will be written to the HttpRequest of the [Task]. Body *HttpBody `json:"body,omitempty"` + // TaskId: Optional. The user-specified ID for the task. + TaskId string `json:"taskId,omitempty"` + // ForceSendFields is a list of field names (e.g. "Body") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -626,18 +629,16 @@ type BufferQueueRequest struct { NullFields []string `json:"-"` } -func (s *BufferQueueRequest) MarshalJSON() ([]byte, error) { - type NoMethod BufferQueueRequest +func (s *BufferTaskRequest) MarshalJSON() ([]byte, error) { + type NoMethod BufferTaskRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// BufferQueueResponse: Response message for BufferQueue. -type BufferQueueResponse struct { - // Task: The name of the created task. For example: - // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ - // ID`. TASK_ID is randomly generated and is unique within the queue. - Task string `json:"task,omitempty"` +// BufferTaskResponse: Response message for BufferTask. +type BufferTaskResponse struct { + // Task: The created task. + Task *Task `json:"task,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. @@ -660,8 +661,8 @@ type BufferQueueResponse struct { NullFields []string `json:"-"` } -func (s *BufferQueueResponse) MarshalJSON() ([]byte, error) { - type NoMethod BufferQueueResponse +func (s *BufferTaskResponse) MarshalJSON() ([]byte, error) { + type NoMethod BufferTaskResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -2933,29 +2934,27 @@ func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocat // method id "cloudtasks.projects.locations.queues.buffer": type ProjectsLocationsQueuesBufferCall struct { - s *Service - name string - bufferqueuerequest *BufferQueueRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header + s *Service + queue string + buffertaskrequest *BufferTaskRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Buffer: Note: This feature is in its experimental stage. You must -// request access to the API through the Cloud Tasks BufferQueues -// Experiment Signup form (https://forms.gle/X8Zr5hiXH5tTGFqh8). Creates -// and buffers a new task without the need to explicitly define a Task -// message. The queue must be an http queue (i.e., must have HTTP -// target). This method is used for a simplified application of Cloud -// Tasks queues in buffer and rate limitting HTTP requests. +// Buffer: Creates and buffers a new task without the need to explicitly +// define a Task message. The queue must have HTTP target. Note: This +// feature is in its experimental stage. You must request access to the +// API through the Cloud Tasks BufferTasks Experiment Signup form +// (https://forms.gle/X8Zr5hiXH5tTGFqh8). // -// - name: The queue name. For example: +// - queue: The parent queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The // queue must already exist. -func (r *ProjectsLocationsQueuesService) Buffer(name string, bufferqueuerequest *BufferQueueRequest) *ProjectsLocationsQueuesBufferCall { +func (r *ProjectsLocationsQueuesService) Buffer(queue string, buffertaskrequest *BufferTaskRequest) *ProjectsLocationsQueuesBufferCall { c := &ProjectsLocationsQueuesBufferCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - c.bufferqueuerequest = bufferqueuerequest + c.queue = queue + c.buffertaskrequest = buffertaskrequest return c } @@ -2992,14 +2991,14 @@ func (c *ProjectsLocationsQueuesBufferCall) doRequest(alt string) (*http.Respons } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.bufferqueuerequest) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.buffertaskrequest) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v2beta2/{+name}:buffer") + urls := googleapi.ResolveRelative(c.s.BasePath, "v2beta2/{+queue}:buffer") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -3007,19 +3006,19 @@ func (c *ProjectsLocationsQueuesBufferCall) doRequest(alt string) (*http.Respons } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "queue": c.queue, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } // Do executes the "cloudtasks.projects.locations.queues.buffer" call. -// Exactly one of *BufferQueueResponse or error will be non-nil. Any +// Exactly one of *BufferTaskResponse or error will be non-nil. Any // non-2xx status code is an error. Response headers are in either -// *BufferQueueResponse.ServerResponse.Header or (if a response was +// *BufferTaskResponse.ServerResponse.Header or (if a response was // returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsQueuesBufferCall) Do(opts ...googleapi.CallOption) (*BufferQueueResponse, error) { +func (c *ProjectsLocationsQueuesBufferCall) Do(opts ...googleapi.CallOption) (*BufferTaskResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -3038,7 +3037,7 @@ func (c *ProjectsLocationsQueuesBufferCall) Do(opts ...googleapi.CallOption) (*B if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &BufferQueueResponse{ + ret := &BufferTaskResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -3050,28 +3049,28 @@ func (c *ProjectsLocationsQueuesBufferCall) Do(opts ...googleapi.CallOption) (*B } return ret, nil // { - // "description": "Note: This feature is in its experimental stage. You must request access to the API through the [Cloud Tasks BufferQueues Experiment Signup form](https://forms.gle/X8Zr5hiXH5tTGFqh8). Creates and buffers a new task without the need to explicitly define a Task message. The queue must be an http queue (i.e., must have HTTP target). This method is used for a simplified application of Cloud Tasks queues in buffer and rate limitting HTTP requests.", + // "description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. Note: This feature is in its experimental stage. You must request access to the API through the [Cloud Tasks BufferTasks Experiment Signup form](https://forms.gle/X8Zr5hiXH5tTGFqh8).", // "flatPath": "v2beta2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}:buffer", // "httpMethod": "POST", // "id": "cloudtasks.projects.locations.queues.buffer", // "parameterOrder": [ - // "name" + // "queue" // ], // "parameters": { - // "name": { - // "description": "Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist.", + // "queue": { + // "description": "Required. The parent queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v2beta2/{+name}:buffer", + // "path": "v2beta2/{+queue}:buffer", // "request": { - // "$ref": "BufferQueueRequest" + // "$ref": "BufferTaskRequest" // }, // "response": { - // "$ref": "BufferQueueResponse" + // "$ref": "BufferTaskResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform" diff --git a/compute/v0.alpha/compute-api.json b/compute/v0.alpha/compute-api.json index a3517df20db..688b83e2173 100644 --- a/compute/v0.alpha/compute-api.json +++ b/compute/v0.alpha/compute-api.json @@ -27931,6 +27931,56 @@ }, "regionSecurityPolicies": { "methods": { + "addRule": { + "description": "Inserts a rule into a security policy.", + "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/addRule", + "httpMethod": "POST", + "id": "compute.regionSecurityPolicies.addRule", + "parameterOrder": [ + "project", + "region", + "securityPolicy" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "securityPolicy": { + "description": "Name of the security policy to update.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "validateOnly": { + "description": "If true, the request will not be committed.", + "location": "query", + "type": "boolean" + } + }, + "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/addRule", + "request": { + "$ref": "SecurityPolicyRule" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "delete": { "description": "Deletes the specified policy.", "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", @@ -28021,6 +28071,55 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, + "getRule": { + "description": "Gets a rule at the specified priority.", + "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/getRule", + "httpMethod": "GET", + "id": "compute.regionSecurityPolicies.getRule", + "parameterOrder": [ + "project", + "region", + "securityPolicy" + ], + "parameters": { + "priority": { + "description": "The priority of the rule to get from the security policy.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "securityPolicy": { + "description": "Name of the security policy to which the queried rule belongs.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/getRule", + "response": { + "$ref": "SecurityPolicyRule" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "insert": { "description": "Creates a new policy in the specified project using the data included in the request.", "flatPath": "projects/{project}/regions/{region}/securityPolicies", @@ -28142,6 +28241,11 @@ "securityPolicy" ], "parameters": { + "paths": { + "location": "query", + "repeated": true, + "type": "string" + }, "project": { "description": "Project ID for this request.", "location": "path", @@ -28167,6 +28271,12 @@ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "required": true, "type": "string" + }, + "updateMask": { + "description": "Indicates fields to be cleared as part of this request.", + "format": "google-fieldmask", + "location": "query", + "type": "string" } }, "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", @@ -28180,6 +28290,110 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ] + }, + "patchRule": { + "description": "Patches a rule at the specified priority.", + "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/patchRule", + "httpMethod": "POST", + "id": "compute.regionSecurityPolicies.patchRule", + "parameterOrder": [ + "project", + "region", + "securityPolicy" + ], + "parameters": { + "priority": { + "description": "The priority of the rule to patch.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "securityPolicy": { + "description": "Name of the security policy to update.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "validateOnly": { + "description": "If true, the request will not be committed.", + "location": "query", + "type": "boolean" + } + }, + "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/patchRule", + "request": { + "$ref": "SecurityPolicyRule" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, + "removeRule": { + "description": "Deletes a rule at the specified priority.", + "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/removeRule", + "httpMethod": "POST", + "id": "compute.regionSecurityPolicies.removeRule", + "parameterOrder": [ + "project", + "region", + "securityPolicy" + ], + "parameters": { + "priority": { + "description": "The priority of the rule to remove from the security policy.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "securityPolicy": { + "description": "Name of the security policy to update.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/removeRule", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] } } }, @@ -32314,6 +32528,11 @@ "securityPolicy" ], "parameters": { + "paths": { + "location": "query", + "repeated": true, + "type": "string" + }, "project": { "description": "Project ID for this request.", "location": "path", @@ -32332,6 +32551,12 @@ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "required": true, "type": "string" + }, + "updateMask": { + "description": "Indicates fields to be cleared as part of this request.", + "format": "google-fieldmask", + "location": "query", + "type": "string" } }, "path": "projects/{project}/global/securityPolicies/{securityPolicy}", @@ -39308,7 +39533,7 @@ } } }, - "revision": "20220809", + "revision": "20220823", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -40561,7 +40786,7 @@ "description": "[Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both." }, "interface": { - "description": "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.", + "description": "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. For most machine types, the default is SCSI. Local SSDs can use either NVME or SCSI. In certain configurations, persistent disks can use NVMe. For more information, see About persistent disks.", "enum": [ "NVDIMM", "NVME", @@ -46211,7 +46436,7 @@ "type": "array" }, "direction": { - "description": "Direction of traffic to which this firewall applies, either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `INGRESS` traffic, you cannot specify the destinationRanges field, and for `EGRESS` traffic, you cannot specify the sourceRanges or sourceTags fields.", + "description": "Direction of traffic to which this firewall applies, either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot specify the sourceTags fields.", "enum": [ "EGRESS", "INGRESS" @@ -50179,7 +50404,7 @@ }, "routeAction": { "$ref": "HttpRouteAction", - "description": "In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. UrlMaps for external HTTP(S) load balancers support only the urlRewrite action within a route rule's routeAction." + "description": "In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a route rule's routeAction." }, "service": { "description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.", @@ -51833,6 +52058,11 @@ "format": "int32", "type": "integer" }, + "queuing": { + "description": "[Output Only] The number of instances that the managed instance group is currently queuing.", + "format": "int32", + "type": "integer" + }, "recreating": { "description": "[Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.", "format": "int32", @@ -53689,6 +53919,7 @@ "CREATING_WITHOUT_RETRIES", "DELETING", "NONE", + "QUEUING", "RECREATING", "REFRESHING", "RESTARTING", @@ -53705,6 +53936,7 @@ "The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased.", "The managed instance group is permanently deleting this instance.", "The managed instance group has not scheduled any actions for this instance.", + "The managed instance group is queuing this instance.", "The managed instance group is recreating this instance.", "The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance.", "The managed instance group is restarting this instance.", @@ -57685,7 +57917,7 @@ "id": "LocalizedMessage", "properties": { "locale": { - "description": "The locale used following the specification defined at http://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: \"en-US\", \"fr-CH\", \"es-MX\"", + "description": "The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: \"en-US\", \"fr-CH\", \"es-MX\"", "type": "string" }, "message": { @@ -58558,6 +58790,7 @@ "CREATING_WITHOUT_RETRIES", "DELETING", "NONE", + "QUEUING", "RECREATING", "REFRESHING", "RESTARTING", @@ -58574,6 +58807,7 @@ "The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased.", "The managed instance group is permanently deleting this instance.", "The managed instance group has not scheduled any actions for this instance.", + "The managed instance group is queuing this instance.", "The managed instance group is recreating this instance.", "The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance.", "The managed instance group is restarting this instance.", @@ -58637,6 +58871,10 @@ "$ref": "ManagedInstanceLastAttempt", "description": "[Output Only] Information about the last attempt to create or delete the instance." }, + "name": { + "description": "[Output Only] The name of the instance. The name will always exist even if the instance has not yet been created.", + "type": "string" + }, "preservedStateFromConfig": { "$ref": "PreservedState", "description": "[Output Only] Preserved state applied from per-instance config for this instance." @@ -58984,7 +59222,7 @@ "type": "string" }, "mtu": { - "description": "Maximum Transmission Unit in bytes. The minimum value for this field is 1460 and the maximum value is 1500 bytes. If unspecified, defaults to 1460.", + "description": "Maximum Transmission Unit in bytes. The minimum value for this field is 1300 and the maximum value is 8896. The suggested value is 1500, which is the default MTU used on the Internet, or 8896 if you want to use Jumbo frames. If unspecified, the value defaults to 1460.", "format": "int32", "type": "integer" }, @@ -64073,7 +64311,7 @@ }, "defaultRouteAction": { "$ref": "HttpRouteAction", - "description": "defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. UrlMaps for external HTTP(S) load balancers support only the urlRewrite action within a path matcher's defaultRouteAction." + "description": "defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path matcher's defaultRouteAction." }, "defaultService": { "description": "The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use ", @@ -64129,7 +64367,7 @@ }, "routeAction": { "$ref": "HttpRouteAction", - "description": "In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for external HTTP(S) load balancers support only the urlRewrite action within a path rule's routeAction." + "description": "In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path rule's routeAction." }, "service": { "description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.", @@ -78651,7 +78889,7 @@ "type": "object" }, "UpcomingMaintenance": { - "description": "Upcoming Maintenance notification information. TODO(b/196881882) Deprecate this proto once it's fully migrated to be under proto ResourceStatus.UpcomingMaintenance.", + "description": "Upcoming Maintenance notification information. TODO(b/242069500) Deprecate this proto once it's fully migrated to be under proto ResourceStatus.UpcomingMaintenance.", "id": "UpcomingMaintenance", "properties": { "canReschedule": { @@ -78714,7 +78952,7 @@ }, "defaultRouteAction": { "$ref": "HttpRouteAction", - "description": "defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. UrlMaps for external HTTP(S) load balancers support only the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true." + "description": "defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true." }, "defaultService": { "description": "The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.", diff --git a/compute/v0.alpha/compute-gen.go b/compute/v0.alpha/compute-gen.go index 605ee6e4851..bb3740bb9c0 100644 --- a/compute/v0.alpha/compute-gen.go +++ b/compute/v0.alpha/compute-gen.go @@ -3230,11 +3230,10 @@ type AttachedDisk struct { InitializeParams *AttachedDiskInitializeParams `json:"initializeParams,omitempty"` // Interface: Specifies the disk interface to use for attaching this - // disk, which is either SCSI or NVME. The default is SCSI. Persistent - // disks must always use SCSI and the request will fail if you attempt - // to attach a persistent disk in any other format than SCSI. Local SSDs - // can use either NVME or SCSI. For performance characteristics of SCSI - // over NVMe, see Local SSD performance. + // disk, which is either SCSI or NVME. For most machine types, the + // default is SCSI. Local SSDs can use either NVME or SCSI. In certain + // configurations, persistent disks can use NVMe. For more information, + // see About persistent disks. // // Possible values: // "NVDIMM" @@ -12394,10 +12393,8 @@ type Firewall struct { DestinationRanges []string `json:"destinationRanges,omitempty"` // Direction: Direction of traffic to which this firewall applies, - // either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `INGRESS` - // traffic, you cannot specify the destinationRanges field, and for - // `EGRESS` traffic, you cannot specify the sourceRanges or sourceTags - // fields. + // either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `EGRESS` + // traffic, you cannot specify the sourceTags fields. // // Possible values: // "EGRESS" - Indicates that firewall should apply to outgoing @@ -18828,9 +18825,9 @@ type HttpRouteRule struct { // backend. If routeAction specifies any weightedBackendServices, // service must not be set. Conversely if service is set, routeAction // cannot contain any weightedBackendServices. Only one of urlRedirect, - // service or routeAction.weightedBackendService must be set. UrlMaps - // for external HTTP(S) load balancers support only the urlRewrite - // action within a route rule's routeAction. + // service or routeAction.weightedBackendService must be set. URL maps + // for Classic external HTTP(S) load balancers only support the + // urlRewrite action within a route rule's routeAction. RouteAction *HttpRouteAction `json:"routeAction,omitempty"` // Service: The full or partial URL of the backend service resource to @@ -21127,6 +21124,10 @@ type InstanceGroupManagerActionsSummary struct { // group that are running and have no scheduled actions. None int64 `json:"none,omitempty"` + // Queuing: [Output Only] The number of instances that the managed + // instance group is currently queuing. + Queuing int64 `json:"queuing,omitempty"` + // Recreating: [Output Only] The number of instances in the managed // instance group that are scheduled to be recreated or are currently // being being recreated. Recreating an instance deletes the existing @@ -24436,6 +24437,7 @@ type InstanceManagedByIgmErrorInstanceActionDetails struct { // this instance. // "NONE" - The managed instance group has not scheduled any actions // for this instance. + // "QUEUING" - The managed instance group is queuing this instance. // "RECREATING" - The managed instance group is recreating this // instance. // "REFRESHING" - The managed instance group is applying configuration @@ -30618,7 +30620,7 @@ func (s *LocalDisk) MarshalJSON() ([]byte, error) { // return to the user which can be attached to an RPC error. type LocalizedMessage struct { // Locale: The locale used following the specification defined at - // http://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", + // https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", // "fr-CH", "es-MX" Locale string `json:"locale,omitempty"` @@ -31991,6 +31993,7 @@ type ManagedInstance struct { // this instance. // "NONE" - The managed instance group has not scheduled any actions // for this instance. + // "QUEUING" - The managed instance group is queuing this instance. // "RECREATING" - The managed instance group is recreating this // instance. // "REFRESHING" - The managed instance group is applying configuration @@ -32055,6 +32058,10 @@ type ManagedInstance struct { // create or delete the instance. LastAttempt *ManagedInstanceLastAttempt `json:"lastAttempt,omitempty"` + // Name: [Output Only] The name of the instance. The name will always + // exist even if the instance has not yet been created. + Name string `json:"name,omitempty"` + // PreservedStateFromConfig: [Output Only] Preserved state applied from // per-instance config for this instance. PreservedStateFromConfig *PreservedState `json:"preservedStateFromConfig,omitempty"` @@ -32702,8 +32709,9 @@ type Network struct { Kind string `json:"kind,omitempty"` // Mtu: Maximum Transmission Unit in bytes. The minimum value for this - // field is 1460 and the maximum value is 1500 bytes. If unspecified, - // defaults to 1460. + // field is 1300 and the maximum value is 8896. The suggested value is + // 1500, which is the default MTU used on the Internet, or 8896 if you + // want to use Jumbo frames. If unspecified, the value defaults to 1460. Mtu int64 `json:"mtu,omitempty"` // Name: Name of the resource. Provided by the client when the resource @@ -40619,9 +40627,9 @@ type PathMatcher struct { // defaultRouteAction specifies any weightedBackendServices, // defaultService must not be set. Conversely if defaultService is set, // defaultRouteAction cannot contain any weightedBackendServices. Only - // one of defaultRouteAction or defaultUrlRedirect must be set. UrlMaps - // for external HTTP(S) load balancers support only the urlRewrite - // action within a path matcher's defaultRouteAction. + // one of defaultRouteAction or defaultUrlRedirect must be set. URL maps + // for Classic external HTTP(S) load balancers only support the + // urlRewrite action within a path matcher's defaultRouteAction. DefaultRouteAction *HttpRouteAction `json:"defaultRouteAction,omitempty"` // DefaultService: The full or partial URL to the BackendService @@ -40749,9 +40757,9 @@ type PathRule struct { // backend. If routeAction specifies any weightedBackendServices, // service must not be set. Conversely if service is set, routeAction // cannot contain any weightedBackendServices. Only one of routeAction - // or urlRedirect must be set. URL maps for external HTTP(S) load - // balancers support only the urlRewrite action within a path rule's - // routeAction. + // or urlRedirect must be set. URL maps for Classic external HTTP(S) + // load balancers only support the urlRewrite action within a path + // rule's routeAction. RouteAction *HttpRouteAction `json:"routeAction,omitempty"` // Service: The full or partial URL of the backend service resource to @@ -63241,7 +63249,7 @@ func (s *Uint128) MarshalJSON() ([]byte, error) { } // UpcomingMaintenance: Upcoming Maintenance notification information. -// TODO(b/196881882) Deprecate this proto once it's fully migrated to be +// TODO(b/242069500) Deprecate this proto once it's fully migrated to be // under proto ResourceStatus.UpcomingMaintenance. type UpcomingMaintenance struct { // CanReschedule: Indicates if the maintenance can be customer @@ -63381,8 +63389,8 @@ type UrlMap struct { // any weightedBackendServices, defaultService must not be set. // Conversely if defaultService is set, defaultRouteAction cannot // contain any weightedBackendServices. Only one of defaultRouteAction - // or defaultUrlRedirect must be set. UrlMaps for external HTTP(S) load - // balancers support only the urlRewrite action within + // or defaultUrlRedirect must be set. URL maps for Classic external + // HTTP(S) load balancers only support the urlRewrite action within // defaultRouteAction. defaultRouteAction has no effect when the URL map // is bound to a target gRPC proxy that has the validateForProxyless // field set to true. @@ -184058,51 +184066,44 @@ func (c *RegionOperationsWaitCall) Do(opts ...googleapi.CallOption) (*Operation, } -// method id "compute.regionSecurityPolicies.delete": +// method id "compute.regionSecurityPolicies.addRule": -type RegionSecurityPoliciesDeleteCall struct { - s *Service - project string - region string - securityPolicy string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type RegionSecurityPoliciesAddRuleCall struct { + s *Service + project string + region string + securityPolicy string + securitypolicyrule *SecurityPolicyRule + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Delete: Deletes the specified policy. +// AddRule: Inserts a rule into a security policy. // // - project: Project ID for this request. // - region: Name of the region scoping this request. -// - securityPolicy: Name of the security policy to delete. -func (r *RegionSecurityPoliciesService) Delete(project string, region string, securityPolicy string) *RegionSecurityPoliciesDeleteCall { - c := &RegionSecurityPoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - securityPolicy: Name of the security policy to update. +func (r *RegionSecurityPoliciesService) AddRule(project string, region string, securityPolicy string, securitypolicyrule *SecurityPolicyRule) *RegionSecurityPoliciesAddRuleCall { + c := &RegionSecurityPoliciesAddRuleCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.project = project c.region = region c.securityPolicy = securityPolicy + c.securitypolicyrule = securitypolicyrule return c } -// RequestId sets the optional parameter "requestId": An optional -// request ID to identify requests. Specify a unique request ID so that -// if you must retry your request, the server will know to ignore the -// request if it has already been completed. For example, consider a -// situation where you make an initial request and the request times -// out. If you make the request again with the same request ID, the -// server can check if original operation with the same request ID was -// received, and if so, will ignore the second request. This prevents -// clients from accidentally creating duplicate commitments. The request -// ID must be a valid UUID with the exception that zero UUID is not -// supported ( 00000000-0000-0000-0000-000000000000). -func (c *RegionSecurityPoliciesDeleteCall) RequestId(requestId string) *RegionSecurityPoliciesDeleteCall { - c.urlParams_.Set("requestId", requestId) +// ValidateOnly sets the optional parameter "validateOnly": If true, the +// request will not be committed. +func (c *RegionSecurityPoliciesAddRuleCall) ValidateOnly(validateOnly bool) *RegionSecurityPoliciesAddRuleCall { + c.urlParams_.Set("validateOnly", fmt.Sprint(validateOnly)) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *RegionSecurityPoliciesDeleteCall) Fields(s ...googleapi.Field) *RegionSecurityPoliciesDeleteCall { +func (c *RegionSecurityPoliciesAddRuleCall) Fields(s ...googleapi.Field) *RegionSecurityPoliciesAddRuleCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -184110,21 +184111,21 @@ func (c *RegionSecurityPoliciesDeleteCall) Fields(s ...googleapi.Field) *RegionS // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *RegionSecurityPoliciesDeleteCall) Context(ctx context.Context) *RegionSecurityPoliciesDeleteCall { +func (c *RegionSecurityPoliciesAddRuleCall) Context(ctx context.Context) *RegionSecurityPoliciesAddRuleCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *RegionSecurityPoliciesDeleteCall) Header() http.Header { +func (c *RegionSecurityPoliciesAddRuleCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *RegionSecurityPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *RegionSecurityPoliciesAddRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) for k, v := range c.header_ { @@ -184132,11 +184133,16 @@ func (c *RegionSecurityPoliciesDeleteCall) doRequest(alt string) (*http.Response } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.securitypolicyrule) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/addRule") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } @@ -184149,14 +184155,14 @@ func (c *RegionSecurityPoliciesDeleteCall) doRequest(alt string) (*http.Response return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "compute.regionSecurityPolicies.delete" call. +// Do executes the "compute.regionSecurityPolicies.addRule" call. // Exactly one of *Operation or error will be non-nil. Any non-2xx // status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified // to check whether the returned error was because // http.StatusNotModified was returned. -func (c *RegionSecurityPoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *RegionSecurityPoliciesAddRuleCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -184187,10 +184193,10 @@ func (c *RegionSecurityPoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*Op } return ret, nil // { - // "description": "Deletes the specified policy.", - // "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", - // "httpMethod": "DELETE", - // "id": "compute.regionSecurityPolicies.delete", + // "description": "Inserts a rule into a security policy.", + // "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/addRule", + // "httpMethod": "POST", + // "id": "compute.regionSecurityPolicies.addRule", // "parameterOrder": [ // "project", // "region", @@ -184211,20 +184217,23 @@ func (c *RegionSecurityPoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*Op // "required": true, // "type": "string" // }, - // "requestId": { - // "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - // "location": "query", - // "type": "string" - // }, // "securityPolicy": { - // "description": "Name of the security policy to delete.", + // "description": "Name of the security policy to update.", // "location": "path", // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", // "required": true, // "type": "string" + // }, + // "validateOnly": { + // "description": "If true, the request will not be committed.", + // "location": "query", + // "type": "boolean" // } // }, - // "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", + // "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/addRule", + // "request": { + // "$ref": "SecurityPolicyRule" + // }, // "response": { // "$ref": "Operation" // }, @@ -184236,204 +184245,31 @@ func (c *RegionSecurityPoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*Op } -// method id "compute.regionSecurityPolicies.get": +// method id "compute.regionSecurityPolicies.delete": -type RegionSecurityPoliciesGetCall struct { +type RegionSecurityPoliciesDeleteCall struct { s *Service project string region string securityPolicy string urlParams_ gensupport.URLParams - ifNoneMatch_ string ctx_ context.Context header_ http.Header } -// Get: List all of the ordered rules present in a single specified -// policy. +// Delete: Deletes the specified policy. // // - project: Project ID for this request. // - region: Name of the region scoping this request. -// - securityPolicy: Name of the security policy to get. -func (r *RegionSecurityPoliciesService) Get(project string, region string, securityPolicy string) *RegionSecurityPoliciesGetCall { - c := &RegionSecurityPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// - securityPolicy: Name of the security policy to delete. +func (r *RegionSecurityPoliciesService) Delete(project string, region string, securityPolicy string) *RegionSecurityPoliciesDeleteCall { + c := &RegionSecurityPoliciesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.project = project c.region = region c.securityPolicy = securityPolicy return c } -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse -// for more information. -func (c *RegionSecurityPoliciesGetCall) Fields(s ...googleapi.Field) *RegionSecurityPoliciesGetCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *RegionSecurityPoliciesGetCall) IfNoneMatch(entityTag string) *RegionSecurityPoliciesGetCall { - c.ifNoneMatch_ = entityTag - return c -} - -// Context sets the context to be used in this call's Do method. Any -// pending HTTP request will be aborted if the provided context is -// canceled. -func (c *RegionSecurityPoliciesGetCall) Context(ctx context.Context) *RegionSecurityPoliciesGetCall { - c.ctx_ = ctx - return c -} - -// Header returns an http.Header that can be modified by the caller to -// add HTTP headers to the request. -func (c *RegionSecurityPoliciesGetCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *RegionSecurityPoliciesGetCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) - for k, v := range c.header_ { - reqHeaders[k] = v - } - reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "project": c.project, - "region": c.region, - "securityPolicy": c.securityPolicy, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "compute.regionSecurityPolicies.get" call. -// Exactly one of *SecurityPolicy or error will be non-nil. Any non-2xx -// status code is an error. Response headers are in either -// *SecurityPolicy.ServerResponse.Header or (if a response was returned -// at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *RegionSecurityPoliciesGetCall) Do(opts ...googleapi.CallOption) (*SecurityPolicy, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, &googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - } - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, err - } - ret := &SecurityPolicy{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil - // { - // "description": "List all of the ordered rules present in a single specified policy.", - // "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", - // "httpMethod": "GET", - // "id": "compute.regionSecurityPolicies.get", - // "parameterOrder": [ - // "project", - // "region", - // "securityPolicy" - // ], - // "parameters": { - // "project": { - // "description": "Project ID for this request.", - // "location": "path", - // "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - // "required": true, - // "type": "string" - // }, - // "region": { - // "description": "Name of the region scoping this request.", - // "location": "path", - // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - // "required": true, - // "type": "string" - // }, - // "securityPolicy": { - // "description": "Name of the security policy to get.", - // "location": "path", - // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - // "required": true, - // "type": "string" - // } - // }, - // "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", - // "response": { - // "$ref": "SecurityPolicy" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform", - // "https://www.googleapis.com/auth/compute", - // "https://www.googleapis.com/auth/compute.readonly" - // ] - // } - -} - -// method id "compute.regionSecurityPolicies.insert": - -type RegionSecurityPoliciesInsertCall struct { - s *Service - project string - region string - securitypolicy *SecurityPolicy - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Insert: Creates a new policy in the specified project using the data -// included in the request. -// -// - project: Project ID for this request. -// - region: Name of the region scoping this request. -func (r *RegionSecurityPoliciesService) Insert(project string, region string, securitypolicy *SecurityPolicy) *RegionSecurityPoliciesInsertCall { - c := &RegionSecurityPoliciesInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.project = project - c.region = region - c.securitypolicy = securitypolicy - return c -} - // RequestId sets the optional parameter "requestId": An optional // request ID to identify requests. Specify a unique request ID so that // if you must retry your request, the server will know to ignore the @@ -184445,22 +184281,15 @@ func (r *RegionSecurityPoliciesService) Insert(project string, region string, se // clients from accidentally creating duplicate commitments. The request // ID must be a valid UUID with the exception that zero UUID is not // supported ( 00000000-0000-0000-0000-000000000000). -func (c *RegionSecurityPoliciesInsertCall) RequestId(requestId string) *RegionSecurityPoliciesInsertCall { +func (c *RegionSecurityPoliciesDeleteCall) RequestId(requestId string) *RegionSecurityPoliciesDeleteCall { c.urlParams_.Set("requestId", requestId) return c } -// ValidateOnly sets the optional parameter "validateOnly": If true, the -// request will not be committed. -func (c *RegionSecurityPoliciesInsertCall) ValidateOnly(validateOnly bool) *RegionSecurityPoliciesInsertCall { - c.urlParams_.Set("validateOnly", fmt.Sprint(validateOnly)) - return c -} - // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *RegionSecurityPoliciesInsertCall) Fields(s ...googleapi.Field) *RegionSecurityPoliciesInsertCall { +func (c *RegionSecurityPoliciesDeleteCall) Fields(s ...googleapi.Field) *RegionSecurityPoliciesDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -184468,21 +184297,21 @@ func (c *RegionSecurityPoliciesInsertCall) Fields(s ...googleapi.Field) *RegionS // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *RegionSecurityPoliciesInsertCall) Context(ctx context.Context) *RegionSecurityPoliciesInsertCall { +func (c *RegionSecurityPoliciesDeleteCall) Context(ctx context.Context) *RegionSecurityPoliciesDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *RegionSecurityPoliciesInsertCall) Header() http.Header { +func (c *RegionSecurityPoliciesDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *RegionSecurityPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { +func (c *RegionSecurityPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) for k, v := range c.header_ { @@ -184490,35 +184319,579 @@ func (c *RegionSecurityPoliciesInsertCall) doRequest(alt string) (*http.Response } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.securitypolicy) - if err != nil { - return nil, err - } - reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/regions/{region}/securityPolicies") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "project": c.project, - "region": c.region, + "project": c.project, + "region": c.region, + "securityPolicy": c.securityPolicy, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "compute.regionSecurityPolicies.insert" call. +// Do executes the "compute.regionSecurityPolicies.delete" call. // Exactly one of *Operation or error will be non-nil. Any non-2xx // status code is an error. Response headers are in either // *Operation.ServerResponse.Header or (if a response was returned at // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified // to check whether the returned error was because // http.StatusNotModified was returned. -func (c *RegionSecurityPoliciesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error) { +func (c *RegionSecurityPoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes the specified policy.", + // "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", + // "httpMethod": "DELETE", + // "id": "compute.regionSecurityPolicies.delete", + // "parameterOrder": [ + // "project", + // "region", + // "securityPolicy" + // ], + // "parameters": { + // "project": { + // "description": "Project ID for this request.", + // "location": "path", + // "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + // "required": true, + // "type": "string" + // }, + // "region": { + // "description": "Name of the region scoping this request.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + // "required": true, + // "type": "string" + // }, + // "requestId": { + // "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + // "location": "query", + // "type": "string" + // }, + // "securityPolicy": { + // "description": "Name of the security policy to delete.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + // "required": true, + // "type": "string" + // } + // }, + // "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", + // "response": { + // "$ref": "Operation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/compute" + // ] + // } + +} + +// method id "compute.regionSecurityPolicies.get": + +type RegionSecurityPoliciesGetCall struct { + s *Service + project string + region string + securityPolicy string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: List all of the ordered rules present in a single specified +// policy. +// +// - project: Project ID for this request. +// - region: Name of the region scoping this request. +// - securityPolicy: Name of the security policy to get. +func (r *RegionSecurityPoliciesService) Get(project string, region string, securityPolicy string) *RegionSecurityPoliciesGetCall { + c := &RegionSecurityPoliciesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.region = region + c.securityPolicy = securityPolicy + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *RegionSecurityPoliciesGetCall) Fields(s ...googleapi.Field) *RegionSecurityPoliciesGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *RegionSecurityPoliciesGetCall) IfNoneMatch(entityTag string) *RegionSecurityPoliciesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *RegionSecurityPoliciesGetCall) Context(ctx context.Context) *RegionSecurityPoliciesGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *RegionSecurityPoliciesGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *RegionSecurityPoliciesGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "project": c.project, + "region": c.region, + "securityPolicy": c.securityPolicy, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.regionSecurityPolicies.get" call. +// Exactly one of *SecurityPolicy or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *SecurityPolicy.ServerResponse.Header or (if a response was returned +// at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *RegionSecurityPoliciesGetCall) Do(opts ...googleapi.CallOption) (*SecurityPolicy, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &SecurityPolicy{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "List all of the ordered rules present in a single specified policy.", + // "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", + // "httpMethod": "GET", + // "id": "compute.regionSecurityPolicies.get", + // "parameterOrder": [ + // "project", + // "region", + // "securityPolicy" + // ], + // "parameters": { + // "project": { + // "description": "Project ID for this request.", + // "location": "path", + // "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + // "required": true, + // "type": "string" + // }, + // "region": { + // "description": "Name of the region scoping this request.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + // "required": true, + // "type": "string" + // }, + // "securityPolicy": { + // "description": "Name of the security policy to get.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + // "required": true, + // "type": "string" + // } + // }, + // "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", + // "response": { + // "$ref": "SecurityPolicy" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/compute", + // "https://www.googleapis.com/auth/compute.readonly" + // ] + // } + +} + +// method id "compute.regionSecurityPolicies.getRule": + +type RegionSecurityPoliciesGetRuleCall struct { + s *Service + project string + region string + securityPolicy string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// GetRule: Gets a rule at the specified priority. +// +// - project: Project ID for this request. +// - region: Name of the region scoping this request. +// - securityPolicy: Name of the security policy to which the queried +// rule belongs. +func (r *RegionSecurityPoliciesService) GetRule(project string, region string, securityPolicy string) *RegionSecurityPoliciesGetRuleCall { + c := &RegionSecurityPoliciesGetRuleCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.region = region + c.securityPolicy = securityPolicy + return c +} + +// Priority sets the optional parameter "priority": The priority of the +// rule to get from the security policy. +func (c *RegionSecurityPoliciesGetRuleCall) Priority(priority int64) *RegionSecurityPoliciesGetRuleCall { + c.urlParams_.Set("priority", fmt.Sprint(priority)) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *RegionSecurityPoliciesGetRuleCall) Fields(s ...googleapi.Field) *RegionSecurityPoliciesGetRuleCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *RegionSecurityPoliciesGetRuleCall) IfNoneMatch(entityTag string) *RegionSecurityPoliciesGetRuleCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *RegionSecurityPoliciesGetRuleCall) Context(ctx context.Context) *RegionSecurityPoliciesGetRuleCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *RegionSecurityPoliciesGetRuleCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *RegionSecurityPoliciesGetRuleCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/getRule") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "project": c.project, + "region": c.region, + "securityPolicy": c.securityPolicy, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.regionSecurityPolicies.getRule" call. +// Exactly one of *SecurityPolicyRule or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *SecurityPolicyRule.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *RegionSecurityPoliciesGetRuleCall) Do(opts ...googleapi.CallOption) (*SecurityPolicyRule, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &SecurityPolicyRule{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Gets a rule at the specified priority.", + // "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/getRule", + // "httpMethod": "GET", + // "id": "compute.regionSecurityPolicies.getRule", + // "parameterOrder": [ + // "project", + // "region", + // "securityPolicy" + // ], + // "parameters": { + // "priority": { + // "description": "The priority of the rule to get from the security policy.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "project": { + // "description": "Project ID for this request.", + // "location": "path", + // "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + // "required": true, + // "type": "string" + // }, + // "region": { + // "description": "Name of the region scoping this request.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + // "required": true, + // "type": "string" + // }, + // "securityPolicy": { + // "description": "Name of the security policy to which the queried rule belongs.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + // "required": true, + // "type": "string" + // } + // }, + // "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/getRule", + // "response": { + // "$ref": "SecurityPolicyRule" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/compute", + // "https://www.googleapis.com/auth/compute.readonly" + // ] + // } + +} + +// method id "compute.regionSecurityPolicies.insert": + +type RegionSecurityPoliciesInsertCall struct { + s *Service + project string + region string + securitypolicy *SecurityPolicy + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Insert: Creates a new policy in the specified project using the data +// included in the request. +// +// - project: Project ID for this request. +// - region: Name of the region scoping this request. +func (r *RegionSecurityPoliciesService) Insert(project string, region string, securitypolicy *SecurityPolicy) *RegionSecurityPoliciesInsertCall { + c := &RegionSecurityPoliciesInsertCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.region = region + c.securitypolicy = securitypolicy + return c +} + +// RequestId sets the optional parameter "requestId": An optional +// request ID to identify requests. Specify a unique request ID so that +// if you must retry your request, the server will know to ignore the +// request if it has already been completed. For example, consider a +// situation where you make an initial request and the request times +// out. If you make the request again with the same request ID, the +// server can check if original operation with the same request ID was +// received, and if so, will ignore the second request. This prevents +// clients from accidentally creating duplicate commitments. The request +// ID must be a valid UUID with the exception that zero UUID is not +// supported ( 00000000-0000-0000-0000-000000000000). +func (c *RegionSecurityPoliciesInsertCall) RequestId(requestId string) *RegionSecurityPoliciesInsertCall { + c.urlParams_.Set("requestId", requestId) + return c +} + +// ValidateOnly sets the optional parameter "validateOnly": If true, the +// request will not be committed. +func (c *RegionSecurityPoliciesInsertCall) ValidateOnly(validateOnly bool) *RegionSecurityPoliciesInsertCall { + c.urlParams_.Set("validateOnly", fmt.Sprint(validateOnly)) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *RegionSecurityPoliciesInsertCall) Fields(s ...googleapi.Field) *RegionSecurityPoliciesInsertCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *RegionSecurityPoliciesInsertCall) Context(ctx context.Context) *RegionSecurityPoliciesInsertCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *RegionSecurityPoliciesInsertCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *RegionSecurityPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.securitypolicy) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/regions/{region}/securityPolicies") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "project": c.project, + "region": c.region, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.regionSecurityPolicies.insert" call. +// Exactly one of *Operation or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified +// to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *RegionSecurityPoliciesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -184918,6 +185291,12 @@ func (r *RegionSecurityPoliciesService) Patch(project string, region string, sec return c } +// Paths sets the optional parameter "paths": +func (c *RegionSecurityPoliciesPatchCall) Paths(paths ...string) *RegionSecurityPoliciesPatchCall { + c.urlParams_.SetMulti("paths", append([]string{}, paths...)) + return c +} + // RequestId sets the optional parameter "requestId": An optional // request ID to identify requests. Specify a unique request ID so that // if you must retry your request, the server will know to ignore the @@ -184934,6 +185313,13 @@ func (c *RegionSecurityPoliciesPatchCall) RequestId(requestId string) *RegionSec return c } +// UpdateMask sets the optional parameter "updateMask": Indicates fields +// to be cleared as part of this request. +func (c *RegionSecurityPoliciesPatchCall) UpdateMask(updateMask string) *RegionSecurityPoliciesPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. @@ -185037,6 +185423,11 @@ func (c *RegionSecurityPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Ope // "securityPolicy" // ], // "parameters": { + // "paths": { + // "location": "query", + // "repeated": true, + // "type": "string" + // }, // "project": { // "description": "Project ID for this request.", // "location": "path", @@ -185062,6 +185453,12 @@ func (c *RegionSecurityPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Ope // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "Indicates fields to be cleared as part of this request.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, // "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", @@ -185079,6 +185476,368 @@ func (c *RegionSecurityPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Ope } +// method id "compute.regionSecurityPolicies.patchRule": + +type RegionSecurityPoliciesPatchRuleCall struct { + s *Service + project string + region string + securityPolicy string + securitypolicyrule *SecurityPolicyRule + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// PatchRule: Patches a rule at the specified priority. +// +// - project: Project ID for this request. +// - region: Name of the region scoping this request. +// - securityPolicy: Name of the security policy to update. +func (r *RegionSecurityPoliciesService) PatchRule(project string, region string, securityPolicy string, securitypolicyrule *SecurityPolicyRule) *RegionSecurityPoliciesPatchRuleCall { + c := &RegionSecurityPoliciesPatchRuleCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.region = region + c.securityPolicy = securityPolicy + c.securitypolicyrule = securitypolicyrule + return c +} + +// Priority sets the optional parameter "priority": The priority of the +// rule to patch. +func (c *RegionSecurityPoliciesPatchRuleCall) Priority(priority int64) *RegionSecurityPoliciesPatchRuleCall { + c.urlParams_.Set("priority", fmt.Sprint(priority)) + return c +} + +// ValidateOnly sets the optional parameter "validateOnly": If true, the +// request will not be committed. +func (c *RegionSecurityPoliciesPatchRuleCall) ValidateOnly(validateOnly bool) *RegionSecurityPoliciesPatchRuleCall { + c.urlParams_.Set("validateOnly", fmt.Sprint(validateOnly)) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *RegionSecurityPoliciesPatchRuleCall) Fields(s ...googleapi.Field) *RegionSecurityPoliciesPatchRuleCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *RegionSecurityPoliciesPatchRuleCall) Context(ctx context.Context) *RegionSecurityPoliciesPatchRuleCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *RegionSecurityPoliciesPatchRuleCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *RegionSecurityPoliciesPatchRuleCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.securitypolicyrule) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/patchRule") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "project": c.project, + "region": c.region, + "securityPolicy": c.securityPolicy, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.regionSecurityPolicies.patchRule" call. +// Exactly one of *Operation or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified +// to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *RegionSecurityPoliciesPatchRuleCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Patches a rule at the specified priority.", + // "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/patchRule", + // "httpMethod": "POST", + // "id": "compute.regionSecurityPolicies.patchRule", + // "parameterOrder": [ + // "project", + // "region", + // "securityPolicy" + // ], + // "parameters": { + // "priority": { + // "description": "The priority of the rule to patch.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "project": { + // "description": "Project ID for this request.", + // "location": "path", + // "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + // "required": true, + // "type": "string" + // }, + // "region": { + // "description": "Name of the region scoping this request.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + // "required": true, + // "type": "string" + // }, + // "securityPolicy": { + // "description": "Name of the security policy to update.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + // "required": true, + // "type": "string" + // }, + // "validateOnly": { + // "description": "If true, the request will not be committed.", + // "location": "query", + // "type": "boolean" + // } + // }, + // "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/patchRule", + // "request": { + // "$ref": "SecurityPolicyRule" + // }, + // "response": { + // "$ref": "Operation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/compute" + // ] + // } + +} + +// method id "compute.regionSecurityPolicies.removeRule": + +type RegionSecurityPoliciesRemoveRuleCall struct { + s *Service + project string + region string + securityPolicy string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// RemoveRule: Deletes a rule at the specified priority. +// +// - project: Project ID for this request. +// - region: Name of the region scoping this request. +// - securityPolicy: Name of the security policy to update. +func (r *RegionSecurityPoliciesService) RemoveRule(project string, region string, securityPolicy string) *RegionSecurityPoliciesRemoveRuleCall { + c := &RegionSecurityPoliciesRemoveRuleCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.region = region + c.securityPolicy = securityPolicy + return c +} + +// Priority sets the optional parameter "priority": The priority of the +// rule to remove from the security policy. +func (c *RegionSecurityPoliciesRemoveRuleCall) Priority(priority int64) *RegionSecurityPoliciesRemoveRuleCall { + c.urlParams_.Set("priority", fmt.Sprint(priority)) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *RegionSecurityPoliciesRemoveRuleCall) Fields(s ...googleapi.Field) *RegionSecurityPoliciesRemoveRuleCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *RegionSecurityPoliciesRemoveRuleCall) Context(ctx context.Context) *RegionSecurityPoliciesRemoveRuleCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *RegionSecurityPoliciesRemoveRuleCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *RegionSecurityPoliciesRemoveRuleCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/removeRule") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "project": c.project, + "region": c.region, + "securityPolicy": c.securityPolicy, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.regionSecurityPolicies.removeRule" call. +// Exactly one of *Operation or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified +// to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *RegionSecurityPoliciesRemoveRuleCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes a rule at the specified priority.", + // "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/removeRule", + // "httpMethod": "POST", + // "id": "compute.regionSecurityPolicies.removeRule", + // "parameterOrder": [ + // "project", + // "region", + // "securityPolicy" + // ], + // "parameters": { + // "priority": { + // "description": "The priority of the rule to remove from the security policy.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "project": { + // "description": "Project ID for this request.", + // "location": "path", + // "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + // "required": true, + // "type": "string" + // }, + // "region": { + // "description": "Name of the region scoping this request.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + // "required": true, + // "type": "string" + // }, + // "securityPolicy": { + // "description": "Name of the security policy to update.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + // "required": true, + // "type": "string" + // } + // }, + // "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/removeRule", + // "response": { + // "$ref": "Operation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/compute" + // ] + // } + +} + // method id "compute.regionSslCertificates.delete": type RegionSslCertificatesDeleteCall struct { @@ -202034,6 +202793,12 @@ func (r *SecurityPoliciesService) Patch(project string, securityPolicy string, s return c } +// Paths sets the optional parameter "paths": +func (c *SecurityPoliciesPatchCall) Paths(paths ...string) *SecurityPoliciesPatchCall { + c.urlParams_.SetMulti("paths", append([]string{}, paths...)) + return c +} + // RequestId sets the optional parameter "requestId": An optional // request ID to identify requests. Specify a unique request ID so that // if you must retry your request, the server will know to ignore the @@ -202050,6 +202815,13 @@ func (c *SecurityPoliciesPatchCall) RequestId(requestId string) *SecurityPolicie return c } +// UpdateMask sets the optional parameter "updateMask": Indicates fields +// to be cleared as part of this request. +func (c *SecurityPoliciesPatchCall) UpdateMask(updateMask string) *SecurityPoliciesPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. @@ -202151,6 +202923,11 @@ func (c *SecurityPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Operation // "securityPolicy" // ], // "parameters": { + // "paths": { + // "location": "query", + // "repeated": true, + // "type": "string" + // }, // "project": { // "description": "Project ID for this request.", // "location": "path", @@ -202169,6 +202946,12 @@ func (c *SecurityPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Operation // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "Indicates fields to be cleared as part of this request.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, // "path": "projects/{project}/global/securityPolicies/{securityPolicy}", diff --git a/compute/v0.beta/compute-api.json b/compute/v0.beta/compute-api.json index 04cb5170eb3..21bad611ee9 100644 --- a/compute/v0.beta/compute-api.json +++ b/compute/v0.beta/compute-api.json @@ -35452,7 +35452,7 @@ } } }, - "revision": "20220809", + "revision": "20220823", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -36619,6 +36619,10 @@ "format": "int64", "type": "string" }, + "forceAttach": { + "description": "[Input Only] Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error.", + "type": "boolean" + }, "guestOsFeatures": { "description": "A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.", "items": { @@ -36636,7 +36640,7 @@ "description": "[Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both." }, "interface": { - "description": "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.", + "description": "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. For most machine types, the default is SCSI. Local SSDs can use either NVME or SCSI. In certain configurations, persistent disks can use NVMe. For more information, see About persistent disks.", "enum": [ "NVME", "SCSI" @@ -39386,6 +39390,13 @@ "$ref": "LicenseResourceCommitment", "description": "The license specification required as part of a license commitment." }, + "mergeSourceCommitments": { + "description": "List of source commitments to be merged into a new commitment.", + "items": { + "type": "string" + }, + "type": "array" + }, "name": { "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", @@ -39427,6 +39438,10 @@ "description": "[Output Only] Server-defined URL for the resource.", "type": "string" }, + "splitSourceCommitment": { + "description": "Source commitment to be splitted into a new commitment.", + "type": "string" + }, "startTimestamp": { "description": "[Output Only] Commitment start time in RFC3339 text format.", "type": "string" @@ -41804,7 +41819,7 @@ "type": "array" }, "direction": { - "description": "Direction of traffic to which this firewall applies, either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `INGRESS` traffic, you cannot specify the destinationRanges field, and for `EGRESS` traffic, you cannot specify the sourceRanges or sourceTags fields.", + "description": "Direction of traffic to which this firewall applies, either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot specify the sourceTags fields.", "enum": [ "EGRESS", "INGRESS" @@ -44838,7 +44853,7 @@ }, "routeAction": { "$ref": "HttpRouteAction", - "description": "In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. UrlMaps for external HTTP(S) load balancers support only the urlRewrite action within a route rule's routeAction." + "description": "In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a route rule's routeAction." }, "service": { "description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.", @@ -50483,7 +50498,7 @@ "id": "LocalizedMessage", "properties": { "locale": { - "description": "The locale used following the specification defined at http://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: \"en-US\", \"fr-CH\", \"es-MX\"", + "description": "The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: \"en-US\", \"fr-CH\", \"es-MX\"", "type": "string" }, "message": { @@ -51681,7 +51696,7 @@ "type": "string" }, "mtu": { - "description": "Maximum Transmission Unit in bytes. The minimum value for this field is 1460 and the maximum value is 1500 bytes. If unspecified, defaults to 1460.", + "description": "Maximum Transmission Unit in bytes. The minimum value for this field is 1300 and the maximum value is 8896. The suggested value is 1500, which is the default MTU used on the Internet, or 8896 if you want to use Jumbo frames. If unspecified, the value defaults to 1460.", "format": "int32", "type": "integer" }, @@ -56396,7 +56411,7 @@ "properties": { "defaultRouteAction": { "$ref": "HttpRouteAction", - "description": "defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. UrlMaps for external HTTP(S) load balancers support only the urlRewrite action within a path matcher's defaultRouteAction." + "description": "defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path matcher's defaultRouteAction." }, "defaultService": { "description": "The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use ", @@ -56448,7 +56463,7 @@ }, "routeAction": { "$ref": "HttpRouteAction", - "description": "In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for external HTTP(S) load balancers support only the urlRewrite action within a path rule's routeAction." + "description": "In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path rule's routeAction." }, "service": { "description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.", @@ -69550,7 +69565,7 @@ }, "defaultRouteAction": { "$ref": "HttpRouteAction", - "description": "defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. UrlMaps for external HTTP(S) load balancers support only the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true." + "description": "defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true." }, "defaultService": { "description": "The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.", diff --git a/compute/v0.beta/compute-gen.go b/compute/v0.beta/compute-gen.go index 6eb05a4fe96..9de4de1c304 100644 --- a/compute/v0.beta/compute-gen.go +++ b/compute/v0.beta/compute-gen.go @@ -3024,6 +3024,11 @@ type AttachedDisk struct { // DiskSizeGb: The size of the disk in GB. DiskSizeGb int64 `json:"diskSizeGb,omitempty,string"` + // ForceAttach: [Input Only] Whether to force attach the regional disk + // even if it's currently attached to another instance. If you try to + // force attach a zonal disk to an instance, you will receive an error. + ForceAttach bool `json:"forceAttach,omitempty"` + // GuestOsFeatures: A list of features to enable on the guest operating // system. Applicable only for bootable images. Read Enabling guest // operating system features to see a list of available options. @@ -3042,11 +3047,10 @@ type AttachedDisk struct { InitializeParams *AttachedDiskInitializeParams `json:"initializeParams,omitempty"` // Interface: Specifies the disk interface to use for attaching this - // disk, which is either SCSI or NVME. The default is SCSI. Persistent - // disks must always use SCSI and the request will fail if you attempt - // to attach a persistent disk in any other format than SCSI. Local SSDs - // can use either NVME or SCSI. For performance characteristics of SCSI - // over NVMe, see Local SSD performance. + // disk, which is either SCSI or NVME. For most machine types, the + // default is SCSI. Local SSDs can use either NVME or SCSI. In certain + // configurations, persistent disks can use NVMe. For more information, + // see About persistent disks. // // Possible values: // "NVME" @@ -7628,6 +7632,10 @@ type Commitment struct { // license commitment. LicenseResource *LicenseResourceCommitment `json:"licenseResource,omitempty"` + // MergeSourceCommitments: List of source commitments to be merged into + // a new commitment. + MergeSourceCommitments []string `json:"mergeSourceCommitments,omitempty"` + // Name: Name of the resource. Provided by the client when the resource // is created. The name must be 1-63 characters long, and comply with // RFC1035. Specifically, the name must be 1-63 characters long and @@ -7661,6 +7669,10 @@ type Commitment struct { // SelfLink: [Output Only] Server-defined URL for the resource. SelfLink string `json:"selfLink,omitempty"` + // SplitSourceCommitment: Source commitment to be splitted into a new + // commitment. + SplitSourceCommitment string `json:"splitSourceCommitment,omitempty"` + // StartTimestamp: [Output Only] Commitment start time in RFC3339 text // format. StartTimestamp string `json:"startTimestamp,omitempty"` @@ -11395,10 +11407,8 @@ type Firewall struct { DestinationRanges []string `json:"destinationRanges,omitempty"` // Direction: Direction of traffic to which this firewall applies, - // either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `INGRESS` - // traffic, you cannot specify the destinationRanges field, and for - // `EGRESS` traffic, you cannot specify the sourceRanges or sourceTags - // fields. + // either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `EGRESS` + // traffic, you cannot specify the sourceTags fields. // // Possible values: // "EGRESS" - Indicates that firewall should apply to outgoing @@ -16393,9 +16403,9 @@ type HttpRouteRule struct { // backend. If routeAction specifies any weightedBackendServices, // service must not be set. Conversely if service is set, routeAction // cannot contain any weightedBackendServices. Only one of urlRedirect, - // service or routeAction.weightedBackendService must be set. UrlMaps - // for external HTTP(S) load balancers support only the urlRewrite - // action within a route rule's routeAction. + // service or routeAction.weightedBackendService must be set. URL maps + // for Classic external HTTP(S) load balancers only support the + // urlRewrite action within a route rule's routeAction. RouteAction *HttpRouteAction `json:"routeAction,omitempty"` // Service: The full or partial URL of the backend service resource to @@ -25227,7 +25237,7 @@ func (s *LocalDisk) MarshalJSON() ([]byte, error) { // return to the user which can be attached to an RPC error. type LocalizedMessage struct { // Locale: The locale used following the specification defined at - // http://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", + // https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", // "fr-CH", "es-MX" Locale string `json:"locale,omitempty"` @@ -27179,8 +27189,9 @@ type Network struct { Kind string `json:"kind,omitempty"` // Mtu: Maximum Transmission Unit in bytes. The minimum value for this - // field is 1460 and the maximum value is 1500 bytes. If unspecified, - // defaults to 1460. + // field is 1300 and the maximum value is 8896. The suggested value is + // 1500, which is the default MTU used on the Internet, or 8896 if you + // want to use Jumbo frames. If unspecified, the value defaults to 1460. Mtu int64 `json:"mtu,omitempty"` // Name: Name of the resource. Provided by the client when the resource @@ -34523,9 +34534,9 @@ type PathMatcher struct { // defaultRouteAction specifies any weightedBackendServices, // defaultService must not be set. Conversely if defaultService is set, // defaultRouteAction cannot contain any weightedBackendServices. Only - // one of defaultRouteAction or defaultUrlRedirect must be set. UrlMaps - // for external HTTP(S) load balancers support only the urlRewrite - // action within a path matcher's defaultRouteAction. + // one of defaultRouteAction or defaultUrlRedirect must be set. URL maps + // for Classic external HTTP(S) load balancers only support the + // urlRewrite action within a path matcher's defaultRouteAction. DefaultRouteAction *HttpRouteAction `json:"defaultRouteAction,omitempty"` // DefaultService: The full or partial URL to the BackendService @@ -34628,9 +34639,9 @@ type PathRule struct { // backend. If routeAction specifies any weightedBackendServices, // service must not be set. Conversely if service is set, routeAction // cannot contain any weightedBackendServices. Only one of routeAction - // or urlRedirect must be set. URL maps for external HTTP(S) load - // balancers support only the urlRewrite action within a path rule's - // routeAction. + // or urlRedirect must be set. URL maps for Classic external HTTP(S) + // load balancers only support the urlRewrite action within a path + // rule's routeAction. RouteAction *HttpRouteAction `json:"routeAction,omitempty"` // Service: The full or partial URL of the backend service resource to @@ -54962,8 +54973,8 @@ type UrlMap struct { // any weightedBackendServices, defaultService must not be set. // Conversely if defaultService is set, defaultRouteAction cannot // contain any weightedBackendServices. Only one of defaultRouteAction - // or defaultUrlRedirect must be set. UrlMaps for external HTTP(S) load - // balancers support only the urlRewrite action within + // or defaultUrlRedirect must be set. URL maps for Classic external + // HTTP(S) load balancers only support the urlRewrite action within // defaultRouteAction. defaultRouteAction has no effect when the URL map // is bound to a target gRPC proxy that has the validateForProxyless // field set to true. diff --git a/compute/v1/compute-api.json b/compute/v1/compute-api.json index 1e86fa60800..9f3184cf28a 100644 --- a/compute/v1/compute-api.json +++ b/compute/v1/compute-api.json @@ -549,6 +549,56 @@ "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ] + }, + "setLabels": { + "description": "Sets the labels on an Address. To learn more about labels, read the Labeling Resources documentation.", + "flatPath": "projects/{project}/regions/{region}/addresses/{resource}/setLabels", + "httpMethod": "POST", + "id": "compute.addresses.setLabels", + "parameterOrder": [ + "project", + "region", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "The region for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/addresses/{resource}/setLabels", + "request": { + "$ref": "RegionSetLabelsRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] } } }, @@ -4307,6 +4357,43 @@ "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ] + }, + "setLabels": { + "description": "Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation.", + "flatPath": "projects/{project}/global/addresses/{resource}/setLabels", + "httpMethod": "POST", + "id": "compute.globalAddresses.setLabels", + "parameterOrder": [ + "project", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/addresses/{resource}/setLabels", + "request": { + "$ref": "GlobalSetLabelsRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] } } }, @@ -11176,6 +11263,56 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ] + }, + "setLabels": { + "description": "Sets the labels on an InterconnectAttachment. To learn more about labels, read the Labeling Resources documentation.", + "flatPath": "projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels", + "httpMethod": "POST", + "id": "compute.interconnectAttachments.setLabels", + "parameterOrder": [ + "project", + "region", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "The region for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels", + "request": { + "$ref": "RegionSetLabelsRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] } } }, @@ -11514,6 +11651,43 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ] + }, + "setLabels": { + "description": "Sets the labels on an Interconnect. To learn more about labels, read the Labeling Resources documentation.", + "flatPath": "projects/{project}/global/interconnects/{resource}/setLabels", + "httpMethod": "POST", + "id": "compute.interconnects.setLabels", + "parameterOrder": [ + "project", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/interconnects/{resource}/setLabels", + "request": { + "$ref": "GlobalSetLabelsRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] } } }, @@ -25578,6 +25752,43 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ] + }, + "setLabels": { + "description": "Sets the labels on a security policy. To learn more about labels, read the Labeling Resources documentation.", + "flatPath": "projects/{project}/global/securityPolicies/{resource}/setLabels", + "httpMethod": "POST", + "id": "compute.securityPolicies.setLabels", + "parameterOrder": [ + "project", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/securityPolicies/{resource}/setLabels", + "request": { + "$ref": "GlobalSetLabelsRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] } } }, @@ -30144,6 +30355,56 @@ "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ] + }, + "setLabels": { + "description": "Sets the labels on a TargetVpnGateway. To learn more about labels, read the Labeling Resources documentation.", + "flatPath": "projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels", + "httpMethod": "POST", + "id": "compute.targetVpnGateways.setLabels", + "parameterOrder": [ + "project", + "region", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "The region for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels", + "request": { + "$ref": "RegionSetLabelsRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] } } }, @@ -31191,6 +31452,56 @@ "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ] + }, + "setLabels": { + "description": "Sets the labels on a VpnTunnel. To learn more about labels, read the Labeling Resources documentation.", + "flatPath": "projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels", + "httpMethod": "POST", + "id": "compute.vpnTunnels.setLabels", + "parameterOrder": [ + "project", + "region", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "The region for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels", + "request": { + "$ref": "RegionSetLabelsRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] } } }, @@ -31481,7 +31792,7 @@ } } }, - "revision": "20220809", + "revision": "20220823", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -32476,6 +32787,11 @@ "description": "The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.", "format": "int32", "type": "integer" + }, + "visibleCoreCount": { + "description": "The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.", + "format": "int32", + "type": "integer" } }, "type": "object" @@ -32616,6 +32932,10 @@ "format": "int64", "type": "string" }, + "forceAttach": { + "description": "[Input Only] Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error.", + "type": "boolean" + }, "guestOsFeatures": { "description": "A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.", "items": { @@ -32633,7 +32953,7 @@ "description": "[Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both." }, "interface": { - "description": "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.", + "description": "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. For most machine types, the default is SCSI. Local SSDs can use either NVME or SCSI. In certain configurations, persistent disks can use NVMe. For more information, see About persistent disks.", "enum": [ "NVME", "SCSI" @@ -33645,6 +33965,18 @@ "$ref": "BackendBucketCdnPolicy", "description": "Cloud CDN configuration for this BackendBucket." }, + "compressionMode": { + "description": "Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.", + "enum": [ + "AUTOMATIC", + "DISABLED" + ], + "enumDescriptions": [ + "Automatically uses the best compression based on the Accept-Encoding header sent by the client.", + "Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients." + ], + "type": "string" + }, "creationTimestamp": { "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" @@ -33963,6 +34295,18 @@ "circuitBreakers": { "$ref": "CircuitBreakers" }, + "compressionMode": { + "description": "Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.", + "enum": [ + "AUTOMATIC", + "DISABLED" + ], + "enumDescriptions": [ + "Automatically uses the best compression based on the Accept-Encoding header sent by the client.", + "Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients." + ], + "type": "string" + }, "connectionDraining": { "$ref": "ConnectionDraining" }, @@ -35308,6 +35652,13 @@ "$ref": "LicenseResourceCommitment", "description": "The license specification required as part of a license commitment." }, + "mergeSourceCommitments": { + "description": "List of source commitments to be merged into a new commitment.", + "items": { + "type": "string" + }, + "type": "array" + }, "name": { "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", @@ -35349,6 +35700,10 @@ "description": "[Output Only] Server-defined URL for the resource.", "type": "string" }, + "splitSourceCommitment": { + "description": "Source commitment to be splitted into a new commitment.", + "type": "string" + }, "startTimestamp": { "description": "[Output Only] Commitment start time in RFC3339 text format.", "type": "string" @@ -37676,7 +38031,7 @@ "type": "array" }, "direction": { - "description": "Direction of traffic to which this firewall applies, either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `INGRESS` traffic, you cannot specify the destinationRanges field, and for `EGRESS` traffic, you cannot specify the sourceRanges or sourceTags fields.", + "description": "Direction of traffic to which this firewall applies, either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot specify the sourceTags fields.", "enum": [ "EGRESS", "INGRESS" @@ -40612,7 +40967,7 @@ }, "routeAction": { "$ref": "HttpRouteAction", - "description": "In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. UrlMaps for external HTTP(S) load balancers support only the urlRewrite action within a route rule's routeAction." + "description": "In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a route rule's routeAction." }, "service": { "description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.", @@ -45996,7 +46351,7 @@ "id": "LocalizedMessage", "properties": { "locale": { - "description": "The locale used following the specification defined at http://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: \"en-US\", \"fr-CH\", \"es-MX\"", + "description": "The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: \"en-US\", \"fr-CH\", \"es-MX\"", "type": "string" }, "message": { @@ -47199,7 +47554,7 @@ "type": "string" }, "mtu": { - "description": "Maximum Transmission Unit in bytes. The minimum value for this field is 1460 and the maximum value is 1500 bytes. If unspecified, defaults to 1460.", + "description": "Maximum Transmission Unit in bytes. The minimum value for this field is 1300 and the maximum value is 8896. The suggested value is 1500, which is the default MTU used on the Internet, or 8896 if you want to use Jumbo frames. If unspecified, the value defaults to 1460.", "format": "int32", "type": "integer" }, @@ -51760,7 +52115,7 @@ "properties": { "defaultRouteAction": { "$ref": "HttpRouteAction", - "description": "defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. UrlMaps for external HTTP(S) load balancers support only the urlRewrite action within a path matcher's defaultRouteAction." + "description": "defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path matcher's defaultRouteAction." }, "defaultService": { "description": "The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use ", @@ -51812,7 +52167,7 @@ }, "routeAction": { "$ref": "HttpRouteAction", - "description": "In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for external HTTP(S) load balancers support only the urlRewrite action within a path rule's routeAction." + "description": "In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path rule's routeAction." }, "service": { "description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.", @@ -63966,7 +64321,7 @@ }, "defaultRouteAction": { "$ref": "HttpRouteAction", - "description": "defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. UrlMaps for external HTTP(S) load balancers support only the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true." + "description": "defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true." }, "defaultService": { "description": "The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.", diff --git a/compute/v1/compute-gen.go b/compute/v1/compute-gen.go index 0c49417b47f..edc4871e9b0 100644 --- a/compute/v1/compute-gen.go +++ b/compute/v1/compute-gen.go @@ -2722,6 +2722,13 @@ type AdvancedMachineFeatures struct { // processor is assumed. ThreadsPerCore int64 `json:"threadsPerCore,omitempty"` + // VisibleCoreCount: The number of physical cores to expose to an + // instance. Multiply by the number of threads per core to compute the + // total number of virtual CPUs to expose to the instance. If unset, the + // number of cores is inferred from the instance's nominal CPU count and + // the underlying platform's SMT width. + VisibleCoreCount int64 `json:"visibleCoreCount,omitempty"` + // ForceSendFields is a list of field names (e.g. // "EnableNestedVirtualization") to unconditionally include in API // requests. By default, fields with empty or default values are omitted @@ -2961,6 +2968,11 @@ type AttachedDisk struct { // DiskSizeGb: The size of the disk in GB. DiskSizeGb int64 `json:"diskSizeGb,omitempty,string"` + // ForceAttach: [Input Only] Whether to force attach the regional disk + // even if it's currently attached to another instance. If you try to + // force attach a zonal disk to an instance, you will receive an error. + ForceAttach bool `json:"forceAttach,omitempty"` + // GuestOsFeatures: A list of features to enable on the guest operating // system. Applicable only for bootable images. Read Enabling guest // operating system features to see a list of available options. @@ -2979,11 +2991,10 @@ type AttachedDisk struct { InitializeParams *AttachedDiskInitializeParams `json:"initializeParams,omitempty"` // Interface: Specifies the disk interface to use for attaching this - // disk, which is either SCSI or NVME. The default is SCSI. Persistent - // disks must always use SCSI and the request will fail if you attempt - // to attach a persistent disk in any other format than SCSI. Local SSDs - // can use either NVME or SCSI. For performance characteristics of SCSI - // over NVMe, see Local SSD performance. + // disk, which is either SCSI or NVME. For most machine types, the + // default is SCSI. Local SSDs can use either NVME or SCSI. In certain + // configurations, persistent disks can use NVMe. For more information, + // see About persistent disks. // // Possible values: // "NVME" @@ -4685,6 +4696,16 @@ type BackendBucket struct { // CdnPolicy: Cloud CDN configuration for this BackendBucket. CdnPolicy *BackendBucketCdnPolicy `json:"cdnPolicy,omitempty"` + // CompressionMode: Compress text responses using Brotli or gzip + // compression, based on the client's Accept-Encoding header. + // + // Possible values: + // "AUTOMATIC" - Automatically uses the best compression based on the + // Accept-Encoding header sent by the client. + // "DISABLED" - Disables compression. Existing compressed responses + // cached by Cloud CDN will not be served to clients. + CompressionMode string `json:"compressionMode,omitempty"` + // CreationTimestamp: [Output Only] Creation timestamp in RFC3339 text // format. CreationTimestamp string `json:"creationTimestamp,omitempty"` @@ -5241,6 +5262,16 @@ type BackendService struct { CircuitBreakers *CircuitBreakers `json:"circuitBreakers,omitempty"` + // CompressionMode: Compress text responses using Brotli or gzip + // compression, based on the client's Accept-Encoding header. + // + // Possible values: + // "AUTOMATIC" - Automatically uses the best compression based on the + // Accept-Encoding header sent by the client. + // "DISABLED" - Disables compression. Existing compressed responses + // cached by Cloud CDN will not be served to clients. + CompressionMode string `json:"compressionMode,omitempty"` + ConnectionDraining *ConnectionDraining `json:"connectionDraining,omitempty"` // ConnectionTrackingPolicy: Connection Tracking configuration for this @@ -7451,6 +7482,10 @@ type Commitment struct { // license commitment. LicenseResource *LicenseResourceCommitment `json:"licenseResource,omitempty"` + // MergeSourceCommitments: List of source commitments to be merged into + // a new commitment. + MergeSourceCommitments []string `json:"mergeSourceCommitments,omitempty"` + // Name: Name of the resource. Provided by the client when the resource // is created. The name must be 1-63 characters long, and comply with // RFC1035. Specifically, the name must be 1-63 characters long and @@ -7484,6 +7519,10 @@ type Commitment struct { // SelfLink: [Output Only] Server-defined URL for the resource. SelfLink string `json:"selfLink,omitempty"` + // SplitSourceCommitment: Source commitment to be splitted into a new + // commitment. + SplitSourceCommitment string `json:"splitSourceCommitment,omitempty"` + // StartTimestamp: [Output Only] Commitment start time in RFC3339 text // format. StartTimestamp string `json:"startTimestamp,omitempty"` @@ -11161,10 +11200,8 @@ type Firewall struct { DestinationRanges []string `json:"destinationRanges,omitempty"` // Direction: Direction of traffic to which this firewall applies, - // either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `INGRESS` - // traffic, you cannot specify the destinationRanges field, and for - // `EGRESS` traffic, you cannot specify the sourceRanges or sourceTags - // fields. + // either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `EGRESS` + // traffic, you cannot specify the sourceTags fields. // // Possible values: // "EGRESS" - Indicates that firewall should apply to outgoing @@ -16034,9 +16071,9 @@ type HttpRouteRule struct { // backend. If routeAction specifies any weightedBackendServices, // service must not be set. Conversely if service is set, routeAction // cannot contain any weightedBackendServices. Only one of urlRedirect, - // service or routeAction.weightedBackendService must be set. UrlMaps - // for external HTTP(S) load balancers support only the urlRewrite - // action within a route rule's routeAction. + // service or routeAction.weightedBackendService must be set. URL maps + // for Classic external HTTP(S) load balancers only support the + // urlRewrite action within a route rule's routeAction. RouteAction *HttpRouteAction `json:"routeAction,omitempty"` // Service: The full or partial URL of the backend service resource to @@ -24422,7 +24459,7 @@ func (s *LocalDisk) MarshalJSON() ([]byte, error) { // return to the user which can be attached to an RPC error. type LocalizedMessage struct { // Locale: The locale used following the specification defined at - // http://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", + // https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", // "fr-CH", "es-MX" Locale string `json:"locale,omitempty"` @@ -26376,8 +26413,9 @@ type Network struct { Kind string `json:"kind,omitempty"` // Mtu: Maximum Transmission Unit in bytes. The minimum value for this - // field is 1460 and the maximum value is 1500 bytes. If unspecified, - // defaults to 1460. + // field is 1300 and the maximum value is 8896. The suggested value is + // 1500, which is the default MTU used on the Internet, or 8896 if you + // want to use Jumbo frames. If unspecified, the value defaults to 1460. Mtu int64 `json:"mtu,omitempty"` // Name: Name of the resource. Provided by the client when the resource @@ -33451,9 +33489,9 @@ type PathMatcher struct { // defaultRouteAction specifies any weightedBackendServices, // defaultService must not be set. Conversely if defaultService is set, // defaultRouteAction cannot contain any weightedBackendServices. Only - // one of defaultRouteAction or defaultUrlRedirect must be set. UrlMaps - // for external HTTP(S) load balancers support only the urlRewrite - // action within a path matcher's defaultRouteAction. + // one of defaultRouteAction or defaultUrlRedirect must be set. URL maps + // for Classic external HTTP(S) load balancers only support the + // urlRewrite action within a path matcher's defaultRouteAction. DefaultRouteAction *HttpRouteAction `json:"defaultRouteAction,omitempty"` // DefaultService: The full or partial URL to the BackendService @@ -33556,9 +33594,9 @@ type PathRule struct { // backend. If routeAction specifies any weightedBackendServices, // service must not be set. Conversely if service is set, routeAction // cannot contain any weightedBackendServices. Only one of routeAction - // or urlRedirect must be set. URL maps for external HTTP(S) load - // balancers support only the urlRewrite action within a path rule's - // routeAction. + // or urlRedirect must be set. URL maps for Classic external HTTP(S) + // load balancers only support the urlRewrite action within a path + // rule's routeAction. RouteAction *HttpRouteAction `json:"routeAction,omitempty"` // Service: The full or partial URL of the backend service resource to @@ -52425,8 +52463,8 @@ type UrlMap struct { // any weightedBackendServices, defaultService must not be set. // Conversely if defaultService is set, defaultRouteAction cannot // contain any weightedBackendServices. Only one of defaultRouteAction - // or defaultUrlRedirect must be set. UrlMaps for external HTTP(S) load - // balancers support only the urlRewrite action within + // or defaultUrlRedirect must be set. URL maps for Classic external + // HTTP(S) load balancers only support the urlRewrite action within // defaultRouteAction. defaultRouteAction has no effect when the URL map // is bound to a target gRPC proxy that has the validateForProxyless // field set to true. @@ -58264,6 +58302,195 @@ func (c *AddressesListCall) Pages(ctx context.Context, f func(*AddressList) erro } } +// method id "compute.addresses.setLabels": + +type AddressesSetLabelsCall struct { + s *Service + project string + region string + resource string + regionsetlabelsrequest *RegionSetLabelsRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// SetLabels: Sets the labels on an Address. To learn more about labels, +// read the Labeling Resources documentation. +// +// - project: Project ID for this request. +// - region: The region for this request. +// - resource: Name or id of the resource for this request. +func (r *AddressesService) SetLabels(project string, region string, resource string, regionsetlabelsrequest *RegionSetLabelsRequest) *AddressesSetLabelsCall { + c := &AddressesSetLabelsCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.region = region + c.resource = resource + c.regionsetlabelsrequest = regionsetlabelsrequest + return c +} + +// RequestId sets the optional parameter "requestId": An optional +// request ID to identify requests. Specify a unique request ID so that +// if you must retry your request, the server will know to ignore the +// request if it has already been completed. For example, consider a +// situation where you make an initial request and the request times +// out. If you make the request again with the same request ID, the +// server can check if original operation with the same request ID was +// received, and if so, will ignore the second request. This prevents +// clients from accidentally creating duplicate commitments. The request +// ID must be a valid UUID with the exception that zero UUID is not +// supported ( 00000000-0000-0000-0000-000000000000). +func (c *AddressesSetLabelsCall) RequestId(requestId string) *AddressesSetLabelsCall { + c.urlParams_.Set("requestId", requestId) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *AddressesSetLabelsCall) Fields(s ...googleapi.Field) *AddressesSetLabelsCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *AddressesSetLabelsCall) Context(ctx context.Context) *AddressesSetLabelsCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *AddressesSetLabelsCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *AddressesSetLabelsCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.regionsetlabelsrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/regions/{region}/addresses/{resource}/setLabels") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "project": c.project, + "region": c.region, + "resource": c.resource, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.addresses.setLabels" call. +// Exactly one of *Operation or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified +// to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *AddressesSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Sets the labels on an Address. To learn more about labels, read the Labeling Resources documentation.", + // "flatPath": "projects/{project}/regions/{region}/addresses/{resource}/setLabels", + // "httpMethod": "POST", + // "id": "compute.addresses.setLabels", + // "parameterOrder": [ + // "project", + // "region", + // "resource" + // ], + // "parameters": { + // "project": { + // "description": "Project ID for this request.", + // "location": "path", + // "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + // "required": true, + // "type": "string" + // }, + // "region": { + // "description": "The region for this request.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + // "required": true, + // "type": "string" + // }, + // "requestId": { + // "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + // "location": "query", + // "type": "string" + // }, + // "resource": { + // "description": "Name or id of the resource for this request.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + // "required": true, + // "type": "string" + // } + // }, + // "path": "projects/{project}/regions/{region}/addresses/{resource}/setLabels", + // "request": { + // "$ref": "RegionSetLabelsRequest" + // }, + // "response": { + // "$ref": "Operation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/compute" + // ] + // } + +} + // method id "compute.autoscalers.aggregatedList": type AutoscalersAggregatedListCall struct { @@ -74776,6 +75003,162 @@ func (c *GlobalAddressesListCall) Pages(ctx context.Context, f func(*AddressList } } +// method id "compute.globalAddresses.setLabels": + +type GlobalAddressesSetLabelsCall struct { + s *Service + project string + resource string + globalsetlabelsrequest *GlobalSetLabelsRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// SetLabels: Sets the labels on a GlobalAddress. To learn more about +// labels, read the Labeling Resources documentation. +// +// - project: Project ID for this request. +// - resource: Name or id of the resource for this request. +func (r *GlobalAddressesService) SetLabels(project string, resource string, globalsetlabelsrequest *GlobalSetLabelsRequest) *GlobalAddressesSetLabelsCall { + c := &GlobalAddressesSetLabelsCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.resource = resource + c.globalsetlabelsrequest = globalsetlabelsrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *GlobalAddressesSetLabelsCall) Fields(s ...googleapi.Field) *GlobalAddressesSetLabelsCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *GlobalAddressesSetLabelsCall) Context(ctx context.Context) *GlobalAddressesSetLabelsCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *GlobalAddressesSetLabelsCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *GlobalAddressesSetLabelsCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.globalsetlabelsrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/global/addresses/{resource}/setLabels") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "project": c.project, + "resource": c.resource, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.globalAddresses.setLabels" call. +// Exactly one of *Operation or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified +// to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *GlobalAddressesSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation.", + // "flatPath": "projects/{project}/global/addresses/{resource}/setLabels", + // "httpMethod": "POST", + // "id": "compute.globalAddresses.setLabels", + // "parameterOrder": [ + // "project", + // "resource" + // ], + // "parameters": { + // "project": { + // "description": "Project ID for this request.", + // "location": "path", + // "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + // "required": true, + // "type": "string" + // }, + // "resource": { + // "description": "Name or id of the resource for this request.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + // "required": true, + // "type": "string" + // } + // }, + // "path": "projects/{project}/global/addresses/{resource}/setLabels", + // "request": { + // "$ref": "GlobalSetLabelsRequest" + // }, + // "response": { + // "$ref": "Operation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/compute" + // ] + // } + +} + // method id "compute.globalForwardingRules.delete": type GlobalForwardingRulesDeleteCall struct { @@ -103484,6 +103867,195 @@ func (c *InterconnectAttachmentsPatchCall) Do(opts ...googleapi.CallOption) (*Op } +// method id "compute.interconnectAttachments.setLabels": + +type InterconnectAttachmentsSetLabelsCall struct { + s *Service + project string + region string + resource string + regionsetlabelsrequest *RegionSetLabelsRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// SetLabels: Sets the labels on an InterconnectAttachment. To learn +// more about labels, read the Labeling Resources documentation. +// +// - project: Project ID for this request. +// - region: The region for this request. +// - resource: Name or id of the resource for this request. +func (r *InterconnectAttachmentsService) SetLabels(project string, region string, resource string, regionsetlabelsrequest *RegionSetLabelsRequest) *InterconnectAttachmentsSetLabelsCall { + c := &InterconnectAttachmentsSetLabelsCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.region = region + c.resource = resource + c.regionsetlabelsrequest = regionsetlabelsrequest + return c +} + +// RequestId sets the optional parameter "requestId": An optional +// request ID to identify requests. Specify a unique request ID so that +// if you must retry your request, the server will know to ignore the +// request if it has already been completed. For example, consider a +// situation where you make an initial request and the request times +// out. If you make the request again with the same request ID, the +// server can check if original operation with the same request ID was +// received, and if so, will ignore the second request. This prevents +// clients from accidentally creating duplicate commitments. The request +// ID must be a valid UUID with the exception that zero UUID is not +// supported ( 00000000-0000-0000-0000-000000000000). +func (c *InterconnectAttachmentsSetLabelsCall) RequestId(requestId string) *InterconnectAttachmentsSetLabelsCall { + c.urlParams_.Set("requestId", requestId) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *InterconnectAttachmentsSetLabelsCall) Fields(s ...googleapi.Field) *InterconnectAttachmentsSetLabelsCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *InterconnectAttachmentsSetLabelsCall) Context(ctx context.Context) *InterconnectAttachmentsSetLabelsCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *InterconnectAttachmentsSetLabelsCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *InterconnectAttachmentsSetLabelsCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.regionsetlabelsrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "project": c.project, + "region": c.region, + "resource": c.resource, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.interconnectAttachments.setLabels" call. +// Exactly one of *Operation or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified +// to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *InterconnectAttachmentsSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Sets the labels on an InterconnectAttachment. To learn more about labels, read the Labeling Resources documentation.", + // "flatPath": "projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels", + // "httpMethod": "POST", + // "id": "compute.interconnectAttachments.setLabels", + // "parameterOrder": [ + // "project", + // "region", + // "resource" + // ], + // "parameters": { + // "project": { + // "description": "Project ID for this request.", + // "location": "path", + // "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + // "required": true, + // "type": "string" + // }, + // "region": { + // "description": "The region for this request.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + // "required": true, + // "type": "string" + // }, + // "requestId": { + // "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + // "location": "query", + // "type": "string" + // }, + // "resource": { + // "description": "Name or id of the resource for this request.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + // "required": true, + // "type": "string" + // } + // }, + // "path": "projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels", + // "request": { + // "$ref": "RegionSetLabelsRequest" + // }, + // "response": { + // "$ref": "Operation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/compute" + // ] + // } + +} + // method id "compute.interconnectLocations.get": type InterconnectLocationsGetCall struct { @@ -105038,6 +105610,162 @@ func (c *InterconnectsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, e } +// method id "compute.interconnects.setLabels": + +type InterconnectsSetLabelsCall struct { + s *Service + project string + resource string + globalsetlabelsrequest *GlobalSetLabelsRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// SetLabels: Sets the labels on an Interconnect. To learn more about +// labels, read the Labeling Resources documentation. +// +// - project: Project ID for this request. +// - resource: Name or id of the resource for this request. +func (r *InterconnectsService) SetLabels(project string, resource string, globalsetlabelsrequest *GlobalSetLabelsRequest) *InterconnectsSetLabelsCall { + c := &InterconnectsSetLabelsCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.resource = resource + c.globalsetlabelsrequest = globalsetlabelsrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *InterconnectsSetLabelsCall) Fields(s ...googleapi.Field) *InterconnectsSetLabelsCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *InterconnectsSetLabelsCall) Context(ctx context.Context) *InterconnectsSetLabelsCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *InterconnectsSetLabelsCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *InterconnectsSetLabelsCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.globalsetlabelsrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/global/interconnects/{resource}/setLabels") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "project": c.project, + "resource": c.resource, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.interconnects.setLabels" call. +// Exactly one of *Operation or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified +// to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *InterconnectsSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Sets the labels on an Interconnect. To learn more about labels, read the Labeling Resources documentation.", + // "flatPath": "projects/{project}/global/interconnects/{resource}/setLabels", + // "httpMethod": "POST", + // "id": "compute.interconnects.setLabels", + // "parameterOrder": [ + // "project", + // "resource" + // ], + // "parameters": { + // "project": { + // "description": "Project ID for this request.", + // "location": "path", + // "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + // "required": true, + // "type": "string" + // }, + // "resource": { + // "description": "Name or id of the resource for this request.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + // "required": true, + // "type": "string" + // } + // }, + // "path": "projects/{project}/global/interconnects/{resource}/setLabels", + // "request": { + // "$ref": "GlobalSetLabelsRequest" + // }, + // "response": { + // "$ref": "Operation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/compute" + // ] + // } + +} + // method id "compute.licenseCodes.get": type LicenseCodesGetCall struct { @@ -163537,6 +164265,162 @@ func (c *SecurityPoliciesRemoveRuleCall) Do(opts ...googleapi.CallOption) (*Oper } +// method id "compute.securityPolicies.setLabels": + +type SecurityPoliciesSetLabelsCall struct { + s *Service + project string + resource string + globalsetlabelsrequest *GlobalSetLabelsRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// SetLabels: Sets the labels on a security policy. To learn more about +// labels, read the Labeling Resources documentation. +// +// - project: Project ID for this request. +// - resource: Name or id of the resource for this request. +func (r *SecurityPoliciesService) SetLabels(project string, resource string, globalsetlabelsrequest *GlobalSetLabelsRequest) *SecurityPoliciesSetLabelsCall { + c := &SecurityPoliciesSetLabelsCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.resource = resource + c.globalsetlabelsrequest = globalsetlabelsrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *SecurityPoliciesSetLabelsCall) Fields(s ...googleapi.Field) *SecurityPoliciesSetLabelsCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *SecurityPoliciesSetLabelsCall) Context(ctx context.Context) *SecurityPoliciesSetLabelsCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *SecurityPoliciesSetLabelsCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *SecurityPoliciesSetLabelsCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.globalsetlabelsrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/global/securityPolicies/{resource}/setLabels") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "project": c.project, + "resource": c.resource, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.securityPolicies.setLabels" call. +// Exactly one of *Operation or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified +// to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *SecurityPoliciesSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Sets the labels on a security policy. To learn more about labels, read the Labeling Resources documentation.", + // "flatPath": "projects/{project}/global/securityPolicies/{resource}/setLabels", + // "httpMethod": "POST", + // "id": "compute.securityPolicies.setLabels", + // "parameterOrder": [ + // "project", + // "resource" + // ], + // "parameters": { + // "project": { + // "description": "Project ID for this request.", + // "location": "path", + // "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + // "required": true, + // "type": "string" + // }, + // "resource": { + // "description": "Name or id of the resource for this request.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + // "required": true, + // "type": "string" + // } + // }, + // "path": "projects/{project}/global/securityPolicies/{resource}/setLabels", + // "request": { + // "$ref": "GlobalSetLabelsRequest" + // }, + // "response": { + // "$ref": "Operation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/compute" + // ] + // } + +} + // method id "compute.serviceAttachments.aggregatedList": type ServiceAttachmentsAggregatedListCall struct { @@ -183357,6 +184241,195 @@ func (c *TargetVpnGatewaysListCall) Pages(ctx context.Context, f func(*TargetVpn } } +// method id "compute.targetVpnGateways.setLabels": + +type TargetVpnGatewaysSetLabelsCall struct { + s *Service + project string + region string + resource string + regionsetlabelsrequest *RegionSetLabelsRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// SetLabels: Sets the labels on a TargetVpnGateway. To learn more about +// labels, read the Labeling Resources documentation. +// +// - project: Project ID for this request. +// - region: The region for this request. +// - resource: Name or id of the resource for this request. +func (r *TargetVpnGatewaysService) SetLabels(project string, region string, resource string, regionsetlabelsrequest *RegionSetLabelsRequest) *TargetVpnGatewaysSetLabelsCall { + c := &TargetVpnGatewaysSetLabelsCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.region = region + c.resource = resource + c.regionsetlabelsrequest = regionsetlabelsrequest + return c +} + +// RequestId sets the optional parameter "requestId": An optional +// request ID to identify requests. Specify a unique request ID so that +// if you must retry your request, the server will know to ignore the +// request if it has already been completed. For example, consider a +// situation where you make an initial request and the request times +// out. If you make the request again with the same request ID, the +// server can check if original operation with the same request ID was +// received, and if so, will ignore the second request. This prevents +// clients from accidentally creating duplicate commitments. The request +// ID must be a valid UUID with the exception that zero UUID is not +// supported ( 00000000-0000-0000-0000-000000000000). +func (c *TargetVpnGatewaysSetLabelsCall) RequestId(requestId string) *TargetVpnGatewaysSetLabelsCall { + c.urlParams_.Set("requestId", requestId) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *TargetVpnGatewaysSetLabelsCall) Fields(s ...googleapi.Field) *TargetVpnGatewaysSetLabelsCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *TargetVpnGatewaysSetLabelsCall) Context(ctx context.Context) *TargetVpnGatewaysSetLabelsCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *TargetVpnGatewaysSetLabelsCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *TargetVpnGatewaysSetLabelsCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.regionsetlabelsrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "project": c.project, + "region": c.region, + "resource": c.resource, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.targetVpnGateways.setLabels" call. +// Exactly one of *Operation or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified +// to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *TargetVpnGatewaysSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Sets the labels on a TargetVpnGateway. To learn more about labels, read the Labeling Resources documentation.", + // "flatPath": "projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels", + // "httpMethod": "POST", + // "id": "compute.targetVpnGateways.setLabels", + // "parameterOrder": [ + // "project", + // "region", + // "resource" + // ], + // "parameters": { + // "project": { + // "description": "Project ID for this request.", + // "location": "path", + // "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + // "required": true, + // "type": "string" + // }, + // "region": { + // "description": "The region for this request.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + // "required": true, + // "type": "string" + // }, + // "requestId": { + // "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + // "location": "query", + // "type": "string" + // }, + // "resource": { + // "description": "Name or id of the resource for this request.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + // "required": true, + // "type": "string" + // } + // }, + // "path": "projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels", + // "request": { + // "$ref": "RegionSetLabelsRequest" + // }, + // "response": { + // "$ref": "Operation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/compute" + // ] + // } + +} + // method id "compute.urlMaps.aggregatedList": type UrlMapsAggregatedListCall struct { @@ -187882,6 +188955,195 @@ func (c *VpnTunnelsListCall) Pages(ctx context.Context, f func(*VpnTunnelList) e } } +// method id "compute.vpnTunnels.setLabels": + +type VpnTunnelsSetLabelsCall struct { + s *Service + project string + region string + resource string + regionsetlabelsrequest *RegionSetLabelsRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// SetLabels: Sets the labels on a VpnTunnel. To learn more about +// labels, read the Labeling Resources documentation. +// +// - project: Project ID for this request. +// - region: The region for this request. +// - resource: Name or id of the resource for this request. +func (r *VpnTunnelsService) SetLabels(project string, region string, resource string, regionsetlabelsrequest *RegionSetLabelsRequest) *VpnTunnelsSetLabelsCall { + c := &VpnTunnelsSetLabelsCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.region = region + c.resource = resource + c.regionsetlabelsrequest = regionsetlabelsrequest + return c +} + +// RequestId sets the optional parameter "requestId": An optional +// request ID to identify requests. Specify a unique request ID so that +// if you must retry your request, the server will know to ignore the +// request if it has already been completed. For example, consider a +// situation where you make an initial request and the request times +// out. If you make the request again with the same request ID, the +// server can check if original operation with the same request ID was +// received, and if so, will ignore the second request. This prevents +// clients from accidentally creating duplicate commitments. The request +// ID must be a valid UUID with the exception that zero UUID is not +// supported ( 00000000-0000-0000-0000-000000000000). +func (c *VpnTunnelsSetLabelsCall) RequestId(requestId string) *VpnTunnelsSetLabelsCall { + c.urlParams_.Set("requestId", requestId) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *VpnTunnelsSetLabelsCall) Fields(s ...googleapi.Field) *VpnTunnelsSetLabelsCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *VpnTunnelsSetLabelsCall) Context(ctx context.Context) *VpnTunnelsSetLabelsCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *VpnTunnelsSetLabelsCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *VpnTunnelsSetLabelsCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.regionsetlabelsrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "project": c.project, + "region": c.region, + "resource": c.resource, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.vpnTunnels.setLabels" call. +// Exactly one of *Operation or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified +// to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *VpnTunnelsSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Sets the labels on a VpnTunnel. To learn more about labels, read the Labeling Resources documentation.", + // "flatPath": "projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels", + // "httpMethod": "POST", + // "id": "compute.vpnTunnels.setLabels", + // "parameterOrder": [ + // "project", + // "region", + // "resource" + // ], + // "parameters": { + // "project": { + // "description": "Project ID for this request.", + // "location": "path", + // "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + // "required": true, + // "type": "string" + // }, + // "region": { + // "description": "The region for this request.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + // "required": true, + // "type": "string" + // }, + // "requestId": { + // "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + // "location": "query", + // "type": "string" + // }, + // "resource": { + // "description": "Name or id of the resource for this request.", + // "location": "path", + // "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + // "required": true, + // "type": "string" + // } + // }, + // "path": "projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels", + // "request": { + // "$ref": "RegionSetLabelsRequest" + // }, + // "response": { + // "$ref": "Operation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/compute" + // ] + // } + +} + // method id "compute.zoneOperations.delete": type ZoneOperationsDeleteCall struct { diff --git a/containeranalysis/v1/containeranalysis-api.json b/containeranalysis/v1/containeranalysis-api.json index a6762abf91c..5fc04368be7 100644 --- a/containeranalysis/v1/containeranalysis-api.json +++ b/containeranalysis/v1/containeranalysis-api.json @@ -755,7 +755,7 @@ } } }, - "revision": "20220805", + "revision": "20220902", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -922,7 +922,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, @@ -1966,8 +1966,8 @@ "VERIFIED" ], "enumDescriptions": [ - "Not a verifiable build. (default)", - "Verified build." + "Not a verifiable build (the default).", + "Build must be verified." ], "type": "string" }, @@ -2036,6 +2036,18 @@ "description": "A step in the build pipeline.", "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep", "properties": { + "allowExitCodes": { + "description": "Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "allowFailure": { + "description": "Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.", + "type": "boolean" + }, "args": { "description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.", "items": { @@ -2058,6 +2070,12 @@ }, "type": "array" }, + "exitCode": { + "description": "Output only. Return code from running the step.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "id": { "description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.", "type": "string" diff --git a/containeranalysis/v1/containeranalysis-gen.go b/containeranalysis/v1/containeranalysis-gen.go index 5dc9da2ec57..64c374df526 100644 --- a/containeranalysis/v1/containeranalysis-gen.go +++ b/containeranalysis/v1/containeranalysis-gen.go @@ -518,11 +518,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -1803,8 +1804,8 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions struct { // RequestedVerifyOption: Requested verifiability options. // // Possible values: - // "NOT_VERIFIED" - Not a verifiable build. (default) - // "VERIFIED" - Verified build. + // "NOT_VERIFIED" - Not a verifiable build (the default). + // "VERIFIED" - Build must be verified. RequestedVerifyOption string `json:"requestedVerifyOption,omitempty"` // SecretEnv: A list of global environment variables, which are @@ -1906,6 +1907,19 @@ func (s *ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption) Mars // ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep: A step in the // build pipeline. type ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep struct { + // AllowExitCodes: Allow this build step to fail without failing the + // entire build if and only if the exit code is one of the specified + // codes. If allow_failure is also specified, this field will take + // precedence. + AllowExitCodes []int64 `json:"allowExitCodes,omitempty"` + + // AllowFailure: Allow this build step to fail without failing the + // entire build. If false, the entire build will fail if this step + // fails. Otherwise, the build will succeed, but this step will still + // have a failure status. Error information will be reported in the + // failure_detail field. + AllowFailure bool `json:"allowFailure,omitempty"` + // Args: A list of arguments that will be presented to the step when it // is started. If the image used to run the step's container has an // entrypoint, the `args` are used as arguments to that entrypoint. If @@ -1932,6 +1946,9 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep struct { // environment variable "KEY" being given the value "VALUE". Env []string `json:"env,omitempty"` + // ExitCode: Output only. Return code from running the step. + ExitCode int64 `json:"exitCode,omitempty"` + // Id: Unique identifier for this build step, used in `wait_for` to // reference this build step as a dependency. Id string `json:"id,omitempty"` @@ -2006,7 +2023,7 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep struct { // `Build.Steps` list have completed successfully. WaitFor []string `json:"waitFor,omitempty"` - // ForceSendFields is a list of field names (e.g. "Args") to + // ForceSendFields is a list of field names (e.g. "AllowExitCodes") 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 @@ -2014,12 +2031,13 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Args") 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 is a list of field names (e.g. "AllowExitCodes") 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:"-"` } diff --git a/containeranalysis/v1alpha1/containeranalysis-api.json b/containeranalysis/v1alpha1/containeranalysis-api.json index 08ff435f27f..ee81b9ab9bb 100644 --- a/containeranalysis/v1alpha1/containeranalysis-api.json +++ b/containeranalysis/v1alpha1/containeranalysis-api.json @@ -1229,7 +1229,7 @@ } } }, - "revision": "20220805", + "revision": "20220902", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AnalysisCompleted": { @@ -1327,7 +1327,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, @@ -2265,8 +2265,8 @@ "VERIFIED" ], "enumDescriptions": [ - "Not a verifiable build. (default)", - "Verified build." + "Not a verifiable build (the default).", + "Build must be verified." ], "type": "string" }, @@ -2335,6 +2335,18 @@ "description": "A step in the build pipeline.", "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep", "properties": { + "allowExitCodes": { + "description": "Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "allowFailure": { + "description": "Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.", + "type": "boolean" + }, "args": { "description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.", "items": { @@ -2357,6 +2369,12 @@ }, "type": "array" }, + "exitCode": { + "description": "Output only. Return code from running the step.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "id": { "description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.", "type": "string" @@ -2899,7 +2917,7 @@ "type": "string" }, "resourceUri": { - "description": "Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.", + "description": "Resource URI for the artifact being deployed taken from the deployable field with the same name.", "items": { "type": "string" }, diff --git a/containeranalysis/v1alpha1/containeranalysis-gen.go b/containeranalysis/v1alpha1/containeranalysis-gen.go index d2b7a3cb820..0ad4ca6763f 100644 --- a/containeranalysis/v1alpha1/containeranalysis-gen.go +++ b/containeranalysis/v1alpha1/containeranalysis-gen.go @@ -482,11 +482,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -1686,8 +1687,8 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions struct { // RequestedVerifyOption: Requested verifiability options. // // Possible values: - // "NOT_VERIFIED" - Not a verifiable build. (default) - // "VERIFIED" - Verified build. + // "NOT_VERIFIED" - Not a verifiable build (the default). + // "VERIFIED" - Build must be verified. RequestedVerifyOption string `json:"requestedVerifyOption,omitempty"` // SecretEnv: A list of global environment variables, which are @@ -1789,6 +1790,19 @@ func (s *ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption) Mars // ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep: A step in the // build pipeline. type ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep struct { + // AllowExitCodes: Allow this build step to fail without failing the + // entire build if and only if the exit code is one of the specified + // codes. If allow_failure is also specified, this field will take + // precedence. + AllowExitCodes []int64 `json:"allowExitCodes,omitempty"` + + // AllowFailure: Allow this build step to fail without failing the + // entire build. If false, the entire build will fail if this step + // fails. Otherwise, the build will succeed, but this step will still + // have a failure status. Error information will be reported in the + // failure_detail field. + AllowFailure bool `json:"allowFailure,omitempty"` + // Args: A list of arguments that will be presented to the step when it // is started. If the image used to run the step's container has an // entrypoint, the `args` are used as arguments to that entrypoint. If @@ -1815,6 +1829,9 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep struct { // environment variable "KEY" being given the value "VALUE". Env []string `json:"env,omitempty"` + // ExitCode: Output only. Return code from running the step. + ExitCode int64 `json:"exitCode,omitempty"` + // Id: Unique identifier for this build step, used in `wait_for` to // reference this build step as a dependency. Id string `json:"id,omitempty"` @@ -1889,7 +1906,7 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep struct { // `Build.Steps` list have completed successfully. WaitFor []string `json:"waitFor,omitempty"` - // ForceSendFields is a list of field names (e.g. "Args") to + // ForceSendFields is a list of field names (e.g. "AllowExitCodes") 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 @@ -1897,12 +1914,13 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Args") 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 is a list of field names (e.g. "AllowExitCodes") 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:"-"` } @@ -2733,8 +2751,8 @@ type Deployment struct { // "CUSTOM" - Custom user-defined platform Platform string `json:"platform,omitempty"` - // ResourceUri: Output only. Resource URI for the artifact being - // deployed taken from the deployable field with the same name. + // ResourceUri: Resource URI for the artifact being deployed taken from + // the deployable field with the same name. ResourceUri []string `json:"resourceUri,omitempty"` // UndeployTime: End of the lifetime of this deployment. diff --git a/containeranalysis/v1beta1/containeranalysis-api.json b/containeranalysis/v1beta1/containeranalysis-api.json index e265068fce1..1e70572f537 100644 --- a/containeranalysis/v1beta1/containeranalysis-api.json +++ b/containeranalysis/v1beta1/containeranalysis-api.json @@ -853,7 +853,7 @@ } } }, - "revision": "20220805", + "revision": "20220902", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -1046,7 +1046,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, @@ -1995,8 +1995,8 @@ "VERIFIED" ], "enumDescriptions": [ - "Not a verifiable build. (default)", - "Verified build." + "Not a verifiable build (the default).", + "Build must be verified." ], "type": "string" }, @@ -2065,6 +2065,18 @@ "description": "A step in the build pipeline.", "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep", "properties": { + "allowExitCodes": { + "description": "Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "allowFailure": { + "description": "Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.", + "type": "boolean" + }, "args": { "description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.", "items": { @@ -2087,6 +2099,12 @@ }, "type": "array" }, + "exitCode": { + "description": "Output only. Return code from running the step.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "id": { "description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.", "type": "string" diff --git a/containeranalysis/v1beta1/containeranalysis-gen.go b/containeranalysis/v1beta1/containeranalysis-gen.go index c67131873bc..313508fb16c 100644 --- a/containeranalysis/v1beta1/containeranalysis-gen.go +++ b/containeranalysis/v1beta1/containeranalysis-gen.go @@ -606,11 +606,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -1706,8 +1707,8 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions struct { // RequestedVerifyOption: Requested verifiability options. // // Possible values: - // "NOT_VERIFIED" - Not a verifiable build. (default) - // "VERIFIED" - Verified build. + // "NOT_VERIFIED" - Not a verifiable build (the default). + // "VERIFIED" - Build must be verified. RequestedVerifyOption string `json:"requestedVerifyOption,omitempty"` // SecretEnv: A list of global environment variables, which are @@ -1809,6 +1810,19 @@ func (s *ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption) Mars // ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep: A step in the // build pipeline. type ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep struct { + // AllowExitCodes: Allow this build step to fail without failing the + // entire build if and only if the exit code is one of the specified + // codes. If allow_failure is also specified, this field will take + // precedence. + AllowExitCodes []int64 `json:"allowExitCodes,omitempty"` + + // AllowFailure: Allow this build step to fail without failing the + // entire build. If false, the entire build will fail if this step + // fails. Otherwise, the build will succeed, but this step will still + // have a failure status. Error information will be reported in the + // failure_detail field. + AllowFailure bool `json:"allowFailure,omitempty"` + // Args: A list of arguments that will be presented to the step when it // is started. If the image used to run the step's container has an // entrypoint, the `args` are used as arguments to that entrypoint. If @@ -1835,6 +1849,9 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep struct { // environment variable "KEY" being given the value "VALUE". Env []string `json:"env,omitempty"` + // ExitCode: Output only. Return code from running the step. + ExitCode int64 `json:"exitCode,omitempty"` + // Id: Unique identifier for this build step, used in `wait_for` to // reference this build step as a dependency. Id string `json:"id,omitempty"` @@ -1909,7 +1926,7 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep struct { // `Build.Steps` list have completed successfully. WaitFor []string `json:"waitFor,omitempty"` - // ForceSendFields is a list of field names (e.g. "Args") to + // ForceSendFields is a list of field names (e.g. "AllowExitCodes") 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 @@ -1917,12 +1934,13 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Args") 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 is a list of field names (e.g. "AllowExitCodes") 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:"-"` } diff --git a/content/v2.1/content-api.json b/content/v2.1/content-api.json index 80d4a2a9061..96dc589807c 100644 --- a/content/v2.1/content-api.json +++ b/content/v2.1/content-api.json @@ -5908,7 +5908,7 @@ } } }, - "revision": "20220818", + "revision": "20220905", "rootUrl": "https://shoppingcontent.googleapis.com/", "schemas": { "Account": { @@ -7439,10 +7439,31 @@ "description": "Destination status message.", "id": "CollectionStatusDestinationStatus", "properties": { + "approvedCountries": { + "description": "Country codes (ISO 3166-1 alpha-2) where the collection is approved.", + "items": { + "type": "string" + }, + "type": "array" + }, "destination": { "description": "The name of the destination", "type": "string" }, + "disapprovedCountries": { + "description": "Country codes (ISO 3166-1 alpha-2) where the collection is disapproved.", + "items": { + "type": "string" + }, + "type": "array" + }, + "pendingCountries": { + "description": "Country codes (ISO 3166-1 alpha-2) where the collection is pending approval.", + "items": { + "type": "string" + }, + "type": "array" + }, "status": { "description": "The status for the specified destination in the collections target country.", "type": "string" @@ -7454,6 +7475,13 @@ "description": "Issue associated with the collection.", "id": "CollectionStatusItemLevelIssue", "properties": { + "applicableCountries": { + "description": "Country codes (ISO 3166-1 alpha-2) where issue applies to the offer.", + "items": { + "type": "string" + }, + "type": "array" + }, "attributeName": { "description": "The attribute's name, if the issue is caused by a single attribute.", "type": "string" @@ -9192,6 +9220,13 @@ "description": "Availability of the product. For accepted attribute values, see the local product inventory feed specification.", "type": "string" }, + "customAttributes": { + "description": "A list of custom (merchant-provided) attributes. Can also be used to submit any attribute of the feed specification in its generic form, for example, `{ \"name\": \"size type\", \"value\": \"regular\" }`.", + "items": { + "$ref": "CustomAttribute" + }, + "type": "array" + }, "instoreProductLocation": { "description": "In-store product location.", "type": "string" diff --git a/content/v2.1/content-gen.go b/content/v2.1/content-gen.go index e986ac2b644..b022dfab948 100644 --- a/content/v2.1/content-gen.go +++ b/content/v2.1/content-gen.go @@ -3211,27 +3211,40 @@ func (s *CollectionStatus) MarshalJSON() ([]byte, error) { // CollectionStatusDestinationStatus: Destination status message. type CollectionStatusDestinationStatus struct { + // ApprovedCountries: Country codes (ISO 3166-1 alpha-2) where the + // collection is approved. + ApprovedCountries []string `json:"approvedCountries,omitempty"` + // Destination: The name of the destination Destination string `json:"destination,omitempty"` + // DisapprovedCountries: Country codes (ISO 3166-1 alpha-2) where the + // collection is disapproved. + DisapprovedCountries []string `json:"disapprovedCountries,omitempty"` + + // PendingCountries: Country codes (ISO 3166-1 alpha-2) where the + // collection is pending approval. + PendingCountries []string `json:"pendingCountries,omitempty"` + // Status: The status for the specified destination in the collections // target country. Status string `json:"status,omitempty"` - // ForceSendFields is a list of field names (e.g. "Destination") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "ApprovedCountries") + // 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. "Destination") 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 is a list of field names (e.g. "ApprovedCountries") 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:"-"` } @@ -3243,6 +3256,10 @@ func (s *CollectionStatusDestinationStatus) MarshalJSON() ([]byte, error) { // CollectionStatusItemLevelIssue: Issue associated with the collection. type CollectionStatusItemLevelIssue struct { + // ApplicableCountries: Country codes (ISO 3166-1 alpha-2) where issue + // applies to the offer. + ApplicableCountries []string `json:"applicableCountries,omitempty"` + // AttributeName: The attribute's name, if the issue is caused by a // single attribute. AttributeName string `json:"attributeName,omitempty"` @@ -3269,20 +3286,21 @@ type CollectionStatusItemLevelIssue struct { // Servability: How this issue affects the serving of the collection. Servability string `json:"servability,omitempty"` - // ForceSendFields is a list of field names (e.g. "AttributeName") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "ApplicableCountries") + // 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. "AttributeName") 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 is a list of field names (e.g. "ApplicableCountries") 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:"-"` } @@ -6260,6 +6278,12 @@ type LocalInventory struct { // values, see the local product inventory feed specification. Availability string `json:"availability,omitempty"` + // CustomAttributes: A list of custom (merchant-provided) attributes. + // Can also be used to submit any attribute of the feed specification in + // its generic form, for example, `{ "name": "size type", "value": + // "regular" }`. + CustomAttributes []*CustomAttribute `json:"customAttributes,omitempty"` + // InstoreProductLocation: In-store product location. InstoreProductLocation string `json:"instoreProductLocation,omitempty"` diff --git a/datacatalog/v1/datacatalog-api.json b/datacatalog/v1/datacatalog-api.json index e2b1c32bc83..1cc0caf8675 100644 --- a/datacatalog/v1/datacatalog-api.json +++ b/datacatalog/v1/datacatalog-api.json @@ -1953,7 +1953,7 @@ } } }, - "revision": "20220805", + "revision": "20220826", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { @@ -1965,7 +1965,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, @@ -2577,8 +2577,7 @@ }, "usageSignal": { "$ref": "GoogleCloudDatacatalogV1UsageSignal", - "description": "Output only. Resource usage statistics.", - "readOnly": true + "description": "Resource usage statistics." }, "userSpecifiedSystem": { "description": "Indicates the entry's source system that Data Catalog doesn't automatically integrate with. The `user_specified_system` string has the following limitations: * Is case insensitive. * Must begin with a letter or underscore. * Can only contain letters, numbers, and underscores. * Must be at least 1 character and at most 64 characters long.", @@ -3658,6 +3657,11 @@ "description": "The set of all usage signals that Data Catalog stores. Note: Usually, these signals are updated daily. In rare cases, an update may fail but will be performed again on the next day.", "id": "GoogleCloudDatacatalogV1UsageSignal", "properties": { + "favoriteCount": { + "description": "Favorite count in the source system.", + "format": "int64", + "type": "string" + }, "updateTime": { "description": "The end timestamp of the duration of usage statistics.", "format": "google-datetime", @@ -3667,7 +3671,8 @@ "additionalProperties": { "$ref": "GoogleCloudDatacatalogV1UsageStats" }, - "description": "Usage statistics over each of the predefined time ranges. Supported time ranges are `{\"24H\", \"7D\", \"30D\"}`.", + "description": "Output only. BigQuery usage statistics over each of the predefined time ranges. Supported time ranges are `{\"24H\", \"7D\", \"30D\"}`.", + "readOnly": true, "type": "object" } }, diff --git a/datacatalog/v1/datacatalog-gen.go b/datacatalog/v1/datacatalog-gen.go index 99ebe329e0b..7c7a22527bf 100644 --- a/datacatalog/v1/datacatalog-gen.go +++ b/datacatalog/v1/datacatalog-gen.go @@ -307,11 +307,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -1358,7 +1359,7 @@ type GoogleCloudDatacatalogV1Entry struct { // "SERVICE" - A service, for example, a Dataproc Metastore service. Type string `json:"type,omitempty"` - // UsageSignal: Output only. Resource usage statistics. + // UsageSignal: Resource usage statistics. UsageSignal *GoogleCloudDatacatalogV1UsageSignal `json:"usageSignal,omitempty"` // UserSpecifiedSystem: Indicates the entry's source system that Data @@ -3414,14 +3415,18 @@ type GoogleCloudDatacatalogV1UnstarEntryResponse struct { // daily. In rare cases, an update may fail but will be performed again // on the next day. type GoogleCloudDatacatalogV1UsageSignal struct { + // FavoriteCount: Favorite count in the source system. + FavoriteCount int64 `json:"favoriteCount,omitempty,string"` + // UpdateTime: The end timestamp of the duration of usage statistics. UpdateTime string `json:"updateTime,omitempty"` - // UsageWithinTimeRange: Usage statistics over each of the predefined - // time ranges. Supported time ranges are `{"24H", "7D", "30D"}`. + // UsageWithinTimeRange: Output only. BigQuery usage statistics over + // each of the predefined time ranges. Supported time ranges are + // `{"24H", "7D", "30D"}`. UsageWithinTimeRange map[string]GoogleCloudDatacatalogV1UsageStats `json:"usageWithinTimeRange,omitempty"` - // ForceSendFields is a list of field names (e.g. "UpdateTime") to + // ForceSendFields is a list of field names (e.g. "FavoriteCount") 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 @@ -3429,10 +3434,10 @@ type GoogleCloudDatacatalogV1UsageSignal struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "UpdateTime") 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 + // NullFields is a list of field names (e.g. "FavoriteCount") 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:"-"` diff --git a/datacatalog/v1beta1/datacatalog-api.json b/datacatalog/v1beta1/datacatalog-api.json index 47d9f035065..370f2166335 100644 --- a/datacatalog/v1beta1/datacatalog-api.json +++ b/datacatalog/v1beta1/datacatalog-api.json @@ -1808,7 +1808,7 @@ } } }, - "revision": "20220805", + "revision": "20220826", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { @@ -1820,7 +1820,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/datacatalog/v1beta1/datacatalog-gen.go b/datacatalog/v1beta1/datacatalog-gen.go index d3b8b749558..51f02bec94f 100644 --- a/datacatalog/v1beta1/datacatalog-gen.go +++ b/datacatalog/v1beta1/datacatalog-gen.go @@ -307,11 +307,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/datafusion/v1/datafusion-api.json b/datafusion/v1/datafusion-api.json index 9a97c1b6054..22c27987227 100644 --- a/datafusion/v1/datafusion-api.json +++ b/datafusion/v1/datafusion-api.json @@ -737,7 +737,7 @@ } } }, - "revision": "20220603", + "revision": "20220824", "rootUrl": "https://datafusion.googleapis.com/", "schemas": { "Accelerator": { @@ -836,7 +836,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 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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/datafusion/v1/datafusion-gen.go b/datafusion/v1/datafusion-gen.go index 0248f60ef5a..52568e3fd8d 100644 --- a/datafusion/v1/datafusion-gen.go +++ b/datafusion/v1/datafusion-gen.go @@ -374,16 +374,20 @@ type Binding struct { // 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 + // `serviceAccount:{emailid}`: An email address that represents a Google // 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. * + // `my-other-app@appspot.gserviceaccount.com`. * + // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: + // An identifier for a Kubernetes service account + // (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). + // For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. + // * `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, diff --git a/datafusion/v1beta1/datafusion-api.json b/datafusion/v1beta1/datafusion-api.json index 0f1ad00dfdd..1181ae252a8 100644 --- a/datafusion/v1beta1/datafusion-api.json +++ b/datafusion/v1beta1/datafusion-api.json @@ -935,7 +935,7 @@ } } }, - "revision": "20220603", + "revision": "20220824", "rootUrl": "https://datafusion.googleapis.com/", "schemas": { "Accelerator": { @@ -1016,7 +1016,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 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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, @@ -1732,7 +1732,7 @@ "enumDescriptions": [ "Version does not have availability yet", "Version is under development and not considered stable", - "Version is available for public use" + "Version is available for public use Version is under development and not considered stable" ], "type": "string" }, diff --git a/datafusion/v1beta1/datafusion-gen.go b/datafusion/v1beta1/datafusion-gen.go index 0aa7da73783..5b8069a6fe3 100644 --- a/datafusion/v1beta1/datafusion-gen.go +++ b/datafusion/v1beta1/datafusion-gen.go @@ -371,16 +371,20 @@ type Binding struct { // 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 + // `serviceAccount:{emailid}`: An email address that represents a Google // 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. * + // `my-other-app@appspot.gserviceaccount.com`. * + // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: + // An identifier for a Kubernetes service account + // (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). + // For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. + // * `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, @@ -1573,6 +1577,7 @@ type Version struct { // "TYPE_PREVIEW" - Version is under development and not considered // stable // "TYPE_GENERAL_AVAILABILITY" - Version is available for public use + // Version is under development and not considered stable Type string `json:"type,omitempty"` // VersionNumber: The version number of the Data Fusion instance, such diff --git a/dataproc/v1/dataproc-api.json b/dataproc/v1/dataproc-api.json index ee66a0ceec4..48927773a2f 100644 --- a/dataproc/v1/dataproc-api.json +++ b/dataproc/v1/dataproc-api.json @@ -2444,7 +2444,7 @@ } } }, - "revision": "20220814", + "revision": "20220824", "rootUrl": "https://dataproc.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3251,7 +3251,7 @@ "id": "ExecutionConfig", "properties": { "idleTtl": { - "description": "Optional. The duration to keep the underlying cluster alive while idling Passing this threshold will cause the cluster to be terminated. Minimum value is 30 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).", + "description": "Optional. The duration to keep the session alive while it's idling. Passing this threshold will cause the session to be terminated. Minimum value is 30 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).", "format": "google-duration", "type": "string" }, @@ -3917,6 +3917,10 @@ "readOnly": true, "type": "array" }, + "trinoJob": { + "$ref": "TrinoJob", + "description": "Optional. Job is a Trino job." + }, "yarnApplications": { "description": "Output only. The collection of YARN applications spun up by this job.Beta Feature: This report is available for testing purposes only. It may be changed before final release.", "items": { @@ -4612,6 +4616,10 @@ "stepId": { "description": "Required. The step id. The id must be unique among all jobs within the template.The step id is used as prefix for job id, as job goog-dataproc-workflow-step-id label, and in prerequisiteStepIds field from other steps.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.", "type": "string" + }, + "trinoJob": { + "$ref": "TrinoJob", + "description": "Optional. Job is a Trino job." } }, "type": "object" @@ -5604,6 +5612,47 @@ }, "type": "object" }, + "TrinoJob": { + "description": "A Dataproc job for running Trino (https://trino.io/) queries. IMPORTANT: The Dataproc Trino Optional Component (https://cloud.google.com/dataproc/docs/concepts/components/trino) must be enabled when the cluster is created to submit a Trino job to the cluster.", + "id": "TrinoJob", + "properties": { + "clientTags": { + "description": "Optional. Trino client tags to attach to this query", + "items": { + "type": "string" + }, + "type": "array" + }, + "continueOnFailure": { + "description": "Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.", + "type": "boolean" + }, + "loggingConfig": { + "$ref": "LoggingConfig", + "description": "Optional. The runtime log config for job execution." + }, + "outputFormat": { + "description": "Optional. The format in which query output will be displayed. See the Trino documentation for supported output formats", + "type": "string" + }, + "properties": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. A mapping of property names to values. Used to set Trino session properties (https://trino.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Trino CLI", + "type": "object" + }, + "queryFileUri": { + "description": "The HCFS URI of the script that contains SQL queries.", + "type": "string" + }, + "queryList": { + "$ref": "QueryList", + "description": "A list of queries." + } + }, + "type": "object" + }, "ValueValidation": { "description": "Validation based on a list of allowed values.", "id": "ValueValidation", diff --git a/dataproc/v1/dataproc-gen.go b/dataproc/v1/dataproc-gen.go index ed8cdbef53e..dd0f7350f4a 100644 --- a/dataproc/v1/dataproc-gen.go +++ b/dataproc/v1/dataproc-gen.go @@ -1542,8 +1542,8 @@ func (s *EnvironmentConfig) MarshalJSON() ([]byte, error) { // ExecutionConfig: Execution configuration for a workload. type ExecutionConfig struct { - // IdleTtl: Optional. The duration to keep the underlying cluster alive - // while idling Passing this threshold will cause the cluster to be + // IdleTtl: Optional. The duration to keep the session alive while it's + // idling. Passing this threshold will cause the session to be // terminated. Minimum value is 30 minutes; maximum value is 14 days // (see JSON representation of Duration // (https://developers.google.com/protocol-buffers/docs/proto3#json)). @@ -2648,6 +2648,9 @@ type Job struct { // StatusHistory: Output only. The previous job status. StatusHistory []*JobStatus `json:"statusHistory,omitempty"` + // TrinoJob: Optional. Job is a Trino job. + TrinoJob *TrinoJob `json:"trinoJob,omitempty"` + // YarnApplications: Output only. The collection of YARN applications // spun up by this job.Beta Feature: This report is available for // testing purposes only. It may be changed before final release. @@ -3836,6 +3839,9 @@ type OrderedJob struct { // characters. StepId string `json:"stepId,omitempty"` + // TrinoJob: Optional. Job is a Trino job. + TrinoJob *TrinoJob `json:"trinoJob,omitempty"` + // ForceSendFields is a list of field names (e.g. "HadoopJob") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -5503,6 +5509,62 @@ func (s *TestIamPermissionsResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// TrinoJob: A Dataproc job for running Trino (https://trino.io/) +// queries. IMPORTANT: The Dataproc Trino Optional Component +// (https://cloud.google.com/dataproc/docs/concepts/components/trino) +// must be enabled when the cluster is created to submit a Trino job to +// the cluster. +type TrinoJob struct { + // ClientTags: Optional. Trino client tags to attach to this query + ClientTags []string `json:"clientTags,omitempty"` + + // ContinueOnFailure: Optional. Whether to continue executing queries if + // a query fails. The default value is false. Setting to true can be + // useful when executing independent parallel queries. + ContinueOnFailure bool `json:"continueOnFailure,omitempty"` + + // LoggingConfig: Optional. The runtime log config for job execution. + LoggingConfig *LoggingConfig `json:"loggingConfig,omitempty"` + + // OutputFormat: Optional. The format in which query output will be + // displayed. See the Trino documentation for supported output formats + OutputFormat string `json:"outputFormat,omitempty"` + + // Properties: Optional. A mapping of property names to values. Used to + // set Trino session properties + // (https://trino.io/docs/current/sql/set-session.html) Equivalent to + // using the --session flag in the Trino CLI + Properties map[string]string `json:"properties,omitempty"` + + // QueryFileUri: The HCFS URI of the script that contains SQL queries. + QueryFileUri string `json:"queryFileUri,omitempty"` + + // QueryList: A list of queries. + QueryList *QueryList `json:"queryList,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ClientTags") 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. "ClientTags") 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 *TrinoJob) MarshalJSON() ([]byte, error) { + type NoMethod TrinoJob + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ValueValidation: Validation based on a list of allowed values. type ValueValidation struct { // Values: Required. List of allowed values for the parameter. diff --git a/datastream/v1/datastream-api.json b/datastream/v1/datastream-api.json index 05552030d63..bf1d21f7538 100644 --- a/datastream/v1/datastream-api.json +++ b/datastream/v1/datastream-api.json @@ -1217,7 +1217,7 @@ } } }, - "revision": "20220711", + "revision": "20220824", "rootUrl": "https://datastream.googleapis.com/", "schemas": { "AvroFileFormat": { @@ -1237,6 +1237,10 @@ "oracleExcludedObjects": { "$ref": "OracleRdbms", "description": "Oracle data source objects to avoid backfilling." + }, + "postgresqlExcludedObjects": { + "$ref": "PostgresqlRdbms", + "description": "PostgreSQL data source objects to avoid backfilling." } }, "type": "object" @@ -1312,6 +1316,31 @@ "properties": {}, "type": "object" }, + "BigQueryDestinationConfig": { + "id": "BigQueryDestinationConfig", + "properties": { + "dataFreshness": { + "description": "The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost.", + "format": "google-duration", + "type": "string" + }, + "singleTargetDataset": { + "$ref": "SingleTargetDataset", + "description": "Single destination dataset." + }, + "sourceHierarchyDatasets": { + "$ref": "SourceHierarchyDatasets", + "description": "Source hierarchy datasets." + } + }, + "type": "object" + }, + "BigQueryProfile": { + "description": "BigQuery warehouse profile.", + "id": "BigQueryProfile", + "properties": {}, + "type": "object" + }, "CancelOperationRequest": { "description": "The request message for Operations.CancelOperation.", "id": "CancelOperationRequest", @@ -1322,6 +1351,10 @@ "description": "A set of reusable connection configurations to be used as a source or destination for a stream.", "id": "ConnectionProfile", "properties": { + "bigqueryProfile": { + "$ref": "BigQueryProfile", + "description": "BigQuery Connection Profile configuration." + }, "createTime": { "description": "Output only. The create time of the resource.", "format": "google-datetime", @@ -1360,6 +1393,10 @@ "$ref": "OracleProfile", "description": "Oracle ConnectionProfile configuration." }, + "postgresqlProfile": { + "$ref": "PostgresqlProfile", + "description": "PostgreSQL Connection Profile configuration." + }, "privateConnectivity": { "$ref": "PrivateConnectivity", "description": "Private connectivity." @@ -1377,10 +1414,33 @@ }, "type": "object" }, + "DatasetTemplate": { + "description": "Dataset template used for dynamic dataset creation.", + "id": "DatasetTemplate", + "properties": { + "datasetIdPrefix": { + "description": "If supplied, every created dataset will have its name prefixed by the provided value. The prefix and name will be separated by an underscore. i.e. _.", + "type": "string" + }, + "kmsKeyName": { + "description": "Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key. i.e. projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}. See https://cloud.google.com/bigquery/docs/customer-managed-encryption for more information.", + "type": "string" + }, + "location": { + "description": "Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.", + "type": "string" + } + }, + "type": "object" + }, "DestinationConfig": { "description": "The configuration of the stream destination.", "id": "DestinationConfig", "properties": { + "bigqueryDestinationConfig": { + "$ref": "BigQueryDestinationConfig", + "description": "BigQuery destination configuration." + }, "destinationConnectionProfile": { "description": "Required. Destination connection profile resource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`", "type": "string" @@ -1420,6 +1480,10 @@ "oracleRdbms": { "$ref": "OracleRdbms", "description": "Oracle RDBMS to enrich with child data objects and metadata." + }, + "postgresqlRdbms": { + "$ref": "PostgresqlRdbms", + "description": "PostgreSQL RDBMS to enrich with child data objects and metadata." } }, "type": "object" @@ -1435,6 +1499,10 @@ "oracleRdbms": { "$ref": "OracleRdbms", "description": "Enriched Oracle RDBMS object." + }, + "postgresqlRdbms": { + "$ref": "PostgresqlRdbms", + "description": "Enriched PostgreSQL RDBMS object." } }, "type": "object" @@ -2249,6 +2317,165 @@ }, "type": "object" }, + "PostgresqlColumn": { + "description": "PostgreSQL Column.", + "id": "PostgresqlColumn", + "properties": { + "column": { + "description": "Column name.", + "type": "string" + }, + "dataType": { + "description": "The PostgreSQL data type.", + "type": "string" + }, + "length": { + "description": "Column length.", + "format": "int32", + "type": "integer" + }, + "nullable": { + "description": "Whether or not the column can accept a null value.", + "type": "boolean" + }, + "ordinalPosition": { + "description": "The ordinal position of the column in the table.", + "format": "int32", + "type": "integer" + }, + "precision": { + "description": "Column precision.", + "format": "int32", + "type": "integer" + }, + "primaryKey": { + "description": "Whether or not the column represents a primary key.", + "type": "boolean" + }, + "scale": { + "description": "Column scale.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "PostgresqlObjectIdentifier": { + "description": "PostgreSQL data source object identifier.", + "id": "PostgresqlObjectIdentifier", + "properties": { + "schema": { + "description": "Required. The schema name.", + "type": "string" + }, + "table": { + "description": "Required. The table name.", + "type": "string" + } + }, + "type": "object" + }, + "PostgresqlProfile": { + "description": "PostgreSQL database profile.", + "id": "PostgresqlProfile", + "properties": { + "database": { + "description": "Required. Database for the PostgreSQL connection.", + "type": "string" + }, + "hostname": { + "description": "Required. Hostname for the PostgreSQL connection.", + "type": "string" + }, + "password": { + "description": "Required. Password for the PostgreSQL connection.", + "type": "string" + }, + "port": { + "description": "Port for the PostgreSQL connection, default value is 5432.", + "format": "int32", + "type": "integer" + }, + "username": { + "description": "Required. Username for the PostgreSQL connection.", + "type": "string" + } + }, + "type": "object" + }, + "PostgresqlRdbms": { + "description": "PostgreSQL database structure.", + "id": "PostgresqlRdbms", + "properties": { + "postgresqlSchemas": { + "description": "PostgreSQL schemas in the database server.", + "items": { + "$ref": "PostgresqlSchema" + }, + "type": "array" + } + }, + "type": "object" + }, + "PostgresqlSchema": { + "description": "PostgreSQL schema.", + "id": "PostgresqlSchema", + "properties": { + "postgresqlTables": { + "description": "Tables in the schema.", + "items": { + "$ref": "PostgresqlTable" + }, + "type": "array" + }, + "schema": { + "description": "Schema name.", + "type": "string" + } + }, + "type": "object" + }, + "PostgresqlSourceConfig": { + "description": "PostgreSQL data source configuration", + "id": "PostgresqlSourceConfig", + "properties": { + "excludeObjects": { + "$ref": "PostgresqlRdbms", + "description": "PostgreSQL objects to exclude from the stream." + }, + "includeObjects": { + "$ref": "PostgresqlRdbms", + "description": "PostgreSQL objects to include in the stream." + }, + "publication": { + "description": "Required. The name of the publication that includes the set of all tables that are defined in the stream's include_objects.", + "type": "string" + }, + "replicationSlot": { + "description": "Required. The name of the logical replication slot that's configured with the pgoutput plugin.", + "type": "string" + } + }, + "type": "object" + }, + "PostgresqlTable": { + "description": "PostgreSQL table.", + "id": "PostgresqlTable", + "properties": { + "postgresqlColumns": { + "description": "PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.", + "items": { + "$ref": "PostgresqlColumn" + }, + "type": "array" + }, + "table": { + "description": "Table name.", + "type": "string" + } + }, + "type": "object" + }, "PrivateConnection": { "description": "The PrivateConnection resource is used to establish private connectivity between Datastream and a customer's network.", "id": "PrivateConnection", @@ -2369,6 +2596,16 @@ }, "type": "object" }, + "SingleTargetDataset": { + "description": "A single target dataset to which all data will be streamed.", + "id": "SingleTargetDataset", + "properties": { + "datasetId": { + "type": "string" + } + }, + "type": "object" + }, "SourceConfig": { "description": "The configuration of the stream source.", "id": "SourceConfig", @@ -2381,6 +2618,10 @@ "$ref": "OracleSourceConfig", "description": "Oracle data source configuration." }, + "postgresqlSourceConfig": { + "$ref": "PostgresqlSourceConfig", + "description": "PostgreSQL data source configuration." + }, "sourceConnectionProfile": { "description": "Required. Source connection profile resoource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`", "type": "string" @@ -2388,6 +2629,16 @@ }, "type": "object" }, + "SourceHierarchyDatasets": { + "description": "Destination datasets are created so that hierarchy of the destination data objects matches the source hierarchy.", + "id": "SourceHierarchyDatasets", + "properties": { + "datasetTemplate": { + "$ref": "DatasetTemplate" + } + }, + "type": "object" + }, "SourceObjectIdentifier": { "description": "Represents an identifier of an object in the data source.", "id": "SourceObjectIdentifier", @@ -2399,6 +2650,10 @@ "oracleIdentifier": { "$ref": "OracleObjectIdentifier", "description": "Oracle data source object identifier." + }, + "postgresqlIdentifier": { + "$ref": "PostgresqlObjectIdentifier", + "description": "PostgreSQL data source object identifier." } }, "type": "object" diff --git a/datastream/v1/datastream-gen.go b/datastream/v1/datastream-gen.go index 9d495f1e70a..fac024629ed 100644 --- a/datastream/v1/datastream-gen.go +++ b/datastream/v1/datastream-gen.go @@ -244,6 +244,10 @@ type BackfillAllStrategy struct { // backfilling. OracleExcludedObjects *OracleRdbms `json:"oracleExcludedObjects,omitempty"` + // PostgresqlExcludedObjects: PostgreSQL data source objects to avoid + // backfilling. + PostgresqlExcludedObjects *PostgresqlRdbms `json:"postgresqlExcludedObjects,omitempty"` + // ForceSendFields is a list of field names (e.g. // "MysqlExcludedObjects") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API @@ -335,6 +339,47 @@ func (s *BackfillJob) MarshalJSON() ([]byte, error) { type BackfillNoneStrategy struct { } +type BigQueryDestinationConfig struct { + // DataFreshness: The guaranteed data freshness (in seconds) when + // querying tables created by the stream. Editing this field will only + // affect new tables created in the future, but existing tables will not + // be impacted. Lower values mean that queries will return fresher data, + // but may result in higher cost. + DataFreshness string `json:"dataFreshness,omitempty"` + + // SingleTargetDataset: Single destination dataset. + SingleTargetDataset *SingleTargetDataset `json:"singleTargetDataset,omitempty"` + + // SourceHierarchyDatasets: Source hierarchy datasets. + SourceHierarchyDatasets *SourceHierarchyDatasets `json:"sourceHierarchyDatasets,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DataFreshness") 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. "DataFreshness") 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 *BigQueryDestinationConfig) MarshalJSON() ([]byte, error) { + type NoMethod BigQueryDestinationConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// BigQueryProfile: BigQuery warehouse profile. +type BigQueryProfile struct { +} + // CancelOperationRequest: The request message for // Operations.CancelOperation. type CancelOperationRequest struct { @@ -343,6 +388,9 @@ type CancelOperationRequest struct { // ConnectionProfile: A set of reusable connection configurations to be // used as a source or destination for a stream. type ConnectionProfile struct { + // BigqueryProfile: BigQuery Connection Profile configuration. + BigqueryProfile *BigQueryProfile `json:"bigqueryProfile,omitempty"` + // CreateTime: Output only. The create time of the resource. CreateTime string `json:"createTime,omitempty"` @@ -367,6 +415,9 @@ type ConnectionProfile struct { // OracleProfile: Oracle ConnectionProfile configuration. OracleProfile *OracleProfile `json:"oracleProfile,omitempty"` + // PostgresqlProfile: PostgreSQL Connection Profile configuration. + PostgresqlProfile *PostgresqlProfile `json:"postgresqlProfile,omitempty"` + // PrivateConnectivity: Private connectivity. PrivateConnectivity *PrivateConnectivity `json:"privateConnectivity,omitempty"` @@ -380,7 +431,7 @@ type ConnectionProfile struct { // server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to + // ForceSendFields is a list of field names (e.g. "BigqueryProfile") 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 @@ -388,12 +439,13 @@ type ConnectionProfile struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") 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 is a list of field names (e.g. "BigqueryProfile") 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:"-"` } @@ -403,8 +455,57 @@ func (s *ConnectionProfile) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// DatasetTemplate: Dataset template used for dynamic dataset creation. +type DatasetTemplate struct { + // DatasetIdPrefix: If supplied, every created dataset will have its + // name prefixed by the provided value. The prefix and name will be + // separated by an underscore. i.e. _. + DatasetIdPrefix string `json:"datasetIdPrefix,omitempty"` + + // KmsKeyName: Describes the Cloud KMS encryption key that will be used + // to protect destination BigQuery table. The BigQuery Service Account + // associated with your project requires access to this encryption key. + // i.e. + // projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys + // /{cryptoKey}. See + // https://cloud.google.com/bigquery/docs/customer-managed-encryption + // for more information. + KmsKeyName string `json:"kmsKeyName,omitempty"` + + // Location: Required. The geographic location where the dataset should + // reside. See https://cloud.google.com/bigquery/docs/locations for + // supported locations. + Location string `json:"location,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DatasetIdPrefix") 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. "DatasetIdPrefix") 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 *DatasetTemplate) MarshalJSON() ([]byte, error) { + type NoMethod DatasetTemplate + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // DestinationConfig: The configuration of the stream destination. type DestinationConfig struct { + // BigqueryDestinationConfig: BigQuery destination configuration. + BigqueryDestinationConfig *BigQueryDestinationConfig `json:"bigqueryDestinationConfig,omitempty"` + // DestinationConnectionProfile: Required. Destination connection // profile resource. Format: // `projects/{project}/locations/{location}/connectionProfiles/{name}` @@ -415,7 +516,7 @@ type DestinationConfig struct { GcsDestinationConfig *GcsDestinationConfig `json:"gcsDestinationConfig,omitempty"` // ForceSendFields is a list of field names (e.g. - // "DestinationConnectionProfile") to unconditionally include in API + // "BigqueryDestinationConfig") 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 @@ -424,10 +525,10 @@ type DestinationConfig struct { ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. - // "DestinationConnectionProfile") 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 + // "BigqueryDestinationConfig") 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:"-"` @@ -464,6 +565,10 @@ type DiscoverConnectionProfileRequest struct { // metadata. OracleRdbms *OracleRdbms `json:"oracleRdbms,omitempty"` + // PostgresqlRdbms: PostgreSQL RDBMS to enrich with child data objects + // and metadata. + PostgresqlRdbms *PostgresqlRdbms `json:"postgresqlRdbms,omitempty"` + // ForceSendFields is a list of field names (e.g. "ConnectionProfile") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -496,6 +601,9 @@ type DiscoverConnectionProfileResponse struct { // OracleRdbms: Enriched Oracle RDBMS object. OracleRdbms *OracleRdbms `json:"oracleRdbms,omitempty"` + // PostgresqlRdbms: Enriched PostgreSQL RDBMS object. + PostgresqlRdbms *PostgresqlRdbms `json:"postgresqlRdbms,omitempty"` + // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` @@ -1807,6 +1915,260 @@ func (s *OracleTable) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// PostgresqlColumn: PostgreSQL Column. +type PostgresqlColumn struct { + // Column: Column name. + Column string `json:"column,omitempty"` + + // DataType: The PostgreSQL data type. + DataType string `json:"dataType,omitempty"` + + // Length: Column length. + Length int64 `json:"length,omitempty"` + + // Nullable: Whether or not the column can accept a null value. + Nullable bool `json:"nullable,omitempty"` + + // OrdinalPosition: The ordinal position of the column in the table. + OrdinalPosition int64 `json:"ordinalPosition,omitempty"` + + // Precision: Column precision. + Precision int64 `json:"precision,omitempty"` + + // PrimaryKey: Whether or not the column represents a primary key. + PrimaryKey bool `json:"primaryKey,omitempty"` + + // Scale: Column scale. + Scale int64 `json:"scale,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Column") 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. "Column") 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 *PostgresqlColumn) MarshalJSON() ([]byte, error) { + type NoMethod PostgresqlColumn + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// PostgresqlObjectIdentifier: PostgreSQL data source object identifier. +type PostgresqlObjectIdentifier struct { + // Schema: Required. The schema name. + Schema string `json:"schema,omitempty"` + + // Table: Required. The table name. + Table string `json:"table,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Schema") 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. "Schema") 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 *PostgresqlObjectIdentifier) MarshalJSON() ([]byte, error) { + type NoMethod PostgresqlObjectIdentifier + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// PostgresqlProfile: PostgreSQL database profile. +type PostgresqlProfile struct { + // Database: Required. Database for the PostgreSQL connection. + Database string `json:"database,omitempty"` + + // Hostname: Required. Hostname for the PostgreSQL connection. + Hostname string `json:"hostname,omitempty"` + + // Password: Required. Password for the PostgreSQL connection. + Password string `json:"password,omitempty"` + + // Port: Port for the PostgreSQL connection, default value is 5432. + Port int64 `json:"port,omitempty"` + + // Username: Required. Username for the PostgreSQL connection. + Username string `json:"username,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Database") 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. "Database") 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 *PostgresqlProfile) MarshalJSON() ([]byte, error) { + type NoMethod PostgresqlProfile + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// PostgresqlRdbms: PostgreSQL database structure. +type PostgresqlRdbms struct { + // PostgresqlSchemas: PostgreSQL schemas in the database server. + PostgresqlSchemas []*PostgresqlSchema `json:"postgresqlSchemas,omitempty"` + + // ForceSendFields is a list of field names (e.g. "PostgresqlSchemas") + // 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. "PostgresqlSchemas") 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 *PostgresqlRdbms) MarshalJSON() ([]byte, error) { + type NoMethod PostgresqlRdbms + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// PostgresqlSchema: PostgreSQL schema. +type PostgresqlSchema struct { + // PostgresqlTables: Tables in the schema. + PostgresqlTables []*PostgresqlTable `json:"postgresqlTables,omitempty"` + + // Schema: Schema name. + Schema string `json:"schema,omitempty"` + + // ForceSendFields is a list of field names (e.g. "PostgresqlTables") 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. "PostgresqlTables") 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 *PostgresqlSchema) MarshalJSON() ([]byte, error) { + type NoMethod PostgresqlSchema + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// PostgresqlSourceConfig: PostgreSQL data source configuration +type PostgresqlSourceConfig struct { + // ExcludeObjects: PostgreSQL objects to exclude from the stream. + ExcludeObjects *PostgresqlRdbms `json:"excludeObjects,omitempty"` + + // IncludeObjects: PostgreSQL objects to include in the stream. + IncludeObjects *PostgresqlRdbms `json:"includeObjects,omitempty"` + + // Publication: Required. The name of the publication that includes the + // set of all tables that are defined in the stream's include_objects. + Publication string `json:"publication,omitempty"` + + // ReplicationSlot: Required. The name of the logical replication slot + // that's configured with the pgoutput plugin. + ReplicationSlot string `json:"replicationSlot,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ExcludeObjects") 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. "ExcludeObjects") 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 *PostgresqlSourceConfig) MarshalJSON() ([]byte, error) { + type NoMethod PostgresqlSourceConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// PostgresqlTable: PostgreSQL table. +type PostgresqlTable struct { + // PostgresqlColumns: PostgreSQL columns in the schema. When unspecified + // as part of include/exclude objects, includes/excludes everything. + PostgresqlColumns []*PostgresqlColumn `json:"postgresqlColumns,omitempty"` + + // Table: Table name. + Table string `json:"table,omitempty"` + + // ForceSendFields is a list of field names (e.g. "PostgresqlColumns") + // 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. "PostgresqlColumns") 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 *PostgresqlTable) MarshalJSON() ([]byte, error) { + type NoMethod PostgresqlTable + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // PrivateConnection: The PrivateConnection resource is used to // establish private connectivity between Datastream and a customer's // network. @@ -1956,6 +2318,34 @@ func (s *Route) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// SingleTargetDataset: A single target dataset to which all data will +// be streamed. +type SingleTargetDataset struct { + DatasetId string `json:"datasetId,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DatasetId") 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. "DatasetId") 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 *SingleTargetDataset) MarshalJSON() ([]byte, error) { + type NoMethod SingleTargetDataset + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // SourceConfig: The configuration of the stream source. type SourceConfig struct { // MysqlSourceConfig: MySQL data source configuration. @@ -1964,6 +2354,9 @@ type SourceConfig struct { // OracleSourceConfig: Oracle data source configuration. OracleSourceConfig *OracleSourceConfig `json:"oracleSourceConfig,omitempty"` + // PostgresqlSourceConfig: PostgreSQL data source configuration. + PostgresqlSourceConfig *PostgresqlSourceConfig `json:"postgresqlSourceConfig,omitempty"` + // SourceConnectionProfile: Required. Source connection profile // resoource. Format: // `projects/{project}/locations/{location}/connectionProfiles/{name}` @@ -1993,6 +2386,36 @@ func (s *SourceConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// SourceHierarchyDatasets: Destination datasets are created so that +// hierarchy of the destination data objects matches the source +// hierarchy. +type SourceHierarchyDatasets struct { + DatasetTemplate *DatasetTemplate `json:"datasetTemplate,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DatasetTemplate") 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. "DatasetTemplate") 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 *SourceHierarchyDatasets) MarshalJSON() ([]byte, error) { + type NoMethod SourceHierarchyDatasets + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // SourceObjectIdentifier: Represents an identifier of an object in the // data source. type SourceObjectIdentifier struct { @@ -2002,6 +2425,9 @@ type SourceObjectIdentifier struct { // OracleIdentifier: Oracle data source object identifier. OracleIdentifier *OracleObjectIdentifier `json:"oracleIdentifier,omitempty"` + // PostgresqlIdentifier: PostgreSQL data source object identifier. + PostgresqlIdentifier *PostgresqlObjectIdentifier `json:"postgresqlIdentifier,omitempty"` + // ForceSendFields is a list of field names (e.g. "MysqlIdentifier") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any diff --git a/dialogflow/v2/dialogflow-api.json b/dialogflow/v2/dialogflow-api.json index b8198f91673..3897913f98f 100644 --- a/dialogflow/v2/dialogflow-api.json +++ b/dialogflow/v2/dialogflow-api.json @@ -8077,7 +8077,7 @@ } } }, - "revision": "20220722", + "revision": "20220906", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -12311,9 +12311,9 @@ ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", - "Run FAQ model.", - "Run smart reply model." + "Run article suggestion model for chat.", + "Run FAQ model for chat.", + "Run smart reply model for chat." ], "type": "string" } @@ -12350,9 +12350,9 @@ ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", - "Run FAQ model.", - "Run smart reply model." + "Run article suggestion model for chat.", + "Run FAQ model for chat.", + "Run smart reply model for chat." ], "type": "string" } @@ -12722,7 +12722,12 @@ "GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata": { "description": "Metadata for ConversationDatasets.", "id": "GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata", - "properties": {}, + "properties": { + "conversationDataset": { + "description": "The resource name of the conversation dataset that will be created. Format: `projects//locations//conversationDatasets/`", + "type": "string" + } + }, "type": "object" }, "GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata": { @@ -15833,9 +15838,9 @@ ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", - "Run FAQ model.", - "Run smart reply model." + "Run article suggestion model for chat.", + "Run FAQ model for chat.", + "Run smart reply model for chat." ], "type": "string" } @@ -16137,9 +16142,9 @@ ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", - "Run FAQ model.", - "Run smart reply model." + "Run article suggestion model for chat.", + "Run FAQ model for chat.", + "Run smart reply model for chat." ], "type": "string" } @@ -16596,13 +16601,15 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "CONVERSATION_SUMMARIZATION" ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", + "Run article suggestion model for chat.", "Run FAQ model.", - "Run smart reply model." + "Run smart reply model for chat.", + "Run conversation summarization model for chat." ], "type": "string" } @@ -18461,13 +18468,15 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "CONVERSATION_SUMMARIZATION" ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", + "Run article suggestion model for chat.", "Run FAQ model.", - "Run smart reply model." + "Run smart reply model for chat.", + "Run conversation summarization model for chat." ], "type": "string" } diff --git a/dialogflow/v2/dialogflow-gen.go b/dialogflow/v2/dialogflow-gen.go index 40c31c0a381..781f529a383 100644 --- a/dialogflow/v2/dialogflow-gen.go +++ b/dialogflow/v2/dialogflow-gen.go @@ -8750,9 +8750,9 @@ type GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata struct // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. - // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. + // "FAQ" - Run FAQ model for chat. + // "SMART_REPLY" - Run smart reply model for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") @@ -8799,9 +8799,9 @@ type GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest struct { // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. - // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. + // "FAQ" - Run FAQ model for chat. + // "SMART_REPLY" - Run smart reply model for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ParticipantRole") to @@ -9390,6 +9390,33 @@ func (s *GoogleCloudDialogflowV2ConversationProfile) MarshalJSON() ([]byte, erro // GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata: // Metadata for ConversationDatasets. type GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata struct { + // ConversationDataset: The resource name of the conversation dataset + // that will be created. Format: + // `projects//locations//conversationDatasets/` + ConversationDataset string `json:"conversationDataset,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConversationDataset") + // 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. "ConversationDataset") 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 *GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } // GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetad @@ -15047,9 +15074,9 @@ type GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata struct { // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. - // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. + // "FAQ" - Run FAQ model for chat. + // "SMART_REPLY" - Run smart reply model for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") @@ -15698,9 +15725,9 @@ type GoogleCloudDialogflowV2SuggestionFeature struct { // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. - // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. + // "FAQ" - Run FAQ model for chat. + // "SMART_REPLY" - Run smart reply model for chat. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Type") to @@ -16504,9 +16531,11 @@ type GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata s // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "SMART_REPLY" - Run smart reply model for chat. + // "CONVERSATION_SUMMARIZATION" - Run conversation summarization model + // for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") @@ -19674,9 +19703,11 @@ type GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata str // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "SMART_REPLY" - Run smart reply model for chat. + // "CONVERSATION_SUMMARIZATION" - Run conversation summarization model + // for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") diff --git a/dialogflow/v2beta1/dialogflow-api.json b/dialogflow/v2beta1/dialogflow-api.json index 44046e6ed5b..fcf1aa11e82 100644 --- a/dialogflow/v2beta1/dialogflow-api.json +++ b/dialogflow/v2beta1/dialogflow-api.json @@ -3461,6 +3461,39 @@ } } } + }, + "suggestions": { + "methods": { + "suggestConversationSummary": { + "description": "Suggest summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.", + "flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/suggestions:suggestConversationSummary", + "httpMethod": "POST", + "id": "dialogflow.projects.conversations.suggestions.suggestConversationSummary", + "parameterOrder": [ + "conversation" + ], + "parameters": { + "conversation": { + "description": "Required. The conversation to fetch suggestion for. Format: `projects//locations//conversations/`.", + "location": "path", + "pattern": "^projects/[^/]+/conversations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2beta1/{+conversation}/suggestions:suggestConversationSummary", + "request": { + "$ref": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } } } }, @@ -6843,6 +6876,39 @@ } } } + }, + "suggestions": { + "methods": { + "suggestConversationSummary": { + "description": "Suggest summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.", + "flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/suggestions:suggestConversationSummary", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.conversations.suggestions.suggestConversationSummary", + "parameterOrder": [ + "conversation" + ], + "parameters": { + "conversation": { + "description": "Required. The conversation to fetch suggestion for. Format: `projects//locations//conversations/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2beta1/{+conversation}/suggestions:suggestConversationSummary", + "request": { + "$ref": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } } } }, @@ -7441,7 +7507,7 @@ } } }, - "revision": "20220722", + "revision": "20220906", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -11171,9 +11237,9 @@ ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", - "Run FAQ model.", - "Run smart reply model." + "Run article suggestion model for chat.", + "Run FAQ model for chat.", + "Run smart reply model for chat." ], "type": "string" } @@ -11313,7 +11379,12 @@ "GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata": { "description": "Metadata for ConversationDatasets.", "id": "GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata", - "properties": {}, + "properties": { + "conversationDataset": { + "description": "The resource name of the conversation dataset that will be created. Format: `projects//locations//conversationDatasets/`", + "type": "string" + } + }, "type": "object" }, "GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata": { @@ -12921,9 +12992,9 @@ ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", - "Run FAQ model.", - "Run smart reply model." + "Run article suggestion model for chat.", + "Run FAQ model for chat.", + "Run smart reply model for chat." ], "type": "string" } @@ -13888,13 +13959,15 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "CONVERSATION_SUMMARIZATION" ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", + "Run article suggestion model for chat.", "Run FAQ model.", - "Run smart reply model." + "Run smart reply model for chat.", + "Run conversation summarization model for chat." ], "type": "string" } @@ -13927,13 +14000,15 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "CONVERSATION_SUMMARIZATION" ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", + "Run article suggestion model for chat.", "Run FAQ model.", - "Run smart reply model." + "Run smart reply model for chat.", + "Run conversation summarization model for chat." ], "type": "string" } @@ -17504,13 +17579,15 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "CONVERSATION_SUMMARIZATION" ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", + "Run article suggestion model for chat.", "Run FAQ model.", - "Run smart reply model." + "Run smart reply model for chat.", + "Run conversation summarization model for chat." ], "type": "string" } @@ -17664,6 +17741,64 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest": { + "description": "The request message for Conversations.SuggestConversationSummary.", + "id": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest", + "properties": { + "contextSize": { + "description": "Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion. By default 500 and at most 1000.", + "format": "int32", + "type": "integer" + }, + "latestMessage": { + "description": "The name of the latest conversation message used as context for compiling suggestion. If empty, the latest message of the conversation will be used. Format: `projects//locations//conversations//messages/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse": { + "description": "The response message for Conversations.SuggestConversationSummary.", + "id": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse", + "properties": { + "contextSize": { + "description": "Number of messages prior to and including last_conversation_message used to compile the suggestion. It may be smaller than the SuggestSummaryRequest.context_size field in the request if there weren't that many messages in the conversation.", + "format": "int32", + "type": "integer" + }, + "latestMessage": { + "description": "The name of the latest conversation message used as context for compiling suggestion. Format: `projects//locations//conversations//messages/`.", + "type": "string" + }, + "summary": { + "$ref": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary", + "description": "Generated summary." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary": { + "description": "Generated summary for a conversation.", + "id": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary", + "properties": { + "answerRecord": { + "description": "The name of the answer record. Format: \"projects//answerRecords/\"", + "type": "string" + }, + "text": { + "description": "The summary content that is concatenated into one string.", + "type": "string" + }, + "textSections": { + "additionalProperties": { + "type": "string" + }, + "description": "The summary content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.", + "type": "object" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest": { "description": "The request message for Participants.SuggestFaqAnswers.", "id": "GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest", @@ -17862,13 +17997,15 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "CONVERSATION_SUMMARIZATION" ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", + "Run article suggestion model for chat.", "Run FAQ model.", - "Run smart reply model." + "Run smart reply model for chat.", + "Run conversation summarization model for chat." ], "type": "string" } diff --git a/dialogflow/v2beta1/dialogflow-gen.go b/dialogflow/v2beta1/dialogflow-gen.go index 6d3c41cfc32..5994c513b14 100644 --- a/dialogflow/v2beta1/dialogflow-gen.go +++ b/dialogflow/v2beta1/dialogflow-gen.go @@ -388,6 +388,7 @@ func NewProjectsConversationsService(s *Service) *ProjectsConversationsService { rs := &ProjectsConversationsService{s: s} rs.Messages = NewProjectsConversationsMessagesService(s) rs.Participants = NewProjectsConversationsParticipantsService(s) + rs.Suggestions = NewProjectsConversationsSuggestionsService(s) return rs } @@ -397,6 +398,8 @@ type ProjectsConversationsService struct { Messages *ProjectsConversationsMessagesService Participants *ProjectsConversationsParticipantsService + + Suggestions *ProjectsConversationsSuggestionsService } func NewProjectsConversationsMessagesService(s *Service) *ProjectsConversationsMessagesService { @@ -429,6 +432,15 @@ type ProjectsConversationsParticipantsSuggestionsService struct { s *Service } +func NewProjectsConversationsSuggestionsService(s *Service) *ProjectsConversationsSuggestionsService { + rs := &ProjectsConversationsSuggestionsService{s: s} + return rs +} + +type ProjectsConversationsSuggestionsService struct { + s *Service +} + func NewProjectsKnowledgeBasesService(s *Service) *ProjectsKnowledgeBasesService { rs := &ProjectsKnowledgeBasesService{s: s} rs.Documents = NewProjectsKnowledgeBasesDocumentsService(s) @@ -664,6 +676,7 @@ func NewProjectsLocationsConversationsService(s *Service) *ProjectsLocationsConv rs := &ProjectsLocationsConversationsService{s: s} rs.Messages = NewProjectsLocationsConversationsMessagesService(s) rs.Participants = NewProjectsLocationsConversationsParticipantsService(s) + rs.Suggestions = NewProjectsLocationsConversationsSuggestionsService(s) return rs } @@ -673,6 +686,8 @@ type ProjectsLocationsConversationsService struct { Messages *ProjectsLocationsConversationsMessagesService Participants *ProjectsLocationsConversationsParticipantsService + + Suggestions *ProjectsLocationsConversationsSuggestionsService } func NewProjectsLocationsConversationsMessagesService(s *Service) *ProjectsLocationsConversationsMessagesService { @@ -705,6 +720,15 @@ type ProjectsLocationsConversationsParticipantsSuggestionsService struct { s *Service } +func NewProjectsLocationsConversationsSuggestionsService(s *Service) *ProjectsLocationsConversationsSuggestionsService { + rs := &ProjectsLocationsConversationsSuggestionsService{s: s} + return rs +} + +type ProjectsLocationsConversationsSuggestionsService struct { + s *Service +} + func NewProjectsLocationsKnowledgeBasesService(s *Service) *ProjectsLocationsKnowledgeBasesService { rs := &ProjectsLocationsKnowledgeBasesService{s: s} rs.Documents = NewProjectsLocationsKnowledgeBasesDocumentsService(s) @@ -7796,9 +7820,9 @@ type GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata struct // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. - // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. + // "FAQ" - Run FAQ model for chat. + // "SMART_REPLY" - Run smart reply model for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") @@ -8031,6 +8055,33 @@ func (s *GoogleCloudDialogflowV2ConversationModel) MarshalJSON() ([]byte, error) // GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata: // Metadata for ConversationDatasets. type GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata struct { + // ConversationDataset: The resource name of the conversation dataset + // that will be created. Format: + // `projects//locations//conversationDatasets/` + ConversationDataset string `json:"conversationDataset,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConversationDataset") + // 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. "ConversationDataset") 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 *GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } // GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetad @@ -10651,9 +10702,9 @@ type GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata struct { // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. - // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. + // "FAQ" - Run FAQ model for chat. + // "SMART_REPLY" - Run smart reply model for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") @@ -12373,9 +12424,11 @@ type GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata s // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "SMART_REPLY" - Run smart reply model for chat. + // "CONVERSATION_SUMMARIZATION" - Run conversation summarization model + // for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") @@ -12422,9 +12475,11 @@ type GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest struct { // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "SMART_REPLY" - Run smart reply model for chat. + // "CONVERSATION_SUMMARIZATION" - Run conversation summarization model + // for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ParticipantRole") to @@ -18935,9 +18990,11 @@ type GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata str // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "SMART_REPLY" - Run smart reply model for chat. + // "CONVERSATION_SUMMARIZATION" - Run conversation summarization model + // for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") @@ -19296,6 +19353,126 @@ func (s *GoogleCloudDialogflowV2beta1SuggestArticlesResponse) MarshalJSON() ([]b return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest: The +// request message for Conversations.SuggestConversationSummary. +type GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest struct { + // ContextSize: Max number of messages prior to and including + // [latest_message] to use as context when compiling the suggestion. By + // default 500 and at most 1000. + ContextSize int64 `json:"contextSize,omitempty"` + + // LatestMessage: The name of the latest conversation message used as + // context for compiling suggestion. If empty, the latest message of the + // conversation will be used. Format: + // `projects//locations//conversations//messages/`. + LatestMessage string `json:"latestMessage,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ContextSize") 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. "ContextSize") 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 *GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse: The +// response message for Conversations.SuggestConversationSummary. +type GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse struct { + // ContextSize: Number of messages prior to and including + // last_conversation_message used to compile the suggestion. It may be + // smaller than the SuggestSummaryRequest.context_size field in the + // request if there weren't that many messages in the conversation. + ContextSize int64 `json:"contextSize,omitempty"` + + // LatestMessage: The name of the latest conversation message used as + // context for compiling suggestion. Format: + // `projects//locations//conversations//messages/`. + LatestMessage string `json:"latestMessage,omitempty"` + + // Summary: Generated summary. + Summary *GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary `json:"summary,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "ContextSize") 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. "ContextSize") 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 *GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary: +// +// Generated summary for a conversation. +type GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary struct { + // AnswerRecord: The name of the answer record. Format: + // "projects//answerRecords/" + AnswerRecord string `json:"answerRecord,omitempty"` + + // Text: The summary content that is concatenated into one string. + Text string `json:"text,omitempty"` + + // TextSections: The summary content that is divided into sections. The + // key is the section's name and the value is the section's content. + // There is no specific format for the key or value. + TextSections map[string]string `json:"textSections,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AnswerRecord") 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. "AnswerRecord") 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 *GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest: The request // message for Participants.SuggestFaqAnswers. type GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest struct { @@ -19632,9 +19809,11 @@ type GoogleCloudDialogflowV2beta1SuggestionFeature struct { // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "SMART_REPLY" - Run smart reply model for chat. + // "CONVERSATION_SUMMARIZATION" - Run conversation summarization model + // for chat. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Type") to @@ -37596,6 +37775,155 @@ func (c *ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Do } +// method id "dialogflow.projects.conversations.suggestions.suggestConversationSummary": + +type ProjectsConversationsSuggestionsSuggestConversationSummaryCall struct { + s *Service + conversation string + googleclouddialogflowv2beta1suggestconversationsummaryrequest *GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// SuggestConversationSummary: Suggest summary for a conversation based +// on specific historical messages. The range of the messages to be used +// for summary can be specified in the request. +// +// - conversation: The conversation to fetch suggestion for. Format: +// `projects//locations//conversations/`. +func (r *ProjectsConversationsSuggestionsService) SuggestConversationSummary(conversation string, googleclouddialogflowv2beta1suggestconversationsummaryrequest *GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest) *ProjectsConversationsSuggestionsSuggestConversationSummaryCall { + c := &ProjectsConversationsSuggestionsSuggestConversationSummaryCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.conversation = conversation + c.googleclouddialogflowv2beta1suggestconversationsummaryrequest = googleclouddialogflowv2beta1suggestconversationsummaryrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsConversationsSuggestionsSuggestConversationSummaryCall) Fields(s ...googleapi.Field) *ProjectsConversationsSuggestionsSuggestConversationSummaryCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsConversationsSuggestionsSuggestConversationSummaryCall) Context(ctx context.Context) *ProjectsConversationsSuggestionsSuggestConversationSummaryCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsConversationsSuggestionsSuggestConversationSummaryCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsConversationsSuggestionsSuggestConversationSummaryCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowv2beta1suggestconversationsummaryrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v2beta1/{+conversation}/suggestions:suggestConversationSummary") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "conversation": c.conversation, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.conversations.suggestions.suggestConversationSummary" call. +// Exactly one of +// *GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse.Server +// Response.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsConversationsSuggestionsSuggestConversationSummaryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Suggest summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.", + // "flatPath": "v2beta1/projects/{projectsId}/conversations/{conversationsId}/suggestions:suggestConversationSummary", + // "httpMethod": "POST", + // "id": "dialogflow.projects.conversations.suggestions.suggestConversationSummary", + // "parameterOrder": [ + // "conversation" + // ], + // "parameters": { + // "conversation": { + // "description": "Required. The conversation to fetch suggestion for. Format: `projects//locations//conversations/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/conversations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v2beta1/{+conversation}/suggestions:suggestConversationSummary", + // "request": { + // "$ref": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + // method id "dialogflow.projects.knowledgeBases.create": type ProjectsKnowledgeBasesCreateCall struct { @@ -54525,6 +54853,155 @@ func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartReplie } +// method id "dialogflow.projects.locations.conversations.suggestions.suggestConversationSummary": + +type ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall struct { + s *Service + conversation string + googleclouddialogflowv2beta1suggestconversationsummaryrequest *GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// SuggestConversationSummary: Suggest summary for a conversation based +// on specific historical messages. The range of the messages to be used +// for summary can be specified in the request. +// +// - conversation: The conversation to fetch suggestion for. Format: +// `projects//locations//conversations/`. +func (r *ProjectsLocationsConversationsSuggestionsService) SuggestConversationSummary(conversation string, googleclouddialogflowv2beta1suggestconversationsummaryrequest *GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest) *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall { + c := &ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.conversation = conversation + c.googleclouddialogflowv2beta1suggestconversationsummaryrequest = googleclouddialogflowv2beta1suggestconversationsummaryrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall) Context(ctx context.Context) *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowv2beta1suggestconversationsummaryrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v2beta1/{+conversation}/suggestions:suggestConversationSummary") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "conversation": c.conversation, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.conversations.suggestions.suggestConversationSummary" call. +// Exactly one of +// *GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse.Server +// Response.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Suggest summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.", + // "flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/suggestions:suggestConversationSummary", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.conversations.suggestions.suggestConversationSummary", + // "parameterOrder": [ + // "conversation" + // ], + // "parameters": { + // "conversation": { + // "description": "Required. The conversation to fetch suggestion for. Format: `projects//locations//conversations/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v2beta1/{+conversation}/suggestions:suggestConversationSummary", + // "request": { + // "$ref": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + // method id "dialogflow.projects.locations.knowledgeBases.create": type ProjectsLocationsKnowledgeBasesCreateCall struct { diff --git a/dialogflow/v3/dialogflow-api.json b/dialogflow/v3/dialogflow-api.json index ff6d9e04186..0feb9330f41 100644 --- a/dialogflow/v3/dialogflow-api.json +++ b/dialogflow/v3/dialogflow-api.json @@ -3820,7 +3820,7 @@ } } }, - "revision": "20220706", + "revision": "20220906", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -6945,7 +6945,7 @@ "type": "boolean" }, "gcsBucket": { - "description": "Cloud Storage bucket to export audio record to. You need to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Storage Object Admin` role in this bucket.", + "description": "Cloud Storage bucket to export audio record to. Settings this field would grant the Storage Object Creator role to the Dialogflow Service Agent. API caller that tries to modify this field should have the permission of storage.buckets.setIamPolicy.", "type": "string" } }, @@ -9903,9 +9903,9 @@ ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", - "Run FAQ model.", - "Run smart reply model." + "Run article suggestion model for chat.", + "Run FAQ model for chat.", + "Run smart reply model for chat." ], "type": "string" } @@ -10045,7 +10045,12 @@ "GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata": { "description": "Metadata for ConversationDatasets.", "id": "GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata", - "properties": {}, + "properties": { + "conversationDataset": { + "description": "The resource name of the conversation dataset that will be created. Format: `projects//locations//conversationDatasets/`", + "type": "string" + } + }, "type": "object" }, "GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata": { @@ -11653,9 +11658,9 @@ ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", - "Run FAQ model.", - "Run smart reply model." + "Run article suggestion model for chat.", + "Run FAQ model for chat.", + "Run smart reply model for chat." ], "type": "string" } @@ -11998,13 +12003,15 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "CONVERSATION_SUMMARIZATION" ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", + "Run article suggestion model for chat.", "Run FAQ model.", - "Run smart reply model." + "Run smart reply model for chat.", + "Run conversation summarization model for chat." ], "type": "string" } @@ -13863,13 +13870,15 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "CONVERSATION_SUMMARIZATION" ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", + "Run article suggestion model for chat.", "Run FAQ model.", - "Run smart reply model." + "Run smart reply model for chat.", + "Run conversation summarization model for chat." ], "type": "string" } diff --git a/dialogflow/v3/dialogflow-gen.go b/dialogflow/v3/dialogflow-gen.go index 4ab946fb0c3..cfa902a2398 100644 --- a/dialogflow/v3/dialogflow-gen.go +++ b/dialogflow/v3/dialogflow-gen.go @@ -6318,9 +6318,10 @@ type GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings struct { // EnableAudioRedaction: Enable audio redaction if it is true. EnableAudioRedaction bool `json:"enableAudioRedaction,omitempty"` - // GcsBucket: Cloud Storage bucket to export audio record to. You need - // to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the - // `Storage Object Admin` role in this bucket. + // GcsBucket: Cloud Storage bucket to export audio record to. Settings + // this field would grant the Storage Object Creator role to the + // Dialogflow Service Agent. API caller that tries to modify this field + // should have the permission of storage.buckets.setIamPolicy. GcsBucket string `json:"gcsBucket,omitempty"` // ForceSendFields is a list of field names (e.g. "AudioExportPattern") @@ -11857,9 +11858,9 @@ type GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata struct // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. - // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. + // "FAQ" - Run FAQ model for chat. + // "SMART_REPLY" - Run smart reply model for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") @@ -12092,6 +12093,33 @@ func (s *GoogleCloudDialogflowV2ConversationModel) MarshalJSON() ([]byte, error) // GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata: // Metadata for ConversationDatasets. type GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata struct { + // ConversationDataset: The resource name of the conversation dataset + // that will be created. Format: + // `projects//locations//conversationDatasets/` + ConversationDataset string `json:"conversationDataset,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConversationDataset") + // 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. "ConversationDataset") 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 *GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } // GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetad @@ -14712,9 +14740,9 @@ type GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata struct { // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. - // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. + // "FAQ" - Run FAQ model for chat. + // "SMART_REPLY" - Run smart reply model for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") @@ -15338,9 +15366,11 @@ type GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata s // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "SMART_REPLY" - Run smart reply model for chat. + // "CONVERSATION_SUMMARIZATION" - Run conversation summarization model + // for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") @@ -18508,9 +18538,11 @@ type GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata str // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "SMART_REPLY" - Run smart reply model for chat. + // "CONVERSATION_SUMMARIZATION" - Run conversation summarization model + // for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") diff --git a/dialogflow/v3beta1/dialogflow-api.json b/dialogflow/v3beta1/dialogflow-api.json index b38b4283fd8..d505c7eff3c 100644 --- a/dialogflow/v3beta1/dialogflow-api.json +++ b/dialogflow/v3beta1/dialogflow-api.json @@ -3820,7 +3820,7 @@ } } }, - "revision": "20220706", + "revision": "20220906", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -8736,7 +8736,7 @@ "type": "boolean" }, "gcsBucket": { - "description": "Cloud Storage bucket to export audio record to. You need to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Storage Object Admin` role in this bucket.", + "description": "Cloud Storage bucket to export audio record to. Settings this field would grant the Storage Object Creator role to the Dialogflow Service Agent. API caller that tries to modify this field should have the permission of storage.buckets.setIamPolicy.", "type": "string" } }, @@ -9903,9 +9903,9 @@ ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", - "Run FAQ model.", - "Run smart reply model." + "Run article suggestion model for chat.", + "Run FAQ model for chat.", + "Run smart reply model for chat." ], "type": "string" } @@ -10045,7 +10045,12 @@ "GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata": { "description": "Metadata for ConversationDatasets.", "id": "GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata", - "properties": {}, + "properties": { + "conversationDataset": { + "description": "The resource name of the conversation dataset that will be created. Format: `projects//locations//conversationDatasets/`", + "type": "string" + } + }, "type": "object" }, "GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata": { @@ -11653,9 +11658,9 @@ ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", - "Run FAQ model.", - "Run smart reply model." + "Run article suggestion model for chat.", + "Run FAQ model for chat.", + "Run smart reply model for chat." ], "type": "string" } @@ -11998,13 +12003,15 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "CONVERSATION_SUMMARIZATION" ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", + "Run article suggestion model for chat.", "Run FAQ model.", - "Run smart reply model." + "Run smart reply model for chat.", + "Run conversation summarization model for chat." ], "type": "string" } @@ -13863,13 +13870,15 @@ "TYPE_UNSPECIFIED", "ARTICLE_SUGGESTION", "FAQ", - "SMART_REPLY" + "SMART_REPLY", + "CONVERSATION_SUMMARIZATION" ], "enumDescriptions": [ "Unspecified feature type.", - "Run article suggestion model.", + "Run article suggestion model for chat.", "Run FAQ model.", - "Run smart reply model." + "Run smart reply model for chat.", + "Run conversation summarization model for chat." ], "type": "string" } diff --git a/dialogflow/v3beta1/dialogflow-gen.go b/dialogflow/v3beta1/dialogflow-gen.go index 76c8bd98fc6..fcc0d8cb681 100644 --- a/dialogflow/v3beta1/dialogflow-gen.go +++ b/dialogflow/v3beta1/dialogflow-gen.go @@ -9736,9 +9736,10 @@ type GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings struct { // EnableAudioRedaction: Enable audio redaction if it is true. EnableAudioRedaction bool `json:"enableAudioRedaction,omitempty"` - // GcsBucket: Cloud Storage bucket to export audio record to. You need - // to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the - // `Storage Object Admin` role in this bucket. + // GcsBucket: Cloud Storage bucket to export audio record to. Settings + // this field would grant the Storage Object Creator role to the + // Dialogflow Service Agent. API caller that tries to modify this field + // should have the permission of storage.buckets.setIamPolicy. GcsBucket string `json:"gcsBucket,omitempty"` // ForceSendFields is a list of field names (e.g. "AudioExportPattern") @@ -11862,9 +11863,9 @@ type GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata struct // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. - // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. + // "FAQ" - Run FAQ model for chat. + // "SMART_REPLY" - Run smart reply model for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") @@ -12097,6 +12098,33 @@ func (s *GoogleCloudDialogflowV2ConversationModel) MarshalJSON() ([]byte, error) // GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata: // Metadata for ConversationDatasets. type GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata struct { + // ConversationDataset: The resource name of the conversation dataset + // that will be created. Format: + // `projects//locations//conversationDatasets/` + ConversationDataset string `json:"conversationDataset,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConversationDataset") + // 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. "ConversationDataset") 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 *GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } // GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetad @@ -14717,9 +14745,9 @@ type GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata struct { // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. - // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. + // "FAQ" - Run FAQ model for chat. + // "SMART_REPLY" - Run smart reply model for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") @@ -15343,9 +15371,11 @@ type GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata s // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "SMART_REPLY" - Run smart reply model for chat. + // "CONVERSATION_SUMMARIZATION" - Run conversation summarization model + // for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") @@ -18513,9 +18543,11 @@ type GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata str // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. - // "ARTICLE_SUGGESTION" - Run article suggestion model. + // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. // "FAQ" - Run FAQ model. - // "SMART_REPLY" - Run smart reply model. + // "SMART_REPLY" - Run smart reply model for chat. + // "CONVERSATION_SUMMARIZATION" - Run conversation summarization model + // for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") diff --git a/dlp/v2/dlp-api.json b/dlp/v2/dlp-api.json index 4ee5c8e094b..f743cf90c2f 100644 --- a/dlp/v2/dlp-api.json +++ b/dlp/v2/dlp-api.json @@ -3412,7 +3412,7 @@ } } }, - "revision": "20220812", + "revision": "20220826", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": { @@ -3429,7 +3429,7 @@ }, "pubSub": { "$ref": "GooglePrivacyDlpV2PublishToPubSub", - "description": "Publish a notification to a pubsub topic." + "description": "Publish a notification to a Pub/Sub topic." }, "publishFindingsToCloudDataCatalog": { "$ref": "GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog", @@ -4491,7 +4491,7 @@ "type": "object" }, "GooglePrivacyDlpV2DataProfilePubSubCondition": { - "description": "A condition for determining whether a PubSub should be triggered.", + "description": "A condition for determining whether a Pub/Sub should be triggered.", "id": "GooglePrivacyDlpV2DataProfilePubSubCondition", "properties": { "expressions": { @@ -4502,7 +4502,7 @@ "type": "object" }, "GooglePrivacyDlpV2DataProfilePubSubMessage": { - "description": "Pub/Sub topic message for a DataProfileAction.PubSubNotification event. To receive a message of protocol buffer schema type, convert the message data to an object of this proto class. https://cloud.google.com/pubsub/docs/samples/pubsub-subscribe-proto-messages", + "description": "Pub/Sub topic message for a DataProfileAction.PubSubNotification event. To receive a message of protocol buffer schema type, convert the message data to an object of this proto class.", "id": "GooglePrivacyDlpV2DataProfilePubSubMessage", "properties": { "event": { diff --git a/dlp/v2/dlp-gen.go b/dlp/v2/dlp-gen.go index 6a61a422e39..444b1e5f192 100644 --- a/dlp/v2/dlp-gen.go +++ b/dlp/v2/dlp-gen.go @@ -495,7 +495,7 @@ type GooglePrivacyDlpV2Action struct { // and editors on job's completion/failure. JobNotificationEmails *GooglePrivacyDlpV2JobNotificationEmails `json:"jobNotificationEmails,omitempty"` - // PubSub: Publish a notification to a pubsub topic. + // PubSub: Publish a notification to a Pub/Sub topic. PubSub *GooglePrivacyDlpV2PublishToPubSub `json:"pubSub,omitempty"` // PublishFindingsToCloudDataCatalog: Publish findings to Cloud Datahub. @@ -2415,7 +2415,7 @@ func (s *GooglePrivacyDlpV2DataProfileLocation) MarshalJSON() ([]byte, error) { } // GooglePrivacyDlpV2DataProfilePubSubCondition: A condition for -// determining whether a PubSub should be triggered. +// determining whether a Pub/Sub should be triggered. type GooglePrivacyDlpV2DataProfilePubSubCondition struct { // Expressions: An expression. Expressions *GooglePrivacyDlpV2PubSubExpressions `json:"expressions,omitempty"` @@ -2447,7 +2447,6 @@ func (s *GooglePrivacyDlpV2DataProfilePubSubCondition) MarshalJSON() ([]byte, er // a DataProfileAction.PubSubNotification event. To receive a message of // protocol buffer schema type, convert the message data to an object of // this proto class. -// https://cloud.google.com/pubsub/docs/samples/pubsub-subscribe-proto-messages type GooglePrivacyDlpV2DataProfilePubSubMessage struct { // Event: The event that caused the Pub/Sub message to be sent. // diff --git a/documentai/v1/documentai-api.json b/documentai/v1/documentai-api.json index 7f169a94619..0a8d3430867 100644 --- a/documentai/v1/documentai-api.json +++ b/documentai/v1/documentai-api.json @@ -1069,7 +1069,7 @@ } } }, - "revision": "20220821", + "revision": "20220824", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": { @@ -1392,6 +1392,84 @@ }, "type": "object" }, + "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata": { + "description": "Metadata of the batch export documents operation.", + "id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + }, + "individualExportStatuses": { + "description": "The list of response details of each document.", + "items": { + "$ref": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus" + }, + "type": "array" + }, + "splitExportStats": { + "description": "The list of statistics for each dataset split type.", + "items": { + "$ref": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus": { + "description": "The status of each individual document in the export process.", + "id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus", + "properties": { + "documentId": { + "$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", + "description": "The path to source docproto of the document." + }, + "outputGcsDestination": { + "description": "The output_gcs_destination of the exported document if it was successful, otherwise empty.", + "type": "string" + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status of the exporting of the document." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat": { + "description": "The statistic representing a dataset split type for this export.", + "id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat", + "properties": { + "splitType": { + "description": "The dataset split type.", + "enum": [ + "DATASET_SPLIT_TYPE_UNSPECIFIED", + "DATASET_SPLIT_TRAIN", + "DATASET_SPLIT_TEST", + "DATASET_SPLIT_UNASSIGNED" + ], + "enumDescriptions": [ + "Default value if the enum is not set. go/protodosdonts#do-include-an-unspecified-value-in-an-enum", + "Identifies the train documents.", + "Identifies the test documents.", + "Identifies the unassigned documents." + ], + "type": "string" + }, + "totalDocumentCount": { + "description": "Total number of documents with the given dataset split type to be exported.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse": { + "description": "The response proto of ExportDocuments method.", + "id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse", + "properties": {}, + "type": "object" + }, "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata": { "description": "Metadata message associated with the ExportProcessorVersion operation.", "id": "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata", diff --git a/documentai/v1/documentai-gen.go b/documentai/v1/documentai-gen.go index 97f2dd5ed1e..08161d1e214 100644 --- a/documentai/v1/documentai-gen.go +++ b/documentai/v1/documentai-gen.go @@ -890,6 +890,124 @@ func (s *GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse) Marshal return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata: Metadata of +// the batch export documents operation. +type GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` + + // IndividualExportStatuses: The list of response details of each + // document. + IndividualExportStatuses []*GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus `json:"individualExportStatuses,omitempty"` + + // SplitExportStats: The list of statistics for each dataset split type. + SplitExportStats []*GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat `json:"splitExportStats,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CommonMetadata") 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. "CommonMetadata") 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 *GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportS +// tatus: The status of each individual document in the export process. +type GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus struct { + // DocumentId: The path to source docproto of the document. + DocumentId *GoogleCloudDocumentaiUiv1beta3DocumentId `json:"documentId,omitempty"` + + // OutputGcsDestination: The output_gcs_destination of the exported + // document if it was successful, otherwise empty. + OutputGcsDestination string `json:"outputGcsDestination,omitempty"` + + // Status: The status of the exporting of the document. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DocumentId") 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. "DocumentId") 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 *GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat: +// The statistic representing a dataset split type for this export. +type GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat struct { + // SplitType: The dataset split type. + // + // Possible values: + // "DATASET_SPLIT_TYPE_UNSPECIFIED" - Default value if the enum is not + // set. go/protodosdonts#do-include-an-unspecified-value-in-an-enum + // "DATASET_SPLIT_TRAIN" - Identifies the train documents. + // "DATASET_SPLIT_TEST" - Identifies the test documents. + // "DATASET_SPLIT_UNASSIGNED" - Identifies the unassigned documents. + SplitType string `json:"splitType,omitempty"` + + // TotalDocumentCount: Total number of documents with the given dataset + // split type to be exported. + TotalDocumentCount int64 `json:"totalDocumentCount,omitempty"` + + // ForceSendFields is a list of field names (e.g. "SplitType") 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. "SplitType") 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 *GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse: The response +// proto of ExportDocuments method. +type GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse struct { +} + // GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata: // Metadata message associated with the ExportProcessorVersion // operation. diff --git a/documentai/v1beta2/documentai-api.json b/documentai/v1beta2/documentai-api.json index c4c4c36ed8f..e5db5994614 100644 --- a/documentai/v1beta2/documentai-api.json +++ b/documentai/v1beta2/documentai-api.json @@ -292,7 +292,7 @@ } } }, - "revision": "20220821", + "revision": "20220824", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": { @@ -615,6 +615,84 @@ }, "type": "object" }, + "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata": { + "description": "Metadata of the batch export documents operation.", + "id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + }, + "individualExportStatuses": { + "description": "The list of response details of each document.", + "items": { + "$ref": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus" + }, + "type": "array" + }, + "splitExportStats": { + "description": "The list of statistics for each dataset split type.", + "items": { + "$ref": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus": { + "description": "The status of each individual document in the export process.", + "id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus", + "properties": { + "documentId": { + "$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", + "description": "The path to source docproto of the document." + }, + "outputGcsDestination": { + "description": "The output_gcs_destination of the exported document if it was successful, otherwise empty.", + "type": "string" + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status of the exporting of the document." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat": { + "description": "The statistic representing a dataset split type for this export.", + "id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat", + "properties": { + "splitType": { + "description": "The dataset split type.", + "enum": [ + "DATASET_SPLIT_TYPE_UNSPECIFIED", + "DATASET_SPLIT_TRAIN", + "DATASET_SPLIT_TEST", + "DATASET_SPLIT_UNASSIGNED" + ], + "enumDescriptions": [ + "Default value if the enum is not set. go/protodosdonts#do-include-an-unspecified-value-in-an-enum", + "Identifies the train documents.", + "Identifies the test documents.", + "Identifies the unassigned documents." + ], + "type": "string" + }, + "totalDocumentCount": { + "description": "Total number of documents with the given dataset split type to be exported.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse": { + "description": "The response proto of ExportDocuments method.", + "id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse", + "properties": {}, + "type": "object" + }, "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata": { "description": "Metadata message associated with the ExportProcessorVersion operation.", "id": "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata", diff --git a/documentai/v1beta2/documentai-gen.go b/documentai/v1beta2/documentai-gen.go index b15db156893..6433d8936c2 100644 --- a/documentai/v1beta2/documentai-gen.go +++ b/documentai/v1beta2/documentai-gen.go @@ -806,6 +806,124 @@ func (s *GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse) Marshal return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata: Metadata of +// the batch export documents operation. +type GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` + + // IndividualExportStatuses: The list of response details of each + // document. + IndividualExportStatuses []*GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus `json:"individualExportStatuses,omitempty"` + + // SplitExportStats: The list of statistics for each dataset split type. + SplitExportStats []*GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat `json:"splitExportStats,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CommonMetadata") 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. "CommonMetadata") 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 *GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportS +// tatus: The status of each individual document in the export process. +type GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus struct { + // DocumentId: The path to source docproto of the document. + DocumentId *GoogleCloudDocumentaiUiv1beta3DocumentId `json:"documentId,omitempty"` + + // OutputGcsDestination: The output_gcs_destination of the exported + // document if it was successful, otherwise empty. + OutputGcsDestination string `json:"outputGcsDestination,omitempty"` + + // Status: The status of the exporting of the document. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DocumentId") 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. "DocumentId") 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 *GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat: +// The statistic representing a dataset split type for this export. +type GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat struct { + // SplitType: The dataset split type. + // + // Possible values: + // "DATASET_SPLIT_TYPE_UNSPECIFIED" - Default value if the enum is not + // set. go/protodosdonts#do-include-an-unspecified-value-in-an-enum + // "DATASET_SPLIT_TRAIN" - Identifies the train documents. + // "DATASET_SPLIT_TEST" - Identifies the test documents. + // "DATASET_SPLIT_UNASSIGNED" - Identifies the unassigned documents. + SplitType string `json:"splitType,omitempty"` + + // TotalDocumentCount: Total number of documents with the given dataset + // split type to be exported. + TotalDocumentCount int64 `json:"totalDocumentCount,omitempty"` + + // ForceSendFields is a list of field names (e.g. "SplitType") 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. "SplitType") 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 *GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse: The response +// proto of ExportDocuments method. +type GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse struct { +} + // GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata: // Metadata message associated with the ExportProcessorVersion // operation. diff --git a/documentai/v1beta3/documentai-api.json b/documentai/v1beta3/documentai-api.json index 5bc23ab863f..846088ce767 100644 --- a/documentai/v1beta3/documentai-api.json +++ b/documentai/v1beta3/documentai-api.json @@ -836,7 +836,7 @@ } } }, - "revision": "20220821", + "revision": "20220824", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": { @@ -1159,6 +1159,84 @@ }, "type": "object" }, + "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata": { + "description": "Metadata of the batch export documents operation.", + "id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata", + "properties": { + "commonMetadata": { + "$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata", + "description": "The basic metadata of the long running operation." + }, + "individualExportStatuses": { + "description": "The list of response details of each document.", + "items": { + "$ref": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus" + }, + "type": "array" + }, + "splitExportStats": { + "description": "The list of statistics for each dataset split type.", + "items": { + "$ref": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus": { + "description": "The status of each individual document in the export process.", + "id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus", + "properties": { + "documentId": { + "$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId", + "description": "The path to source docproto of the document." + }, + "outputGcsDestination": { + "description": "The output_gcs_destination of the exported document if it was successful, otherwise empty.", + "type": "string" + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status of the exporting of the document." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat": { + "description": "The statistic representing a dataset split type for this export.", + "id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat", + "properties": { + "splitType": { + "description": "The dataset split type.", + "enum": [ + "DATASET_SPLIT_TYPE_UNSPECIFIED", + "DATASET_SPLIT_TRAIN", + "DATASET_SPLIT_TEST", + "DATASET_SPLIT_UNASSIGNED" + ], + "enumDescriptions": [ + "Default value if the enum is not set. go/protodosdonts#do-include-an-unspecified-value-in-an-enum", + "Identifies the train documents.", + "Identifies the test documents.", + "Identifies the unassigned documents." + ], + "type": "string" + }, + "totalDocumentCount": { + "description": "Total number of documents with the given dataset split type to be exported.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse": { + "description": "The response proto of ExportDocuments method.", + "id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse", + "properties": {}, + "type": "object" + }, "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata": { "description": "Metadata message associated with the ExportProcessorVersion operation.", "id": "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata", diff --git a/documentai/v1beta3/documentai-gen.go b/documentai/v1beta3/documentai-gen.go index 19998baff52..9d8b80685ee 100644 --- a/documentai/v1beta3/documentai-gen.go +++ b/documentai/v1beta3/documentai-gen.go @@ -818,6 +818,124 @@ func (s *GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse) Marshal return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata: Metadata of +// the batch export documents operation. +type GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata struct { + // CommonMetadata: The basic metadata of the long running operation. + CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` + + // IndividualExportStatuses: The list of response details of each + // document. + IndividualExportStatuses []*GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus `json:"individualExportStatuses,omitempty"` + + // SplitExportStats: The list of statistics for each dataset split type. + SplitExportStats []*GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat `json:"splitExportStats,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CommonMetadata") 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. "CommonMetadata") 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 *GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportS +// tatus: The status of each individual document in the export process. +type GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus struct { + // DocumentId: The path to source docproto of the document. + DocumentId *GoogleCloudDocumentaiUiv1beta3DocumentId `json:"documentId,omitempty"` + + // OutputGcsDestination: The output_gcs_destination of the exported + // document if it was successful, otherwise empty. + OutputGcsDestination string `json:"outputGcsDestination,omitempty"` + + // Status: The status of the exporting of the document. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DocumentId") 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. "DocumentId") 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 *GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat: +// The statistic representing a dataset split type for this export. +type GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat struct { + // SplitType: The dataset split type. + // + // Possible values: + // "DATASET_SPLIT_TYPE_UNSPECIFIED" - Default value if the enum is not + // set. go/protodosdonts#do-include-an-unspecified-value-in-an-enum + // "DATASET_SPLIT_TRAIN" - Identifies the train documents. + // "DATASET_SPLIT_TEST" - Identifies the test documents. + // "DATASET_SPLIT_UNASSIGNED" - Identifies the unassigned documents. + SplitType string `json:"splitType,omitempty"` + + // TotalDocumentCount: Total number of documents with the given dataset + // split type to be exported. + TotalDocumentCount int64 `json:"totalDocumentCount,omitempty"` + + // ForceSendFields is a list of field names (e.g. "SplitType") 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. "SplitType") 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 *GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse: The response +// proto of ExportDocuments method. +type GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse struct { +} + // GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata: // Metadata message associated with the ExportProcessorVersion // operation. diff --git a/domains/v1/domains-api.json b/domains/v1/domains-api.json index 76d9fbe825c..f75d233655c 100644 --- a/domains/v1/domains-api.json +++ b/domains/v1/domains-api.json @@ -627,7 +627,7 @@ ] }, "retrieveImportableDomains": { - "description": "Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains supported by Google Domains, but not supported by Cloud Domains, are not returned.", + "description": "Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains already managed by Cloud Domains are not returned.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registrations:retrieveImportableDomains", "httpMethod": "GET", "id": "domains.projects.locations.registrations.retrieveImportableDomains", @@ -843,7 +843,7 @@ } } }, - "revision": "20220808", + "revision": "20220830", "rootUrl": "https://domains.googleapis.com/", "schemas": { "AuditConfig": { @@ -1123,7 +1123,7 @@ "A `Registration` resource cannot be created for this domain because it is not supported by Cloud Domains; for example, the top-level domain is not supported or the registry charges non-standard pricing for yearly renewals.", "A `Registration` resource cannot be created for this domain because it is suspended and needs to be resolved with Google Domains.", "A `Registration` resource cannot be created for this domain because it is expired and needs to be renewed with Google Domains.", - "A `Registration` resource cannot be created for this domain because it is deleted, but can be restored with Google Domains." + "A `Registration` resource cannot be created for this domain because it is deleted, but it may be possible to restore it with Google Domains." ], "type": "string" }, @@ -2082,7 +2082,7 @@ "type": "string" }, "currentRegistrarUri": { - "description": "The URL of registrar that currently manages the domain.", + "description": "The URL of the registrar that currently manages the domain.", "type": "string" }, "domainName": { diff --git a/domains/v1/domains-gen.go b/domains/v1/domains-gen.go index 895a289676f..227b7e1796d 100644 --- a/domains/v1/domains-gen.go +++ b/domains/v1/domains-gen.go @@ -719,8 +719,8 @@ type Domain struct { // domain because it is expired and needs to be renewed with Google // Domains. // "DELETED" - A `Registration` resource cannot be created for this - // domain because it is deleted, but can be restored with Google - // Domains. + // domain because it is deleted, but it may be possible to restore it + // with Google Domains. ResourceState string `json:"resourceState,omitempty"` // YearlyPrice: Price to renew the domain for one year. Only set when @@ -2311,8 +2311,8 @@ type TransferParameters struct { // CurrentRegistrar: The registrar that currently manages the domain. CurrentRegistrar string `json:"currentRegistrar,omitempty"` - // CurrentRegistrarUri: The URL of registrar that currently manages the - // domain. + // CurrentRegistrarUri: The URL of the registrar that currently manages + // the domain. CurrentRegistrarUri string `json:"currentRegistrarUri,omitempty"` // DomainName: The domain name. Unicode domain names are expressed in @@ -5141,8 +5141,8 @@ type ProjectsLocationsRegistrationsRetrieveImportableDomainsCall struct { // (https://domains.google/) that can be imported to Cloud Domains using // the `ImportDomain` method. Since individual users can own domains in // Google Domains, the list of domains returned depends on the -// individual user making the call. Domains supported by Google Domains, -// but not supported by Cloud Domains, are not returned. +// individual user making the call. Domains already managed by Cloud +// Domains are not returned. // // - location: The location. Must be in the format // `projects/*/locations/*`. @@ -5267,7 +5267,7 @@ func (c *ProjectsLocationsRegistrationsRetrieveImportableDomainsCall) Do(opts .. } return ret, nil // { - // "description": "Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains supported by Google Domains, but not supported by Cloud Domains, are not returned.", + // "description": "Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains already managed by Cloud Domains are not returned.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registrations:retrieveImportableDomains", // "httpMethod": "GET", // "id": "domains.projects.locations.registrations.retrieveImportableDomains", diff --git a/domains/v1alpha2/domains-api.json b/domains/v1alpha2/domains-api.json index bea96d76c68..6faa5fe7ee5 100644 --- a/domains/v1alpha2/domains-api.json +++ b/domains/v1alpha2/domains-api.json @@ -627,7 +627,7 @@ ] }, "retrieveImportableDomains": { - "description": "Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains supported by Google Domains, but not supported by Cloud Domains, are not returned.", + "description": "Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains already managed by Cloud Domains are not returned.", "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations:retrieveImportableDomains", "httpMethod": "GET", "id": "domains.projects.locations.registrations.retrieveImportableDomains", @@ -843,7 +843,7 @@ } } }, - "revision": "20220808", + "revision": "20220830", "rootUrl": "https://domains.googleapis.com/", "schemas": { "AuditConfig": { @@ -1123,7 +1123,7 @@ "A `Registration` resource cannot be created for this domain because it is not supported by Cloud Domains; for example, the top-level domain is not supported or the registry charges non-standard pricing for yearly renewals.", "A `Registration` resource cannot be created for this domain because it is suspended and needs to be resolved with Google Domains.", "A `Registration` resource cannot be created for this domain because it is expired and needs to be renewed with Google Domains.", - "A `Registration` resource cannot be created for this domain because it is deleted, but can be restored with Google Domains." + "A `Registration` resource cannot be created for this domain because it is deleted, but it may be possible to restore it with Google Domains." ], "type": "string" }, @@ -2082,7 +2082,7 @@ "type": "string" }, "currentRegistrarUri": { - "description": "The URL of registrar that currently manages the domain.", + "description": "The URL of the registrar that currently manages the domain.", "type": "string" }, "domainName": { diff --git a/domains/v1alpha2/domains-gen.go b/domains/v1alpha2/domains-gen.go index 68c563f7e3f..fc99372e3ec 100644 --- a/domains/v1alpha2/domains-gen.go +++ b/domains/v1alpha2/domains-gen.go @@ -719,8 +719,8 @@ type Domain struct { // domain because it is expired and needs to be renewed with Google // Domains. // "DELETED" - A `Registration` resource cannot be created for this - // domain because it is deleted, but can be restored with Google - // Domains. + // domain because it is deleted, but it may be possible to restore it + // with Google Domains. ResourceState string `json:"resourceState,omitempty"` // YearlyPrice: Price to renew the domain for one year. Only set when @@ -2311,8 +2311,8 @@ type TransferParameters struct { // CurrentRegistrar: The registrar that currently manages the domain. CurrentRegistrar string `json:"currentRegistrar,omitempty"` - // CurrentRegistrarUri: The URL of registrar that currently manages the - // domain. + // CurrentRegistrarUri: The URL of the registrar that currently manages + // the domain. CurrentRegistrarUri string `json:"currentRegistrarUri,omitempty"` // DomainName: The domain name. Unicode domain names are expressed in @@ -5141,8 +5141,8 @@ type ProjectsLocationsRegistrationsRetrieveImportableDomainsCall struct { // (https://domains.google/) that can be imported to Cloud Domains using // the `ImportDomain` method. Since individual users can own domains in // Google Domains, the list of domains returned depends on the -// individual user making the call. Domains supported by Google Domains, -// but not supported by Cloud Domains, are not returned. +// individual user making the call. Domains already managed by Cloud +// Domains are not returned. // // - location: The location. Must be in the format // `projects/*/locations/*`. @@ -5267,7 +5267,7 @@ func (c *ProjectsLocationsRegistrationsRetrieveImportableDomainsCall) Do(opts .. } return ret, nil // { - // "description": "Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains supported by Google Domains, but not supported by Cloud Domains, are not returned.", + // "description": "Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains already managed by Cloud Domains are not returned.", // "flatPath": "v1alpha2/projects/{projectsId}/locations/{locationsId}/registrations:retrieveImportableDomains", // "httpMethod": "GET", // "id": "domains.projects.locations.registrations.retrieveImportableDomains", diff --git a/domains/v1beta1/domains-api.json b/domains/v1beta1/domains-api.json index bb75ac92975..491c31ef10b 100644 --- a/domains/v1beta1/domains-api.json +++ b/domains/v1beta1/domains-api.json @@ -627,7 +627,7 @@ ] }, "retrieveImportableDomains": { - "description": "Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains supported by Google Domains, but not supported by Cloud Domains, are not returned.", + "description": "Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains already managed by Cloud Domains are not returned.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations:retrieveImportableDomains", "httpMethod": "GET", "id": "domains.projects.locations.registrations.retrieveImportableDomains", @@ -843,7 +843,7 @@ } } }, - "revision": "20220808", + "revision": "20220830", "rootUrl": "https://domains.googleapis.com/", "schemas": { "AuditConfig": { @@ -1123,7 +1123,7 @@ "A `Registration` resource cannot be created for this domain because it is not supported by Cloud Domains; for example, the top-level domain is not supported or the registry charges non-standard pricing for yearly renewals.", "A `Registration` resource cannot be created for this domain because it is suspended and needs to be resolved with Google Domains.", "A `Registration` resource cannot be created for this domain because it is expired and needs to be renewed with Google Domains.", - "A `Registration` resource cannot be created for this domain because it is deleted, but can be restored with Google Domains." + "A `Registration` resource cannot be created for this domain because it is deleted, but it may be possible to restore it with Google Domains." ], "type": "string" }, @@ -2082,7 +2082,7 @@ "type": "string" }, "currentRegistrarUri": { - "description": "The URL of registrar that currently manages the domain.", + "description": "The URL of the registrar that currently manages the domain.", "type": "string" }, "domainName": { diff --git a/domains/v1beta1/domains-gen.go b/domains/v1beta1/domains-gen.go index 0321f6ce7c2..d7af85a4606 100644 --- a/domains/v1beta1/domains-gen.go +++ b/domains/v1beta1/domains-gen.go @@ -719,8 +719,8 @@ type Domain struct { // domain because it is expired and needs to be renewed with Google // Domains. // "DELETED" - A `Registration` resource cannot be created for this - // domain because it is deleted, but can be restored with Google - // Domains. + // domain because it is deleted, but it may be possible to restore it + // with Google Domains. ResourceState string `json:"resourceState,omitempty"` // YearlyPrice: Price to renew the domain for one year. Only set when @@ -2311,8 +2311,8 @@ type TransferParameters struct { // CurrentRegistrar: The registrar that currently manages the domain. CurrentRegistrar string `json:"currentRegistrar,omitempty"` - // CurrentRegistrarUri: The URL of registrar that currently manages the - // domain. + // CurrentRegistrarUri: The URL of the registrar that currently manages + // the domain. CurrentRegistrarUri string `json:"currentRegistrarUri,omitempty"` // DomainName: The domain name. Unicode domain names are expressed in @@ -5141,8 +5141,8 @@ type ProjectsLocationsRegistrationsRetrieveImportableDomainsCall struct { // (https://domains.google/) that can be imported to Cloud Domains using // the `ImportDomain` method. Since individual users can own domains in // Google Domains, the list of domains returned depends on the -// individual user making the call. Domains supported by Google Domains, -// but not supported by Cloud Domains, are not returned. +// individual user making the call. Domains already managed by Cloud +// Domains are not returned. // // - location: The location. Must be in the format // `projects/*/locations/*`. @@ -5267,7 +5267,7 @@ func (c *ProjectsLocationsRegistrationsRetrieveImportableDomainsCall) Do(opts .. } return ret, nil // { - // "description": "Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains supported by Google Domains, but not supported by Cloud Domains, are not returned.", + // "description": "Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains already managed by Cloud Domains are not returned.", // "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations:retrieveImportableDomains", // "httpMethod": "GET", // "id": "domains.projects.locations.registrations.retrieveImportableDomains", diff --git a/eventarc/v1/eventarc-api.json b/eventarc/v1/eventarc-api.json index 9944f45f626..e490446bef5 100644 --- a/eventarc/v1/eventarc-api.json +++ b/eventarc/v1/eventarc-api.json @@ -1197,7 +1197,7 @@ } } }, - "revision": "20220812", + "revision": "20220826", "rootUrl": "https://eventarc.googleapis.com/", "schemas": { "AuditConfig": { @@ -1257,7 +1257,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/eventarc/v1/eventarc-gen.go b/eventarc/v1/eventarc-gen.go index 6f6c10e9527..5d0a86ef818 100644 --- a/eventarc/v1/eventarc-gen.go +++ b/eventarc/v1/eventarc-gen.go @@ -332,11 +332,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/eventarc/v1beta1/eventarc-api.json b/eventarc/v1beta1/eventarc-api.json index 4fbfc498a76..1569ff09783 100644 --- a/eventarc/v1beta1/eventarc-api.json +++ b/eventarc/v1beta1/eventarc-api.json @@ -584,7 +584,7 @@ } } }, - "revision": "20220812", + "revision": "20220826", "rootUrl": "https://eventarc.googleapis.com/", "schemas": { "AuditConfig": { @@ -644,7 +644,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/eventarc/v1beta1/eventarc-gen.go b/eventarc/v1beta1/eventarc-gen.go index 47428ce10c7..6e87d1a4486 100644 --- a/eventarc/v1beta1/eventarc-gen.go +++ b/eventarc/v1beta1/eventarc-gen.go @@ -296,11 +296,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/firebase/v1beta1/firebase-api.json b/firebase/v1beta1/firebase-api.json index b48931a5bfb..bb5fa553b05 100644 --- a/firebase/v1beta1/firebase-api.json +++ b/firebase/v1beta1/firebase-api.json @@ -343,7 +343,7 @@ "type": "string" }, "showDeleted": { - "description": "Optional. Controls whether Projects in the DELETING state should be returned. Defaults to false.", + "description": "Optional. Controls whether Projects in the DELETED state should be returned in the response. If not specified, only `ACTIVE` Projects will be returned.", "location": "query", "type": "boolean" } @@ -376,7 +376,7 @@ "type": "string" }, "updateMask": { - "description": "Specifies which fields to update. If this list is empty, then no state will be updated. Note that the fields `name`, `projectId`, and `projectNumber` are all immutable.", + "description": "Specifies which fields of the FirebaseProject to update. Note that the following fields are immutable: `name`, `project_id`, and `project_number`. To update `state`, use any of the following Google Cloud endpoints: [`projects.delete`](https://cloud.google.com/resource-manager/reference/rest/v1/projects/delete) or [`projects.undelete`](https://cloud.google.com/resource-manager/reference/rest/v1/projects/undelete)", "format": "google-fieldmask", "location": "query", "type": "string" @@ -456,7 +456,7 @@ "type": "string" }, "showDeleted": { - "description": "Controls whether Apps in the DELETED state should be returned. Defaults to false.", + "description": "Controls whether Apps in the DELETED state should be returned. If not specified, only `ACTIVE` Apps will be returned.", "location": "query", "type": "boolean" } @@ -589,7 +589,7 @@ "type": "string" }, "showDeleted": { - "description": "Controls whether Apps in the DELETED state should be returned. Defaults to false.", + "description": "Controls whether Apps in the DELETED state should be returned in the response. If not specified, only `ACTIVE` Apps will be returned.", "location": "query", "type": "boolean" } @@ -622,7 +622,7 @@ "type": "string" }, "updateMask": { - "description": "Specifies which fields to update. Note that the fields `name`, `app_id`, `project_id`, `package_name`, and `state` are all immutable.", + "description": "Specifies which fields of the AndroidApp to update. Note that the following fields are immutable: `name`, `app_id`, `project_id`, and `package_name`. To update `state`, use any of the following endpoints: RemoveAndroidApp or UndeleteAndroidApp.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -641,7 +641,7 @@ ] }, "remove": { - "description": "Removes the specified AndroidApp from the project.", + "description": "Removes the specified AndroidApp from the FirebaseProject.", "flatPath": "v1beta1/projects/{projectsId}/androidApps/{androidAppsId}:remove", "httpMethod": "POST", "id": "firebase.projects.androidApps.remove", @@ -670,7 +670,7 @@ ] }, "undelete": { - "description": "Restores the specified AndroidApp to the project.", + "description": "Restores the specified AndroidApp to the FirebaseProject.", "flatPath": "v1beta1/projects/{projectsId}/androidApps/{androidAppsId}:undelete", "httpMethod": "POST", "id": "firebase.projects.androidApps.undelete", @@ -980,7 +980,7 @@ "type": "string" }, "showDeleted": { - "description": "Controls whether Apps in the DELETED state should be returned. Defaults to false.", + "description": "Controls whether Apps in the DELETED state should be returned in the response. If not specified, only `ACTIVE` Apps will be returned.", "location": "query", "type": "boolean" } @@ -1013,7 +1013,7 @@ "type": "string" }, "updateMask": { - "description": "Specifies which fields to update. Note that the fields `name`, `appId`, `projectId`, `bundleId`, and `state` are all immutable", + "description": "Specifies which fields of the IosApp to update. Note that the following fields are immutable: `name`, `app_id`, `project_id`, and `bundle_id`. To update `state`, use any of the following endpoints: RemoveIosApp or UndeleteIosApp.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1032,7 +1032,7 @@ ] }, "remove": { - "description": "Removes the specified IosApp from the project.", + "description": "Removes the specified IosApp from the FirebaseProject.", "flatPath": "v1beta1/projects/{projectsId}/iosApps/{iosAppsId}:remove", "httpMethod": "POST", "id": "firebase.projects.iosApps.remove", @@ -1061,7 +1061,7 @@ ] }, "undelete": { - "description": "Restores the specified IosApp to the project.", + "description": "Restores the specified IosApp to the FirebaseProject.", "flatPath": "v1beta1/projects/{projectsId}/iosApps/{iosAppsId}:undelete", "httpMethod": "POST", "id": "firebase.projects.iosApps.undelete", @@ -1206,7 +1206,7 @@ "type": "string" }, "showDeleted": { - "description": "Controls whether Apps in the DELETED state should be returned. Defaults to false.", + "description": "Controls whether Apps in the DELETED state should be returned in the response. If not specified, only `ACTIVE` Apps will be returned.", "location": "query", "type": "boolean" } @@ -1239,7 +1239,7 @@ "type": "string" }, "updateMask": { - "description": "Specifies which fields to update. Note that the fields `name`, `appId`, `projectId` and `state` are all immutable", + "description": "Specifies which fields of the WebApp to update. Note that the following fields are immutable: `name`, `app_id`, and `project_id`. To update `state`, use any of the following endpoints: RemoveWebApp or UndeleteWebApp.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1258,7 +1258,7 @@ ] }, "remove": { - "description": "Removes the specified WebApp from the project.", + "description": "Removes the specified WebApp from the FirebaseProject.", "flatPath": "v1beta1/projects/{projectsId}/webApps/{webAppsId}:remove", "httpMethod": "POST", "id": "firebase.projects.webApps.remove", @@ -1287,7 +1287,7 @@ ] }, "undelete": { - "description": "Restores the specified WebApp to the project.", + "description": "Restores the specified WebApp to the FirebaseProject.", "flatPath": "v1beta1/projects/{projectsId}/webApps/{webAppsId}:undelete", "httpMethod": "POST", "id": "firebase.projects.webApps.undelete", @@ -1320,7 +1320,7 @@ } } }, - "revision": "20220822", + "revision": "20220904", "rootUrl": "https://firebase.googleapis.com/", "schemas": { "AddFirebaseRequest": { @@ -1446,8 +1446,8 @@ ], "enumDescriptions": [ "Unspecified state.", - "The normal and active state.", - "The app has been soft deleted." + "The App is active.", + "The App has been soft-deleted. Firebase permanantely deletes an App after it has been in the `DELETED` state for more than 30 days. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." ], "readOnly": true, "type": "string" @@ -1565,8 +1565,8 @@ ], "enumDescriptions": [ "Unspecified state.", - "The normal and active state.", - "The app has been soft deleted." + "The App is active.", + "The App has been soft-deleted. Firebase permanantely deletes an App after it has been in the `DELETED` state for more than 30 days. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." ], "readOnly": true, "type": "string" @@ -1614,7 +1614,7 @@ "readOnly": true }, "state": { - "description": "Output only. The lifecycle state of the Project. Updates to the state must be performed via com.google.cloudresourcemanager.v1.Projects.DeleteProject and com.google.cloudresourcemanager.v1.Projects.UndeleteProject", + "description": "Output only. The lifecycle state of the Project.", "enum": [ "STATE_UNSPECIFIED", "ACTIVE", @@ -1622,8 +1622,8 @@ ], "enumDescriptions": [ "Unspecified state.", - "The normal and active state.", - "The Project has been marked for deletion by the user." + "The Project is active.", + "The Project has been soft-deleted." ], "readOnly": true, "type": "string" @@ -1674,8 +1674,8 @@ ], "enumDescriptions": [ "Unspecified state.", - "The normal and active state.", - "The app has been soft deleted." + "The App is active.", + "The App has been soft-deleted. Firebase permanantely deletes an App after it has been in the `DELETED` state for more than 30 days. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." ], "readOnly": true, "type": "string" @@ -1944,7 +1944,7 @@ "type": "string" }, "validateOnly": { - "description": "If set to true, only validate the request and do not delete the app.", + "description": "If set to true, the request is only validated. The App will _not_ be removed.", "type": "boolean" } }, @@ -1962,7 +1962,7 @@ "type": "string" }, "validateOnly": { - "description": "If set to true, only validate the request and do not delete the app.", + "description": "If set to true, the request is only validated. The App will _not_ be removed.", "type": "boolean" } }, @@ -1980,7 +1980,7 @@ "type": "string" }, "validateOnly": { - "description": "If set to true, only validate the request and do not delete the app.", + "description": "If set to true, the request is only validated. The App will _not_ be removed.", "type": "boolean" } }, @@ -2116,7 +2116,7 @@ "type": "string" }, "validateOnly": { - "description": "If set to true, only validate the request and do not undelete the app.", + "description": "If set to true, the request is only validated. The App will _not_ be undeleted.", "type": "boolean" } }, @@ -2130,7 +2130,7 @@ "type": "string" }, "validateOnly": { - "description": "If set to true, only validate the request and do not undelete the app.", + "description": "If set to true, the request is only validated. The App will _not_ be undeleted.", "type": "boolean" } }, @@ -2144,7 +2144,7 @@ "type": "string" }, "validateOnly": { - "description": "If set to true, only validate the request and do not undelete the app.", + "description": "If set to true, the request is only validated. The App will _not_ be undeleted.", "type": "boolean" } }, @@ -2192,8 +2192,8 @@ ], "enumDescriptions": [ "Unspecified state.", - "The normal and active state.", - "The app has been soft deleted." + "The App is active.", + "The App has been soft-deleted. Firebase permanantely deletes an App after it has been in the `DELETED` state for more than 30 days. Up until this time, you can restore the App by calling `Undelete` ([Android](projects.androidApps/undelete) | [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete))." ], "readOnly": true, "type": "string" diff --git a/firebase/v1beta1/firebase-gen.go b/firebase/v1beta1/firebase-gen.go index 0f1b3e12984..f9e7db2c1d6 100644 --- a/firebase/v1beta1/firebase-gen.go +++ b/firebase/v1beta1/firebase-gen.go @@ -519,8 +519,12 @@ type AndroidApp struct { // // Possible values: // "STATE_UNSPECIFIED" - Unspecified state. - // "ACTIVE" - The normal and active state. - // "DELETED" - The app has been soft deleted. + // "ACTIVE" - The App is active. + // "DELETED" - The App has been soft-deleted. Firebase permanantely + // deletes an App after it has been in the `DELETED` state for more than + // 30 days. Up until this time, you can restore the App by calling + // `Undelete` ([Android](projects.androidApps/undelete) | + // [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete)). State string `json:"state,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -749,8 +753,12 @@ type FirebaseAppInfo struct { // // Possible values: // "STATE_UNSPECIFIED" - Unspecified state. - // "ACTIVE" - The normal and active state. - // "DELETED" - The app has been soft deleted. + // "ACTIVE" - The App is active. + // "DELETED" - The App has been soft-deleted. Firebase permanantely + // deletes an App after it has been in the `DELETED` state for more than + // 30 days. Up until this time, you can restore the App by calling + // `Undelete` ([Android](projects.androidApps/undelete) | + // [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete)). State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "ApiKeyId") to @@ -830,15 +838,12 @@ type FirebaseProject struct { // with the Project. Resources *DefaultResources `json:"resources,omitempty"` - // State: Output only. The lifecycle state of the Project. Updates to - // the state must be performed via - // com.google.cloudresourcemanager.v1.Projects.DeleteProject and - // com.google.cloudresourcemanager.v1.Projects.UndeleteProject + // State: Output only. The lifecycle state of the Project. // // Possible values: // "STATE_UNSPECIFIED" - Unspecified state. - // "ACTIVE" - The normal and active state. - // "DELETED" - The Project has been marked for deletion by the user. + // "ACTIVE" - The Project is active. + // "DELETED" - The Project has been soft-deleted. State string `json:"state,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -926,8 +931,12 @@ type IosApp struct { // // Possible values: // "STATE_UNSPECIFIED" - Unspecified state. - // "ACTIVE" - The normal and active state. - // "DELETED" - The app has been soft deleted. + // "ACTIVE" - The App is active. + // "DELETED" - The App has been soft-deleted. Firebase permanantely + // deletes an App after it has been in the `DELETED` state for more than + // 30 days. Up until this time, you can restore the App by calling + // `Undelete` ([Android](projects.androidApps/undelete) | + // [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete)). State string `json:"state,omitempty"` // TeamId: The Apple Developer Team ID associated with the App in the @@ -1488,8 +1497,8 @@ type RemoveAndroidAppRequest struct { // ensures the client has an up-to-date value before proceeding. Etag string `json:"etag,omitempty"` - // ValidateOnly: If set to true, only validate the request and do not - // delete the app. + // ValidateOnly: If set to true, the request is only validated. The App + // will _not_ be removed. ValidateOnly bool `json:"validateOnly,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowMissing") to @@ -1524,8 +1533,8 @@ type RemoveIosAppRequest struct { // ensures the client has an up-to-date value before proceeding. Etag string `json:"etag,omitempty"` - // ValidateOnly: If set to true, only validate the request and do not - // delete the app. + // ValidateOnly: If set to true, the request is only validated. The App + // will _not_ be removed. ValidateOnly bool `json:"validateOnly,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowMissing") to @@ -1560,8 +1569,8 @@ type RemoveWebAppRequest struct { // ensures the client has an up-to-date value before proceeding. Etag string `json:"etag,omitempty"` - // ValidateOnly: If set to true, only validate the request and do not - // delete the app. + // ValidateOnly: If set to true, the request is only validated. The App + // will _not_ be removed. ValidateOnly bool `json:"validateOnly,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowMissing") to @@ -1825,8 +1834,8 @@ type UndeleteAndroidAppRequest struct { // ensures the client has an up-to-date value before proceeding. Etag string `json:"etag,omitempty"` - // ValidateOnly: If set to true, only validate the request and do not - // undelete the app. + // ValidateOnly: If set to true, the request is only validated. The App + // will _not_ be undeleted. ValidateOnly bool `json:"validateOnly,omitempty"` // ForceSendFields is a list of field names (e.g. "Etag") to @@ -1857,8 +1866,8 @@ type UndeleteIosAppRequest struct { // ensures the client has an up-to-date value before proceeding. Etag string `json:"etag,omitempty"` - // ValidateOnly: If set to true, only validate the request and do not - // undelete the app. + // ValidateOnly: If set to true, the request is only validated. The App + // will _not_ be undeleted. ValidateOnly bool `json:"validateOnly,omitempty"` // ForceSendFields is a list of field names (e.g. "Etag") to @@ -1889,8 +1898,8 @@ type UndeleteWebAppRequest struct { // ensures the client has an up-to-date value before proceeding. Etag string `json:"etag,omitempty"` - // ValidateOnly: If set to true, only validate the request and do not - // undelete the app. + // ValidateOnly: If set to true, the request is only validated. The App + // will _not_ be undeleted. ValidateOnly bool `json:"validateOnly,omitempty"` // ForceSendFields is a list of field names (e.g. "Etag") to @@ -1969,8 +1978,12 @@ type WebApp struct { // // Possible values: // "STATE_UNSPECIFIED" - Unspecified state. - // "ACTIVE" - The normal and active state. - // "DELETED" - The app has been soft deleted. + // "ACTIVE" - The App is active. + // "DELETED" - The App has been soft-deleted. Firebase permanantely + // deletes an App after it has been in the `DELETED` state for more than + // 30 days. Up until this time, you can restore the App by calling + // `Undelete` ([Android](projects.androidApps/undelete) | + // [iOS](projects.iosApps/undelete) | [web](projects.webApps/undelete)). State string `json:"state,omitempty"` // WebId: Output only. Immutable. A unique, Firebase-assigned identifier @@ -3300,8 +3313,8 @@ func (c *ProjectsListCall) PageToken(pageToken string) *ProjectsListCall { } // ShowDeleted sets the optional parameter "showDeleted": Controls -// whether Projects in the DELETING state should be returned. Defaults -// to false. +// whether Projects in the DELETED state should be returned in the +// response. If not specified, only `ACTIVE` Projects will be returned. func (c *ProjectsListCall) ShowDeleted(showDeleted bool) *ProjectsListCall { c.urlParams_.Set("showDeleted", fmt.Sprint(showDeleted)) return c @@ -3421,7 +3434,7 @@ func (c *ProjectsListCall) Do(opts ...googleapi.CallOption) (*ListFirebaseProjec // "type": "string" // }, // "showDeleted": { - // "description": "Optional. Controls whether Projects in the DELETING state should be returned. Defaults to false.", + // "description": "Optional. Controls whether Projects in the DELETED state should be returned in the response. If not specified, only `ACTIVE` Projects will be returned.", // "location": "query", // "type": "boolean" // } @@ -3491,9 +3504,13 @@ func (r *ProjectsService) Patch(nameid string, firebaseproject *FirebaseProject) } // UpdateMask sets the optional parameter "updateMask": Specifies which -// fields to update. If this list is empty, then no state will be -// updated. Note that the fields `name`, `projectId`, and -// `projectNumber` are all immutable. +// fields of the FirebaseProject to update. Note that the following +// fields are immutable: `name`, `project_id`, and `project_number`. To +// update `state`, use any of the following Google Cloud endpoints: +// `projects.delete` +// (https://cloud.google.com/resource-manager/reference/rest/v1/projects/delete) +// or `projects.undelete` +// (https://cloud.google.com/resource-manager/reference/rest/v1/projects/undelete) func (c *ProjectsPatchCall) UpdateMask(updateMask string) *ProjectsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -3606,7 +3623,7 @@ func (c *ProjectsPatchCall) Do(opts ...googleapi.CallOption) (*FirebaseProject, // "type": "string" // }, // "updateMask": { - // "description": "Specifies which fields to update. If this list is empty, then no state will be updated. Note that the fields `name`, `projectId`, and `projectNumber` are all immutable.", + // "description": "Specifies which fields of the FirebaseProject to update. Note that the following fields are immutable: `name`, `project_id`, and `project_number`. To update `state`, use any of the following Google Cloud endpoints: [`projects.delete`](https://cloud.google.com/resource-manager/reference/rest/v1/projects/delete) or [`projects.undelete`](https://cloud.google.com/resource-manager/reference/rest/v1/projects/undelete)", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -3858,8 +3875,8 @@ func (c *ProjectsSearchAppsCall) PageToken(pageToken string) *ProjectsSearchApps } // ShowDeleted sets the optional parameter "showDeleted": Controls -// whether Apps in the DELETED state should be returned. Defaults to -// false. +// whether Apps in the DELETED state should be returned. If not +// specified, only `ACTIVE` Apps will be returned. func (c *ProjectsSearchAppsCall) ShowDeleted(showDeleted bool) *ProjectsSearchAppsCall { c.urlParams_.Set("showDeleted", fmt.Sprint(showDeleted)) return c @@ -3996,7 +4013,7 @@ func (c *ProjectsSearchAppsCall) Do(opts ...googleapi.CallOption) (*SearchFireba // "type": "string" // }, // "showDeleted": { - // "description": "Controls whether Apps in the DELETED state should be returned. Defaults to false.", + // "description": "Controls whether Apps in the DELETED state should be returned. If not specified, only `ACTIVE` Apps will be returned.", // "location": "query", // "type": "boolean" // } @@ -4544,8 +4561,8 @@ func (c *ProjectsAndroidAppsListCall) PageToken(pageToken string) *ProjectsAndro } // ShowDeleted sets the optional parameter "showDeleted": Controls -// whether Apps in the DELETED state should be returned. Defaults to -// false. +// whether Apps in the DELETED state should be returned in the response. +// If not specified, only `ACTIVE` Apps will be returned. func (c *ProjectsAndroidAppsListCall) ShowDeleted(showDeleted bool) *ProjectsAndroidAppsListCall { c.urlParams_.Set("showDeleted", fmt.Sprint(showDeleted)) return c @@ -4677,7 +4694,7 @@ func (c *ProjectsAndroidAppsListCall) Do(opts ...googleapi.CallOption) (*ListAnd // "type": "string" // }, // "showDeleted": { - // "description": "Controls whether Apps in the DELETED state should be returned. Defaults to false.", + // "description": "Controls whether Apps in the DELETED state should be returned in the response. If not specified, only `ACTIVE` Apps will be returned.", // "location": "query", // "type": "boolean" // } @@ -4750,8 +4767,10 @@ func (r *ProjectsAndroidAppsService) Patch(nameid string, androidapp *AndroidApp } // UpdateMask sets the optional parameter "updateMask": Specifies which -// fields to update. Note that the fields `name`, `app_id`, -// `project_id`, `package_name`, and `state` are all immutable. +// fields of the AndroidApp to update. Note that the following fields +// are immutable: `name`, `app_id`, `project_id`, and `package_name`. To +// update `state`, use any of the following endpoints: RemoveAndroidApp +// or UndeleteAndroidApp. func (c *ProjectsAndroidAppsPatchCall) UpdateMask(updateMask string) *ProjectsAndroidAppsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -4864,7 +4883,7 @@ func (c *ProjectsAndroidAppsPatchCall) Do(opts ...googleapi.CallOption) (*Androi // "type": "string" // }, // "updateMask": { - // "description": "Specifies which fields to update. Note that the fields `name`, `app_id`, `project_id`, `package_name`, and `state` are all immutable.", + // "description": "Specifies which fields of the AndroidApp to update. Note that the following fields are immutable: `name`, `app_id`, `project_id`, and `package_name`. To update `state`, use any of the following endpoints: RemoveAndroidApp or UndeleteAndroidApp.", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -4896,7 +4915,7 @@ type ProjectsAndroidAppsRemoveCall struct { header_ http.Header } -// Remove: Removes the specified AndroidApp from the project. +// Remove: Removes the specified AndroidApp from the FirebaseProject. // // - name: The resource name of the AndroidApp, in the format: projects/ // PROJECT_IDENTIFIER/androidApps/APP_ID Since an APP_ID is a unique @@ -5003,7 +5022,7 @@ func (c *ProjectsAndroidAppsRemoveCall) Do(opts ...googleapi.CallOption) (*Opera } return ret, nil // { - // "description": "Removes the specified AndroidApp from the project.", + // "description": "Removes the specified AndroidApp from the FirebaseProject.", // "flatPath": "v1beta1/projects/{projectsId}/androidApps/{androidAppsId}:remove", // "httpMethod": "POST", // "id": "firebase.projects.androidApps.remove", @@ -5045,7 +5064,7 @@ type ProjectsAndroidAppsUndeleteCall struct { header_ http.Header } -// Undelete: Restores the specified AndroidApp to the project. +// Undelete: Restores the specified AndroidApp to the FirebaseProject. // // - name: The resource name of the AndroidApp, in the format: projects/ // PROJECT_IDENTIFIER/androidApps/APP_ID Since an APP_ID is a unique @@ -5152,7 +5171,7 @@ func (c *ProjectsAndroidAppsUndeleteCall) Do(opts ...googleapi.CallOption) (*Ope } return ret, nil // { - // "description": "Restores the specified AndroidApp to the project.", + // "description": "Restores the specified AndroidApp to the FirebaseProject.", // "flatPath": "v1beta1/projects/{projectsId}/androidApps/{androidAppsId}:undelete", // "httpMethod": "POST", // "id": "firebase.projects.androidApps.undelete", @@ -6536,8 +6555,8 @@ func (c *ProjectsIosAppsListCall) PageToken(pageToken string) *ProjectsIosAppsLi } // ShowDeleted sets the optional parameter "showDeleted": Controls -// whether Apps in the DELETED state should be returned. Defaults to -// false. +// whether Apps in the DELETED state should be returned in the response. +// If not specified, only `ACTIVE` Apps will be returned. func (c *ProjectsIosAppsListCall) ShowDeleted(showDeleted bool) *ProjectsIosAppsListCall { c.urlParams_.Set("showDeleted", fmt.Sprint(showDeleted)) return c @@ -6669,7 +6688,7 @@ func (c *ProjectsIosAppsListCall) Do(opts ...googleapi.CallOption) (*ListIosApps // "type": "string" // }, // "showDeleted": { - // "description": "Controls whether Apps in the DELETED state should be returned. Defaults to false.", + // "description": "Controls whether Apps in the DELETED state should be returned in the response. If not specified, only `ACTIVE` Apps will be returned.", // "location": "query", // "type": "boolean" // } @@ -6741,8 +6760,10 @@ func (r *ProjectsIosAppsService) Patch(nameid string, iosapp *IosApp) *ProjectsI } // UpdateMask sets the optional parameter "updateMask": Specifies which -// fields to update. Note that the fields `name`, `appId`, `projectId`, -// `bundleId`, and `state` are all immutable +// fields of the IosApp to update. Note that the following fields are +// immutable: `name`, `app_id`, `project_id`, and `bundle_id`. To update +// `state`, use any of the following endpoints: RemoveIosApp or +// UndeleteIosApp. func (c *ProjectsIosAppsPatchCall) UpdateMask(updateMask string) *ProjectsIosAppsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -6855,7 +6876,7 @@ func (c *ProjectsIosAppsPatchCall) Do(opts ...googleapi.CallOption) (*IosApp, er // "type": "string" // }, // "updateMask": { - // "description": "Specifies which fields to update. Note that the fields `name`, `appId`, `projectId`, `bundleId`, and `state` are all immutable", + // "description": "Specifies which fields of the IosApp to update. Note that the following fields are immutable: `name`, `app_id`, `project_id`, and `bundle_id`. To update `state`, use any of the following endpoints: RemoveIosApp or UndeleteIosApp.", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -6887,7 +6908,7 @@ type ProjectsIosAppsRemoveCall struct { header_ http.Header } -// Remove: Removes the specified IosApp from the project. +// Remove: Removes the specified IosApp from the FirebaseProject. // // - name: The resource name of the IosApp, in the format: projects/ // PROJECT_IDENTIFIER/iosApps/APP_ID Since an APP_ID is a unique @@ -6993,7 +7014,7 @@ func (c *ProjectsIosAppsRemoveCall) Do(opts ...googleapi.CallOption) (*Operation } return ret, nil // { - // "description": "Removes the specified IosApp from the project.", + // "description": "Removes the specified IosApp from the FirebaseProject.", // "flatPath": "v1beta1/projects/{projectsId}/iosApps/{iosAppsId}:remove", // "httpMethod": "POST", // "id": "firebase.projects.iosApps.remove", @@ -7035,7 +7056,7 @@ type ProjectsIosAppsUndeleteCall struct { header_ http.Header } -// Undelete: Restores the specified IosApp to the project. +// Undelete: Restores the specified IosApp to the FirebaseProject. // // - name: The resource name of the IosApp, in the format: projects/ // PROJECT_IDENTIFIER/iosApps/APP_ID Since an APP_ID is a unique @@ -7141,7 +7162,7 @@ func (c *ProjectsIosAppsUndeleteCall) Do(opts ...googleapi.CallOption) (*Operati } return ret, nil // { - // "description": "Restores the specified IosApp to the project.", + // "description": "Restores the specified IosApp to the FirebaseProject.", // "flatPath": "v1beta1/projects/{projectsId}/iosApps/{iosAppsId}:undelete", // "httpMethod": "POST", // "id": "firebase.projects.iosApps.undelete", @@ -7679,8 +7700,8 @@ func (c *ProjectsWebAppsListCall) PageToken(pageToken string) *ProjectsWebAppsLi } // ShowDeleted sets the optional parameter "showDeleted": Controls -// whether Apps in the DELETED state should be returned. Defaults to -// false. +// whether Apps in the DELETED state should be returned in the response. +// If not specified, only `ACTIVE` Apps will be returned. func (c *ProjectsWebAppsListCall) ShowDeleted(showDeleted bool) *ProjectsWebAppsListCall { c.urlParams_.Set("showDeleted", fmt.Sprint(showDeleted)) return c @@ -7812,7 +7833,7 @@ func (c *ProjectsWebAppsListCall) Do(opts ...googleapi.CallOption) (*ListWebApps // "type": "string" // }, // "showDeleted": { - // "description": "Controls whether Apps in the DELETED state should be returned. Defaults to false.", + // "description": "Controls whether Apps in the DELETED state should be returned in the response. If not specified, only `ACTIVE` Apps will be returned.", // "location": "query", // "type": "boolean" // } @@ -7884,8 +7905,9 @@ func (r *ProjectsWebAppsService) Patch(nameid string, webapp *WebApp) *ProjectsW } // UpdateMask sets the optional parameter "updateMask": Specifies which -// fields to update. Note that the fields `name`, `appId`, `projectId` -// and `state` are all immutable +// fields of the WebApp to update. Note that the following fields are +// immutable: `name`, `app_id`, and `project_id`. To update `state`, use +// any of the following endpoints: RemoveWebApp or UndeleteWebApp. func (c *ProjectsWebAppsPatchCall) UpdateMask(updateMask string) *ProjectsWebAppsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -7998,7 +8020,7 @@ func (c *ProjectsWebAppsPatchCall) Do(opts ...googleapi.CallOption) (*WebApp, er // "type": "string" // }, // "updateMask": { - // "description": "Specifies which fields to update. Note that the fields `name`, `appId`, `projectId` and `state` are all immutable", + // "description": "Specifies which fields of the WebApp to update. Note that the following fields are immutable: `name`, `app_id`, and `project_id`. To update `state`, use any of the following endpoints: RemoveWebApp or UndeleteWebApp.", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -8030,7 +8052,7 @@ type ProjectsWebAppsRemoveCall struct { header_ http.Header } -// Remove: Removes the specified WebApp from the project. +// Remove: Removes the specified WebApp from the FirebaseProject. // // - name: The resource name of the WebApp, in the format: projects/ // PROJECT_IDENTIFIER/webApps/APP_ID Since an APP_ID is a unique @@ -8136,7 +8158,7 @@ func (c *ProjectsWebAppsRemoveCall) Do(opts ...googleapi.CallOption) (*Operation } return ret, nil // { - // "description": "Removes the specified WebApp from the project.", + // "description": "Removes the specified WebApp from the FirebaseProject.", // "flatPath": "v1beta1/projects/{projectsId}/webApps/{webAppsId}:remove", // "httpMethod": "POST", // "id": "firebase.projects.webApps.remove", @@ -8178,7 +8200,7 @@ type ProjectsWebAppsUndeleteCall struct { header_ http.Header } -// Undelete: Restores the specified WebApp to the project. +// Undelete: Restores the specified WebApp to the FirebaseProject. // // - name: The resource name of the WebApp, in the format: projects/ // PROJECT_IDENTIFIER/webApps/APP_ID Since an APP_ID is a unique @@ -8284,7 +8306,7 @@ func (c *ProjectsWebAppsUndeleteCall) Do(opts ...googleapi.CallOption) (*Operati } return ret, nil // { - // "description": "Restores the specified WebApp to the project.", + // "description": "Restores the specified WebApp to the FirebaseProject.", // "flatPath": "v1beta1/projects/{projectsId}/webApps/{webAppsId}:undelete", // "httpMethod": "POST", // "id": "firebase.projects.webApps.undelete", diff --git a/gameservices/v1/gameservices-api.json b/gameservices/v1/gameservices-api.json index 161f6c68b4c..a3503194403 100644 --- a/gameservices/v1/gameservices-api.json +++ b/gameservices/v1/gameservices-api.json @@ -401,7 +401,7 @@ } } }, - "revision": "20220804", + "revision": "20220825", "rootUrl": "https://gameservices.googleapis.com/", "schemas": { "AuditConfig": { @@ -492,7 +492,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/gameservices/v1/gameservices-gen.go b/gameservices/v1/gameservices-gen.go index 40eafeb6ec9..243a4581e24 100644 --- a/gameservices/v1/gameservices-gen.go +++ b/gameservices/v1/gameservices-gen.go @@ -337,11 +337,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/gameservices/v1beta/gameservices-api.json b/gameservices/v1beta/gameservices-api.json index 80e52845de1..0b55992b0eb 100644 --- a/gameservices/v1beta/gameservices-api.json +++ b/gameservices/v1beta/gameservices-api.json @@ -401,7 +401,7 @@ } } }, - "revision": "20220804", + "revision": "20220825", "rootUrl": "https://gameservices.googleapis.com/", "schemas": { "AuditConfig": { @@ -492,7 +492,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/gameservices/v1beta/gameservices-gen.go b/gameservices/v1beta/gameservices-gen.go index 1bc6f856ddd..e010844033a 100644 --- a/gameservices/v1beta/gameservices-gen.go +++ b/gameservices/v1beta/gameservices-gen.go @@ -337,11 +337,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/gkehub/v1/gkehub-api.json b/gkehub/v1/gkehub-api.json index 7d55ba66587..397cbcba51f 100644 --- a/gkehub/v1/gkehub-api.json +++ b/gkehub/v1/gkehub-api.json @@ -905,7 +905,7 @@ } } }, - "revision": "20220805", + "revision": "20220828", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosVMMembershipSpec": { @@ -1105,7 +1105,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, @@ -1176,7 +1176,7 @@ "type": "boolean" }, "sourceFormat": { - "description": "Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.", + "description": "Specifies whether the Config Sync Repo is in \"hierarchical\" or \"unstructured\" mode.", "type": "string" } }, @@ -1413,6 +1413,22 @@ "Deployment was attempted to be installed, but has errors" ], "type": "string" + }, + "gatekeeperMutation": { + "description": "Status of the pod serving the mutation webhook.", + "enum": [ + "DEPLOYMENT_STATE_UNSPECIFIED", + "NOT_INSTALLED", + "INSTALLED", + "ERROR" + ], + "enumDescriptions": [ + "Deployment's state cannot be determined", + "Deployment is not installed", + "Deployment is installed", + "Deployment was attempted to be installed, but has errors" + ], + "type": "string" } }, "type": "object" @@ -2106,6 +2122,10 @@ "description": "Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.", "id": "IdentityServiceAuthMethod", "properties": { + "googleConfig": { + "$ref": "IdentityServiceGoogleConfig", + "description": "GoogleConfig specific configuration" + }, "name": { "description": "Identifier for auth config.", "type": "string" @@ -2121,6 +2141,17 @@ }, "type": "object" }, + "IdentityServiceGoogleConfig": { + "description": "Configuration for the Google Plugin Auth flow.", + "id": "IdentityServiceGoogleConfig", + "properties": { + "disable": { + "description": "Disable automatic configuration of Google Plugin on supported platforms.", + "type": "boolean" + } + }, + "type": "object" + }, "IdentityServiceMembershipSpec": { "description": "**Anthos Identity Service**: Configuration for a single Membership.", "id": "IdentityServiceMembershipSpec", @@ -2188,6 +2219,10 @@ "description": "Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.", "type": "boolean" }, + "enableAccessToken": { + "description": "Enable access token.", + "type": "boolean" + }, "encryptedClientSecret": { "description": "Output only. Encrypted OIDC Client secret", "format": "byte", diff --git a/gkehub/v1/gkehub-gen.go b/gkehub/v1/gkehub-gen.go index d4baf568f87..1f9ae54ac15 100644 --- a/gkehub/v1/gkehub-gen.go +++ b/gkehub/v1/gkehub-gen.go @@ -591,11 +591,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -744,7 +745,7 @@ type ConfigManagementConfigSync struct { PreventDrift bool `json:"preventDrift,omitempty"` // SourceFormat: Specifies whether the Config Sync Repo is in - // “hierarchical” or “unstructured” mode. + // "hierarchical" or "unstructured" mode. SourceFormat string `json:"sourceFormat,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to @@ -1016,6 +1017,16 @@ type ConfigManagementGatekeeperDeploymentState struct { // "ERROR" - Deployment was attempted to be installed, but has errors GatekeeperControllerManagerState string `json:"gatekeeperControllerManagerState,omitempty"` + // GatekeeperMutation: Status of the pod serving the mutation webhook. + // + // Possible values: + // "DEPLOYMENT_STATE_UNSPECIFIED" - Deployment's state cannot be + // determined + // "NOT_INSTALLED" - Deployment is not installed + // "INSTALLED" - Deployment is installed + // "ERROR" - Deployment was attempted to be installed, but has errors + GatekeeperMutation string `json:"gatekeeperMutation,omitempty"` + // ForceSendFields is a list of field names (e.g. "GatekeeperAudit") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -2185,6 +2196,9 @@ func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error) { // member/cluster. Only one authentication method (e.g., OIDC and LDAP) // can be set per AuthMethod. type IdentityServiceAuthMethod struct { + // GoogleConfig: GoogleConfig specific configuration + GoogleConfig *IdentityServiceGoogleConfig `json:"googleConfig,omitempty"` + // Name: Identifier for auth config. Name string `json:"name,omitempty"` @@ -2194,7 +2208,7 @@ type IdentityServiceAuthMethod struct { // Proxy: Proxy server address to use for auth method. Proxy string `json:"proxy,omitempty"` - // ForceSendFields is a list of field names (e.g. "Name") to + // ForceSendFields is a list of field names (e.g. "GoogleConfig") 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 @@ -2202,10 +2216,10 @@ type IdentityServiceAuthMethod struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Name") 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 + // NullFields is a list of field names (e.g. "GoogleConfig") 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:"-"` @@ -2217,6 +2231,36 @@ func (s *IdentityServiceAuthMethod) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// IdentityServiceGoogleConfig: Configuration for the Google Plugin Auth +// flow. +type IdentityServiceGoogleConfig struct { + // Disable: Disable automatic configuration of Google Plugin on + // supported platforms. + Disable bool `json:"disable,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Disable") 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. "Disable") 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 *IdentityServiceGoogleConfig) MarshalJSON() ([]byte, error) { + type NoMethod IdentityServiceGoogleConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // IdentityServiceMembershipSpec: **Anthos Identity Service**: // Configuration for a single Membership. type IdentityServiceMembershipSpec struct { @@ -2307,6 +2351,9 @@ type IdentityServiceOidcConfig struct { // provider is not reachable by Google Cloud Console. DeployCloudConsoleProxy bool `json:"deployCloudConsoleProxy,omitempty"` + // EnableAccessToken: Enable access token. + EnableAccessToken bool `json:"enableAccessToken,omitempty"` + // EncryptedClientSecret: Output only. Encrypted OIDC Client secret EncryptedClientSecret string `json:"encryptedClientSecret,omitempty"` diff --git a/gkehub/v1alpha/gkehub-api.json b/gkehub/v1alpha/gkehub-api.json index 264356c0060..5dfb0146b3e 100644 --- a/gkehub/v1alpha/gkehub-api.json +++ b/gkehub/v1alpha/gkehub-api.json @@ -1151,7 +1151,7 @@ } } }, - "revision": "20220812", + "revision": "20220828", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -1160,7 +1160,7 @@ "properties": { "defaultMembershipSpec": { "$ref": "AnthosObservabilityMembershipSpec", - "description": "default membership spec for unconfigured memberships" + "description": "Default membership spec for unconfigured memberships" } }, "type": "object" @@ -1170,11 +1170,11 @@ "id": "AnthosObservabilityMembershipSpec", "properties": { "doNotOptimizeMetrics": { - "description": "use full of metrics rather than optimized metrics. See https://cloud.google.com/anthos/clusters/docs/on-prem/1.8/concepts/logging-and-monitoring#optimized_metrics_default_metrics", + "description": "Use full of metrics rather than optimized metrics. See https://cloud.google.com/anthos/clusters/docs/on-prem/1.8/concepts/logging-and-monitoring#optimized_metrics_default_metrics", "type": "boolean" }, "enableStackdriverOnApplications": { - "description": "enable collecting and reporting metrics and logs from user apps See go/onyx-application-metrics-logs-user-guide", + "description": "Enable collecting and reporting metrics and logs from user apps.", "type": "boolean" }, "version": { @@ -1381,7 +1381,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, @@ -1556,7 +1556,7 @@ "type": "boolean" }, "sourceFormat": { - "description": "Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.", + "description": "Specifies whether the Config Sync Repo is in \"hierarchical\" or \"unstructured\" mode.", "type": "string" } }, @@ -2605,6 +2605,10 @@ "description": "Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.", "id": "IdentityServiceAuthMethod", "properties": { + "googleConfig": { + "$ref": "IdentityServiceGoogleConfig", + "description": "GoogleConfig specific configuration" + }, "name": { "description": "Identifier for auth config.", "type": "string" @@ -2620,6 +2624,17 @@ }, "type": "object" }, + "IdentityServiceGoogleConfig": { + "description": "Configuration for the Google Plugin Auth flow.", + "id": "IdentityServiceGoogleConfig", + "properties": { + "disable": { + "description": "Disable automatic configuration of Google Plugin on supported platforms.", + "type": "boolean" + } + }, + "type": "object" + }, "IdentityServiceMembershipSpec": { "description": "**Anthos Identity Service**: Configuration for a single Membership.", "id": "IdentityServiceMembershipSpec", @@ -3533,17 +3548,19 @@ "UPDATING", "DECOMISSIONING", "CLUSTER_ERROR", - "HUB_ERROR" + "HUB_ERROR", + "SUSPENDED" ], "enumDescriptions": [ "The lifecycle state is unspecified.", "The PC does not exist on the given cluster, and no k8s resources of any type that are associated with the PC should exist there. The cluster does not possess a membership with the PCH.", "The PCH possesses a Membership, however the PC is not fully installed on the cluster. In this state the hub can be expected to be taking actions to install the PC on the cluster.", - "The PC is fully installed on the cluster and in an operational mode. In this state PCH will be reconciling state with the PC, and the PC will be performing it’s operational tasks per that software. Entering a READY state requires that the hub has confirmed the PC is installed and its pods are operational with the version of the PC the PCH expects.", + "The PC is fully installed on the cluster and in an operational mode. In this state PCH will be reconciling state with the PC, and the PC will be performing it's operational tasks per that software. Entering a READY state requires that the hub has confirmed the PC is installed and its pods are operational with the version of the PC the PCH expects.", "The PC is fully installed, but in the process of changing the configuration (including changing the version of PC either up and down, or modifying the manifests of PC) of the resources running on the cluster. The PCH has a Membership, is aware of the version the cluster should be running in, but has not confirmed for itself that the PC is running with that version.", "The PC may have resources on the cluster, but the PCH wishes to remove the Membership. The Membership still exists.", - "The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as ‘install’).", - "In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to ‘take hands off’ to avoid corrupting the PC or other data." + "The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as ‘install').", + "In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to ‘take hands off' to avoid corrupting the PC or other data.", + "Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit)." ], "type": "string" } @@ -3592,17 +3609,19 @@ "UPDATING", "DECOMISSIONING", "CLUSTER_ERROR", - "HUB_ERROR" + "HUB_ERROR", + "SUSPENDED" ], "enumDescriptions": [ "The lifecycle state is unspecified.", "The PC does not exist on the given cluster, and no k8s resources of any type that are associated with the PC should exist there. The cluster does not possess a membership with the PCH.", "The PCH possesses a Membership, however the PC is not fully installed on the cluster. In this state the hub can be expected to be taking actions to install the PC on the cluster.", - "The PC is fully installed on the cluster and in an operational mode. In this state PCH will be reconciling state with the PC, and the PC will be performing it’s operational tasks per that software. Entering a READY state requires that the hub has confirmed the PC is installed and its pods are operational with the version of the PC the PCH expects.", + "The PC is fully installed on the cluster and in an operational mode. In this state PCH will be reconciling state with the PC, and the PC will be performing it's operational tasks per that software. Entering a READY state requires that the hub has confirmed the PC is installed and its pods are operational with the version of the PC the PCH expects.", "The PC is fully installed, but in the process of changing the configuration (including changing the version of PC either up and down, or modifying the manifests of PC) of the resources running on the cluster. The PCH has a Membership, is aware of the version the cluster should be running in, but has not confirmed for itself that the PC is running with that version.", "The PC may have resources on the cluster, but the PCH wishes to remove the Membership. The Membership still exists.", - "The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as ‘install’).", - "In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to ‘take hands off’ to avoid corrupting the PC or other data." + "The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as ‘install').", + "In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to ‘take hands off' to avoid corrupting the PC or other data.", + "Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit)." ], "type": "string" } diff --git a/gkehub/v1alpha/gkehub-gen.go b/gkehub/v1alpha/gkehub-gen.go index 29447228e80..e596826f85d 100644 --- a/gkehub/v1alpha/gkehub-gen.go +++ b/gkehub/v1alpha/gkehub-gen.go @@ -244,7 +244,7 @@ type ProjectsLocationsOperationsService struct { // AnthosObservabilityFeatureSpec: **Anthos Observability**: Spec type AnthosObservabilityFeatureSpec struct { - // DefaultMembershipSpec: default membership spec for unconfigured + // DefaultMembershipSpec: Default membership spec for unconfigured // memberships DefaultMembershipSpec *AnthosObservabilityMembershipSpec `json:"defaultMembershipSpec,omitempty"` @@ -276,14 +276,13 @@ func (s *AnthosObservabilityFeatureSpec) MarshalJSON() ([]byte, error) { // AnthosObservabilityMembershipSpec: **Anthosobservability**: // Per-Membership Feature spec. type AnthosObservabilityMembershipSpec struct { - // DoNotOptimizeMetrics: use full of metrics rather than optimized + // DoNotOptimizeMetrics: Use full of metrics rather than optimized // metrics. See // https://cloud.google.com/anthos/clusters/docs/on-prem/1.8/concepts/logging-and-monitoring#optimized_metrics_default_metrics DoNotOptimizeMetrics bool `json:"doNotOptimizeMetrics,omitempty"` - // EnableStackdriverOnApplications: enable collecting and reporting - // metrics and logs from user apps See - // go/onyx-application-metrics-logs-user-guide + // EnableStackdriverOnApplications: Enable collecting and reporting + // metrics and logs from user apps. EnableStackdriverOnApplications bool `json:"enableStackdriverOnApplications,omitempty"` // Version: the version of stackdriver operator used by this feature @@ -711,11 +710,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -1046,7 +1046,7 @@ type ConfigManagementConfigSync struct { PreventDrift bool `json:"preventDrift,omitempty"` // SourceFormat: Specifies whether the Config Sync Repo is in - // “hierarchical” or “unstructured” mode. + // "hierarchical" or "unstructured" mode. SourceFormat string `json:"sourceFormat,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to @@ -2638,6 +2638,9 @@ func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error) { // member/cluster. Only one authentication method (e.g., OIDC and LDAP) // can be set per AuthMethod. type IdentityServiceAuthMethod struct { + // GoogleConfig: GoogleConfig specific configuration + GoogleConfig *IdentityServiceGoogleConfig `json:"googleConfig,omitempty"` + // Name: Identifier for auth config. Name string `json:"name,omitempty"` @@ -2647,7 +2650,7 @@ type IdentityServiceAuthMethod struct { // Proxy: Proxy server address to use for auth method. Proxy string `json:"proxy,omitempty"` - // ForceSendFields is a list of field names (e.g. "Name") to + // ForceSendFields is a list of field names (e.g. "GoogleConfig") 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 @@ -2655,10 +2658,10 @@ type IdentityServiceAuthMethod struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Name") 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 + // NullFields is a list of field names (e.g. "GoogleConfig") 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:"-"` @@ -2670,6 +2673,36 @@ func (s *IdentityServiceAuthMethod) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// IdentityServiceGoogleConfig: Configuration for the Google Plugin Auth +// flow. +type IdentityServiceGoogleConfig struct { + // Disable: Disable automatic configuration of Google Plugin on + // supported platforms. + Disable bool `json:"disable,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Disable") 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. "Disable") 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 *IdentityServiceGoogleConfig) MarshalJSON() ([]byte, error) { + type NoMethod IdentityServiceGoogleConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // IdentityServiceMembershipSpec: **Anthos Identity Service**: // Configuration for a single Membership. type IdentityServiceMembershipSpec struct { @@ -4134,10 +4167,10 @@ type PolicyControllerMembershipState struct { // expected to be taking actions to install the PC on the cluster. // "ACTIVE" - The PC is fully installed on the cluster and in an // operational mode. In this state PCH will be reconciling state with - // the PC, and the PC will be performing it’s operational tasks per - // that software. Entering a READY state requires that the hub has - // confirmed the PC is installed and its pods are operational with the - // version of the PC the PCH expects. + // the PC, and the PC will be performing it's operational tasks per that + // software. Entering a READY state requires that the hub has confirmed + // the PC is installed and its pods are operational with the version of + // the PC the PCH expects. // "UPDATING" - The PC is fully installed, but in the process of // changing the configuration (including changing the version of PC // either up and down, or modifying the manifests of PC) of the @@ -4152,13 +4185,16 @@ type PolicyControllerMembershipState struct { // cluster is non-operative or that the cluster does not meet // requirements set for the PCH to administer the cluster but has // nevertheless been given an instruction to do so (such as - // ‘install’). + // ‘install'). // "HUB_ERROR" - In this state, the PC may still be operational, and // only the PCH is unable to act. The hub should not issue instructions // to change the PC state, or otherwise interfere with the on-cluster // resources. Entering a HUB_ERROR state happens automatically when the // PCH determines the hub is in an unhealthy state and it wishes to - // ‘take hands off’ to avoid corrupting the PC or other data. + // ‘take hands off' to avoid corrupting the PC or other data. + // "SUSPENDED" - Policy Controller (PC) is installed but suspended. + // This means that the policies are not enforced, but violations are + // still recorded (through audit). State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "ClusterName") to @@ -4240,10 +4276,10 @@ type PolicyControllerOnClusterState struct { // expected to be taking actions to install the PC on the cluster. // "ACTIVE" - The PC is fully installed on the cluster and in an // operational mode. In this state PCH will be reconciling state with - // the PC, and the PC will be performing it’s operational tasks per - // that software. Entering a READY state requires that the hub has - // confirmed the PC is installed and its pods are operational with the - // version of the PC the PCH expects. + // the PC, and the PC will be performing it's operational tasks per that + // software. Entering a READY state requires that the hub has confirmed + // the PC is installed and its pods are operational with the version of + // the PC the PCH expects. // "UPDATING" - The PC is fully installed, but in the process of // changing the configuration (including changing the version of PC // either up and down, or modifying the manifests of PC) of the @@ -4258,13 +4294,16 @@ type PolicyControllerOnClusterState struct { // cluster is non-operative or that the cluster does not meet // requirements set for the PCH to administer the cluster but has // nevertheless been given an instruction to do so (such as - // ‘install’). + // ‘install'). // "HUB_ERROR" - In this state, the PC may still be operational, and // only the PCH is unable to act. The hub should not issue instructions // to change the PC state, or otherwise interfere with the on-cluster // resources. Entering a HUB_ERROR state happens automatically when the // PCH determines the hub is in an unhealthy state and it wishes to - // ‘take hands off’ to avoid corrupting the PC or other data. + // ‘take hands off' to avoid corrupting the PC or other data. + // "SUSPENDED" - Policy Controller (PC) is installed but suspended. + // This means that the policies are not enforced, but violations are + // still recorded (through audit). State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "Details") to diff --git a/gkehub/v1alpha2/gkehub-api.json b/gkehub/v1alpha2/gkehub-api.json index e0c1b50361a..c66fb6817d0 100644 --- a/gkehub/v1alpha2/gkehub-api.json +++ b/gkehub/v1alpha2/gkehub-api.json @@ -652,7 +652,7 @@ } } }, - "revision": "20220805", + "revision": "20220828", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "ApplianceCluster": { @@ -749,7 +749,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/gkehub/v1alpha2/gkehub-gen.go b/gkehub/v1alpha2/gkehub-gen.go index 15238009267..872a033da45 100644 --- a/gkehub/v1alpha2/gkehub-gen.go +++ b/gkehub/v1alpha2/gkehub-gen.go @@ -410,11 +410,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/gkehub/v1beta/gkehub-api.json b/gkehub/v1beta/gkehub-api.json index 7f35179c830..2ae2fc72cfc 100644 --- a/gkehub/v1beta/gkehub-api.json +++ b/gkehub/v1beta/gkehub-api.json @@ -670,7 +670,7 @@ } } }, - "revision": "20220805", + "revision": "20220828", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -679,7 +679,7 @@ "properties": { "defaultMembershipSpec": { "$ref": "AnthosObservabilityMembershipSpec", - "description": "default membership spec for unconfigured memberships" + "description": "Default membership spec for unconfigured memberships" } }, "type": "object" @@ -689,11 +689,11 @@ "id": "AnthosObservabilityMembershipSpec", "properties": { "doNotOptimizeMetrics": { - "description": "use full of metrics rather than optimized metrics. See https://cloud.google.com/anthos/clusters/docs/on-prem/1.8/concepts/logging-and-monitoring#optimized_metrics_default_metrics", + "description": "Use full of metrics rather than optimized metrics. See https://cloud.google.com/anthos/clusters/docs/on-prem/1.8/concepts/logging-and-monitoring#optimized_metrics_default_metrics", "type": "boolean" }, "enableStackdriverOnApplications": { - "description": "enable collecting and reporting metrics and logs from user apps See go/onyx-application-metrics-logs-user-guide", + "description": "Enable collecting and reporting metrics and logs from user apps.", "type": "boolean" }, "version": { @@ -863,7 +863,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, @@ -987,7 +987,7 @@ "type": "boolean" }, "sourceFormat": { - "description": "Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.", + "description": "Specifies whether the Config Sync Repo is in \"hierarchical\" or \"unstructured\" mode.", "type": "string" } }, @@ -1224,6 +1224,22 @@ "Deployment was attempted to be installed, but has errors" ], "type": "string" + }, + "gatekeeperMutation": { + "description": "Status of the pod serving the mutation webhook.", + "enum": [ + "DEPLOYMENT_STATE_UNSPECIFIED", + "NOT_INSTALLED", + "INSTALLED", + "ERROR" + ], + "enumDescriptions": [ + "Deployment's state cannot be determined", + "Deployment is not installed", + "Deployment is installed", + "Deployment was attempted to be installed, but has errors" + ], + "type": "string" } }, "type": "object" @@ -1869,6 +1885,10 @@ "description": "Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.", "id": "IdentityServiceAuthMethod", "properties": { + "googleConfig": { + "$ref": "IdentityServiceGoogleConfig", + "description": "GoogleConfig specific configuration" + }, "name": { "description": "Identifier for auth config.", "type": "string" @@ -1884,6 +1904,17 @@ }, "type": "object" }, + "IdentityServiceGoogleConfig": { + "description": "Configuration for the Google Plugin Auth flow.", + "id": "IdentityServiceGoogleConfig", + "properties": { + "disable": { + "description": "Disable automatic configuration of Google Plugin on supported platforms.", + "type": "boolean" + } + }, + "type": "object" + }, "IdentityServiceMembershipSpec": { "description": "**Anthos Identity Service**: Configuration for a single Membership.", "id": "IdentityServiceMembershipSpec", @@ -1951,6 +1982,10 @@ "description": "Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.", "type": "boolean" }, + "enableAccessToken": { + "description": "Enable access token.", + "type": "boolean" + }, "encryptedClientSecret": { "description": "Output only. Encrypted OIDC Client secret", "format": "byte", @@ -2465,17 +2500,19 @@ "UPDATING", "DECOMISSIONING", "CLUSTER_ERROR", - "HUB_ERROR" + "HUB_ERROR", + "SUSPENDED" ], "enumDescriptions": [ "The lifecycle state is unspecified.", "The PC does not exist on the given cluster, and no k8s resources of any type that are associated with the PC should exist there. The cluster does not possess a membership with the PCH.", "The PCH possesses a Membership, however the PC is not fully installed on the cluster. In this state the hub can be expected to be taking actions to install the PC on the cluster.", - "The PC is fully installed on the cluster and in an operational mode. In this state PCH will be reconciling state with the PC, and the PC will be performing it’s operational tasks per that software. Entering a READY state requires that the hub has confirmed the PC is installed and its pods are operational with the version of the PC the PCH expects.", + "The PC is fully installed on the cluster and in an operational mode. In this state PCH will be reconciling state with the PC, and the PC will be performing it's operational tasks per that software. Entering a READY state requires that the hub has confirmed the PC is installed and its pods are operational with the version of the PC the PCH expects.", "The PC is fully installed, but in the process of changing the configuration (including changing the version of PC either up and down, or modifying the manifests of PC) of the resources running on the cluster. The PCH has a Membership, is aware of the version the cluster should be running in, but has not confirmed for itself that the PC is running with that version.", "The PC may have resources on the cluster, but the PCH wishes to remove the Membership. The Membership still exists.", - "The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as ‘install’).", - "In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to ‘take hands off’ to avoid corrupting the PC or other data." + "The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as ‘install').", + "In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to ‘take hands off' to avoid corrupting the PC or other data.", + "Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit)." ], "type": "string" } @@ -2524,17 +2561,19 @@ "UPDATING", "DECOMISSIONING", "CLUSTER_ERROR", - "HUB_ERROR" + "HUB_ERROR", + "SUSPENDED" ], "enumDescriptions": [ "The lifecycle state is unspecified.", "The PC does not exist on the given cluster, and no k8s resources of any type that are associated with the PC should exist there. The cluster does not possess a membership with the PCH.", "The PCH possesses a Membership, however the PC is not fully installed on the cluster. In this state the hub can be expected to be taking actions to install the PC on the cluster.", - "The PC is fully installed on the cluster and in an operational mode. In this state PCH will be reconciling state with the PC, and the PC will be performing it’s operational tasks per that software. Entering a READY state requires that the hub has confirmed the PC is installed and its pods are operational with the version of the PC the PCH expects.", + "The PC is fully installed on the cluster and in an operational mode. In this state PCH will be reconciling state with the PC, and the PC will be performing it's operational tasks per that software. Entering a READY state requires that the hub has confirmed the PC is installed and its pods are operational with the version of the PC the PCH expects.", "The PC is fully installed, but in the process of changing the configuration (including changing the version of PC either up and down, or modifying the manifests of PC) of the resources running on the cluster. The PCH has a Membership, is aware of the version the cluster should be running in, but has not confirmed for itself that the PC is running with that version.", "The PC may have resources on the cluster, but the PCH wishes to remove the Membership. The Membership still exists.", - "The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as ‘install’).", - "In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to ‘take hands off’ to avoid corrupting the PC or other data." + "The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as ‘install').", + "In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to ‘take hands off' to avoid corrupting the PC or other data.", + "Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit)." ], "type": "string" } diff --git a/gkehub/v1beta/gkehub-gen.go b/gkehub/v1beta/gkehub-gen.go index 60c2480fd2b..0b1770c2e03 100644 --- a/gkehub/v1beta/gkehub-gen.go +++ b/gkehub/v1beta/gkehub-gen.go @@ -196,7 +196,7 @@ type ProjectsLocationsOperationsService struct { // AnthosObservabilityFeatureSpec: **Anthos Observability**: Spec type AnthosObservabilityFeatureSpec struct { - // DefaultMembershipSpec: default membership spec for unconfigured + // DefaultMembershipSpec: Default membership spec for unconfigured // memberships DefaultMembershipSpec *AnthosObservabilityMembershipSpec `json:"defaultMembershipSpec,omitempty"` @@ -228,14 +228,13 @@ func (s *AnthosObservabilityFeatureSpec) MarshalJSON() ([]byte, error) { // AnthosObservabilityMembershipSpec: **Anthosobservability**: // Per-Membership Feature spec. type AnthosObservabilityMembershipSpec struct { - // DoNotOptimizeMetrics: use full of metrics rather than optimized + // DoNotOptimizeMetrics: Use full of metrics rather than optimized // metrics. See // https://cloud.google.com/anthos/clusters/docs/on-prem/1.8/concepts/logging-and-monitoring#optimized_metrics_default_metrics DoNotOptimizeMetrics bool `json:"doNotOptimizeMetrics,omitempty"` - // EnableStackdriverOnApplications: enable collecting and reporting - // metrics and logs from user apps See - // go/onyx-application-metrics-logs-user-guide + // EnableStackdriverOnApplications: Enable collecting and reporting + // metrics and logs from user apps. EnableStackdriverOnApplications bool `json:"enableStackdriverOnApplications,omitempty"` // Version: the version of stackdriver operator used by this feature @@ -573,11 +572,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -824,7 +824,7 @@ type ConfigManagementConfigSync struct { PreventDrift bool `json:"preventDrift,omitempty"` // SourceFormat: Specifies whether the Config Sync Repo is in - // “hierarchical” or “unstructured” mode. + // "hierarchical" or "unstructured" mode. SourceFormat string `json:"sourceFormat,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to @@ -1096,6 +1096,16 @@ type ConfigManagementGatekeeperDeploymentState struct { // "ERROR" - Deployment was attempted to be installed, but has errors GatekeeperControllerManagerState string `json:"gatekeeperControllerManagerState,omitempty"` + // GatekeeperMutation: Status of the pod serving the mutation webhook. + // + // Possible values: + // "DEPLOYMENT_STATE_UNSPECIFIED" - Deployment's state cannot be + // determined + // "NOT_INSTALLED" - Deployment is not installed + // "INSTALLED" - Deployment is installed + // "ERROR" - Deployment was attempted to be installed, but has errors + GatekeeperMutation string `json:"gatekeeperMutation,omitempty"` + // ForceSendFields is a list of field names (e.g. "GatekeeperAudit") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -2135,6 +2145,9 @@ func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error) { // member/cluster. Only one authentication method (e.g., OIDC and LDAP) // can be set per AuthMethod. type IdentityServiceAuthMethod struct { + // GoogleConfig: GoogleConfig specific configuration + GoogleConfig *IdentityServiceGoogleConfig `json:"googleConfig,omitempty"` + // Name: Identifier for auth config. Name string `json:"name,omitempty"` @@ -2144,7 +2157,7 @@ type IdentityServiceAuthMethod struct { // Proxy: Proxy server address to use for auth method. Proxy string `json:"proxy,omitempty"` - // ForceSendFields is a list of field names (e.g. "Name") to + // ForceSendFields is a list of field names (e.g. "GoogleConfig") 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 @@ -2152,10 +2165,10 @@ type IdentityServiceAuthMethod struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Name") 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 + // NullFields is a list of field names (e.g. "GoogleConfig") 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:"-"` @@ -2167,6 +2180,36 @@ func (s *IdentityServiceAuthMethod) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// IdentityServiceGoogleConfig: Configuration for the Google Plugin Auth +// flow. +type IdentityServiceGoogleConfig struct { + // Disable: Disable automatic configuration of Google Plugin on + // supported platforms. + Disable bool `json:"disable,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Disable") 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. "Disable") 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 *IdentityServiceGoogleConfig) MarshalJSON() ([]byte, error) { + type NoMethod IdentityServiceGoogleConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // IdentityServiceMembershipSpec: **Anthos Identity Service**: // Configuration for a single Membership. type IdentityServiceMembershipSpec struct { @@ -2257,6 +2300,9 @@ type IdentityServiceOidcConfig struct { // provider is not reachable by Google Cloud Console. DeployCloudConsoleProxy bool `json:"deployCloudConsoleProxy,omitempty"` + // EnableAccessToken: Enable access token. + EnableAccessToken bool `json:"enableAccessToken,omitempty"` + // EncryptedClientSecret: Output only. Encrypted OIDC Client secret EncryptedClientSecret string `json:"encryptedClientSecret,omitempty"` @@ -3107,10 +3153,10 @@ type PolicyControllerMembershipState struct { // expected to be taking actions to install the PC on the cluster. // "ACTIVE" - The PC is fully installed on the cluster and in an // operational mode. In this state PCH will be reconciling state with - // the PC, and the PC will be performing it’s operational tasks per - // that software. Entering a READY state requires that the hub has - // confirmed the PC is installed and its pods are operational with the - // version of the PC the PCH expects. + // the PC, and the PC will be performing it's operational tasks per that + // software. Entering a READY state requires that the hub has confirmed + // the PC is installed and its pods are operational with the version of + // the PC the PCH expects. // "UPDATING" - The PC is fully installed, but in the process of // changing the configuration (including changing the version of PC // either up and down, or modifying the manifests of PC) of the @@ -3125,13 +3171,16 @@ type PolicyControllerMembershipState struct { // cluster is non-operative or that the cluster does not meet // requirements set for the PCH to administer the cluster but has // nevertheless been given an instruction to do so (such as - // ‘install’). + // ‘install'). // "HUB_ERROR" - In this state, the PC may still be operational, and // only the PCH is unable to act. The hub should not issue instructions // to change the PC state, or otherwise interfere with the on-cluster // resources. Entering a HUB_ERROR state happens automatically when the // PCH determines the hub is in an unhealthy state and it wishes to - // ‘take hands off’ to avoid corrupting the PC or other data. + // ‘take hands off' to avoid corrupting the PC or other data. + // "SUSPENDED" - Policy Controller (PC) is installed but suspended. + // This means that the policies are not enforced, but violations are + // still recorded (through audit). State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "ClusterName") to @@ -3213,10 +3262,10 @@ type PolicyControllerOnClusterState struct { // expected to be taking actions to install the PC on the cluster. // "ACTIVE" - The PC is fully installed on the cluster and in an // operational mode. In this state PCH will be reconciling state with - // the PC, and the PC will be performing it’s operational tasks per - // that software. Entering a READY state requires that the hub has - // confirmed the PC is installed and its pods are operational with the - // version of the PC the PCH expects. + // the PC, and the PC will be performing it's operational tasks per that + // software. Entering a READY state requires that the hub has confirmed + // the PC is installed and its pods are operational with the version of + // the PC the PCH expects. // "UPDATING" - The PC is fully installed, but in the process of // changing the configuration (including changing the version of PC // either up and down, or modifying the manifests of PC) of the @@ -3231,13 +3280,16 @@ type PolicyControllerOnClusterState struct { // cluster is non-operative or that the cluster does not meet // requirements set for the PCH to administer the cluster but has // nevertheless been given an instruction to do so (such as - // ‘install’). + // ‘install'). // "HUB_ERROR" - In this state, the PC may still be operational, and // only the PCH is unable to act. The hub should not issue instructions // to change the PC state, or otherwise interfere with the on-cluster // resources. Entering a HUB_ERROR state happens automatically when the // PCH determines the hub is in an unhealthy state and it wishes to - // ‘take hands off’ to avoid corrupting the PC or other data. + // ‘take hands off' to avoid corrupting the PC or other data. + // "SUSPENDED" - Policy Controller (PC) is installed but suspended. + // This means that the policies are not enforced, but violations are + // still recorded (through audit). State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "Details") to diff --git a/gkehub/v1beta1/gkehub-api.json b/gkehub/v1beta1/gkehub-api.json index e80eb4f55a9..34d8a3b8a7f 100644 --- a/gkehub/v1beta1/gkehub-api.json +++ b/gkehub/v1beta1/gkehub-api.json @@ -706,7 +706,7 @@ } } }, - "revision": "20220805", + "revision": "20220828", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "ApplianceCluster": { @@ -803,7 +803,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/gkehub/v1beta1/gkehub-gen.go b/gkehub/v1beta1/gkehub-gen.go index 3a506df8759..c14e0dbad6a 100644 --- a/gkehub/v1beta1/gkehub-gen.go +++ b/gkehub/v1beta1/gkehub-gen.go @@ -386,11 +386,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/healthcare/v1/healthcare-api.json b/healthcare/v1/healthcare-api.json index d41e4ad2373..d6f66f176cf 100644 --- a/healthcare/v1/healthcare-api.json +++ b/healthcare/v1/healthcare-api.json @@ -4053,7 +4053,7 @@ } } }, - "revision": "20220810", + "revision": "20220818", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "ActivateConsentRequest": { @@ -5311,8 +5311,8 @@ "enumDescriptions": [ "Default behavior is the same as WRITE_EMPTY.", "Only export data if the destination table is empty.", - "Erase all existing data in a table before writing the instances.", - "Append data to the existing table." + "Erase all existing data in the destination table before writing the instances.", + "Append data to the destination table." ], "type": "string" } @@ -5372,8 +5372,8 @@ "enumDescriptions": [ "Default behavior is the same as WRITE_EMPTY.", "Only export data if the destination tables are empty.", - "Erase all existing data in the tables before writing the instances.", - "Append data to the existing tables." + "Erase all existing data in the destination tables before writing the FHIR resources.", + "Append data to the destination tables." ], "type": "string" } diff --git a/healthcare/v1/healthcare-gen.go b/healthcare/v1/healthcare-gen.go index 6f613069c18..ed3ddf73d0c 100644 --- a/healthcare/v1/healthcare-gen.go +++ b/healthcare/v1/healthcare-gen.go @@ -2778,9 +2778,9 @@ type GoogleCloudHealthcareV1DicomBigQueryDestination struct { // "WRITE_DISPOSITION_UNSPECIFIED" - Default behavior is the same as // WRITE_EMPTY. // "WRITE_EMPTY" - Only export data if the destination table is empty. - // "WRITE_TRUNCATE" - Erase all existing data in a table before - // writing the instances. - // "WRITE_APPEND" - Append data to the existing table. + // "WRITE_TRUNCATE" - Erase all existing data in the destination table + // before writing the instances. + // "WRITE_APPEND" - Append data to the destination table. WriteDisposition string `json:"writeDisposition,omitempty"` // ForceSendFields is a list of field names (e.g. "Force") to @@ -2938,9 +2938,9 @@ type GoogleCloudHealthcareV1FhirBigQueryDestination struct { // WRITE_EMPTY. // "WRITE_EMPTY" - Only export data if the destination tables are // empty. - // "WRITE_TRUNCATE" - Erase all existing data in the tables before - // writing the instances. - // "WRITE_APPEND" - Append data to the existing tables. + // "WRITE_TRUNCATE" - Erase all existing data in the destination + // tables before writing the FHIR resources. + // "WRITE_APPEND" - Append data to the destination tables. WriteDisposition string `json:"writeDisposition,omitempty"` // ForceSendFields is a list of field names (e.g. "DatasetUri") to diff --git a/healthcare/v1beta1/healthcare-api.json b/healthcare/v1beta1/healthcare-api.json index 91d732cd252..e914b336ec8 100644 --- a/healthcare/v1beta1/healthcare-api.json +++ b/healthcare/v1beta1/healthcare-api.json @@ -4865,7 +4865,7 @@ } } }, - "revision": "20220810", + "revision": "20220818", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "ActivateConsentRequest": { @@ -6525,8 +6525,8 @@ "enumDescriptions": [ "Default behavior is the same as WRITE_EMPTY.", "Only export data if the destination table is empty.", - "Erase all existing data in a table before writing the instances.", - "Append data to the existing table." + "Erase all existing data in the destination table before writing the instances.", + "Append data to the destination table." ], "type": "string" } @@ -6597,8 +6597,8 @@ "enumDescriptions": [ "Default behavior is the same as WRITE_EMPTY.", "Only export data if the destination tables are empty.", - "Erase all existing data in the tables before writing the instances.", - "Append data to the existing tables." + "Erase all existing data in the destination tables before writing the FHIR resources.", + "Append data to the destination tables." ], "type": "string" } diff --git a/healthcare/v1beta1/healthcare-gen.go b/healthcare/v1beta1/healthcare-gen.go index 0edc3d53cb8..95ce18495bb 100644 --- a/healthcare/v1beta1/healthcare-gen.go +++ b/healthcare/v1beta1/healthcare-gen.go @@ -3641,9 +3641,9 @@ type GoogleCloudHealthcareV1beta1DicomBigQueryDestination struct { // "WRITE_DISPOSITION_UNSPECIFIED" - Default behavior is the same as // WRITE_EMPTY. // "WRITE_EMPTY" - Only export data if the destination table is empty. - // "WRITE_TRUNCATE" - Erase all existing data in a table before - // writing the instances. - // "WRITE_APPEND" - Append data to the existing table. + // "WRITE_TRUNCATE" - Erase all existing data in the destination table + // before writing the instances. + // "WRITE_APPEND" - Append data to the destination table. WriteDisposition string `json:"writeDisposition,omitempty"` // ForceSendFields is a list of field names (e.g. "Force") to @@ -3850,9 +3850,9 @@ type GoogleCloudHealthcareV1beta1FhirBigQueryDestination struct { // WRITE_EMPTY. // "WRITE_EMPTY" - Only export data if the destination tables are // empty. - // "WRITE_TRUNCATE" - Erase all existing data in the tables before - // writing the instances. - // "WRITE_APPEND" - Append data to the existing tables. + // "WRITE_TRUNCATE" - Erase all existing data in the destination + // tables before writing the FHIR resources. + // "WRITE_APPEND" - Append data to the destination tables. WriteDisposition string `json:"writeDisposition,omitempty"` // ForceSendFields is a list of field names (e.g. "DatasetUri") to diff --git a/iam/v1/iam-api.json b/iam/v1/iam-api.json index d6dabdce35a..75ee8c197c9 100644 --- a/iam/v1/iam-api.json +++ b/iam/v1/iam-api.json @@ -1921,7 +1921,7 @@ } } }, - "revision": "20220811", + "revision": "20220825", "rootUrl": "https://iam.googleapis.com/", "schemas": { "AdminAuditData": { @@ -2025,7 +2025,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/iam/v1/iam-gen.go b/iam/v1/iam-gen.go index b39bdecad3b..220bcb9cc66 100644 --- a/iam/v1/iam-gen.go +++ b/iam/v1/iam-gen.go @@ -668,11 +668,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/iap/v1/iap-api.json b/iap/v1/iap-api.json index 697b33a7cd0..c00e0a6a9e4 100644 --- a/iap/v1/iap-api.json +++ b/iap/v1/iap-api.json @@ -652,7 +652,7 @@ } } }, - "revision": "20220805", + "revision": "20220829", "rootUrl": "https://iap.googleapis.com/", "schemas": { "AccessDeniedPageSettings": { @@ -731,6 +731,10 @@ "$ref": "AccessDeniedPageSettings", "description": "Customization for Access Denied page." }, + "attributePropagationSettings": { + "$ref": "AttributePropagationSettings", + "description": "Settings to configure attribute propagation to customer application. These attributes may come from SAML/SessionStorage integration, or other sources in the future." + }, "cookieDomain": { "description": "The Domain value to set for cookies generated by IAP. This value is not validated by the API, but will be ignored at runtime if invalid.", "type": "string" @@ -742,6 +746,40 @@ }, "type": "object" }, + "AttributePropagationSettings": { + "description": "Configuration for propagating attributes to customer applications protected by IAP. These attributes may be SAML attributes from a 3rd party IdP, or potentially other sources in the future.", + "id": "AttributePropagationSettings", + "properties": { + "enable": { + "description": "Whether the provided attribute propagation settings should be evaluated on user requests. If set to true, attributes returned from the expression will be propagated in the set output credentials.", + "type": "boolean" + }, + "expression": { + "description": "Raw string CEL expression. Expression should be of the form attributes.saml_attributes.filter(attribute, attribute.name in [{attribute_list}]). An example expression to select the attributes \"my_attr\" and \"other_attr\": attributes.saml_attributes.filter(attribute, attribute.name in [\"my_attr\", \"other_attr\"])", + "type": "string" + }, + "outputCredentials": { + "description": "Which output credentials attributes selected by the CEL expression should be propagated in. All attributes will be fully duplicated in each selected output credential.", + "items": { + "enum": [ + "OUTPUT_CREDENTIALS_UNSPECIFIED", + "HEADER", + "JWT", + "RCTOKEN" + ], + "enumDescriptions": [ + "No output credential. This is unsupported in IAP, there must be an output credential.", + "Propagate attributes in the headers with \"x-goog-iap-attr-\" prefix.", + "Propagate attributes in the JWT of the form: \"additional_claims\": { \"my_attribute\": [\"value1\", \"value2\"] }", + "Propagate attributes in the RCToken of the form: \"additional_claims\": { \"my_attribute\": [\"value1\", \"value2\"] }" + ], + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "Binding": { "description": "Associates `members`, or principals, with a `role`.", "id": "Binding", @@ -751,7 +789,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/iap/v1/iap-gen.go b/iap/v1/iap-gen.go index ca5d6f53f5c..33e9b9ab4d7 100644 --- a/iap/v1/iap-gen.go +++ b/iap/v1/iap-gen.go @@ -347,6 +347,11 @@ type ApplicationSettings struct { // AccessDeniedPageSettings: Customization for Access Denied page. AccessDeniedPageSettings *AccessDeniedPageSettings `json:"accessDeniedPageSettings,omitempty"` + // AttributePropagationSettings: Settings to configure attribute + // propagation to customer application. These attributes may come from + // SAML/SessionStorage integration, or other sources in the future. + AttributePropagationSettings *AttributePropagationSettings `json:"attributePropagationSettings,omitempty"` + // CookieDomain: The Domain value to set for cookies generated by IAP. // This value is not validated by the API, but will be ignored at // runtime if invalid. @@ -380,6 +385,62 @@ func (s *ApplicationSettings) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// AttributePropagationSettings: Configuration for propagating +// attributes to customer applications protected by IAP. These +// attributes may be SAML attributes from a 3rd party IdP, or +// potentially other sources in the future. +type AttributePropagationSettings struct { + // Enable: Whether the provided attribute propagation settings should be + // evaluated on user requests. If set to true, attributes returned from + // the expression will be propagated in the set output credentials. + Enable bool `json:"enable,omitempty"` + + // Expression: Raw string CEL expression. Expression should be of the + // form attributes.saml_attributes.filter(attribute, attribute.name in + // [{attribute_list}]). An example expression to select the attributes + // "my_attr" and "other_attr": + // attributes.saml_attributes.filter(attribute, attribute.name in + // ["my_attr", "other_attr"]) + Expression string `json:"expression,omitempty"` + + // OutputCredentials: Which output credentials attributes selected by + // the CEL expression should be propagated in. All attributes will be + // fully duplicated in each selected output credential. + // + // Possible values: + // "OUTPUT_CREDENTIALS_UNSPECIFIED" - No output credential. This is + // unsupported in IAP, there must be an output credential. + // "HEADER" - Propagate attributes in the headers with + // "x-goog-iap-attr-" prefix. + // "JWT" - Propagate attributes in the JWT of the form: + // "additional_claims": { "my_attribute": ["value1", "value2"] } + // "RCTOKEN" - Propagate attributes in the RCToken of the form: + // "additional_claims": { "my_attribute": ["value1", "value2"] } + OutputCredentials []string `json:"outputCredentials,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Enable") 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. "Enable") 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 *AttributePropagationSettings) MarshalJSON() ([]byte, error) { + type NoMethod AttributePropagationSettings + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Binding: Associates `members`, or principals, with a `role`. type Binding struct { // Condition: The condition that is associated with this binding. If the @@ -397,11 +458,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/iap/v1beta1/iap-api.json b/iap/v1beta1/iap-api.json index 7a3d289ca67..a7b37e4ea65 100644 --- a/iap/v1beta1/iap-api.json +++ b/iap/v1beta1/iap-api.json @@ -194,7 +194,7 @@ } } }, - "revision": "20220805", + "revision": "20220829", "rootUrl": "https://iap.googleapis.com/", "schemas": { "Binding": { @@ -206,7 +206,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/iap/v1beta1/iap-gen.go b/iap/v1beta1/iap-gen.go index cadb1513052..9df9618b953 100644 --- a/iap/v1beta1/iap-gen.go +++ b/iap/v1beta1/iap-gen.go @@ -163,11 +163,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/identitytoolkit/v2/identitytoolkit-api.json b/identitytoolkit/v2/identitytoolkit-api.json index 04bfc5acb0e..9a09c58f309 100644 --- a/identitytoolkit/v2/identitytoolkit-api.json +++ b/identitytoolkit/v2/identitytoolkit-api.json @@ -468,6 +468,38 @@ } } }, + "identityPlatform": { + "methods": { + "initializeAuth": { + "description": "Initialize Identity Platform for a Cloud project. Identity Platform is an end-to-end authentication system for third-party users to access your apps and services. These could include mobile/web apps, games, APIs and beyond. This is the publicly available variant of EnableIdentityPlatform that is only available to billing-enabled projects.", + "flatPath": "v2/projects/{projectsId}/identityPlatform:initializeAuth", + "httpMethod": "POST", + "id": "identitytoolkit.projects.identityPlatform.initializeAuth", + "parameterOrder": [ + "project" + ], + "parameters": { + "project": { + "description": "The resource name of the target project the developer wants to enable Identity Platform for.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+project}/identityPlatform:initializeAuth", + "request": { + "$ref": "GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest" + }, + "response": { + "$ref": "GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "inboundSamlConfigs": { "methods": { "create": { @@ -1527,7 +1559,7 @@ } } }, - "revision": "20220815", + "revision": "20220902", "rootUrl": "https://identitytoolkit.googleapis.com/", "schemas": { "GoogleCloudIdentitytoolkitAdminV2Anonymous": { @@ -2021,6 +2053,18 @@ }, "type": "object" }, + "GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest": { + "description": "Request for InitializeIdentityPlatform.", + "id": "GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest", + "properties": {}, + "type": "object" + }, + "GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse": { + "description": "Response for InitializeIdentityPlatform. Empty for now.", + "id": "GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse", + "properties": {}, + "type": "object" + }, "GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse": { "description": "Response for DefaultSupportedIdpConfigs", "id": "GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse", @@ -2922,7 +2966,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/identitytoolkit/v2/identitytoolkit-gen.go b/identitytoolkit/v2/identitytoolkit-gen.go index e195e66e7b3..b617a9c61be 100644 --- a/identitytoolkit/v2/identitytoolkit-gen.go +++ b/identitytoolkit/v2/identitytoolkit-gen.go @@ -196,6 +196,7 @@ type DefaultSupportedIdpsService struct { func NewProjectsService(s *Service) *ProjectsService { rs := &ProjectsService{s: s} rs.DefaultSupportedIdpConfigs = NewProjectsDefaultSupportedIdpConfigsService(s) + rs.IdentityPlatform = NewProjectsIdentityPlatformService(s) rs.InboundSamlConfigs = NewProjectsInboundSamlConfigsService(s) rs.OauthIdpConfigs = NewProjectsOauthIdpConfigsService(s) rs.Tenants = NewProjectsTenantsService(s) @@ -207,6 +208,8 @@ type ProjectsService struct { DefaultSupportedIdpConfigs *ProjectsDefaultSupportedIdpConfigsService + IdentityPlatform *ProjectsIdentityPlatformService + InboundSamlConfigs *ProjectsInboundSamlConfigsService OauthIdpConfigs *ProjectsOauthIdpConfigsService @@ -223,6 +226,15 @@ type ProjectsDefaultSupportedIdpConfigsService struct { s *Service } +func NewProjectsIdentityPlatformService(s *Service) *ProjectsIdentityPlatformService { + rs := &ProjectsIdentityPlatformService{s: s} + return rs +} + +type ProjectsIdentityPlatformService struct { + s *Service +} + func NewProjectsInboundSamlConfigsService(s *Service) *ProjectsInboundSamlConfigsService { rs := &ProjectsInboundSamlConfigsService{s: s} return rs @@ -1083,6 +1095,19 @@ func (s *GoogleCloudIdentitytoolkitAdminV2Inheritance) MarshalJSON() ([]byte, er return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest: +// Request for InitializeIdentityPlatform. +type GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest struct { +} + +// GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse: +// Response for InitializeIdentityPlatform. Empty for now. +type GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse struct { + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` +} + // GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsRespons // e: Response for DefaultSupportedIdpConfigs type GoogleCloudIdentitytoolkitAdminV2ListDefaultSupportedIdpConfigsResponse struct { @@ -2789,11 +2814,12 @@ type GoogleIamV1Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -5144,6 +5170,157 @@ func (c *ProjectsDefaultSupportedIdpConfigsPatchCall) Do(opts ...googleapi.CallO } +// method id "identitytoolkit.projects.identityPlatform.initializeAuth": + +type ProjectsIdentityPlatformInitializeAuthCall struct { + s *Service + project string + googlecloudidentitytoolkitadminv2initializeidentityplatformrequest *GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// InitializeAuth: Initialize Identity Platform for a Cloud project. +// Identity Platform is an end-to-end authentication system for +// third-party users to access your apps and services. These could +// include mobile/web apps, games, APIs and beyond. This is the publicly +// available variant of EnableIdentityPlatform that is only available to +// billing-enabled projects. +// +// - project: The resource name of the target project the developer +// wants to enable Identity Platform for. +func (r *ProjectsIdentityPlatformService) InitializeAuth(project string, googlecloudidentitytoolkitadminv2initializeidentityplatformrequest *GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest) *ProjectsIdentityPlatformInitializeAuthCall { + c := &ProjectsIdentityPlatformInitializeAuthCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.googlecloudidentitytoolkitadminv2initializeidentityplatformrequest = googlecloudidentitytoolkitadminv2initializeidentityplatformrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsIdentityPlatformInitializeAuthCall) Fields(s ...googleapi.Field) *ProjectsIdentityPlatformInitializeAuthCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsIdentityPlatformInitializeAuthCall) Context(ctx context.Context) *ProjectsIdentityPlatformInitializeAuthCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsIdentityPlatformInitializeAuthCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsIdentityPlatformInitializeAuthCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudidentitytoolkitadminv2initializeidentityplatformrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v2/{+project}/identityPlatform:initializeAuth") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "project": c.project, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "identitytoolkit.projects.identityPlatform.initializeAuth" call. +// Exactly one of +// *GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse +// or error will be non-nil. Any non-2xx status code is an error. +// Response headers are in either +// *GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse.S +// erverResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsIdentityPlatformInitializeAuthCall) Do(opts ...googleapi.CallOption) (*GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Initialize Identity Platform for a Cloud project. Identity Platform is an end-to-end authentication system for third-party users to access your apps and services. These could include mobile/web apps, games, APIs and beyond. This is the publicly available variant of EnableIdentityPlatform that is only available to billing-enabled projects.", + // "flatPath": "v2/projects/{projectsId}/identityPlatform:initializeAuth", + // "httpMethod": "POST", + // "id": "identitytoolkit.projects.identityPlatform.initializeAuth", + // "parameterOrder": [ + // "project" + // ], + // "parameters": { + // "project": { + // "description": "The resource name of the target project the developer wants to enable Identity Platform for.", + // "location": "path", + // "pattern": "^projects/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v2/{+project}/identityPlatform:initializeAuth", + // "request": { + // "$ref": "GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformRequest" + // }, + // "response": { + // "$ref": "GoogleCloudIdentitytoolkitAdminV2InitializeIdentityPlatformResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + // method id "identitytoolkit.projects.inboundSamlConfigs.create": type ProjectsInboundSamlConfigsCreateCall struct { diff --git a/ids/v1/ids-api.json b/ids/v1/ids-api.json index b562ecb2f80..074ec74a781 100644 --- a/ids/v1/ids-api.json +++ b/ids/v1/ids-api.json @@ -535,7 +535,7 @@ } } }, - "revision": "20220810", + "revision": "20220828", "rootUrl": "https://ids.googleapis.com/", "schemas": { "AuditConfig": { @@ -595,7 +595,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, @@ -686,13 +686,15 @@ "STATE_UNSPECIFIED", "CREATING", "READY", - "DELETING" + "DELETING", + "UPDATING" ], "enumDescriptions": [ "Not set.", "Being created.", "Active and ready for traffic.", - "Being deleted." + "Being deleted.", + "Being updated." ], "readOnly": true, "type": "string" diff --git a/ids/v1/ids-gen.go b/ids/v1/ids-gen.go index a0a809ee133..66176879f43 100644 --- a/ids/v1/ids-gen.go +++ b/ids/v1/ids-gen.go @@ -296,11 +296,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -417,6 +418,7 @@ type Endpoint struct { // "CREATING" - Being created. // "READY" - Active and ready for traffic. // "DELETING" - Being deleted. + // "UPDATING" - Being updated. State string `json:"state,omitempty"` // TrafficLogs: Whether the endpoint should report traffic logs in diff --git a/managedidentities/v1/managedidentities-api.json b/managedidentities/v1/managedidentities-api.json index 54ecb180af7..580dd45ddad 100644 --- a/managedidentities/v1/managedidentities-api.json +++ b/managedidentities/v1/managedidentities-api.json @@ -1403,7 +1403,7 @@ } } }, - "revision": "20220817", + "revision": "20220826", "rootUrl": "https://managedidentities.googleapis.com/", "schemas": { "AttachTrustRequest": { @@ -1496,7 +1496,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/managedidentities/v1/managedidentities-gen.go b/managedidentities/v1/managedidentities-gen.go index 12f2f9ff1fe..3123e36496f 100644 --- a/managedidentities/v1/managedidentities-gen.go +++ b/managedidentities/v1/managedidentities-gen.go @@ -342,11 +342,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/managedidentities/v1alpha1/managedidentities-api.json b/managedidentities/v1alpha1/managedidentities-api.json index ac4163079df..3d58e2587f1 100644 --- a/managedidentities/v1alpha1/managedidentities-api.json +++ b/managedidentities/v1alpha1/managedidentities-api.json @@ -1403,7 +1403,7 @@ } } }, - "revision": "20220816", + "revision": "20220826", "rootUrl": "https://managedidentities.googleapis.com/", "schemas": { "AttachTrustRequest": { @@ -1501,7 +1501,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/managedidentities/v1alpha1/managedidentities-gen.go b/managedidentities/v1alpha1/managedidentities-gen.go index 3e1292706c3..2e744d5d7f1 100644 --- a/managedidentities/v1alpha1/managedidentities-gen.go +++ b/managedidentities/v1alpha1/managedidentities-gen.go @@ -346,11 +346,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/managedidentities/v1beta1/managedidentities-api.json b/managedidentities/v1beta1/managedidentities-api.json index d604c6a1711..3a74912b570 100644 --- a/managedidentities/v1beta1/managedidentities-api.json +++ b/managedidentities/v1beta1/managedidentities-api.json @@ -209,6 +209,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "checkMigrationPermission": { + "description": "CheckMigrationPermission API gets the current state of DomainMigration", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}:checkMigrationPermission", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.checkMigrationPermission", + "parameterOrder": [ + "domain" + ], + "parameters": { + "domain": { + "description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+domain}:checkMigrationPermission", + "request": { + "$ref": "CheckMigrationPermissionRequest" + }, + "response": { + "$ref": "CheckMigrationPermissionResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "create": { "description": "Creates a Microsoft AD domain.", "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains", @@ -295,6 +323,62 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "disableMigration": { + "description": "Disable Domain Migration", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}:disableMigration", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.disableMigration", + "parameterOrder": [ + "domain" + ], + "parameters": { + "domain": { + "description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+domain}:disableMigration", + "request": { + "$ref": "DisableMigrationRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "enableMigration": { + "description": "Enable Domain Migration", + "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}:enableMigration", + "httpMethod": "POST", + "id": "managedidentities.projects.locations.global.domains.enableMigration", + "parameterOrder": [ + "domain" + ], + "parameters": { + "domain": { + "description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+domain}:enableMigration", + "request": { + "$ref": "EnableMigrationRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "extendSchema": { "description": "Extend Schema for Domain", "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}:extendSchema", @@ -1403,7 +1487,7 @@ } } }, - "revision": "20220817", + "revision": "20220826", "rootUrl": "https://managedidentities.googleapis.com/", "schemas": { "AttachTrustRequest": { @@ -1502,7 +1586,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, @@ -1552,6 +1636,42 @@ }, "type": "object" }, + "CheckMigrationPermissionRequest": { + "description": "CheckMigrationPermissionRequest is the request message for CheckMigrationPermission method.", + "id": "CheckMigrationPermissionRequest", + "properties": {}, + "type": "object" + }, + "CheckMigrationPermissionResponse": { + "description": "CheckMigrationPermissionResponse is the response message for CheckMigrationPermission method.", + "id": "CheckMigrationPermissionResponse", + "properties": { + "onpremDomains": { + "description": "The state of SID filtering of all the domains which has trust established.", + "items": { + "$ref": "OnPremDomainSIDDetails" + }, + "type": "array" + }, + "state": { + "description": "The state of DomainMigration.", + "enum": [ + "STATE_UNSPECIFIED", + "DISABLED", + "ENABLED", + "NEEDS_MAINTENANCE" + ], + "enumDescriptions": [ + "DomainMigration is in unspecified state.", + "Domain Migration is Disabled.", + "Domain Migration is Enabled.", + "Domain Migration is not in valid state." + ], + "type": "string" + } + }, + "type": "object" + }, "DailyCycle": { "description": "Time window specified for daily operations.", "id": "DailyCycle", @@ -1620,6 +1740,12 @@ }, "type": "object" }, + "DisableMigrationRequest": { + "description": "DisableMigrationRequest is the request message for DisableMigration method.", + "id": "DisableMigrationRequest", + "properties": {}, + "type": "object" + }, "Domain": { "description": "Represents a managed Microsoft Active Directory domain. If the domain is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.", "id": "Domain", @@ -1726,6 +1852,20 @@ "properties": {}, "type": "object" }, + "EnableMigrationRequest": { + "description": "EnableMigrationRequest is the request message for EnableMigration method.", + "id": "EnableMigrationRequest", + "properties": { + "migratingDomains": { + "description": "Required. List of the on-prem domains to be migrated.", + "items": { + "$ref": "OnPremDomainDetails" + }, + "type": "array" + } + }, + "type": "object" + }, "Expr": { "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() \u003c 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' \u0026\u0026 document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", "id": "Expr", @@ -2442,6 +2582,46 @@ }, "type": "object" }, + "OnPremDomainDetails": { + "description": "OnPremDomainDetails is the message which contains details of on-prem domain which is trusted and needs to be migrated.", + "id": "OnPremDomainDetails", + "properties": { + "disableSidFiltering": { + "description": "Optional. Option to disable SID filtering.", + "type": "boolean" + }, + "domainName": { + "description": "Required. FQDN of the on-prem domain being migrated.", + "type": "string" + } + }, + "type": "object" + }, + "OnPremDomainSIDDetails": { + "description": "OnPremDomainDetails is the message which contains details of on-prem domain which is trusted and needs to be migrated.", + "id": "OnPremDomainSIDDetails", + "properties": { + "name": { + "description": "FQDN of the on-prem domain being migrated.", + "type": "string" + }, + "sidFilteringState": { + "description": "Current SID filtering state.", + "enum": [ + "SID_FILTERING_STATE_UNSPECIFIED", + "ENABLED", + "DISABLED" + ], + "enumDescriptions": [ + "SID Filtering is in unspecified state.", + "SID Filtering is Enabled.", + "SID Filtering is Disabled." + ], + "type": "string" + } + }, + "type": "object" + }, "Operation": { "description": "This resource represents a long-running operation that is the result of a network API call.", "id": "Operation", diff --git a/managedidentities/v1beta1/managedidentities-gen.go b/managedidentities/v1beta1/managedidentities-gen.go index 95f2f0fa34f..f9828545eb6 100644 --- a/managedidentities/v1beta1/managedidentities-gen.go +++ b/managedidentities/v1beta1/managedidentities-gen.go @@ -347,11 +347,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -453,6 +454,54 @@ func (s *Certificate) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// CheckMigrationPermissionRequest: CheckMigrationPermissionRequest is +// the request message for CheckMigrationPermission method. +type CheckMigrationPermissionRequest struct { +} + +// CheckMigrationPermissionResponse: CheckMigrationPermissionResponse is +// the response message for CheckMigrationPermission method. +type CheckMigrationPermissionResponse struct { + // OnpremDomains: The state of SID filtering of all the domains which + // has trust established. + OnpremDomains []*OnPremDomainSIDDetails `json:"onpremDomains,omitempty"` + + // State: The state of DomainMigration. + // + // Possible values: + // "STATE_UNSPECIFIED" - DomainMigration is in unspecified state. + // "DISABLED" - Domain Migration is Disabled. + // "ENABLED" - Domain Migration is Enabled. + // "NEEDS_MAINTENANCE" - Domain Migration is not in valid state. + State string `json:"state,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "OnpremDomains") 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. "OnpremDomains") 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 *CheckMigrationPermissionResponse) MarshalJSON() ([]byte, error) { + type NoMethod CheckMigrationPermissionResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // DailyCycle: Time window specified for daily operations. type DailyCycle struct { // Duration: Output only. Duration of the time window, set by service @@ -604,6 +653,11 @@ func (s *DetachTrustRequest) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// DisableMigrationRequest: DisableMigrationRequest is the request +// message for DisableMigration method. +type DisableMigrationRequest struct { +} + // Domain: Represents a managed Microsoft Active Directory domain. If // the domain is being changed, it will be placed into the UPDATING // state, which indicates that the resource is being reconciled. At this @@ -716,6 +770,37 @@ type Empty struct { googleapi.ServerResponse `json:"-"` } +// EnableMigrationRequest: EnableMigrationRequest is the request message +// for EnableMigration method. +type EnableMigrationRequest struct { + // MigratingDomains: Required. List of the on-prem domains to be + // migrated. + MigratingDomains []*OnPremDomainDetails `json:"migratingDomains,omitempty"` + + // ForceSendFields is a list of field names (e.g. "MigratingDomains") 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. "MigratingDomains") 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 *EnableMigrationRequest) MarshalJSON() ([]byte, error) { + type NoMethod EnableMigrationRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Expr: Represents a textual expression in the Common Expression // Language (CEL) syntax. CEL is a C-like expression language. The // syntax and semantics of CEL are documented at @@ -1870,6 +1955,79 @@ func (s *MaintenanceWindow) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// OnPremDomainDetails: OnPremDomainDetails is the message which +// contains details of on-prem domain which is trusted and needs to be +// migrated. +type OnPremDomainDetails struct { + // DisableSidFiltering: Optional. Option to disable SID filtering. + DisableSidFiltering bool `json:"disableSidFiltering,omitempty"` + + // DomainName: Required. FQDN of the on-prem domain being migrated. + DomainName string `json:"domainName,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisableSidFiltering") + // 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. "DisableSidFiltering") 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 *OnPremDomainDetails) MarshalJSON() ([]byte, error) { + type NoMethod OnPremDomainDetails + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// OnPremDomainSIDDetails: OnPremDomainDetails is the message which +// contains details of on-prem domain which is trusted and needs to be +// migrated. +type OnPremDomainSIDDetails struct { + // Name: FQDN of the on-prem domain being migrated. + Name string `json:"name,omitempty"` + + // SidFilteringState: Current SID filtering state. + // + // Possible values: + // "SID_FILTERING_STATE_UNSPECIFIED" - SID Filtering is in unspecified + // state. + // "ENABLED" - SID Filtering is Enabled. + // "DISABLED" - SID Filtering is Disabled. + SidFilteringState string `json:"sidFilteringState,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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 *OnPremDomainSIDDetails) MarshalJSON() ([]byte, error) { + type NoMethod OnPremDomainSIDDetails + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Operation: This resource represents a long-running operation that is // the result of a network API call. type Operation struct { @@ -3243,6 +3401,150 @@ func (c *ProjectsLocationsGlobalDomainsAttachTrustCall) Do(opts ...googleapi.Cal } +// method id "managedidentities.projects.locations.global.domains.checkMigrationPermission": + +type ProjectsLocationsGlobalDomainsCheckMigrationPermissionCall struct { + s *Service + domain string + checkmigrationpermissionrequest *CheckMigrationPermissionRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// CheckMigrationPermission: CheckMigrationPermission API gets the +// current state of DomainMigration +// +// - domain: The domain resource name using the form: +// `projects/{project_id}/locations/global/domains/{domain_name}`. +func (r *ProjectsLocationsGlobalDomainsService) CheckMigrationPermission(domain string, checkmigrationpermissionrequest *CheckMigrationPermissionRequest) *ProjectsLocationsGlobalDomainsCheckMigrationPermissionCall { + c := &ProjectsLocationsGlobalDomainsCheckMigrationPermissionCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.domain = domain + c.checkmigrationpermissionrequest = checkmigrationpermissionrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsGlobalDomainsCheckMigrationPermissionCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalDomainsCheckMigrationPermissionCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsGlobalDomainsCheckMigrationPermissionCall) Context(ctx context.Context) *ProjectsLocationsGlobalDomainsCheckMigrationPermissionCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsGlobalDomainsCheckMigrationPermissionCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsGlobalDomainsCheckMigrationPermissionCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.checkmigrationpermissionrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+domain}:checkMigrationPermission") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "domain": c.domain, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "managedidentities.projects.locations.global.domains.checkMigrationPermission" call. +// Exactly one of *CheckMigrationPermissionResponse or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *CheckMigrationPermissionResponse.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsGlobalDomainsCheckMigrationPermissionCall) Do(opts ...googleapi.CallOption) (*CheckMigrationPermissionResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &CheckMigrationPermissionResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "CheckMigrationPermission API gets the current state of DomainMigration", + // "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}:checkMigrationPermission", + // "httpMethod": "POST", + // "id": "managedidentities.projects.locations.global.domains.checkMigrationPermission", + // "parameterOrder": [ + // "domain" + // ], + // "parameters": { + // "domain": { + // "description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1beta1/{+domain}:checkMigrationPermission", + // "request": { + // "$ref": "CheckMigrationPermissionRequest" + // }, + // "response": { + // "$ref": "CheckMigrationPermissionResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + // method id "managedidentities.projects.locations.global.domains.create": type ProjectsLocationsGlobalDomainsCreateCall struct { @@ -3681,6 +3983,292 @@ func (c *ProjectsLocationsGlobalDomainsDetachTrustCall) Do(opts ...googleapi.Cal } +// method id "managedidentities.projects.locations.global.domains.disableMigration": + +type ProjectsLocationsGlobalDomainsDisableMigrationCall struct { + s *Service + domain string + disablemigrationrequest *DisableMigrationRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// DisableMigration: Disable Domain Migration +// +// - domain: The domain resource name using the form: +// `projects/{project_id}/locations/global/domains/{domain_name}`. +func (r *ProjectsLocationsGlobalDomainsService) DisableMigration(domain string, disablemigrationrequest *DisableMigrationRequest) *ProjectsLocationsGlobalDomainsDisableMigrationCall { + c := &ProjectsLocationsGlobalDomainsDisableMigrationCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.domain = domain + c.disablemigrationrequest = disablemigrationrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsGlobalDomainsDisableMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalDomainsDisableMigrationCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsGlobalDomainsDisableMigrationCall) Context(ctx context.Context) *ProjectsLocationsGlobalDomainsDisableMigrationCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsGlobalDomainsDisableMigrationCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsGlobalDomainsDisableMigrationCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.disablemigrationrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+domain}:disableMigration") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "domain": c.domain, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "managedidentities.projects.locations.global.domains.disableMigration" call. +// Exactly one of *Operation or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified +// to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *ProjectsLocationsGlobalDomainsDisableMigrationCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Disable Domain Migration", + // "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}:disableMigration", + // "httpMethod": "POST", + // "id": "managedidentities.projects.locations.global.domains.disableMigration", + // "parameterOrder": [ + // "domain" + // ], + // "parameters": { + // "domain": { + // "description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1beta1/{+domain}:disableMigration", + // "request": { + // "$ref": "DisableMigrationRequest" + // }, + // "response": { + // "$ref": "Operation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "managedidentities.projects.locations.global.domains.enableMigration": + +type ProjectsLocationsGlobalDomainsEnableMigrationCall struct { + s *Service + domain string + enablemigrationrequest *EnableMigrationRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// EnableMigration: Enable Domain Migration +// +// - domain: The domain resource name using the form: +// `projects/{project_id}/locations/global/domains/{domain_name}`. +func (r *ProjectsLocationsGlobalDomainsService) EnableMigration(domain string, enablemigrationrequest *EnableMigrationRequest) *ProjectsLocationsGlobalDomainsEnableMigrationCall { + c := &ProjectsLocationsGlobalDomainsEnableMigrationCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.domain = domain + c.enablemigrationrequest = enablemigrationrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsGlobalDomainsEnableMigrationCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalDomainsEnableMigrationCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsGlobalDomainsEnableMigrationCall) Context(ctx context.Context) *ProjectsLocationsGlobalDomainsEnableMigrationCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsGlobalDomainsEnableMigrationCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsGlobalDomainsEnableMigrationCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.enablemigrationrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+domain}:enableMigration") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "domain": c.domain, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "managedidentities.projects.locations.global.domains.enableMigration" call. +// Exactly one of *Operation or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified +// to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *ProjectsLocationsGlobalDomainsEnableMigrationCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Enable Domain Migration", + // "flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}:enableMigration", + // "httpMethod": "POST", + // "id": "managedidentities.projects.locations.global.domains.enableMigration", + // "parameterOrder": [ + // "domain" + // ], + // "parameters": { + // "domain": { + // "description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1beta1/{+domain}:enableMigration", + // "request": { + // "$ref": "EnableMigrationRequest" + // }, + // "response": { + // "$ref": "Operation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + // method id "managedidentities.projects.locations.global.domains.extendSchema": type ProjectsLocationsGlobalDomainsExtendSchemaCall struct { diff --git a/metastore/v1alpha/metastore-api.json b/metastore/v1alpha/metastore-api.json index 73531ff2f27..6b9b78be1ad 100644 --- a/metastore/v1alpha/metastore-api.json +++ b/metastore/v1alpha/metastore-api.json @@ -1467,7 +1467,7 @@ } } }, - "revision": "20220809", + "revision": "20220830", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AuditConfig": { @@ -1634,7 +1634,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 Google service account. For example, my-other-app@appspot.gserviceaccount.com. serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: An identifier for a Kubernetes service account (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. 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. Does not include identities that come from external identity providers (IdPs) through identity federation. user:{emailid}: An email address that represents a specific Google account. For example, alice@example.com . serviceAccount:{emailid}: An email address that represents a Google service account. For example, my-other-app@appspot.gserviceaccount.com. serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: An identifier for a Kubernetes service account (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. 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" }, diff --git a/metastore/v1alpha/metastore-gen.go b/metastore/v1alpha/metastore-gen.go index 65997f6c157..e2c8a12dcb9 100644 --- a/metastore/v1alpha/metastore-gen.go +++ b/metastore/v1alpha/metastore-gen.go @@ -502,11 +502,12 @@ type Binding struct { // 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 Google - // service account. For example, - // my-other-app@appspot.gserviceaccount.com. + // account or a service account. Does not include identities that come + // from external identity providers (IdPs) through identity federation. + // user:{emailid}: An email address that represents a specific Google + // account. For example, alice@example.com . serviceAccount:{emailid}: + // An email address that represents a Google service account. For + // example, my-other-app@appspot.gserviceaccount.com. // serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: // An identifier for a Kubernetes service account // (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). diff --git a/metastore/v1beta/metastore-api.json b/metastore/v1beta/metastore-api.json index 63b110be69c..866afb6648e 100644 --- a/metastore/v1beta/metastore-api.json +++ b/metastore/v1beta/metastore-api.json @@ -1467,7 +1467,7 @@ } } }, - "revision": "20220809", + "revision": "20220830", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AuditConfig": { @@ -1634,7 +1634,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 Google service account. For example, my-other-app@appspot.gserviceaccount.com. serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: An identifier for a Kubernetes service account (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. 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. Does not include identities that come from external identity providers (IdPs) through identity federation. user:{emailid}: An email address that represents a specific Google account. For example, alice@example.com . serviceAccount:{emailid}: An email address that represents a Google service account. For example, my-other-app@appspot.gserviceaccount.com. serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: An identifier for a Kubernetes service account (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. 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" }, diff --git a/metastore/v1beta/metastore-gen.go b/metastore/v1beta/metastore-gen.go index fd2a8a873f3..0d7c7fd9db7 100644 --- a/metastore/v1beta/metastore-gen.go +++ b/metastore/v1beta/metastore-gen.go @@ -502,11 +502,12 @@ type Binding struct { // 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 Google - // service account. For example, - // my-other-app@appspot.gserviceaccount.com. + // account or a service account. Does not include identities that come + // from external identity providers (IdPs) through identity federation. + // user:{emailid}: An email address that represents a specific Google + // account. For example, alice@example.com . serviceAccount:{emailid}: + // An email address that represents a Google service account. For + // example, my-other-app@appspot.gserviceaccount.com. // serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: // An identifier for a Kubernetes service account // (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). diff --git a/ml/v1/ml-api.json b/ml/v1/ml-api.json index dd22ac2c1e3..ac43a07dfd2 100644 --- a/ml/v1/ml-api.json +++ b/ml/v1/ml-api.json @@ -1486,7 +1486,7 @@ } } }, - "revision": "20220812", + "revision": "20220826", "rootUrl": "https://ml.googleapis.com/", "schemas": { "GoogleApi__HttpBody": { @@ -3705,7 +3705,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/ml/v1/ml-gen.go b/ml/v1/ml-gen.go index 7197d2b1323..8f489c4b2e8 100644 --- a/ml/v1/ml-gen.go +++ b/ml/v1/ml-gen.go @@ -4265,11 +4265,12 @@ type GoogleIamV1__Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/monitoring/v3/monitoring-api.json b/monitoring/v3/monitoring-api.json index 04e9199ab65..84705e4553b 100644 --- a/monitoring/v3/monitoring-api.json +++ b/monitoring/v3/monitoring-api.json @@ -2099,6 +2099,11 @@ "parent" ], "parameters": { + "filter": { + "description": "If provided, this field specifies the criteria that must be met by uptime checks to be included in the response.For more details, see Filtering syntax (https://cloud.google.com/monitoring/api/v3/sorting-and-filtering#filter_syntax).", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of results to return in a single response. The server may further constrain the maximum number of results returned in a single page. If the page_size is \u003c=0, the server will decide the number of results to be returned.", "format": "int32", @@ -2571,7 +2576,7 @@ } } }, - "revision": "20220806", + "revision": "20220826", "rootUrl": "https://monitoring.googleapis.com/", "schemas": { "Aggregation": { @@ -3659,6 +3664,10 @@ "description": "Optional (defaults to \"/\"). The path to the page against which to run the check. Will be combined with the host (specified within the monitored_resource) and port to construct the full URL. If the provided path does not begin with \"/\", a \"/\" will be prepended automatically.", "type": "string" }, + "pingConfig": { + "$ref": "PingConfig", + "description": "Contains information needed to add pings to an HTTP check." + }, "port": { "description": "Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the monitored_resource) and path to construct the full URL.", "format": "int32", @@ -4799,6 +4808,18 @@ }, "type": "object" }, + "PingConfig": { + "description": "Information involved in sending ICMP pings alongside public HTTP/TCP checks. For HTTP, the pings are performed for each part of the redirect chain.", + "id": "PingConfig", + "properties": { + "pingsCount": { + "description": "Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "Point": { "description": "A single data point in a time series.", "id": "Point", @@ -5176,6 +5197,10 @@ "description": "Information required for a TCP Uptime check request.", "id": "TcpCheck", "properties": { + "pingConfig": { + "$ref": "PingConfig", + "description": "Contains information needed to add pings to a TCP check." + }, "port": { "description": "The TCP port on the server against which to run the check. Will be combined with host (specified within the monitored_resource) to construct the full URL. Required.", "format": "int32", diff --git a/monitoring/v3/monitoring-gen.go b/monitoring/v3/monitoring-gen.go index 62f4e2ee213..081ab46bc6e 100644 --- a/monitoring/v3/monitoring-gen.go +++ b/monitoring/v3/monitoring-gen.go @@ -2469,6 +2469,10 @@ type HttpCheck struct { // automatically. Path string `json:"path,omitempty"` + // PingConfig: Contains information needed to add pings to an HTTP + // check. + PingConfig *PingConfig `json:"pingConfig,omitempty"` + // Port: Optional (defaults to 80 when use_ssl is false, and 443 when // use_ssl is true). The TCP port on the HTTP server against which to // run the check. Will be combined with host (specified within the @@ -4662,6 +4666,37 @@ func (s *PerformanceThreshold) UnmarshalJSON(data []byte) error { return nil } +// PingConfig: Information involved in sending ICMP pings alongside +// public HTTP/TCP checks. For HTTP, the pings are performed for each +// part of the redirect chain. +type PingConfig struct { + // PingsCount: Number of ICMP pings. A maximum of 3 ICMP pings is + // currently supported. + PingsCount int64 `json:"pingsCount,omitempty"` + + // ForceSendFields is a list of field names (e.g. "PingsCount") 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. "PingsCount") 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 *PingConfig) MarshalJSON() ([]byte, error) { + type NoMethod PingConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Point: A single data point in a time series. type Point struct { // Interval: The time interval to which the data point applies. For @@ -5340,12 +5375,15 @@ func (s *Status) MarshalJSON() ([]byte, error) { // TcpCheck: Information required for a TCP Uptime check request. type TcpCheck struct { + // PingConfig: Contains information needed to add pings to a TCP check. + PingConfig *PingConfig `json:"pingConfig,omitempty"` + // Port: The TCP port on the server against which to run the check. Will // be combined with host (specified within the monitored_resource) to // construct the full URL. Required. Port int64 `json:"port,omitempty"` - // ForceSendFields is a list of field names (e.g. "Port") to + // ForceSendFields is a list of field names (e.g. "PingConfig") 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 @@ -5353,8 +5391,8 @@ type TcpCheck struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Port") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "PingConfig") 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. @@ -15185,6 +15223,15 @@ func (r *ProjectsUptimeCheckConfigsService) List(parent string) *ProjectsUptimeC return c } +// Filter sets the optional parameter "filter": If provided, this field +// specifies the criteria that must be met by uptime checks to be +// included in the response.For more details, see Filtering syntax +// (https://cloud.google.com/monitoring/api/v3/sorting-and-filtering#filter_syntax). +func (c *ProjectsUptimeCheckConfigsListCall) Filter(filter string) *ProjectsUptimeCheckConfigsListCall { + c.urlParams_.Set("filter", filter) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number // of results to return in a single response. The server may further // constrain the maximum number of results returned in a single page. If @@ -15311,6 +15358,11 @@ func (c *ProjectsUptimeCheckConfigsListCall) Do(opts ...googleapi.CallOption) (* // "parent" // ], // "parameters": { + // "filter": { + // "description": "If provided, this field specifies the criteria that must be met by uptime checks to be included in the response.For more details, see Filtering syntax (https://cloud.google.com/monitoring/api/v3/sorting-and-filtering#filter_syntax).", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "The maximum number of results to return in a single response. The server may further constrain the maximum number of results returned in a single page. If the page_size is \u003c=0, the server will decide the number of results to be returned.", // "format": "int32", diff --git a/mybusinessplaceactions/v1/mybusinessplaceactions-api.json b/mybusinessplaceactions/v1/mybusinessplaceactions-api.json index 79a6e61b306..93df69531cd 100644 --- a/mybusinessplaceactions/v1/mybusinessplaceactions-api.json +++ b/mybusinessplaceactions/v1/mybusinessplaceactions-api.json @@ -281,119 +281,15 @@ } } }, - "revision": "20220813", + "revision": "20220904", "rootUrl": "https://mybusinessplaceactions.googleapis.com/", "schemas": { - "AvailableDay": { - "description": "Day level availability.", - "id": "AvailableDay", - "properties": { - "fulfillmentDate": { - "$ref": "Date", - "description": "An available date for a fulfillment method. Assumed to be in merchant's timezone." - }, - "lastOrderingTime": { - "description": "Unix timestamp. The last time till when, a user could place an order to be received by `fulfillment_date`. In other words, after last_ordering_time, fulfillment_date will no longer be shown as available.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "Date": { - "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", - "id": "Date", - "properties": { - "day": { - "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", - "format": "int32", - "type": "integer" - }, - "month": { - "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", - "format": "int32", - "type": "integer" - }, - "year": { - "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "id": "Empty", "properties": {}, "type": "object" }, - "FeeDetails": { - "description": "Fee details for the fulfillment method associated with the action.", - "id": "FeeDetails", - "properties": { - "baseFee": { - "$ref": "MinimumFee", - "description": "The base fee associated with the fulfillment method." - }, - "fixedFee": { - "$ref": "FixedFee", - "description": "The fixed fee associated with the fulfillment method." - }, - "noFee": { - "$ref": "NoFee", - "description": "No fee for the fulfillment method." - } - }, - "type": "object" - }, - "FixedFee": { - "description": "The fixed fee required for the fulfillment method.", - "id": "FixedFee", - "properties": { - "amount": { - "$ref": "Money", - "description": "The amount of the fixed fee for the fulfillment method." - } - }, - "type": "object" - }, - "FulfillmentOption": { - "description": "The fulfillment option for an order online action.", - "id": "FulfillmentOption", - "properties": { - "availableDay": { - "description": "A list of days on which there is availability for this fulfillment method (preferably at least 2).", - "items": { - "$ref": "AvailableDay" - }, - "type": "array" - }, - "feeDetails": { - "$ref": "FeeDetails", - "description": "Fee details for the fulfillment method." - }, - "fulfillmentType": { - "description": "Fulfillment type", - "enum": [ - "FULFILLMENT_TYPE_UNSPECIFIED", - "FULFILLMENT_TYPE_DELIVERY", - "FULFILLMENT_TYPE_PICKUP" - ], - "enumDescriptions": [ - "The fulfillment type is unspecified.", - "The fulfillment type is delivery.", - "The fulfillment type is pickup." - ], - "type": "string" - }, - "minimumOrder": { - "$ref": "Money", - "description": "Minimum order for the fulfillment method associated with the action." - } - }, - "type": "object" - }, "ListPlaceActionLinksResponse": { "description": "Response message for PlaceActions.ListPlaceActionLinks.", "id": "ListPlaceActionLinksResponse", @@ -430,58 +326,6 @@ }, "type": "object" }, - "MinimumFee": { - "description": "The minimum fee required for the fulfillment method.", - "id": "MinimumFee", - "properties": { - "baseFeeAmount": { - "$ref": "Money", - "description": "The base fee amount for the fulfillment method." - } - }, - "type": "object" - }, - "Money": { - "description": "Represents an amount of money with its currency type.", - "id": "Money", - "properties": { - "currencyCode": { - "description": "The three-letter currency code defined in ISO 4217.", - "type": "string" - }, - "nanos": { - "description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", - "format": "int32", - "type": "integer" - }, - "units": { - "description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "NoFee": { - "description": "No fee required for the fulfillment method associated with the action.", - "id": "NoFee", - "properties": {}, - "type": "object" - }, - "OrderOnlineMetadata": { - "description": "Client version of the metadata for an order online action.", - "id": "OrderOnlineMetadata", - "properties": { - "fulfillmentOption": { - "description": "Available fulfillment options for an order online action.", - "items": { - "$ref": "FulfillmentOption" - }, - "type": "array" - } - }, - "type": "object" - }, "PlaceActionLink": { "description": "Represents a place action link and its attributes.", "id": "PlaceActionLink", @@ -505,10 +349,6 @@ "description": "Optional. The resource name, in the format `locations/{location_id}/placeActionLinks/{place_action_link_id}`. The name field will only be considered in UpdatePlaceActionLink and DeletePlaceActionLink requests for updating and deleting links respectively. However, it will be ignored in CreatePlaceActionLink request, where `place_action_link_id` will be assigned by the server on successful creation of a new link and returned as part of the response.", "type": "string" }, - "orderOnlineMetadata": { - "$ref": "OrderOnlineMetadata", - "description": "Optional. Metadata for the order online link. Supports action with PlaceActionType of SHOP_ONLINE." - }, "placeActionType": { "description": "Required. The type of place action that can be performed using this link.", "enum": [ @@ -518,8 +358,7 @@ "DINING_RESERVATION", "FOOD_ORDERING", "FOOD_DELIVERY", - "FOOD_TAKEOUT", - "SHOP_ONLINE" + "FOOD_TAKEOUT" ], "enumDescriptions": [ "Not specified.", @@ -528,8 +367,7 @@ "The action type is making a dining reservation.", "The action type is ordering food for delivery and/or takeout.", "The action type is ordering food for delivery.", - "The action type is ordering food for takeout.", - "The action type is shopping, that can be delivery and/or pickup." + "The action type is ordering food for takeout." ], "type": "string" }, @@ -578,8 +416,7 @@ "DINING_RESERVATION", "FOOD_ORDERING", "FOOD_DELIVERY", - "FOOD_TAKEOUT", - "SHOP_ONLINE" + "FOOD_TAKEOUT" ], "enumDescriptions": [ "Not specified.", @@ -588,8 +425,7 @@ "The action type is making a dining reservation.", "The action type is ordering food for delivery and/or takeout.", "The action type is ordering food for delivery.", - "The action type is ordering food for takeout.", - "The action type is shopping, that can be delivery and/or pickup." + "The action type is ordering food for takeout." ], "type": "string" } diff --git a/mybusinessplaceactions/v1/mybusinessplaceactions-gen.go b/mybusinessplaceactions/v1/mybusinessplaceactions-gen.go index 4fdccf1a32b..b88752ceb0b 100644 --- a/mybusinessplaceactions/v1/mybusinessplaceactions-gen.go +++ b/mybusinessplaceactions/v1/mybusinessplaceactions-gen.go @@ -158,89 +158,6 @@ type PlaceActionTypeMetadataService struct { s *Service } -// AvailableDay: Day level availability. -type AvailableDay struct { - // FulfillmentDate: An available date for a fulfillment method. Assumed - // to be in merchant's timezone. - FulfillmentDate *Date `json:"fulfillmentDate,omitempty"` - - // LastOrderingTime: Unix timestamp. The last time till when, a user - // could place an order to be received by `fulfillment_date`. In other - // words, after last_ordering_time, fulfillment_date will no longer be - // shown as available. - LastOrderingTime string `json:"lastOrderingTime,omitempty"` - - // ForceSendFields is a list of field names (e.g. "FulfillmentDate") 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. "FulfillmentDate") 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 *AvailableDay) MarshalJSON() ([]byte, error) { - type NoMethod AvailableDay - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Date: Represents a whole or partial calendar date, such as a -// birthday. The time of day and time zone are either specified -// elsewhere or are insignificant. The date is relative to the Gregorian -// Calendar. This can represent one of the following: * A full date, -// with non-zero year, month, and day values. * A month and day, with a -// zero year (for example, an anniversary). * A year on its own, with a -// zero month and a zero day. * A year and month, with a zero day (for -// example, a credit card expiration date). Related types: * -// google.type.TimeOfDay * google.type.DateTime * -// google.protobuf.Timestamp -type Date struct { - // Day: Day of a month. Must be from 1 to 31 and valid for the year and - // month, or 0 to specify a year by itself or a year and month where the - // day isn't significant. - Day int64 `json:"day,omitempty"` - - // Month: Month of a year. Must be from 1 to 12, or 0 to specify a year - // without a month and day. - Month int64 `json:"month,omitempty"` - - // Year: Year of the date. Must be from 1 to 9999, or 0 to specify a - // date without a year. - Year int64 `json:"year,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Day") 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. "Day") 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 *Date) MarshalJSON() ([]byte, error) { - type NoMethod Date - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - // Empty: A generic empty message that you can re-use to avoid defining // duplicated empty messages in your APIs. A typical example is to use // it as the request or the response type of an API method. For @@ -252,114 +169,6 @@ type Empty struct { googleapi.ServerResponse `json:"-"` } -// FeeDetails: Fee details for the fulfillment method associated with -// the action. -type FeeDetails struct { - // BaseFee: The base fee associated with the fulfillment method. - BaseFee *MinimumFee `json:"baseFee,omitempty"` - - // FixedFee: The fixed fee associated with the fulfillment method. - FixedFee *FixedFee `json:"fixedFee,omitempty"` - - // NoFee: No fee for the fulfillment method. - NoFee *NoFee `json:"noFee,omitempty"` - - // ForceSendFields is a list of field names (e.g. "BaseFee") 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. "BaseFee") 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 *FeeDetails) MarshalJSON() ([]byte, error) { - type NoMethod FeeDetails - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// FixedFee: The fixed fee required for the fulfillment method. -type FixedFee struct { - // Amount: The amount of the fixed fee for the fulfillment method. - Amount *Money `json:"amount,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Amount") 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. "Amount") 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 *FixedFee) MarshalJSON() ([]byte, error) { - type NoMethod FixedFee - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// FulfillmentOption: The fulfillment option for an order online action. -type FulfillmentOption struct { - // AvailableDay: A list of days on which there is availability for this - // fulfillment method (preferably at least 2). - AvailableDay []*AvailableDay `json:"availableDay,omitempty"` - - // FeeDetails: Fee details for the fulfillment method. - FeeDetails *FeeDetails `json:"feeDetails,omitempty"` - - // FulfillmentType: Fulfillment type - // - // Possible values: - // "FULFILLMENT_TYPE_UNSPECIFIED" - The fulfillment type is - // unspecified. - // "FULFILLMENT_TYPE_DELIVERY" - The fulfillment type is delivery. - // "FULFILLMENT_TYPE_PICKUP" - The fulfillment type is pickup. - FulfillmentType string `json:"fulfillmentType,omitempty"` - - // MinimumOrder: Minimum order for the fulfillment method associated - // with the action. - MinimumOrder *Money `json:"minimumOrder,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AvailableDay") 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. "AvailableDay") 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 *FulfillmentOption) MarshalJSON() ([]byte, error) { - type NoMethod FulfillmentOption - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - // ListPlaceActionLinksResponse: Response message for // PlaceActions.ListPlaceActionLinks. type ListPlaceActionLinksResponse struct { @@ -439,110 +248,6 @@ func (s *ListPlaceActionTypeMetadataResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// MinimumFee: The minimum fee required for the fulfillment method. -type MinimumFee struct { - // BaseFeeAmount: The base fee amount for the fulfillment method. - BaseFeeAmount *Money `json:"baseFeeAmount,omitempty"` - - // ForceSendFields is a list of field names (e.g. "BaseFeeAmount") 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. "BaseFeeAmount") 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 *MinimumFee) MarshalJSON() ([]byte, error) { - type NoMethod MinimumFee - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// Money: Represents an amount of money with its currency type. -type Money struct { - // CurrencyCode: The three-letter currency code defined in ISO 4217. - CurrencyCode string `json:"currencyCode,omitempty"` - - // Nanos: Number of nano (10^-9) units of the amount. The value must be - // between -999,999,999 and +999,999,999 inclusive. If `units` is - // positive, `nanos` must be positive or zero. If `units` is zero, - // `nanos` can be positive, zero, or negative. If `units` is negative, - // `nanos` must be negative or zero. For example $-1.75 is represented - // as `units`=-1 and `nanos`=-750,000,000. - Nanos int64 `json:"nanos,omitempty"` - - // Units: The whole units of the amount. For example if `currencyCode` - // is "USD", then 1 unit is one US dollar. - Units int64 `json:"units,omitempty,string"` - - // ForceSendFields is a list of field names (e.g. "CurrencyCode") 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. "CurrencyCode") 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 *Money) MarshalJSON() ([]byte, error) { - type NoMethod Money - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// NoFee: No fee required for the fulfillment method associated with the -// action. -type NoFee struct { -} - -// OrderOnlineMetadata: Client version of the metadata for an order -// online action. -type OrderOnlineMetadata struct { - // FulfillmentOption: Available fulfillment options for an order online - // action. - FulfillmentOption []*FulfillmentOption `json:"fulfillmentOption,omitempty"` - - // ForceSendFields is a list of field names (e.g. "FulfillmentOption") - // 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. "FulfillmentOption") 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 *OrderOnlineMetadata) MarshalJSON() ([]byte, error) { - type NoMethod OrderOnlineMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - // PlaceActionLink: Represents a place action link and its attributes. type PlaceActionLink struct { // CreateTime: Output only. The time when the place action link was @@ -570,10 +275,6 @@ type PlaceActionLink struct { // response. Name string `json:"name,omitempty"` - // OrderOnlineMetadata: Optional. Metadata for the order online link. - // Supports action with PlaceActionType of SHOP_ONLINE. - OrderOnlineMetadata *OrderOnlineMetadata `json:"orderOnlineMetadata,omitempty"` - // PlaceActionType: Required. The type of place action that can be // performed using this link. // @@ -588,8 +289,6 @@ type PlaceActionLink struct { // and/or takeout. // "FOOD_DELIVERY" - The action type is ordering food for delivery. // "FOOD_TAKEOUT" - The action type is ordering food for takeout. - // "SHOP_ONLINE" - The action type is shopping, that can be delivery - // and/or pickup. PlaceActionType string `json:"placeActionType,omitempty"` // ProviderType: Output only. Specifies the provider type. @@ -658,8 +357,6 @@ type PlaceActionTypeMetadata struct { // and/or takeout. // "FOOD_DELIVERY" - The action type is ordering food for delivery. // "FOOD_TAKEOUT" - The action type is ordering food for takeout. - // "SHOP_ONLINE" - The action type is shopping, that can be delivery - // and/or pickup. PlaceActionType string `json:"placeActionType,omitempty"` // ForceSendFields is a list of field names (e.g. "DisplayName") to diff --git a/networkservices/v1/networkservices-api.json b/networkservices/v1/networkservices-api.json index 339307e50ac..560f1ca64a1 100644 --- a/networkservices/v1/networkservices-api.json +++ b/networkservices/v1/networkservices-api.json @@ -2148,7 +2148,7 @@ } } }, - "revision": "20220809", + "revision": "20220825", "rootUrl": "https://networkservices.googleapis.com/", "schemas": { "AuditConfig": { @@ -2208,7 +2208,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, @@ -3614,11 +3614,11 @@ "type": "object" }, "name": { - "description": "Required. Name of the ServiceBinding resource. It matches pattern `projects/*/locations/global/serviceBindings/service_binding_name\u003e`.", + "description": "Required. Name of the ServiceBinding resource. It matches pattern `projects/*/locations/global/serviceBindings/service_binding_name`.", "type": "string" }, "service": { - "description": "Required. The full service directory service name of the format /projects/*/locations/*/namespaces/*/services/*", + "description": "Required. The full Service Directory Service name of the format projects/*/locations/*/namespaces/*/services/*", "type": "string" }, "updateTime": { diff --git a/networkservices/v1/networkservices-gen.go b/networkservices/v1/networkservices-gen.go index b99822b1e81..95311a516a1 100644 --- a/networkservices/v1/networkservices-gen.go +++ b/networkservices/v1/networkservices-gen.go @@ -416,11 +416,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -2917,11 +2918,11 @@ type ServiceBinding struct { // Name: Required. Name of the ServiceBinding resource. It matches // pattern - // `projects/*/locations/global/serviceBindings/service_binding_name>`. + // `projects/*/locations/global/serviceBindings/service_binding_name`. Name string `json:"name,omitempty"` - // Service: Required. The full service directory service name of the - // format /projects/*/locations/*/namespaces/*/services/* + // Service: Required. The full Service Directory Service name of the + // format projects/*/locations/*/namespaces/*/services/* Service string `json:"service,omitempty"` // UpdateTime: Output only. The timestamp when the resource was updated. diff --git a/networkservices/v1beta1/networkservices-api.json b/networkservices/v1beta1/networkservices-api.json index d0dbafebd93..ab5d47a22a1 100644 --- a/networkservices/v1beta1/networkservices-api.json +++ b/networkservices/v1beta1/networkservices-api.json @@ -1875,7 +1875,7 @@ } } }, - "revision": "20220809", + "revision": "20220825", "rootUrl": "https://networkservices.googleapis.com/", "schemas": { "AuditConfig": { @@ -1935,7 +1935,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, @@ -3341,11 +3341,11 @@ "type": "object" }, "name": { - "description": "Required. Name of the ServiceBinding resource. It matches pattern `projects/*/locations/global/serviceBindings/service_binding_name\u003e`.", + "description": "Required. Name of the ServiceBinding resource. It matches pattern `projects/*/locations/global/serviceBindings/service_binding_name`.", "type": "string" }, "service": { - "description": "Required. The full service directory service name of the format /projects/*/locations/*/namespaces/*/services/*", + "description": "Required. The full Service Directory Service name of the format projects/*/locations/*/namespaces/*/services/*", "type": "string" }, "updateTime": { diff --git a/networkservices/v1beta1/networkservices-gen.go b/networkservices/v1beta1/networkservices-gen.go index a989c03cb42..a0342206fac 100644 --- a/networkservices/v1beta1/networkservices-gen.go +++ b/networkservices/v1beta1/networkservices-gen.go @@ -380,11 +380,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -2880,11 +2881,11 @@ type ServiceBinding struct { // Name: Required. Name of the ServiceBinding resource. It matches // pattern - // `projects/*/locations/global/serviceBindings/service_binding_name>`. + // `projects/*/locations/global/serviceBindings/service_binding_name`. Name string `json:"name,omitempty"` - // Service: Required. The full service directory service name of the - // format /projects/*/locations/*/namespaces/*/services/* + // Service: Required. The full Service Directory Service name of the + // format projects/*/locations/*/namespaces/*/services/* Service string `json:"service,omitempty"` // UpdateTime: Output only. The timestamp when the resource was updated. diff --git a/notebooks/v1/notebooks-api.json b/notebooks/v1/notebooks-api.json index 99073adb139..4eee7463caf 100644 --- a/notebooks/v1/notebooks-api.json +++ b/notebooks/v1/notebooks-api.json @@ -1820,7 +1820,7 @@ } } }, - "revision": "20220729", + "revision": "20220830", "rootUrl": "https://notebooks.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -1876,7 +1876,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 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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, @@ -3277,7 +3277,7 @@ ], "enumDescriptions": [ "Accelerator type is not specified.", - "Accelerator type is Nvidia Tesla K80.", + "b/241005111 K80 deprecation in Google Managed Notebooks Accelerator type is Nvidia Tesla K80.", "Accelerator type is Nvidia Tesla P100.", "Accelerator type is Nvidia Tesla V100.", "Accelerator type is Nvidia Tesla P4.", diff --git a/notebooks/v1/notebooks-gen.go b/notebooks/v1/notebooks-gen.go index d321035c597..00e32fcb8f5 100644 --- a/notebooks/v1/notebooks-gen.go +++ b/notebooks/v1/notebooks-gen.go @@ -298,19 +298,24 @@ type Binding struct { // `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. * + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, + // `my-other-app@appspot.gserviceaccount.com`. * + // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: + // An identifier for a Kubernetes service account + // (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). + // For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. + // * `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, @@ -2420,7 +2425,8 @@ type RuntimeAcceleratorConfig struct { // // Possible values: // "ACCELERATOR_TYPE_UNSPECIFIED" - Accelerator type is not specified. - // "NVIDIA_TESLA_K80" - Accelerator type is Nvidia Tesla K80. + // "NVIDIA_TESLA_K80" - b/241005111 K80 deprecation in Google Managed + // Notebooks Accelerator type is Nvidia Tesla K80. // "NVIDIA_TESLA_P100" - Accelerator type is Nvidia Tesla P100. // "NVIDIA_TESLA_V100" - Accelerator type is Nvidia Tesla V100. // "NVIDIA_TESLA_P4" - Accelerator type is Nvidia Tesla P4. diff --git a/paymentsresellersubscription/v1/paymentsresellersubscription-api.json b/paymentsresellersubscription/v1/paymentsresellersubscription-api.json index 086dbe6250a..7617e7eef5d 100644 --- a/paymentsresellersubscription/v1/paymentsresellersubscription-api.json +++ b/paymentsresellersubscription/v1/paymentsresellersubscription-api.json @@ -110,7 +110,7 @@ ], "parameters": { "filter": { - "description": "Optional. Specifies the filters for the products results. The syntax defined in the EBNF grammar: https://google.aip.dev/assets/misc/ebnf-filtering.txt. An error will be thrown if any specified parameter is not supported. Currently, it can only be used by Youtube partners. Allowed parameters are: - regionCodes - zipCode - eligibilityId Multiple parameters can be specified, for example: \"regionCodes=US zipCode=94043 eligibilityId=2022H1Campaign\"", + "description": "Optional. Specifies the filters for the product results. The syntax is defined in https://google.aip.dev/160 with the following caveats: - Only the following features are supported: - Logical operator `AND` - Comparison operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (no wildcards `*`) - Only the following fields are supported: - `region_codes` - `youtube_payload.partner_eligibility_id` - `youtube_payload.postal_code` - Unless explicitly mentioned above, other features are not supported. Example: `region_codes:US AND youtube_payload.postal_code=94043 AND youtube_payload.partner_eligibility_id=eligibility-id`", "location": "query", "type": "string" }, @@ -177,7 +177,7 @@ ], "parameters": { "filter": { - "description": "Optional. Specifies the filters for the promotion results. The syntax defined in the EBNF grammar: https://google.aip.dev/assets/misc/ebnf-filtering.txt. An error will be thrown if the specified parameter(s) is not supported. Currently, it can only be used by Youtube partners. Allowed parameters are: - region_codes: \"US\" - zip_code: \"94043\" - eligibility_id: \"2022H1Campaign\" Multiple parameters can be specified, for example: \"region_codes=US zip_code=94043 eligibility_id=2022H1Campaign\"", + "description": "Optional. Specifies the filters for the promotion results. The syntax is defined in https://google.aip.dev/160 with the following caveats: - Only the following features are supported: - Logical operator `AND` - Comparison operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (no wildcards `*`) - Only the following fields are supported: - `applicable_products` - `region_codes` - `youtube_payload.partner_eligibility_id` - `youtube_payload.postal_code` - Unless explicitly mentioned above, other features are not supported. Example: `applicable_products:partners/partner1/products/product1 AND region_codes:US AND youtube_payload.postal_code=94043 AND youtube_payload.partner_eligibility_id=eligibility-id`", "location": "query", "type": "string" }, @@ -396,7 +396,7 @@ } } }, - "revision": "20220706", + "revision": "20220902", "rootUrl": "https://paymentsresellersubscription.googleapis.com/", "schemas": { "GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest": { @@ -543,7 +543,7 @@ "id": "GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest", "properties": { "filter": { - "description": "Optional. Specifies the filters for the promotion results. The syntax defined in the EBNF grammar: https://google.aip.dev/assets/misc/ebnf-filtering.txt. An error will be thrown if any specified parameter is not supported. Currently, it can only be used by Youtube partners. Allowed parameters are: - regionCodes - zipCode - eligibilityId - applicableProducts Multiple parameters can be specified, for example: \"regionCodes=US zipCode=94043 eligibilityId=2022H1Campaign\", or \"applicableProducts=partners/p1/products/product2\"", + "description": "Optional. Specifies the filters for the promotion results. The syntax is defined in https://google.aip.dev/160 with the following caveats: - Only the following features are supported: - Logical operator `AND` - Comparison operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (no wildcards `*`) - Only the following fields are supported: - `applicable_products` - `region_codes` - `youtube_payload.partner_eligibility_id` - `youtube_payload.postal_code` - Unless explicitly mentioned above, other features are not supported. Example: `applicable_products:partners/partner1/products/product1 AND region_codes:US AND youtube_payload.postal_code=94043 AND youtube_payload.partner_eligibility_id=eligibility-id`", "type": "string" }, "pageSize": { @@ -811,8 +811,7 @@ "type": "array" }, "name": { - "description": "Output only. Response only. Resource name of the subscription. It will have the format of \"partners/{partner_id}/subscriptions/{subscription_id}\"", - "readOnly": true, + "description": "Optional. Resource name of the subscription. It will have the format of \"partners/{partner_id}/subscriptions/{subscription_id}\". This is available for authorizeAddon, but otherwise is response only.", "type": "string" }, "partnerUserToken": { diff --git a/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go b/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go index 5257cea22e6..f57b2f1efb2 100644 --- a/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go +++ b/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go @@ -448,14 +448,17 @@ func (s *GoogleCloudPaymentsResellerSubscriptionV1Extension) MarshalJSON() ([]by type GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest struct { // Filter: Optional. Specifies the filters for the promotion results. - // The syntax defined in the EBNF grammar: - // https://google.aip.dev/assets/misc/ebnf-filtering.txt. An error will - // be thrown if any specified parameter is not supported. Currently, it - // can only be used by Youtube partners. Allowed parameters are: - - // regionCodes - zipCode - eligibilityId - applicableProducts Multiple - // parameters can be specified, for example: "regionCodes=US - // zipCode=94043 eligibilityId=2022H1Campaign", or - // "applicableProducts=partners/p1/products/product2" + // The syntax is defined in https://google.aip.dev/160 with the + // following caveats: - Only the following features are supported: - + // Logical operator `AND` - Comparison operator `=` (no wildcards `*`) - + // Traversal operator `.` - Has operator `:` (no wildcards `*`) - Only + // the following fields are supported: - `applicable_products` - + // `region_codes` - `youtube_payload.partner_eligibility_id` - + // `youtube_payload.postal_code` - Unless explicitly mentioned above, + // other features are not supported. Example: + // `applicable_products:partners/partner1/products/product1 AND + // region_codes:US AND youtube_payload.postal_code=94043 AND + // youtube_payload.partner_eligibility_id=eligibility-id` Filter string `json:"filter,omitempty"` // PageSize: Optional. The maximum number of promotions to return. The @@ -876,9 +879,9 @@ type GoogleCloudPaymentsResellerSubscriptionV1Subscription struct { // LineItems: Required. The line items of the subscription. LineItems []*GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem `json:"lineItems,omitempty"` - // Name: Output only. Response only. Resource name of the subscription. - // It will have the format of - // "partners/{partner_id}/subscriptions/{subscription_id}" + // Name: Optional. Resource name of the subscription. It will have the + // format of "partners/{partner_id}/subscriptions/{subscription_id}". + // This is available for authorizeAddon, but otherwise is response only. Name string `json:"name,omitempty"` // PartnerUserToken: Required. Identifier of the end-user in partner’s @@ -1333,13 +1336,17 @@ func (r *PartnersProductsService) List(parent string) *PartnersProductsListCall } // Filter sets the optional parameter "filter": Specifies the filters -// for the products results. The syntax defined in the EBNF grammar: -// https://google.aip.dev/assets/misc/ebnf-filtering.txt. An error will -// be thrown if any specified parameter is not supported. Currently, it -// can only be used by Youtube partners. Allowed parameters are: - -// regionCodes - zipCode - eligibilityId Multiple parameters can be -// specified, for example: "regionCodes=US zipCode=94043 -// eligibilityId=2022H1Campaign" +// for the product results. The syntax is defined in +// https://google.aip.dev/160 with the following caveats: - Only the +// following features are supported: - Logical operator `AND` - +// Comparison operator `=` (no wildcards `*`) - Traversal operator `.` - +// Has operator `:` (no wildcards `*`) - Only the following fields are +// supported: - `region_codes` - +// `youtube_payload.partner_eligibility_id` - +// `youtube_payload.postal_code` - Unless explicitly mentioned above, +// other features are not supported. Example: `region_codes:US AND +// youtube_payload.postal_code=94043 AND +// youtube_payload.partner_eligibility_id=eligibility-id` func (c *PartnersProductsListCall) Filter(filter string) *PartnersProductsListCall { c.urlParams_.Set("filter", filter) return c @@ -1475,7 +1482,7 @@ func (c *PartnersProductsListCall) Do(opts ...googleapi.CallOption) (*GoogleClou // ], // "parameters": { // "filter": { - // "description": "Optional. Specifies the filters for the products results. The syntax defined in the EBNF grammar: https://google.aip.dev/assets/misc/ebnf-filtering.txt. An error will be thrown if any specified parameter is not supported. Currently, it can only be used by Youtube partners. Allowed parameters are: - regionCodes - zipCode - eligibilityId Multiple parameters can be specified, for example: \"regionCodes=US zipCode=94043 eligibilityId=2022H1Campaign\"", + // "description": "Optional. Specifies the filters for the product results. The syntax is defined in https://google.aip.dev/160 with the following caveats: - Only the following features are supported: - Logical operator `AND` - Comparison operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (no wildcards `*`) - Only the following fields are supported: - `region_codes` - `youtube_payload.partner_eligibility_id` - `youtube_payload.postal_code` - Unless explicitly mentioned above, other features are not supported. Example: `region_codes:US AND youtube_payload.postal_code=94043 AND youtube_payload.partner_eligibility_id=eligibility-id`", // "location": "query", // "type": "string" // }, @@ -1719,13 +1726,18 @@ func (r *PartnersPromotionsService) List(parent string) *PartnersPromotionsListC } // Filter sets the optional parameter "filter": Specifies the filters -// for the promotion results. The syntax defined in the EBNF grammar: -// https://google.aip.dev/assets/misc/ebnf-filtering.txt. An error will -// be thrown if the specified parameter(s) is not supported. Currently, -// it can only be used by Youtube partners. Allowed parameters are: - -// region_codes: "US" - zip_code: "94043" - eligibility_id: -// "2022H1Campaign" Multiple parameters can be specified, for example: -// "region_codes=US zip_code=94043 eligibility_id=2022H1Campaign" +// for the promotion results. The syntax is defined in +// https://google.aip.dev/160 with the following caveats: - Only the +// following features are supported: - Logical operator `AND` - +// Comparison operator `=` (no wildcards `*`) - Traversal operator `.` - +// Has operator `:` (no wildcards `*`) - Only the following fields are +// supported: - `applicable_products` - `region_codes` - +// `youtube_payload.partner_eligibility_id` - +// `youtube_payload.postal_code` - Unless explicitly mentioned above, +// other features are not supported. Example: +// `applicable_products:partners/partner1/products/product1 AND +// region_codes:US AND youtube_payload.postal_code=94043 AND +// youtube_payload.partner_eligibility_id=eligibility-id` func (c *PartnersPromotionsListCall) Filter(filter string) *PartnersPromotionsListCall { c.urlParams_.Set("filter", filter) return c @@ -1861,7 +1873,7 @@ func (c *PartnersPromotionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCl // ], // "parameters": { // "filter": { - // "description": "Optional. Specifies the filters for the promotion results. The syntax defined in the EBNF grammar: https://google.aip.dev/assets/misc/ebnf-filtering.txt. An error will be thrown if the specified parameter(s) is not supported. Currently, it can only be used by Youtube partners. Allowed parameters are: - region_codes: \"US\" - zip_code: \"94043\" - eligibility_id: \"2022H1Campaign\" Multiple parameters can be specified, for example: \"region_codes=US zip_code=94043 eligibility_id=2022H1Campaign\"", + // "description": "Optional. Specifies the filters for the promotion results. The syntax is defined in https://google.aip.dev/160 with the following caveats: - Only the following features are supported: - Logical operator `AND` - Comparison operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (no wildcards `*`) - Only the following fields are supported: - `applicable_products` - `region_codes` - `youtube_payload.partner_eligibility_id` - `youtube_payload.postal_code` - Unless explicitly mentioned above, other features are not supported. Example: `applicable_products:partners/partner1/products/product1 AND region_codes:US AND youtube_payload.postal_code=94043 AND youtube_payload.partner_eligibility_id=eligibility-id`", // "location": "query", // "type": "string" // }, diff --git a/playintegrity/v1/playintegrity-api.json b/playintegrity/v1/playintegrity-api.json index cd9d7cc633c..5ef67c67012 100644 --- a/playintegrity/v1/playintegrity-api.json +++ b/playintegrity/v1/playintegrity-api.json @@ -138,7 +138,7 @@ } } }, - "revision": "20220816", + "revision": "20220904", "rootUrl": "https://playintegrity.googleapis.com/", "schemas": { "AccountDetails": { @@ -172,6 +172,26 @@ "description": "Contains information about account risk that indicates if the current user session seems low risk, unknown, or risky before you allow important actions to proceed.", "id": "AccountRiskVerdict", "properties": { + "risk": { + "description": "Required. Indicates the account risk level of the current user session.", + "enum": [ + "RISK_UNSPECIFIED", + "UNEVALUATED", + "HIGHER", + "UNKNOWN", + "LOWER", + "LOWEST" + ], + "enumDescriptions": [ + "Risk has not been set.", + "The account risk is not evaluated, because the device is not trusted or the user does not have a Play app license.", + "Play thinks that at least one of the user accounts on the device has some unusual store engagement behavior that could be risky.", + "Play does not have sufficient information to assess the risk. The account may be new, or it may lack activity on the Play Store.", + "Play thinks the user could be genuine, since there is some store engagement. However, some signals to support the trust level are missing.", + "Play thinks the user is more likely to be genuine due to harder to replicate store engagement signals." + ], + "type": "string" + }, "riskLevel": { "description": "Required. Indicates the account risk level of the current user session.", "enum": [ @@ -216,7 +236,7 @@ "type": "string" }, "certificateSha256Digest": { - "description": "Hex fingerprint of the application signing certificate. e.g. “ABCE1F....” Set iff app_recognition_verdict != UNEVALUATED.", + "description": "The SHA256 hash of the requesting app's signing certificates (base64 web-safe encoded). Set iff app_recognition_verdict != UNEVALUATED.", "items": { "type": "string" }, diff --git a/playintegrity/v1/playintegrity-gen.go b/playintegrity/v1/playintegrity-gen.go index 38d4ed6f221..020290df51b 100644 --- a/playintegrity/v1/playintegrity-gen.go +++ b/playintegrity/v1/playintegrity-gen.go @@ -195,6 +195,26 @@ func (s *AccountDetails) MarshalJSON() ([]byte, error) { // indicates if the current user session seems low risk, unknown, or // risky before you allow important actions to proceed. type AccountRiskVerdict struct { + // Risk: Required. Indicates the account risk level of the current user + // session. + // + // Possible values: + // "RISK_UNSPECIFIED" - Risk has not been set. + // "UNEVALUATED" - The account risk is not evaluated, because the + // device is not trusted or the user does not have a Play app license. + // "HIGHER" - Play thinks that at least one of the user accounts on + // the device has some unusual store engagement behavior that could be + // risky. + // "UNKNOWN" - Play does not have sufficient information to assess the + // risk. The account may be new, or it may lack activity on the Play + // Store. + // "LOWER" - Play thinks the user could be genuine, since there is + // some store engagement. However, some signals to support the trust + // level are missing. + // "LOWEST" - Play thinks the user is more likely to be genuine due to + // harder to replicate store engagement signals. + Risk string `json:"risk,omitempty"` + // RiskLevel: Required. Indicates the account risk level of the current // user session. // @@ -216,7 +236,7 @@ type AccountRiskVerdict struct { // be genuine due to harder to replicate store engagement signals. RiskLevel string `json:"riskLevel,omitempty"` - // ForceSendFields is a list of field names (e.g. "RiskLevel") to + // ForceSendFields is a list of field names (e.g. "Risk") 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 @@ -224,8 +244,8 @@ type AccountRiskVerdict struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "RiskLevel") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Risk") 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. @@ -256,9 +276,9 @@ type AppIntegrity struct { // meet the minimum bar. AppRecognitionVerdict string `json:"appRecognitionVerdict,omitempty"` - // CertificateSha256Digest: Hex fingerprint of the application signing - // certificate. e.g. “ABCE1F....” Set iff app_recognition_verdict != - // UNEVALUATED. + // CertificateSha256Digest: The SHA256 hash of the requesting app's + // signing certificates (base64 web-safe encoded). Set iff + // app_recognition_verdict != UNEVALUATED. CertificateSha256Digest []string `json:"certificateSha256Digest,omitempty"` // PackageName: Package name of the application under attestation. Set diff --git a/policysimulator/v1/policysimulator-api.json b/policysimulator/v1/policysimulator-api.json index 5b9102e408b..1c455ef3dc9 100644 --- a/policysimulator/v1/policysimulator-api.json +++ b/policysimulator/v1/policysimulator-api.json @@ -226,7 +226,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", - "pattern": "^operations/[^/]+$", + "pattern": "^operations/.*$", "required": true, "type": "string" } @@ -493,7 +493,7 @@ } } }, - "revision": "20220806", + "revision": "20220826", "rootUrl": "https://policysimulator.googleapis.com/", "schemas": { "GoogleCloudPolicysimulatorV1AccessStateDiff": { @@ -1111,7 +1111,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/policysimulator/v1/policysimulator-gen.go b/policysimulator/v1/policysimulator-gen.go index 9d87dc41b02..0291173525f 100644 --- a/policysimulator/v1/policysimulator-gen.go +++ b/policysimulator/v1/policysimulator-gen.go @@ -1317,11 +1317,12 @@ type GoogleIamV1Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -2365,7 +2366,7 @@ func (c *OperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunning // "name": { // "description": "The name of the operation resource.", // "location": "path", - // "pattern": "^operations/[^/]+$", + // "pattern": "^operations/.*$", // "required": true, // "type": "string" // } diff --git a/policysimulator/v1alpha/policysimulator-api.json b/policysimulator/v1alpha/policysimulator-api.json index 527f853314a..877d9e5e1e6 100644 --- a/policysimulator/v1alpha/policysimulator-api.json +++ b/policysimulator/v1alpha/policysimulator-api.json @@ -119,7 +119,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", - "pattern": "^operations/[^/]+$", + "pattern": "^operations/.*$", "required": true, "type": "string" } @@ -172,7 +172,7 @@ } } }, - "revision": "20220821", + "revision": "20220826", "rootUrl": "https://policysimulator.googleapis.com/", "schemas": { "GoogleCloudPolicysimulatorV1Replay": { @@ -458,7 +458,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/policysimulator/v1alpha/policysimulator-gen.go b/policysimulator/v1alpha/policysimulator-gen.go index 5afcc369c00..3014fa098e4 100644 --- a/policysimulator/v1alpha/policysimulator-gen.go +++ b/policysimulator/v1alpha/policysimulator-gen.go @@ -615,11 +615,12 @@ type GoogleIamV1Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -1163,7 +1164,7 @@ func (c *OperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunning // "name": { // "description": "The name of the operation resource.", // "location": "path", - // "pattern": "^operations/[^/]+$", + // "pattern": "^operations/.*$", // "required": true, // "type": "string" // } diff --git a/policysimulator/v1beta1/policysimulator-api.json b/policysimulator/v1beta1/policysimulator-api.json index a77eefb84ee..38e187b563e 100644 --- a/policysimulator/v1beta1/policysimulator-api.json +++ b/policysimulator/v1beta1/policysimulator-api.json @@ -226,7 +226,7 @@ "name": { "description": "The name of the operation resource.", "location": "path", - "pattern": "^operations/[^/]+$", + "pattern": "^operations/.*$", "required": true, "type": "string" } @@ -493,7 +493,7 @@ } } }, - "revision": "20220806", + "revision": "20220826", "rootUrl": "https://policysimulator.googleapis.com/", "schemas": { "GoogleCloudPolicysimulatorV1Replay": { @@ -1111,7 +1111,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/policysimulator/v1beta1/policysimulator-gen.go b/policysimulator/v1beta1/policysimulator-gen.go index 01a62b1da18..82c4323000c 100644 --- a/policysimulator/v1beta1/policysimulator-gen.go +++ b/policysimulator/v1beta1/policysimulator-gen.go @@ -1318,11 +1318,12 @@ type GoogleIamV1Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -2367,7 +2368,7 @@ func (c *OperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunning // "name": { // "description": "The name of the operation resource.", // "location": "path", - // "pattern": "^operations/[^/]+$", + // "pattern": "^operations/.*$", // "required": true, // "type": "string" // } diff --git a/policytroubleshooter/v1/policytroubleshooter-api.json b/policytroubleshooter/v1/policytroubleshooter-api.json index 56783a96569..e8337827d22 100644 --- a/policytroubleshooter/v1/policytroubleshooter-api.json +++ b/policytroubleshooter/v1/policytroubleshooter-api.json @@ -128,7 +128,7 @@ } } }, - "revision": "20220806", + "revision": "20220904", "rootUrl": "https://policytroubleshooter.googleapis.com/", "schemas": { "GoogleCloudPolicytroubleshooterV1AccessTuple": { @@ -434,7 +434,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/policytroubleshooter/v1/policytroubleshooter-gen.go b/policytroubleshooter/v1/policytroubleshooter-gen.go index 2355decb67a..44a6700e1b8 100644 --- a/policytroubleshooter/v1/policytroubleshooter-gen.go +++ b/policytroubleshooter/v1/policytroubleshooter-gen.go @@ -649,11 +649,12 @@ type GoogleIamV1Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/policytroubleshooter/v1beta/policytroubleshooter-api.json b/policytroubleshooter/v1beta/policytroubleshooter-api.json index dda8f468e2f..3b9347c757a 100644 --- a/policytroubleshooter/v1beta/policytroubleshooter-api.json +++ b/policytroubleshooter/v1beta/policytroubleshooter-api.json @@ -128,7 +128,7 @@ } } }, - "revision": "20220806", + "revision": "20220904", "rootUrl": "https://policytroubleshooter.googleapis.com/", "schemas": { "GoogleCloudPolicytroubleshooterV1betaAccessTuple": { @@ -427,7 +427,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/policytroubleshooter/v1beta/policytroubleshooter-gen.go b/policytroubleshooter/v1beta/policytroubleshooter-gen.go index ec56f4c8abe..5cb8fc7cfc4 100644 --- a/policytroubleshooter/v1beta/policytroubleshooter-gen.go +++ b/policytroubleshooter/v1beta/policytroubleshooter-gen.go @@ -638,11 +638,12 @@ type GoogleIamV1Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/privateca/v1/privateca-api.json b/privateca/v1/privateca-api.json index f17fe834fac..bd2797e3461 100644 --- a/privateca/v1/privateca-api.json +++ b/privateca/v1/privateca-api.json @@ -1595,7 +1595,7 @@ } } }, - "revision": "20220804", + "revision": "20220825", "rootUrl": "https://privateca.googleapis.com/", "schemas": { "AccessUrls": { @@ -1707,7 +1707,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/privateca/v1/privateca-gen.go b/privateca/v1/privateca-gen.go index 97adcff7de0..8450dd28437 100644 --- a/privateca/v1/privateca-gen.go +++ b/privateca/v1/privateca-gen.go @@ -464,11 +464,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/privateca/v1beta1/privateca-api.json b/privateca/v1beta1/privateca-api.json index afdddf9ff20..85e4471ab9b 100644 --- a/privateca/v1beta1/privateca-api.json +++ b/privateca/v1beta1/privateca-api.json @@ -1254,7 +1254,7 @@ } } }, - "revision": "20220804", + "revision": "20220825", "rootUrl": "https://privateca.googleapis.com/", "schemas": { "AccessUrls": { @@ -1404,7 +1404,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/privateca/v1beta1/privateca-gen.go b/privateca/v1beta1/privateca-gen.go index 94b89bd3eff..6a7e7fc34a5 100644 --- a/privateca/v1beta1/privateca-gen.go +++ b/privateca/v1beta1/privateca-gen.go @@ -514,11 +514,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/realtimebidding/v1/realtimebidding-api.json b/realtimebidding/v1/realtimebidding-api.json index f237474461b..8722391388a 100644 --- a/realtimebidding/v1/realtimebidding-api.json +++ b/realtimebidding/v1/realtimebidding-api.json @@ -822,7 +822,7 @@ "type": "string" }, "orderBy": { - "description": "Order specification by which results should be sorted. If no sort order is specified, the results will be returned in an arbitrary order. Currently results can be sorted by `createTime`. Example: 'createTime DESC'.", + "description": "Order specification by which results should be sorted. If no sort order is specified, the results will be returned in alphabetic order based on the publisher's publisher code. Results can be sorted by `createTime`. Example: 'createTime DESC'.", "location": "query", "type": "string" }, @@ -1305,7 +1305,7 @@ } } }, - "revision": "20220802", + "revision": "20220904", "rootUrl": "https://realtimebidding.googleapis.com/", "schemas": { "ActivatePretargetingConfigRequest": { @@ -2681,13 +2681,15 @@ "STATUS_UNSPECIFIED", "PENDING_REVIEW", "DISAPPROVED", - "APPROVED" + "APPROVED", + "CERTIFICATE_REQUIRED" ], "enumDescriptions": [ "Default value that should never be used.", "Creative is pending review.", "Creative cannot serve.", - "Creative is approved." + "Creative is approved.", + "Certificates are required for the creative to be served in some regions. For more information about creative certification, refer to: https://support.google.com/authorizedbuyers/answer/7450776" ], "type": "string" }, @@ -2943,7 +2945,7 @@ }, "publisherTargeting": { "$ref": "StringTargetingDimension", - "description": "Targeting on a subset of publisher inventory. Publishers can either be targeted positively (bid requests will be sent only if the publisher is listed in the targeting dimension) or negatively (bid requests will be sent only if the publisher is not listed in the targeting dimension). A maximum of 10,000 publisher IDs can be targeted. Publisher IDs are found in [ads.txt](https://iabtechlab.com/ads-txt/) / [app-ads.txt](https://iabtechlab.com/app-ads-txt/) and in bid requests in the `BidRequest.publisher_id` field on the [Google RTB protocol](https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto) or the `BidRequest.site.publisher.id` / `BidRequest.app.publisher.id` field on the [OpenRTB protocol](https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto)." + "description": "Targeting on a subset of publisher inventory. Publishers can either be targeted positively (bid requests will be sent only if the publisher is listed in the targeting dimension) or negatively (bid requests will be sent only if the publisher is not listed in the targeting dimension). A maximum of 10,000 publisher IDs can be targeted. Publisher IDs are found in [ads.txt](https://iabtechlab.com/ads-txt/) / [app-ads.txt](https://iabtechlab.com/app-ads-txt/) and in bid requests in the `BidRequest.publisher_id` field on the [Google RTB protocol](https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto) or the `BidRequest.site.publisher.id` / `BidRequest.app.publisher.id` field on the [OpenRTB protocol](https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto). Publisher IDs will be returned in the order that they were entered." }, "state": { "description": "Output only. The state of this pretargeting configuration.", diff --git a/realtimebidding/v1/realtimebidding-gen.go b/realtimebidding/v1/realtimebidding-gen.go index f7e6482a973..9856e20b279 100644 --- a/realtimebidding/v1/realtimebidding-gen.go +++ b/realtimebidding/v1/realtimebidding-gen.go @@ -2232,6 +2232,10 @@ type PolicyCompliance struct { // "PENDING_REVIEW" - Creative is pending review. // "DISAPPROVED" - Creative cannot serve. // "APPROVED" - Creative is approved. + // "CERTIFICATE_REQUIRED" - Certificates are required for the creative + // to be served in some regions. For more information about creative + // certification, refer to: + // https://support.google.com/authorizedbuyers/answer/7450776 Status string `json:"status,omitempty"` // Topics: Topics related to the policy compliance for this transaction @@ -2531,6 +2535,7 @@ type PretargetingConfig struct { // or the `BidRequest.site.publisher.id` / `BidRequest.app.publisher.id` // field on the OpenRTB protocol // (https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto). + // Publisher IDs will be returned in the order that they were entered. PublisherTargeting *StringTargetingDimension `json:"publisherTargeting,omitempty"` // State: Output only. The state of this pretargeting configuration. @@ -6769,8 +6774,9 @@ func (c *BiddersPublisherConnectionsListCall) Filter(filter string) *BiddersPubl // OrderBy sets the optional parameter "orderBy": Order specification by // which results should be sorted. If no sort order is specified, the -// results will be returned in an arbitrary order. Currently results can -// be sorted by `createTime`. Example: 'createTime DESC'. +// results will be returned in alphabetic order based on the publisher's +// publisher code. Results can be sorted by `createTime`. Example: +// 'createTime DESC'. func (c *BiddersPublisherConnectionsListCall) OrderBy(orderBy string) *BiddersPublisherConnectionsListCall { c.urlParams_.Set("orderBy", orderBy) return c @@ -6909,7 +6915,7 @@ func (c *BiddersPublisherConnectionsListCall) Do(opts ...googleapi.CallOption) ( // "type": "string" // }, // "orderBy": { - // "description": "Order specification by which results should be sorted. If no sort order is specified, the results will be returned in an arbitrary order. Currently results can be sorted by `createTime`. Example: 'createTime DESC'.", + // "description": "Order specification by which results should be sorted. If no sort order is specified, the results will be returned in alphabetic order based on the publisher's publisher code. Results can be sorted by `createTime`. Example: 'createTime DESC'.", // "location": "query", // "type": "string" // }, diff --git a/recaptchaenterprise/v1/recaptchaenterprise-api.json b/recaptchaenterprise/v1/recaptchaenterprise-api.json index f1000aa699b..82f31f83a59 100644 --- a/recaptchaenterprise/v1/recaptchaenterprise-api.json +++ b/recaptchaenterprise/v1/recaptchaenterprise-api.json @@ -514,7 +514,7 @@ } } }, - "revision": "20220812", + "revision": "20220826", "rootUrl": "https://recaptchaenterprise.googleapis.com/", "schemas": { "GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": { @@ -607,7 +607,8 @@ "PASSED_TWO_FACTOR", "FAILED_TWO_FACTOR", "CORRECT_PASSWORD", - "INCORRECT_PASSWORD" + "INCORRECT_PASSWORD", + "SOCIAL_SPAM" ], "enumDescriptions": [ "Default unspecified reason.", @@ -623,7 +624,8 @@ "Indicates that the user passed a 2FA challenge.", "Indicates that the user failed a 2FA challenge.", "Indicates the user provided the correct password.", - "Indicates the user provided an incorrect password." + "Indicates the user provided an incorrect password.", + "Indicates that the user sent unwanted and abusive messages to other users of the platform, such as spam, scams, phishing, or social engineering." ], "type": "string" }, diff --git a/recaptchaenterprise/v1/recaptchaenterprise-gen.go b/recaptchaenterprise/v1/recaptchaenterprise-gen.go index 3cd2247e3bf..c7017be084d 100644 --- a/recaptchaenterprise/v1/recaptchaenterprise-gen.go +++ b/recaptchaenterprise/v1/recaptchaenterprise-gen.go @@ -358,6 +358,9 @@ type GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest struct { // password. // "INCORRECT_PASSWORD" - Indicates the user provided an incorrect // password. + // "SOCIAL_SPAM" - Indicates that the user sent unwanted and abusive + // messages to other users of the platform, such as spam, scams, + // phishing, or social engineering. Reasons []string `json:"reasons,omitempty"` // ForceSendFields is a list of field names (e.g. "Annotation") to diff --git a/retail/v2/retail-api.json b/retail/v2/retail-api.json index 6a790ee2d21..55e42b4afa5 100644 --- a/retail/v2/retail-api.json +++ b/retail/v2/retail-api.json @@ -1770,7 +1770,7 @@ } } }, - "revision": "20220822", + "revision": "20220825", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -4880,7 +4880,7 @@ "type": "string" }, "optimizationObjective": { - "description": "Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` =\u003e `ctr` `others-you-may-like` =\u003e `ctr` `frequently-bought-together` =\u003e `revenue_per_order`", + "description": "Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` =\u003e `ctr` `others-you-may-like` =\u003e `ctr` `frequently-bought-together` =\u003e `revenue_per_order` This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", "type": "string" }, "pageOptimizationConfig": { @@ -4948,7 +4948,7 @@ "type": "string" }, "type": { - "description": "Required. The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, and `recently-viewed`(readonly value).", + "description": "Required. The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, and `recently-viewed`(readonly value). This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", "type": "string" }, "updateTime": { diff --git a/retail/v2/retail-gen.go b/retail/v2/retail-gen.go index 5c432ea2073..eecb701d34b 100644 --- a/retail/v2/retail-gen.go +++ b/retail/v2/retail-gen.go @@ -6353,7 +6353,14 @@ type GoogleCloudRetailV2alphaModel struct { // If not specified, we choose default based on model type. Default // depends on type of recommendation: `recommended-for-you` => `ctr` // `others-you-may-like` => `ctr` `frequently-bought-together` => - // `revenue_per_order` + // `revenue_per_order` This field together with optimization_objective + // describe model metadata to use to control model training and serving. + // See https://cloud.google.com/retail/docs/models for more details on + // what the model metadata control and which combination of parameters + // are valid. For invalid combinations of parameters (e.g. type = + // `frequently-bought-together` and optimization_objective = `ctr`), you + // receive an error 400 if you try to create/update a recommendation + // with this set of knobs. OptimizationObjective string `json:"optimizationObjective,omitempty"` // PageOptimizationConfig: Optional. The page optimization config. @@ -6415,7 +6422,15 @@ type GoogleCloudRetailV2alphaModel struct { // Type: Required. The type of model e.g. `home-page`. Currently // supported values: `recommended-for-you`, `others-you-may-like`, // `frequently-bought-together`, `page-optimization`, `similar-items`, - // `buy-it-again`, and `recently-viewed`(readonly value). + // `buy-it-again`, and `recently-viewed`(readonly value). This field + // together with optimization_objective describe model metadata to use + // to control model training and serving. See + // https://cloud.google.com/retail/docs/models for more details on what + // the model metadata control and which combination of parameters are + // valid. For invalid combinations of parameters (e.g. type = + // `frequently-bought-together` and optimization_objective = `ctr`), you + // receive an error 400 if you try to create/update a recommendation + // with this set of knobs. Type string `json:"type,omitempty"` // UpdateTime: Output only. Timestamp the Recommendation Model was last diff --git a/retail/v2alpha/retail-api.json b/retail/v2alpha/retail-api.json index 806f4d56c2b..45310399593 100644 --- a/retail/v2alpha/retail-api.json +++ b/retail/v2alpha/retail-api.json @@ -2080,7 +2080,7 @@ } } }, - "revision": "20220822", + "revision": "20220825", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -3709,7 +3709,7 @@ "type": "string" }, "optimizationObjective": { - "description": "Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` =\u003e `ctr` `others-you-may-like` =\u003e `ctr` `frequently-bought-together` =\u003e `revenue_per_order`", + "description": "Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` =\u003e `ctr` `others-you-may-like` =\u003e `ctr` `frequently-bought-together` =\u003e `revenue_per_order` This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", "type": "string" }, "pageOptimizationConfig": { @@ -3777,7 +3777,7 @@ "type": "string" }, "type": { - "description": "Required. The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, and `recently-viewed`(readonly value).", + "description": "Required. The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, and `recently-viewed`(readonly value). This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", "type": "string" }, "updateTime": { diff --git a/retail/v2alpha/retail-gen.go b/retail/v2alpha/retail-gen.go index e599033ec07..f02a451285c 100644 --- a/retail/v2alpha/retail-gen.go +++ b/retail/v2alpha/retail-gen.go @@ -3423,7 +3423,14 @@ type GoogleCloudRetailV2alphaModel struct { // If not specified, we choose default based on model type. Default // depends on type of recommendation: `recommended-for-you` => `ctr` // `others-you-may-like` => `ctr` `frequently-bought-together` => - // `revenue_per_order` + // `revenue_per_order` This field together with optimization_objective + // describe model metadata to use to control model training and serving. + // See https://cloud.google.com/retail/docs/models for more details on + // what the model metadata control and which combination of parameters + // are valid. For invalid combinations of parameters (e.g. type = + // `frequently-bought-together` and optimization_objective = `ctr`), you + // receive an error 400 if you try to create/update a recommendation + // with this set of knobs. OptimizationObjective string `json:"optimizationObjective,omitempty"` // PageOptimizationConfig: Optional. The page optimization config. @@ -3485,7 +3492,15 @@ type GoogleCloudRetailV2alphaModel struct { // Type: Required. The type of model e.g. `home-page`. Currently // supported values: `recommended-for-you`, `others-you-may-like`, // `frequently-bought-together`, `page-optimization`, `similar-items`, - // `buy-it-again`, and `recently-viewed`(readonly value). + // `buy-it-again`, and `recently-viewed`(readonly value). This field + // together with optimization_objective describe model metadata to use + // to control model training and serving. See + // https://cloud.google.com/retail/docs/models for more details on what + // the model metadata control and which combination of parameters are + // valid. For invalid combinations of parameters (e.g. type = + // `frequently-bought-together` and optimization_objective = `ctr`), you + // receive an error 400 if you try to create/update a recommendation + // with this set of knobs. Type string `json:"type,omitempty"` // UpdateTime: Output only. Timestamp the Recommendation Model was last diff --git a/retail/v2beta/retail-api.json b/retail/v2beta/retail-api.json index c5e58d8a01d..c75670e892a 100644 --- a/retail/v2beta/retail-api.json +++ b/retail/v2beta/retail-api.json @@ -2014,7 +2014,7 @@ } } }, - "revision": "20220822", + "revision": "20220825", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -2660,7 +2660,7 @@ "type": "string" }, "optimizationObjective": { - "description": "Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` =\u003e `ctr` `others-you-may-like` =\u003e `ctr` `frequently-bought-together` =\u003e `revenue_per_order`", + "description": "Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` =\u003e `ctr` `others-you-may-like` =\u003e `ctr` `frequently-bought-together` =\u003e `revenue_per_order` This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", "type": "string" }, "pageOptimizationConfig": { @@ -2728,7 +2728,7 @@ "type": "string" }, "type": { - "description": "Required. The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, and `recently-viewed`(readonly value).", + "description": "Required. The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, and `recently-viewed`(readonly value). This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", "type": "string" }, "updateTime": { @@ -4245,7 +4245,7 @@ "type": "string" }, "optimizationObjective": { - "description": "Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` =\u003e `ctr` `others-you-may-like` =\u003e `ctr` `frequently-bought-together` =\u003e `revenue_per_order`", + "description": "Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` =\u003e `ctr` `others-you-may-like` =\u003e `ctr` `frequently-bought-together` =\u003e `revenue_per_order` This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", "type": "string" }, "periodicTuningState": { @@ -4309,7 +4309,7 @@ "type": "string" }, "type": { - "description": "Required. The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, and `recently-viewed`(readonly value).", + "description": "Required. The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, and `recently-viewed`(readonly value). This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", "type": "string" }, "updateTime": { diff --git a/retail/v2beta/retail-gen.go b/retail/v2beta/retail-gen.go index 1544421a66e..ee39a1df3a6 100644 --- a/retail/v2beta/retail-gen.go +++ b/retail/v2beta/retail-gen.go @@ -1485,7 +1485,14 @@ type GoogleCloudRetailV2alphaModel struct { // If not specified, we choose default based on model type. Default // depends on type of recommendation: `recommended-for-you` => `ctr` // `others-you-may-like` => `ctr` `frequently-bought-together` => - // `revenue_per_order` + // `revenue_per_order` This field together with optimization_objective + // describe model metadata to use to control model training and serving. + // See https://cloud.google.com/retail/docs/models for more details on + // what the model metadata control and which combination of parameters + // are valid. For invalid combinations of parameters (e.g. type = + // `frequently-bought-together` and optimization_objective = `ctr`), you + // receive an error 400 if you try to create/update a recommendation + // with this set of knobs. OptimizationObjective string `json:"optimizationObjective,omitempty"` // PageOptimizationConfig: Optional. The page optimization config. @@ -1547,7 +1554,15 @@ type GoogleCloudRetailV2alphaModel struct { // Type: Required. The type of model e.g. `home-page`. Currently // supported values: `recommended-for-you`, `others-you-may-like`, // `frequently-bought-together`, `page-optimization`, `similar-items`, - // `buy-it-again`, and `recently-viewed`(readonly value). + // `buy-it-again`, and `recently-viewed`(readonly value). This field + // together with optimization_objective describe model metadata to use + // to control model training and serving. See + // https://cloud.google.com/retail/docs/models for more details on what + // the model metadata control and which combination of parameters are + // valid. For invalid combinations of parameters (e.g. type = + // `frequently-bought-together` and optimization_objective = `ctr`), you + // receive an error 400 if you try to create/update a recommendation + // with this set of knobs. Type string `json:"type,omitempty"` // UpdateTime: Output only. Timestamp the Recommendation Model was last @@ -4479,7 +4494,14 @@ type GoogleCloudRetailV2betaModel struct { // If not specified, we choose default based on model type. Default // depends on type of recommendation: `recommended-for-you` => `ctr` // `others-you-may-like` => `ctr` `frequently-bought-together` => - // `revenue_per_order` + // `revenue_per_order` This field together with optimization_objective + // describe model metadata to use to control model training and serving. + // See https://cloud.google.com/retail/docs/models for more details on + // what the model metadata control and which combination of parameters + // are valid. For invalid combinations of parameters (e.g. type = + // `frequently-bought-together` and optimization_objective = `ctr`), you + // receive an error 400 if you try to create/update a recommendation + // with this set of knobs. OptimizationObjective string `json:"optimizationObjective,omitempty"` // PeriodicTuningState: Optional. The state of periodic tuning. The @@ -4538,7 +4560,15 @@ type GoogleCloudRetailV2betaModel struct { // Type: Required. The type of model e.g. `home-page`. Currently // supported values: `recommended-for-you`, `others-you-may-like`, // `frequently-bought-together`, `page-optimization`, `similar-items`, - // `buy-it-again`, and `recently-viewed`(readonly value). + // `buy-it-again`, and `recently-viewed`(readonly value). This field + // together with optimization_objective describe model metadata to use + // to control model training and serving. See + // https://cloud.google.com/retail/docs/models for more details on what + // the model metadata control and which combination of parameters are + // valid. For invalid combinations of parameters (e.g. type = + // `frequently-bought-together` and optimization_objective = `ctr`), you + // receive an error 400 if you try to create/update a recommendation + // with this set of knobs. Type string `json:"type,omitempty"` // UpdateTime: Output only. Timestamp the Recommendation Model was last diff --git a/run/v1/run-api.json b/run/v1/run-api.json index 3a5ce724a4d..6d7751b2d99 100644 --- a/run/v1/run-api.json +++ b/run/v1/run-api.json @@ -462,7 +462,7 @@ "type": "string" }, "propagationPolicy": { - "description": "Optional. Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see http://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.", + "description": "Optional. Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.", "location": "query", "type": "string" } @@ -1019,7 +1019,7 @@ "type": "string" }, "parent": { - "description": "The resource's parent. In Cloud Run, it may be one of the following: * `namespaces/{project_id_or_number}` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`", + "description": "Required. The resource's parent. In Cloud Run, it may be one of the following: * `{project_id_or_number}` * `namespaces/{project_id_or_number}` * `namespaces/{project_id_or_number}/services` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`", "location": "path", "pattern": "^namespaces/[^/]+$", "required": true, @@ -1062,7 +1062,7 @@ "type": "string" }, "name": { - "description": "The fully qualified name of the service to delete. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", + "description": "Required. The fully qualified name of the service to delete. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", "location": "path", "pattern": "^namespaces/[^/]+/services/[^/]+$", "required": true, @@ -1092,7 +1092,7 @@ ], "parameters": { "name": { - "description": "The fully qualified name of the service to retrieve. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", + "description": "Required. The fully qualified name of the service to retrieve. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", "location": "path", "pattern": "^namespaces/[^/]+/services/[^/]+$", "required": true, @@ -1117,7 +1117,7 @@ ], "parameters": { "continue": { - "description": "Optional. Encoded string to continue paging.", + "description": "Encoded string to continue paging.", "location": "query", "type": "string" }, @@ -1137,13 +1137,13 @@ "type": "string" }, "limit": { - "description": "Optional. The maximum number of records that should be returned.", + "description": "The maximum number of records that should be returned.", "format": "int32", "location": "query", "type": "integer" }, "parent": { - "description": "The parent from where the resources should be listed. In Cloud Run, it may be one of the following: * `namespaces/{project_id_or_number}` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`", + "description": "Required. The parent from where the resources should be listed. In Cloud Run, it may be one of the following: * `{project_id_or_number}` * `namespaces/{project_id_or_number}` * `namespaces/{project_id_or_number}/services` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`", "location": "path", "pattern": "^namespaces/[^/]+$", "required": true, @@ -1183,7 +1183,7 @@ "type": "string" }, "name": { - "description": "The fully qualified name of the service to replace. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", + "description": "Required. The fully qualified name of the service to replace. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", "location": "path", "pattern": "^namespaces/[^/]+/services/[^/]+$", "required": true, @@ -1255,7 +1255,7 @@ "type": "boolean" }, "labelSelector": { - "description": "Optional. Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.", + "description": "Optional. Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. For example, to list all tasks of execution \"foo\" in succeeded state: `run.googleapis.com/execution=foo,run.googleapis.com/runningState=Succeeded`. Supported states are: * `Pending`: Initial state of all tasks. The task has not yet started but eventually will. * `Running`: Container instances for this task are running or will be running shortly. * `Succeeded`: No more container instances to run for the task, and the last attempt succeeded. * `Failed`: No more container instances to run for the task, and the last attempt failed. This task has run out of retry attempts. * `Cancelled`: Task was running but got stopped because its parent execution has been aborted. * `Abandoned`: The task has not yet started and never will because its parent execution has been aborted.", "location": "query", "type": "string" }, @@ -2013,7 +2013,7 @@ "type": "string" }, "parent": { - "description": "The resource's parent. In Cloud Run, it may be one of the following: * `namespaces/{project_id_or_number}` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`", + "description": "Required. The resource's parent. In Cloud Run, it may be one of the following: * `{project_id_or_number}` * `namespaces/{project_id_or_number}` * `namespaces/{project_id_or_number}/services` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -2056,7 +2056,7 @@ "type": "string" }, "name": { - "description": "The fully qualified name of the service to delete. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", + "description": "Required. The fully qualified name of the service to delete. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", "required": true, @@ -2086,7 +2086,7 @@ ], "parameters": { "name": { - "description": "The fully qualified name of the service to retrieve. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", + "description": "Required. The fully qualified name of the service to retrieve. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", "required": true, @@ -2142,7 +2142,7 @@ ], "parameters": { "continue": { - "description": "Optional. Encoded string to continue paging.", + "description": "Encoded string to continue paging.", "location": "query", "type": "string" }, @@ -2162,13 +2162,13 @@ "type": "string" }, "limit": { - "description": "Optional. The maximum number of records that should be returned.", + "description": "The maximum number of records that should be returned.", "format": "int32", "location": "query", "type": "integer" }, "parent": { - "description": "The parent from where the resources should be listed. In Cloud Run, it may be one of the following: * `namespaces/{project_id_or_number}` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`", + "description": "Required. The parent from where the resources should be listed. In Cloud Run, it may be one of the following: * `{project_id_or_number}` * `namespaces/{project_id_or_number}` * `namespaces/{project_id_or_number}/services` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -2208,7 +2208,7 @@ "type": "string" }, "name": { - "description": "The fully qualified name of the service to replace. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", + "description": "Required. The fully qualified name of the service to replace. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", "required": true, @@ -2289,7 +2289,7 @@ } } }, - "revision": "20220814", + "revision": "20220828", "rootUrl": "https://run.googleapis.com/", "schemas": { "Addressable": { @@ -2374,7 +2374,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, @@ -2413,23 +2413,23 @@ "type": "object" }, "ConfigMapKeySelector": { - "description": "Not supported by Cloud Run. Selects a key from a ConfigMap.", + "description": "Not supported by Cloud Run.", "id": "ConfigMapKeySelector", "properties": { "key": { - "description": "Required. The key to select.", + "description": "Required. Not supported by Cloud Run.", "type": "string" }, "localObjectReference": { "$ref": "LocalObjectReference", - "description": "This field should not be used directly as it is meant to be inlined directly into the message. Use the \"name\" field instead." + "description": "Not supported by Cloud Run." }, "name": { - "description": "Required. The ConfigMap to select from.", + "description": "Required. Not supported by Cloud Run.", "type": "string" }, "optional": { - "description": "Specify whether the ConfigMap or its key must be defined", + "description": "Not supported by Cloud Run.", "type": "boolean" } }, @@ -2532,14 +2532,14 @@ "id": "Container", "properties": { "args": { - "description": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "description": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.", "items": { "type": "string" }, "type": "array" }, "command": { - "description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references are not supported in Cloud Run.", "items": { "type": "string" }, @@ -2758,7 +2758,7 @@ "type": "string" }, "value": { - "description": "Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".", + "description": "Value of the environment variable. Defaults to \"\". Variable references are not supported in Cloud Run.", "type": "string" }, "valueFrom": { @@ -2774,7 +2774,7 @@ "properties": { "configMapKeyRef": { "$ref": "ConfigMapKeySelector", - "description": "Not supported by Cloud Run. Selects a key of a ConfigMap." + "description": "Not supported by Cloud Run. Not supported in Cloud Run." }, "secretKeyRef": { "$ref": "SecretKeySelector", @@ -2882,7 +2882,7 @@ "type": "string" }, "conditions": { - "description": "Optional. The latest available observations of an execution's current state.", + "description": "Optional. Conditions communicate information about ongoing/complete reconciliation processes that bring the \"spec\" inline with the observed state of the world. Execution-specific conditions include: * `ResourcesAvailable`: `True` when underlying resources have been provisioned. * `Started`: `True` when the execution has started to execute. * `Completed`: `True` when the execution has succeeded. `False` when the execution has failed.", "items": { "$ref": "GoogleCloudRunV1Condition" }, @@ -3123,7 +3123,7 @@ "id": "JobStatus", "properties": { "conditions": { - "description": "The latest available observations of a job's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/job/", + "description": "Conditions communicate information about ongoing/complete reconciliation processes that bring the \"spec\" inline with the observed state of the world. Job-specific conditions include: * `Ready`: `True` when the job is ready to be executed.", "items": { "$ref": "GoogleCloudRunV1Condition" }, @@ -3584,11 +3584,11 @@ "type": "object" }, "name": { - "description": "The immutable name of the resource. In Cloud Run, name is required when creating top-level resources (Service, Job), and must be unique within a Cloud Run project/region. More info: https://kubernetes.io/docs/user-guide/identifiers#names If ObjectMeta is part of a CreateServiceRequest, name must contain fewer than 50 characters. Otherwise,", + "description": "Required. The name of the resource. In Cloud Run, name is required when creating top-level resources (Service, Job), must be unique within a Cloud Run project/region, and cannot be changed once created. More info: https://kubernetes.io/docs/user-guide/identifiers#names If ObjectMeta is part of a CreateServiceRequest, name must contain fewer than 50 characters.", "type": "string" }, "namespace": { - "description": "Defines the space within each name must be unique within a Cloud Run region. In Cloud Run, it must be project ID or number.", + "description": "Required. Defines the space within each name must be unique within a Cloud Run region. In Cloud Run, it must be project ID or number.", "type": "string" }, "ownerReferences": { @@ -3599,7 +3599,7 @@ "type": "array" }, "resourceVersion": { - "description": "Optional. Opaque, system-generated value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server or omit the value to disable conflict-detection. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", + "description": "Opaque, system-generated value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server or omit the value to disable conflict-detection. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", "type": "string" }, "selfLink": { @@ -3807,7 +3807,7 @@ "id": "RevisionSpec", "properties": { "containerConcurrency": { - "description": "ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container instance of the Revision. Cloud Run: supported, defaults to 80", + "description": "ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container instance of the Revision. If not specified, defaults to 80.", "format": "int32", "type": "integer" }, @@ -3852,7 +3852,7 @@ "id": "RevisionStatus", "properties": { "conditions": { - "description": "Conditions communicates information about ongoing/complete reconciliation processes that bring the \"spec\" inline with the observed state of the world. As a Revision is being prepared, it will incrementally update conditions. Revision-specific conditions include: * \"ResourcesAvailable\": True when underlying resources have been provisioned. * \"ContainerHealthy\": True when the Revision readiness check completes. * \"Active\": True when the Revision may receive traffic.", + "description": "Conditions communicate information about ongoing/complete reconciliation processes that bring the \"spec\" inline with the observed state of the world. As a Revision is being prepared, it will incrementally update conditions. Revision-specific conditions include: * `ResourcesAvailable`: `True` when underlying resources have been provisioned. * `ContainerHealthy`: `True` when the Revision readiness check completes. * `Active`: `True` when the Revision may receive traffic.", "items": { "$ref": "GoogleCloudRunV1Condition" }, @@ -4109,7 +4109,7 @@ "description": "Similar to url, information on where the service is available on HTTP." }, "conditions": { - "description": "Communicates information about ongoing/complete reconciliation processes that bring the `spec` inline with the observed state of the world. Service-specific conditions include: * `ConfigurationsReady`: `True` when the underlying Configuration is ready. * `RoutesReady`: `True` when the underlying Route is ready. * `Ready`: `True` when all underlying resources are ready.", + "description": "Conditions communicate information about ongoing/complete reconciliation processes that bring the `spec` inline with the observed state of the world. Service-specific conditions include: * `ConfigurationsReady`: `True` when the underlying Configuration is ready. * `RoutesReady`: `True` when the underlying Route is ready. * `Ready`: `True` when all underlying resources are ready.", "items": { "$ref": "GoogleCloudRunV1Condition" }, @@ -4349,7 +4349,7 @@ "type": "string" }, "conditions": { - "description": "Optional. The latest available observations of a task's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/job/", + "description": "Optional. Conditions communicate information about ongoing/complete reconciliation processes that bring the \"spec\" inline with the observed state of the world. Task-specific conditions include: * `Started`: `True` when the task has started to execute. * `Completed`: `True` when the task has succeeded. `False` when the task has failed.", "items": { "$ref": "GoogleCloudRunV1Condition" }, @@ -4463,7 +4463,7 @@ "properties": { "configMap": { "$ref": "ConfigMapVolumeSource", - "description": "Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths." + "description": "Not supported in Cloud Run." }, "name": { "description": "Volume's name. In Cloud Run Fully Managed, the name 'cloudsql' is reserved.", diff --git a/run/v1/run-gen.go b/run/v1/run-gen.go index e3d9a6cb01b..04a12f58356 100644 --- a/run/v1/run-gen.go +++ b/run/v1/run-gen.go @@ -552,11 +552,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -657,21 +658,18 @@ func (s *ConfigMapEnvSource) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ConfigMapKeySelector: Not supported by Cloud Run. Selects a key from -// a ConfigMap. +// ConfigMapKeySelector: Not supported by Cloud Run. type ConfigMapKeySelector struct { - // Key: Required. The key to select. + // Key: Required. Not supported by Cloud Run. Key string `json:"key,omitempty"` - // LocalObjectReference: This field should not be used directly as it is - // meant to be inlined directly into the message. Use the "name" field - // instead. + // LocalObjectReference: Not supported by Cloud Run. LocalObjectReference *LocalObjectReference `json:"localObjectReference,omitempty"` - // Name: Required. The ConfigMap to select from. + // Name: Required. Not supported by Cloud Run. Name string `json:"name,omitempty"` - // Optional: Specify whether the ConfigMap or its key must be defined + // Optional: Not supported by Cloud Run. Optional bool `json:"optional,omitempty"` // ForceSendFields is a list of field names (e.g. "Key") to @@ -898,24 +896,13 @@ func (s *ConfigurationStatus) MarshalJSON() ([]byte, error) { // supplied by the system to the container at runtime. type Container struct { // Args: Arguments to the entrypoint. The docker image's CMD is used if - // this is not provided. Variable references $(VAR_NAME) are expanded - // using the container's environment. If a variable cannot be resolved, - // the reference in the input string will be unchanged. The $(VAR_NAME) - // syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped - // references will never be expanded, regardless of whether the variable - // exists or not. More info: - // https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + // this is not provided. Variable references are not supported in Cloud + // Run. Args []string `json:"args,omitempty"` // Command: Entrypoint array. Not executed within a shell. The docker // image's ENTRYPOINT is used if this is not provided. Variable - // references $(VAR_NAME) are expanded using the container's - // environment. If a variable cannot be resolved, the reference in the - // input string will be unchanged. The $(VAR_NAME) syntax can be escaped - // with a double $$, ie: $$(VAR_NAME). Escaped references will never be - // expanded, regardless of whether the variable exists or not. More - // info: - // https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + // references are not supported in Cloud Run. Command []string `json:"command,omitempty"` // Env: List of environment variables to set in the container. @@ -1241,13 +1228,8 @@ type EnvVar struct { // C_IDENTIFIER. Name string `json:"name,omitempty"` - // Value: Variable references $(VAR_NAME) are expanded using the - // previous defined environment variables in the container and any route - // environment variables. If a variable cannot be resolved, the - // reference in the input string will be unchanged. The $(VAR_NAME) - // syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped - // references will never be expanded, regardless of whether the variable - // exists or not. Defaults to "". + // Value: Value of the environment variable. Defaults to "". Variable + // references are not supported in Cloud Run. Value string `json:"value,omitempty"` // ValueFrom: Source for the environment variable's value. Only supports @@ -1280,8 +1262,8 @@ func (s *EnvVar) MarshalJSON() ([]byte, error) { // EnvVarSource: EnvVarSource represents a source for the value of an // EnvVar. type EnvVarSource struct { - // ConfigMapKeyRef: Not supported by Cloud Run. Selects a key of a - // ConfigMap. + // ConfigMapKeyRef: Not supported by Cloud Run. Not supported in Cloud + // Run. ConfigMapKeyRef *ConfigMapKeySelector `json:"configMapKeyRef,omitempty"` // SecretKeyRef: Selects a key (version) of a secret in Secret Manager. @@ -1498,8 +1480,13 @@ type ExecutionStatus struct { // in UTC. +optional CompletionTime string `json:"completionTime,omitempty"` - // Conditions: Optional. The latest available observations of an - // execution's current state. + // Conditions: Optional. Conditions communicate information about + // ongoing/complete reconciliation processes that bring the "spec" + // inline with the observed state of the world. Execution-specific + // conditions include: * `ResourcesAvailable`: `True` when underlying + // resources have been provisioned. * `Started`: `True` when the + // execution has started to execute. * `Completed`: `True` when the + // execution has succeeded. `False` when the execution has failed. Conditions []*GoogleCloudRunV1Condition `json:"conditions,omitempty"` // FailedCount: Optional. The number of tasks which reached phase @@ -1957,9 +1944,10 @@ func (s *JobSpec) MarshalJSON() ([]byte, error) { // JobStatus: JobStatus represents the current state of a Job. type JobStatus struct { - // Conditions: The latest available observations of a job's current - // state. More info: - // https://kubernetes.io/docs/concepts/workloads/controllers/job/ + // Conditions: Conditions communicate information about ongoing/complete + // reconciliation processes that bring the "spec" inline with the + // observed state of the world. Job-specific conditions include: * + // `Ready`: `True` when the job is ready to be executed. Conditions []*GoogleCloudRunV1Condition `json:"conditions,omitempty"` // ExecutionCount: Number of executions created for this job. @@ -2672,28 +2660,30 @@ type ObjectMeta struct { // https://kubernetes.io/docs/user-guide/labels Labels map[string]string `json:"labels,omitempty"` - // Name: The immutable name of the resource. In Cloud Run, name is - // required when creating top-level resources (Service, Job), and must - // be unique within a Cloud Run project/region. More info: + // Name: Required. The name of the resource. In Cloud Run, name is + // required when creating top-level resources (Service, Job), must be + // unique within a Cloud Run project/region, and cannot be changed once + // created. More info: // https://kubernetes.io/docs/user-guide/identifiers#names If ObjectMeta // is part of a CreateServiceRequest, name must contain fewer than 50 - // characters. Otherwise, + // characters. Name string `json:"name,omitempty"` - // Namespace: Defines the space within each name must be unique within a - // Cloud Run region. In Cloud Run, it must be project ID or number. + // Namespace: Required. Defines the space within each name must be + // unique within a Cloud Run region. In Cloud Run, it must be project ID + // or number. Namespace string `json:"namespace,omitempty"` // OwnerReferences: Not supported by Cloud Run OwnerReferences []*OwnerReference `json:"ownerReferences,omitempty"` - // ResourceVersion: Optional. Opaque, system-generated value that - // represents the internal version of this object that can be used by - // clients to determine when objects have changed. May be used for - // optimistic concurrency, change detection, and the watch operation on - // a resource or set of resources. Clients must treat these values as - // opaque and passed unmodified back to the server or omit the value to - // disable conflict-detection. More info: + // ResourceVersion: Opaque, system-generated value that represents the + // internal version of this object that can be used by clients to + // determine when objects have changed. May be used for optimistic + // concurrency, change detection, and the watch operation on a resource + // or set of resources. Clients must treat these values as opaque and + // passed unmodified back to the server or omit the value to disable + // conflict-detection. More info: // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency ResourceVersion string `json:"resourceVersion,omitempty"` @@ -3085,7 +3075,7 @@ func (s *Revision) MarshalJSON() ([]byte, error) { type RevisionSpec struct { // ContainerConcurrency: ContainerConcurrency specifies the maximum // allowed in-flight (concurrent) requests per container instance of the - // Revision. Cloud Run: supported, defaults to 80 + // Revision. If not specified, defaults to 80. ContainerConcurrency int64 `json:"containerConcurrency,omitempty"` // Containers: Containers holds the single container that defines the @@ -3144,14 +3134,14 @@ func (s *RevisionSpec) MarshalJSON() ([]byte, error) { // RevisionStatus: RevisionStatus communicates the observed state of the // Revision (from the controller). type RevisionStatus struct { - // Conditions: Conditions communicates information about - // ongoing/complete reconciliation processes that bring the "spec" - // inline with the observed state of the world. As a Revision is being - // prepared, it will incrementally update conditions. Revision-specific - // conditions include: * "ResourcesAvailable": True when underlying - // resources have been provisioned. * "ContainerHealthy": True when the - // Revision readiness check completes. * "Active": True when the - // Revision may receive traffic. + // Conditions: Conditions communicate information about ongoing/complete + // reconciliation processes that bring the "spec" inline with the + // observed state of the world. As a Revision is being prepared, it will + // incrementally update conditions. Revision-specific conditions + // include: * `ResourcesAvailable`: `True` when underlying resources + // have been provisioned. * `ContainerHealthy`: `True` when the Revision + // readiness check completes. * `Active`: `True` when the Revision may + // receive traffic. Conditions []*GoogleCloudRunV1Condition `json:"conditions,omitempty"` // ImageDigest: ImageDigest holds the resolved digest for the image @@ -3700,7 +3690,7 @@ type ServiceStatus struct { // available on HTTP. Address *Addressable `json:"address,omitempty"` - // Conditions: Communicates information about ongoing/complete + // Conditions: Conditions communicate information about ongoing/complete // reconciliation processes that bring the `spec` inline with the // observed state of the world. Service-specific conditions include: * // `ConfigurationsReady`: `True` when the underlying Configuration is @@ -4142,9 +4132,12 @@ type TaskStatus struct { // in UTC. CompletionTime string `json:"completionTime,omitempty"` - // Conditions: Optional. The latest available observations of a task's - // current state. More info: - // https://kubernetes.io/docs/concepts/workloads/controllers/job/ + // Conditions: Optional. Conditions communicate information about + // ongoing/complete reconciliation processes that bring the "spec" + // inline with the observed state of the world. Task-specific conditions + // include: * `Started`: `True` when the task has started to execute. * + // `Completed`: `True` when the task has succeeded. `False` when the + // task has failed. Conditions []*GoogleCloudRunV1Condition `json:"conditions,omitempty"` // Index: Required. Index of the task, unique per execution, and @@ -4356,10 +4349,7 @@ func (s *TrafficTarget) MarshalJSON() ([]byte, error) { // Volume: Volume represents a named volume in a container. type Volume struct { - // ConfigMap: Adapts a ConfigMap into a volume. The contents of the - // target ConfigMap's Data field will be presented in a volume as files - // using the keys in the Data field as the file names, unless the items - // element is populated with specific mappings of keys to paths. + // ConfigMap: Not supported in Cloud Run. ConfigMap *ConfigMapVolumeSource `json:"configMap,omitempty"` // Name: Volume's name. In Cloud Run Fully Managed, the name 'cloudsql' @@ -5925,7 +5915,7 @@ func (c *NamespacesExecutionsDeleteCall) Kind(kind string) *NamespacesExecutions // PropagationPolicy sets the optional parameter "propagationPolicy": // Specifies the propagation policy of delete. Cloud Run currently // ignores this setting, and deletes in the background. Please see -// http://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ +// https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ // for more information. func (c *NamespacesExecutionsDeleteCall) PropagationPolicy(propagationPolicy string) *NamespacesExecutionsDeleteCall { c.urlParams_.Set("propagationPolicy", propagationPolicy) @@ -6044,7 +6034,7 @@ func (c *NamespacesExecutionsDeleteCall) Do(opts ...googleapi.CallOption) (*Stat // "type": "string" // }, // "propagationPolicy": { - // "description": "Optional. Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see http://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.", + // "description": "Optional. Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.", // "location": "query", // "type": "string" // } @@ -8412,7 +8402,9 @@ type NamespacesServicesCreateCall struct { // the Service is ready. // // - parent: The resource's parent. In Cloud Run, it may be one of the -// following: * `namespaces/{project_id_or_number}` * +// following: * `{project_id_or_number}` * +// `namespaces/{project_id_or_number}` * +// `namespaces/{project_id_or_number}/services` * // `projects/{project_id_or_number}/locations/{region}` * // `projects/{project_id_or_number}/regions/{region}`. func (r *NamespacesServicesService) Create(parent string, service *Service) *NamespacesServicesCreateCall { @@ -8535,7 +8527,7 @@ func (c *NamespacesServicesCreateCall) Do(opts ...googleapi.CallOption) (*Servic // "type": "string" // }, // "parent": { - // "description": "The resource's parent. In Cloud Run, it may be one of the following: * `namespaces/{project_id_or_number}` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`", + // "description": "Required. The resource's parent. In Cloud Run, it may be one of the following: * `{project_id_or_number}` * `namespaces/{project_id_or_number}` * `namespaces/{project_id_or_number}/services` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`", // "location": "path", // "pattern": "^namespaces/[^/]+$", // "required": true, @@ -8721,7 +8713,7 @@ func (c *NamespacesServicesDeleteCall) Do(opts ...googleapi.CallOption) (*Status // "type": "string" // }, // "name": { - // "description": "The fully qualified name of the service to delete. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", + // "description": "Required. The fully qualified name of the service to delete. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", // "location": "path", // "pattern": "^namespaces/[^/]+/services/[^/]+$", // "required": true, @@ -8878,7 +8870,7 @@ func (c *NamespacesServicesGetCall) Do(opts ...googleapi.CallOption) (*Service, // ], // "parameters": { // "name": { - // "description": "The fully qualified name of the service to retrieve. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", + // "description": "Required. The fully qualified name of the service to retrieve. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", // "location": "path", // "pattern": "^namespaces/[^/]+/services/[^/]+$", // "required": true, @@ -8911,7 +8903,8 @@ type NamespacesServicesListCall struct { // // - parent: The parent from where the resources should be listed. In // Cloud Run, it may be one of the following: * -// `namespaces/{project_id_or_number}` * +// `{project_id_or_number}` * `namespaces/{project_id_or_number}` * +// `namespaces/{project_id_or_number}/services` * // `projects/{project_id_or_number}/locations/{region}` * // `projects/{project_id_or_number}/regions/{region}`. func (r *NamespacesServicesService) List(parent string) *NamespacesServicesListCall { @@ -9078,7 +9071,7 @@ func (c *NamespacesServicesListCall) Do(opts ...googleapi.CallOption) (*ListServ // ], // "parameters": { // "continue": { - // "description": "Optional. Encoded string to continue paging.", + // "description": "Encoded string to continue paging.", // "location": "query", // "type": "string" // }, @@ -9098,13 +9091,13 @@ func (c *NamespacesServicesListCall) Do(opts ...googleapi.CallOption) (*ListServ // "type": "string" // }, // "limit": { - // "description": "Optional. The maximum number of records that should be returned.", + // "description": "The maximum number of records that should be returned.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "parent": { - // "description": "The parent from where the resources should be listed. In Cloud Run, it may be one of the following: * `namespaces/{project_id_or_number}` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`", + // "description": "Required. The parent from where the resources should be listed. In Cloud Run, it may be one of the following: * `{project_id_or_number}` * `namespaces/{project_id_or_number}` * `namespaces/{project_id_or_number}/services` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`", // "location": "path", // "pattern": "^namespaces/[^/]+$", // "required": true, @@ -9276,7 +9269,7 @@ func (c *NamespacesServicesReplaceServiceCall) Do(opts ...googleapi.CallOption) // "type": "string" // }, // "name": { - // "description": "The fully qualified name of the service to replace. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", + // "description": "Required. The fully qualified name of the service to replace. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", // "location": "path", // "pattern": "^namespaces/[^/]+/services/[^/]+$", // "required": true, @@ -9490,7 +9483,19 @@ func (c *NamespacesTasksListCall) IncludeUninitialized(includeUninitialized bool // LabelSelector sets the optional parameter "labelSelector": Allows to // filter resources based on a label. Supported operations are =, !=, -// exists, in, and notIn. +// exists, in, and notIn. For example, to list all tasks of execution +// "foo" in succeeded state: +// `run.googleapis.com/execution=foo,run.googleapis.com/runningState=Succ +// eeded`. Supported states are: * `Pending`: Initial state of all +// tasks. The task has not yet started but eventually will. * `Running`: +// Container instances for this task are running or will be running +// shortly. * `Succeeded`: No more container instances to run for the +// task, and the last attempt succeeded. * `Failed`: No more container +// instances to run for the task, and the last attempt failed. This task +// has run out of retry attempts. * `Cancelled`: Task was running but +// got stopped because its parent execution has been aborted. * +// `Abandoned`: The task has not yet started and never will because its +// parent execution has been aborted. func (c *NamespacesTasksListCall) LabelSelector(labelSelector string) *NamespacesTasksListCall { c.urlParams_.Set("labelSelector", labelSelector) return c @@ -9640,7 +9645,7 @@ func (c *NamespacesTasksListCall) Do(opts ...googleapi.CallOption) (*ListTasksRe // "type": "boolean" // }, // "labelSelector": { - // "description": "Optional. Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.", + // "description": "Optional. Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. For example, to list all tasks of execution \"foo\" in succeeded state: `run.googleapis.com/execution=foo,run.googleapis.com/runningState=Succeeded`. Supported states are: * `Pending`: Initial state of all tasks. The task has not yet started but eventually will. * `Running`: Container instances for this task are running or will be running shortly. * `Succeeded`: No more container instances to run for the task, and the last attempt succeeded. * `Failed`: No more container instances to run for the task, and the last attempt failed. This task has run out of retry attempts. * `Cancelled`: Task was running but got stopped because its parent execution has been aborted. * `Abandoned`: The task has not yet started and never will because its parent execution has been aborted.", // "location": "query", // "type": "string" // }, @@ -12835,7 +12840,9 @@ type ProjectsLocationsServicesCreateCall struct { // the Service is ready. // // - parent: The resource's parent. In Cloud Run, it may be one of the -// following: * `namespaces/{project_id_or_number}` * +// following: * `{project_id_or_number}` * +// `namespaces/{project_id_or_number}` * +// `namespaces/{project_id_or_number}/services` * // `projects/{project_id_or_number}/locations/{region}` * // `projects/{project_id_or_number}/regions/{region}`. func (r *ProjectsLocationsServicesService) Create(parent string, service *Service) *ProjectsLocationsServicesCreateCall { @@ -12958,7 +12965,7 @@ func (c *ProjectsLocationsServicesCreateCall) Do(opts ...googleapi.CallOption) ( // "type": "string" // }, // "parent": { - // "description": "The resource's parent. In Cloud Run, it may be one of the following: * `namespaces/{project_id_or_number}` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`", + // "description": "Required. The resource's parent. In Cloud Run, it may be one of the following: * `{project_id_or_number}` * `namespaces/{project_id_or_number}` * `namespaces/{project_id_or_number}/services` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, @@ -13144,7 +13151,7 @@ func (c *ProjectsLocationsServicesDeleteCall) Do(opts ...googleapi.CallOption) ( // "type": "string" // }, // "name": { - // "description": "The fully qualified name of the service to delete. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", + // "description": "Required. The fully qualified name of the service to delete. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", // "required": true, @@ -13301,7 +13308,7 @@ func (c *ProjectsLocationsServicesGetCall) Do(opts ...googleapi.CallOption) (*Se // ], // "parameters": { // "name": { - // "description": "The fully qualified name of the service to retrieve. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", + // "description": "Required. The fully qualified name of the service to retrieve. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", // "required": true, @@ -13509,7 +13516,8 @@ type ProjectsLocationsServicesListCall struct { // // - parent: The parent from where the resources should be listed. In // Cloud Run, it may be one of the following: * -// `namespaces/{project_id_or_number}` * +// `{project_id_or_number}` * `namespaces/{project_id_or_number}` * +// `namespaces/{project_id_or_number}/services` * // `projects/{project_id_or_number}/locations/{region}` * // `projects/{project_id_or_number}/regions/{region}`. func (r *ProjectsLocationsServicesService) List(parent string) *ProjectsLocationsServicesListCall { @@ -13676,7 +13684,7 @@ func (c *ProjectsLocationsServicesListCall) Do(opts ...googleapi.CallOption) (*L // ], // "parameters": { // "continue": { - // "description": "Optional. Encoded string to continue paging.", + // "description": "Encoded string to continue paging.", // "location": "query", // "type": "string" // }, @@ -13696,13 +13704,13 @@ func (c *ProjectsLocationsServicesListCall) Do(opts ...googleapi.CallOption) (*L // "type": "string" // }, // "limit": { - // "description": "Optional. The maximum number of records that should be returned.", + // "description": "The maximum number of records that should be returned.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "parent": { - // "description": "The parent from where the resources should be listed. In Cloud Run, it may be one of the following: * `namespaces/{project_id_or_number}` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`", + // "description": "Required. The parent from where the resources should be listed. In Cloud Run, it may be one of the following: * `{project_id_or_number}` * `namespaces/{project_id_or_number}` * `namespaces/{project_id_or_number}/services` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, @@ -13874,7 +13882,7 @@ func (c *ProjectsLocationsServicesReplaceServiceCall) Do(opts ...googleapi.CallO // "type": "string" // }, // "name": { - // "description": "The fully qualified name of the service to replace. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", + // "description": "Required. The fully qualified name of the service to replace. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` * `projects/{project_id_or_number}/locations/{region}/services/{service_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_name}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", // "required": true, diff --git a/run/v2/run-api.json b/run/v2/run-api.json index 9713929d91e..835af6b9601 100644 --- a/run/v2/run-api.json +++ b/run/v2/run-api.json @@ -1064,7 +1064,7 @@ } } }, - "revision": "20220807", + "revision": "20220828", "rootUrl": "https://run.googleapis.com/", "schemas": { "GoogleCloudRunV2BinaryAuthorization": { @@ -2809,7 +2809,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/run/v2/run-gen.go b/run/v2/run-gen.go index 49d3557f260..28c6df81215 100644 --- a/run/v2/run-gen.go +++ b/run/v2/run-gen.go @@ -2649,11 +2649,12 @@ type GoogleIamV1Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/runtimeconfig/v1beta1/runtimeconfig-api.json b/runtimeconfig/v1beta1/runtimeconfig-api.json index 9d3dbf8baaf..cdf6426b69c 100644 --- a/runtimeconfig/v1beta1/runtimeconfig-api.json +++ b/runtimeconfig/v1beta1/runtimeconfig-api.json @@ -805,7 +805,7 @@ } } }, - "revision": "20220808", + "revision": "20220829", "rootUrl": "https://runtimeconfig.googleapis.com/", "schemas": { "Binding": { @@ -817,7 +817,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/runtimeconfig/v1beta1/runtimeconfig-gen.go b/runtimeconfig/v1beta1/runtimeconfig-gen.go index 7a3fe57e382..9c0ace945ad 100644 --- a/runtimeconfig/v1beta1/runtimeconfig-gen.go +++ b/runtimeconfig/v1beta1/runtimeconfig-gen.go @@ -219,11 +219,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/secretmanager/v1/secretmanager-api.json b/secretmanager/v1/secretmanager-api.json index ce498b2e0dd..98dcb9088a4 100644 --- a/secretmanager/v1/secretmanager-api.json +++ b/secretmanager/v1/secretmanager-api.json @@ -643,7 +643,7 @@ } } }, - "revision": "20220812", + "revision": "20220826", "rootUrl": "https://secretmanager.googleapis.com/", "schemas": { "AccessSecretVersionResponse": { @@ -752,7 +752,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/secretmanager/v1/secretmanager-gen.go b/secretmanager/v1/secretmanager-gen.go index 3f19842ae7b..2f38ffd6ac5 100644 --- a/secretmanager/v1/secretmanager-gen.go +++ b/secretmanager/v1/secretmanager-gen.go @@ -432,11 +432,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/secretmanager/v1beta1/secretmanager-api.json b/secretmanager/v1beta1/secretmanager-api.json index d06abeee304..c60b83e6929 100644 --- a/secretmanager/v1beta1/secretmanager-api.json +++ b/secretmanager/v1beta1/secretmanager-api.json @@ -628,7 +628,7 @@ } } }, - "revision": "20220812", + "revision": "20220826", "rootUrl": "https://secretmanager.googleapis.com/", "schemas": { "AccessSecretVersionResponse": { @@ -720,7 +720,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/secretmanager/v1beta1/secretmanager-gen.go b/secretmanager/v1beta1/secretmanager-gen.go index e3ead2f6b60..840545443d1 100644 --- a/secretmanager/v1beta1/secretmanager-gen.go +++ b/secretmanager/v1beta1/secretmanager-gen.go @@ -367,11 +367,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/securitycenter/v1/securitycenter-api.json b/securitycenter/v1/securitycenter-api.json index bf4e1d97e0b..c2c0026e583 100644 --- a/securitycenter/v1/securitycenter-api.json +++ b/securitycenter/v1/securitycenter-api.json @@ -3058,7 +3058,7 @@ } } }, - "revision": "20220817", + "revision": "20220825", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -3082,7 +3082,7 @@ "type": "string" }, "principalSubject": { - "description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subject/{subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", + "description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", "type": "string" }, "serviceAccountDelegationInfo": { @@ -3278,7 +3278,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, @@ -3782,7 +3782,7 @@ "additionalProperties": { "$ref": "ContactDetails" }, - "description": "Output only. Map containing the point of contacts for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain. Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { \"security\": { \"contacts\": [ { \"email\": \"person1@company.com\" }, { \"email\": \"person2@company.com\" } ] }", + "description": "Output only. Map containing the point of contacts for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain. Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { \"security\": { \"contacts\": [ { \"email\": \"person1@company.com\" }, { \"email\": \"person2@company.com\" } ] } }", "readOnly": true, "type": "object" }, @@ -4694,7 +4694,7 @@ "type": "array" }, "uris": { - "description": "The list of URIs associated to the Findings", + "description": "The list of URIs associated to the Findings.", "items": { "type": "string" }, @@ -5656,11 +5656,11 @@ "id": "ServiceAccountDelegationInfo", "properties": { "principalEmail": { - "description": "The email address of a Google account. .", + "description": "The email address of a Google account.", "type": "string" }, "principalSubject": { - "description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subject/{subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", + "description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", "type": "string" } }, diff --git a/securitycenter/v1/securitycenter-gen.go b/securitycenter/v1/securitycenter-gen.go index d77d9718b5c..a85dcca21a0 100644 --- a/securitycenter/v1/securitycenter-gen.go +++ b/securitycenter/v1/securitycenter-gen.go @@ -473,7 +473,7 @@ type Access struct { // supports principals that aren't associated with email addresses, such // as third party principals. For most identities, the format will be // `principal://iam.googleapis.com/{identity pool - // name}/subject/{subject)` except for some GKE identities + // name}/subjects/{subject}` except for some GKE identities // (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the // legacy format `serviceAccount:{identity pool name}[{subject}]` PrincipalSubject string `json:"principalSubject,omitempty"` @@ -806,11 +806,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -1655,7 +1656,7 @@ type Finding struct { // to: // https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories // { "security": { "contacts": [ { "email": "person1@company.com" }, { - // "email": "person2@company.com" } ] } + // "email": "person2@company.com" } ] } } Contacts map[string]ContactDetails `json:"contacts,omitempty"` // Containers: Containers associated with the finding. containers @@ -3198,7 +3199,7 @@ type Indicator struct { // process is present in the environment. Signatures []*ProcessSignature `json:"signatures,omitempty"` - // Uris: The list of URIs associated to the Findings + // Uris: The list of URIs associated to the Findings. Uris []string `json:"uris,omitempty"` // ForceSendFields is a list of field names (e.g. "Domains") to @@ -4582,7 +4583,7 @@ func (s *SecurityMarks) MarshalJSON() ([]byte, error) { // ServiceAccountDelegationInfo: Identity delegation history of an // authenticated service account. type ServiceAccountDelegationInfo struct { - // PrincipalEmail: The email address of a Google account. . + // PrincipalEmail: The email address of a Google account. PrincipalEmail string `json:"principalEmail,omitempty"` // PrincipalSubject: A string representing the principal_subject @@ -4590,7 +4591,7 @@ type ServiceAccountDelegationInfo struct { // supports principals that aren't associated with email addresses, such // as third party principals. For most identities, the format will be // `principal://iam.googleapis.com/{identity pool - // name}/subject/{subject)` except for some GKE identities + // name}/subjects/{subject}` except for some GKE identities // (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the // legacy format `serviceAccount:{identity pool name}[{subject}]` PrincipalSubject string `json:"principalSubject,omitempty"` diff --git a/securitycenter/v1beta1/securitycenter-api.json b/securitycenter/v1beta1/securitycenter-api.json index 1ffc1f62e62..a752f869550 100644 --- a/securitycenter/v1beta1/securitycenter-api.json +++ b/securitycenter/v1beta1/securitycenter-api.json @@ -896,7 +896,7 @@ } } }, - "revision": "20220817", + "revision": "20220825", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -920,7 +920,7 @@ "type": "string" }, "principalSubject": { - "description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subject/{subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", + "description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", "type": "string" }, "serviceAccountDelegationInfo": { @@ -1101,7 +1101,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, @@ -1596,7 +1596,7 @@ "additionalProperties": { "$ref": "ContactDetails" }, - "description": "Output only. Map containing the point of contacts for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain. Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { \"security\": { \"contacts\": [ { \"email\": \"person1@company.com\" }, { \"email\": \"person2@company.com\" } ] }", + "description": "Output only. Map containing the point of contacts for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain. Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { \"security\": { \"contacts\": [ { \"email\": \"person1@company.com\" }, { \"email\": \"person2@company.com\" } ] } }", "readOnly": true, "type": "object" }, @@ -2563,7 +2563,7 @@ "type": "array" }, "uris": { - "description": "The list of URIs associated to the Findings", + "description": "The list of URIs associated to the Findings.", "items": { "type": "string" }, @@ -3350,11 +3350,11 @@ "id": "ServiceAccountDelegationInfo", "properties": { "principalEmail": { - "description": "The email address of a Google account. .", + "description": "The email address of a Google account.", "type": "string" }, "principalSubject": { - "description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subject/{subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", + "description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", "type": "string" } }, diff --git a/securitycenter/v1beta1/securitycenter-gen.go b/securitycenter/v1beta1/securitycenter-gen.go index 86ed2de4bf0..bfbffc0fbf6 100644 --- a/securitycenter/v1beta1/securitycenter-gen.go +++ b/securitycenter/v1beta1/securitycenter-gen.go @@ -221,7 +221,7 @@ type Access struct { // supports principals that aren't associated with email addresses, such // as third party principals. For most identities, the format will be // `principal://iam.googleapis.com/{identity pool - // name}/subject/{subject)` except for some GKE identities + // name}/subjects/{subject}` except for some GKE identities // (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the // legacy format `serviceAccount:{identity pool name}[{subject}]` PrincipalSubject string `json:"principalSubject,omitempty"` @@ -537,11 +537,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account @@ -1346,7 +1347,7 @@ type Finding struct { // to: // https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories // { "security": { "contacts": [ { "email": "person1@company.com" }, { - // "email": "person2@company.com" } ] } + // "email": "person2@company.com" } ] } } Contacts map[string]ContactDetails `json:"contacts,omitempty"` // Containers: Containers associated with the finding. containers @@ -2913,7 +2914,7 @@ type Indicator struct { // process is present in the environment. Signatures []*ProcessSignature `json:"signatures,omitempty"` - // Uris: The list of URIs associated to the Findings + // Uris: The list of URIs associated to the Findings. Uris []string `json:"uris,omitempty"` // ForceSendFields is a list of field names (e.g. "Domains") to @@ -4007,7 +4008,7 @@ func (s *SecurityMarks) MarshalJSON() ([]byte, error) { // ServiceAccountDelegationInfo: Identity delegation history of an // authenticated service account. type ServiceAccountDelegationInfo struct { - // PrincipalEmail: The email address of a Google account. . + // PrincipalEmail: The email address of a Google account. PrincipalEmail string `json:"principalEmail,omitempty"` // PrincipalSubject: A string representing the principal_subject @@ -4015,7 +4016,7 @@ type ServiceAccountDelegationInfo struct { // supports principals that aren't associated with email addresses, such // as third party principals. For most identities, the format will be // `principal://iam.googleapis.com/{identity pool - // name}/subject/{subject)` except for some GKE identities + // name}/subjects/{subject}` except for some GKE identities // (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the // legacy format `serviceAccount:{identity pool name}[{subject}]` PrincipalSubject string `json:"principalSubject,omitempty"` diff --git a/securitycenter/v1beta2/securitycenter-api.json b/securitycenter/v1beta2/securitycenter-api.json index cee64c96c4c..01043f31eaf 100644 --- a/securitycenter/v1beta2/securitycenter-api.json +++ b/securitycenter/v1beta2/securitycenter-api.json @@ -1981,7 +1981,7 @@ } } }, - "revision": "20220817", + "revision": "20220825", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -2005,7 +2005,7 @@ "type": "string" }, "principalSubject": { - "description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subject/{subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", + "description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", "type": "string" }, "serviceAccountDelegationInfo": { @@ -2663,7 +2663,7 @@ "additionalProperties": { "$ref": "ContactDetails" }, - "description": "Output only. Map containing the point of contacts for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain. Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { \"security\": { \"contacts\": [ { \"email\": \"person1@company.com\" }, { \"email\": \"person2@company.com\" } ] }", + "description": "Output only. Map containing the point of contacts for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain. Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { \"security\": { \"contacts\": [ { \"email\": \"person1@company.com\" }, { \"email\": \"person2@company.com\" } ] } }", "readOnly": true, "type": "object" }, @@ -3398,7 +3398,7 @@ "type": "array" }, "uris": { - "description": "The list of URIs associated to the Findings", + "description": "The list of URIs associated to the Findings.", "items": { "type": "string" }, @@ -4079,11 +4079,11 @@ "id": "ServiceAccountDelegationInfo", "properties": { "principalEmail": { - "description": "The email address of a Google account. .", + "description": "The email address of a Google account.", "type": "string" }, "principalSubject": { - "description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subject/{subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", + "description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", "type": "string" } }, diff --git a/securitycenter/v1beta2/securitycenter-gen.go b/securitycenter/v1beta2/securitycenter-gen.go index 1e42ef66d42..2af6ad9fced 100644 --- a/securitycenter/v1beta2/securitycenter-gen.go +++ b/securitycenter/v1beta2/securitycenter-gen.go @@ -449,7 +449,7 @@ type Access struct { // supports principals that aren't associated with email addresses, such // as third party principals. For most identities, the format will be // `principal://iam.googleapis.com/{identity pool - // name}/subject/{subject)` except for some GKE identities + // name}/subjects/{subject}` except for some GKE identities // (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the // legacy format `serviceAccount:{identity pool name}[{subject}]` PrincipalSubject string `json:"principalSubject,omitempty"` @@ -1430,7 +1430,7 @@ type Finding struct { // to: // https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories // { "security": { "contacts": [ { "email": "person1@company.com" }, { - // "email": "person2@company.com" } ] } + // "email": "person2@company.com" } ] } } Contacts map[string]ContactDetails `json:"contacts,omitempty"` // Containers: Containers associated with the finding. containers @@ -2511,7 +2511,7 @@ type Indicator struct { // process is present in the environment. Signatures []*ProcessSignature `json:"signatures,omitempty"` - // Uris: The list of URIs associated to the Findings + // Uris: The list of URIs associated to the Findings. Uris []string `json:"uris,omitempty"` // ForceSendFields is a list of field names (e.g. "Domains") to @@ -3354,7 +3354,7 @@ func (s *SecurityMarks) MarshalJSON() ([]byte, error) { // ServiceAccountDelegationInfo: Identity delegation history of an // authenticated service account. type ServiceAccountDelegationInfo struct { - // PrincipalEmail: The email address of a Google account. . + // PrincipalEmail: The email address of a Google account. PrincipalEmail string `json:"principalEmail,omitempty"` // PrincipalSubject: A string representing the principal_subject @@ -3362,7 +3362,7 @@ type ServiceAccountDelegationInfo struct { // supports principals that aren't associated with email addresses, such // as third party principals. For most identities, the format will be // `principal://iam.googleapis.com/{identity pool - // name}/subject/{subject)` except for some GKE identities + // name}/subjects/{subject}` except for some GKE identities // (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the // legacy format `serviceAccount:{identity pool name}[{subject}]` PrincipalSubject string `json:"principalSubject,omitempty"` diff --git a/servicedirectory/v1/servicedirectory-api.json b/servicedirectory/v1/servicedirectory-api.json index 9d2cad006f6..85f095deb36 100644 --- a/servicedirectory/v1/servicedirectory-api.json +++ b/servicedirectory/v1/servicedirectory-api.json @@ -883,7 +883,7 @@ } } }, - "revision": "20220804", + "revision": "20220824", "rootUrl": "https://servicedirectory.googleapis.com/", "schemas": { "Binding": { @@ -895,7 +895,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/servicedirectory/v1/servicedirectory-gen.go b/servicedirectory/v1/servicedirectory-gen.go index d877a0908df..202e7222dc8 100644 --- a/servicedirectory/v1/servicedirectory-gen.go +++ b/servicedirectory/v1/servicedirectory-gen.go @@ -211,11 +211,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/servicedirectory/v1beta1/servicedirectory-api.json b/servicedirectory/v1beta1/servicedirectory-api.json index 26ab8ed3f42..4fb4c97176e 100644 --- a/servicedirectory/v1beta1/servicedirectory-api.json +++ b/servicedirectory/v1beta1/servicedirectory-api.json @@ -1059,7 +1059,7 @@ } } }, - "revision": "20220804", + "revision": "20220824", "rootUrl": "https://servicedirectory.googleapis.com/", "schemas": { "Binding": { @@ -1071,7 +1071,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/servicedirectory/v1beta1/servicedirectory-gen.go b/servicedirectory/v1beta1/servicedirectory-gen.go index a46adeed503..ddbd143d140 100644 --- a/servicedirectory/v1beta1/servicedirectory-gen.go +++ b/servicedirectory/v1beta1/servicedirectory-gen.go @@ -235,11 +235,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/servicemanagement/v1/servicemanagement-api.json b/servicemanagement/v1/servicemanagement-api.json index 72013a59408..5881626752b 100644 --- a/servicemanagement/v1/servicemanagement-api.json +++ b/servicemanagement/v1/servicemanagement-api.json @@ -829,7 +829,7 @@ } } }, - "revision": "20220805", + "revision": "20220826", "rootUrl": "https://servicemanagement.googleapis.com/", "schemas": { "Advice": { @@ -1144,7 +1144,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/servicemanagement/v1/servicemanagement-gen.go b/servicemanagement/v1/servicemanagement-gen.go index 680a008020b..1792168061d 100644 --- a/servicemanagement/v1/servicemanagement-gen.go +++ b/servicemanagement/v1/servicemanagement-gen.go @@ -875,11 +875,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/servicenetworking/v1/servicenetworking-api.json b/servicenetworking/v1/servicenetworking-api.json index 702c2d1cd35..b20e57f150a 100644 --- a/servicenetworking/v1/servicenetworking-api.json +++ b/servicenetworking/v1/servicenetworking-api.json @@ -865,7 +865,7 @@ } } }, - "revision": "20220822", + "revision": "20220904", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -2645,18 +2645,18 @@ "type": "object" }, "Quota": { - "description": "Quota configuration helps to achieve fairness and budgeting in service usage. The metric based quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: \"1/min/{project}\" # rate limit for consumer projects values: STANDARD: 10000 # The metric rules bind all methods to the read_calls metric, # except for the UpdateBook and DeleteBook methods. These two methods # are mapped to the write_calls metric, with the UpdateBook method # consuming at twice rate as the DeleteBook method. metric_rules: - selector: \"*\" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64 ", + "description": "Quota configuration helps to achieve fairness and budgeting in service usage. The metric based quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: \"1/min/{project}\" # rate limit for consumer projects values: STANDARD: 10000 (The metric rules bind all methods to the read_calls metric, except for the UpdateBook and DeleteBook methods. These two methods are mapped to the write_calls metric, with the UpdateBook method consuming at twice rate as the DeleteBook method.) metric_rules: - selector: \"*\" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64 ", "id": "Quota", "properties": { "limits": { - "description": "List of `QuotaLimit` definitions for the service.", + "description": "List of QuotaLimit definitions for the service.", "items": { "$ref": "QuotaLimit" }, "type": "array" }, "metricRules": { - "description": "List of `MetricRule` definitions, each one mapping a selected method to one or more metrics.", + "description": "List of MetricRule definitions, each one mapping a selected method to one or more metrics.", "items": { "$ref": "MetricRule" }, diff --git a/servicenetworking/v1/servicenetworking-gen.go b/servicenetworking/v1/servicenetworking-gen.go index fc1182223ff..4758f2e2875 100644 --- a/servicenetworking/v1/servicenetworking-gen.go +++ b/servicenetworking/v1/servicenetworking-gen.go @@ -3754,11 +3754,11 @@ func (s *PolicyBinding) MarshalJSON() ([]byte, error) { // be used for quota checks at runtime. An example quota configuration // in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: // library.googleapis.com/write_calls unit: "1/min/{project}" # rate -// limit for consumer projects values: STANDARD: 10000 # The metric -// rules bind all methods to the read_calls metric, # except for the -// UpdateBook and DeleteBook methods. These two methods # are mapped to -// the write_calls metric, with the UpdateBook method # consuming at -// twice rate as the DeleteBook method. metric_rules: - selector: "*" +// limit for consumer projects values: STANDARD: 10000 (The metric rules +// bind all methods to the read_calls metric, except for the UpdateBook +// and DeleteBook methods. These two methods are mapped to the +// write_calls metric, with the UpdateBook method consuming at twice +// rate as the DeleteBook method.) metric_rules: - selector: "*" // metric_costs: library.googleapis.com/read_calls: 1 - selector: // google.example.library.v1.LibraryService.UpdateBook metric_costs: // library.googleapis.com/write_calls: 2 - selector: @@ -3769,10 +3769,10 @@ func (s *PolicyBinding) MarshalJSON() ([]byte, error) { // name: library.googleapis.com/write_calls display_name: Write requests // metric_kind: DELTA value_type: INT64 type Quota struct { - // Limits: List of `QuotaLimit` definitions for the service. + // Limits: List of QuotaLimit definitions for the service. Limits []*QuotaLimit `json:"limits,omitempty"` - // MetricRules: List of `MetricRule` definitions, each one mapping a + // MetricRules: List of MetricRule definitions, each one mapping a // selected method to one or more metrics. MetricRules []*MetricRule `json:"metricRules,omitempty"` diff --git a/servicenetworking/v1beta/servicenetworking-api.json b/servicenetworking/v1beta/servicenetworking-api.json index b7b334081fa..594e5316fba 100644 --- a/servicenetworking/v1beta/servicenetworking-api.json +++ b/servicenetworking/v1beta/servicenetworking-api.json @@ -307,7 +307,7 @@ } } }, - "revision": "20220822", + "revision": "20220904", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -1903,18 +1903,18 @@ "type": "object" }, "Quota": { - "description": "Quota configuration helps to achieve fairness and budgeting in service usage. The metric based quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: \"1/min/{project}\" # rate limit for consumer projects values: STANDARD: 10000 # The metric rules bind all methods to the read_calls metric, # except for the UpdateBook and DeleteBook methods. These two methods # are mapped to the write_calls metric, with the UpdateBook method # consuming at twice rate as the DeleteBook method. metric_rules: - selector: \"*\" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64 ", + "description": "Quota configuration helps to achieve fairness and budgeting in service usage. The metric based quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: \"1/min/{project}\" # rate limit for consumer projects values: STANDARD: 10000 (The metric rules bind all methods to the read_calls metric, except for the UpdateBook and DeleteBook methods. These two methods are mapped to the write_calls metric, with the UpdateBook method consuming at twice rate as the DeleteBook method.) metric_rules: - selector: \"*\" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64 ", "id": "Quota", "properties": { "limits": { - "description": "List of `QuotaLimit` definitions for the service.", + "description": "List of QuotaLimit definitions for the service.", "items": { "$ref": "QuotaLimit" }, "type": "array" }, "metricRules": { - "description": "List of `MetricRule` definitions, each one mapping a selected method to one or more metrics.", + "description": "List of MetricRule definitions, each one mapping a selected method to one or more metrics.", "items": { "$ref": "MetricRule" }, diff --git a/servicenetworking/v1beta/servicenetworking-gen.go b/servicenetworking/v1beta/servicenetworking-gen.go index 2f58e01d356..0233f11e9d8 100644 --- a/servicenetworking/v1beta/servicenetworking-gen.go +++ b/servicenetworking/v1beta/servicenetworking-gen.go @@ -3265,11 +3265,11 @@ func (s *PolicyBinding) MarshalJSON() ([]byte, error) { // be used for quota checks at runtime. An example quota configuration // in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: // library.googleapis.com/write_calls unit: "1/min/{project}" # rate -// limit for consumer projects values: STANDARD: 10000 # The metric -// rules bind all methods to the read_calls metric, # except for the -// UpdateBook and DeleteBook methods. These two methods # are mapped to -// the write_calls metric, with the UpdateBook method # consuming at -// twice rate as the DeleteBook method. metric_rules: - selector: "*" +// limit for consumer projects values: STANDARD: 10000 (The metric rules +// bind all methods to the read_calls metric, except for the UpdateBook +// and DeleteBook methods. These two methods are mapped to the +// write_calls metric, with the UpdateBook method consuming at twice +// rate as the DeleteBook method.) metric_rules: - selector: "*" // metric_costs: library.googleapis.com/read_calls: 1 - selector: // google.example.library.v1.LibraryService.UpdateBook metric_costs: // library.googleapis.com/write_calls: 2 - selector: @@ -3280,10 +3280,10 @@ func (s *PolicyBinding) MarshalJSON() ([]byte, error) { // name: library.googleapis.com/write_calls display_name: Write requests // metric_kind: DELTA value_type: INT64 type Quota struct { - // Limits: List of `QuotaLimit` definitions for the service. + // Limits: List of QuotaLimit definitions for the service. Limits []*QuotaLimit `json:"limits,omitempty"` - // MetricRules: List of `MetricRule` definitions, each one mapping a + // MetricRules: List of MetricRule definitions, each one mapping a // selected method to one or more metrics. MetricRules []*MetricRule `json:"metricRules,omitempty"` diff --git a/sourcerepo/v1/sourcerepo-api.json b/sourcerepo/v1/sourcerepo-api.json index a0c792417aa..c0cab80bcb6 100644 --- a/sourcerepo/v1/sourcerepo-api.json +++ b/sourcerepo/v1/sourcerepo-api.json @@ -450,7 +450,7 @@ } } }, - "revision": "20220802", + "revision": "20220829", "rootUrl": "https://sourcerepo.googleapis.com/", "schemas": { "AuditConfig": { @@ -510,7 +510,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/sourcerepo/v1/sourcerepo-gen.go b/sourcerepo/v1/sourcerepo-gen.go index b03d78cc991..8377c80f54f 100644 --- a/sourcerepo/v1/sourcerepo-gen.go +++ b/sourcerepo/v1/sourcerepo-gen.go @@ -288,11 +288,12 @@ type Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/spanner/v1/spanner-api.json b/spanner/v1/spanner-api.json index 86d8aff42f2..7748917eb5e 100644 --- a/spanner/v1/spanner-api.json +++ b/spanner/v1/spanner-api.json @@ -2262,7 +2262,7 @@ } } }, - "revision": "20220812", + "revision": "20220902", "rootUrl": "https://spanner.googleapis.com/", "schemas": { "Backup": { @@ -2296,7 +2296,7 @@ }, "encryptionInfo": { "$ref": "EncryptionInfo", - "description": "Output only. The encryption information for the backup.", + "description": "Output only. Output only. The encryption information for the backup. .", "readOnly": true }, "expireTime": { @@ -2854,7 +2854,7 @@ "id": "DatabaseRole", "properties": { "name": { - "description": "Required. The name of the database role. Values are of the form `projects//instances//databases//databaseRoles/ `, where `` is as specified in the `CREATE ROLE` DDL statement.", + "description": "Required. The name of the database role. Values are of the form `projects//instances//databases//databaseRoles/` where `` is as specified in the `CREATE ROLE` DDL statement.", "type": "string" } }, diff --git a/spanner/v1/spanner-gen.go b/spanner/v1/spanner-gen.go index 418398edc6c..70397e429a2 100644 --- a/spanner/v1/spanner-gen.go +++ b/spanner/v1/spanner-gen.go @@ -339,8 +339,8 @@ type Backup struct { // "POSTGRESQL" - PostgreSQL supported SQL. DatabaseDialect string `json:"databaseDialect,omitempty"` - // EncryptionInfo: Output only. The encryption information for the - // backup. + // EncryptionInfo: Output only. Output only. The encryption information + // for the backup. . EncryptionInfo *EncryptionInfo `json:"encryptionInfo,omitempty"` // ExpireTime: Required for the CreateBackup operation. The expiration @@ -1365,7 +1365,7 @@ func (s *Database) MarshalJSON() ([]byte, error) { // DatabaseRole: A Cloud Spanner database role. type DatabaseRole struct { // Name: Required. The name of the database role. Values are of the form - // `projects//instances//databases//databaseRoles/ `, where `` is as + // `projects//instances//databases//databaseRoles/` where `` is as // specified in the `CREATE ROLE` DDL statement. Name string `json:"name,omitempty"` diff --git a/speech/v1/speech-api.json b/speech/v1/speech-api.json index 2af601ae98f..a647e5c389f 100644 --- a/speech/v1/speech-api.json +++ b/speech/v1/speech-api.json @@ -524,7 +524,7 @@ } } }, - "revision": "20220511", + "revision": "20220825", "rootUrl": "https://speech.googleapis.com/", "schemas": { "ClassItem": { @@ -708,6 +708,11 @@ "$ref": "Status", "description": "If the transcript output fails this field contains the relevant error." }, + "requestId": { + "description": "The ID associated with the request. This is a unique ID specific only to the given request.", + "format": "int64", + "type": "string" + }, "results": { "description": "Sequential list of transcription results corresponding to sequential portions of audio.", "items": { @@ -1048,6 +1053,11 @@ "description": "The only message returned to the client by the `Recognize` method. It contains the result as zero or more sequential `SpeechRecognitionResult` messages.", "id": "RecognizeResponse", "properties": { + "requestId": { + "description": "The ID associated with the request. This is a unique ID specific only to the given request.", + "format": "int64", + "type": "string" + }, "results": { "description": "Sequential list of transcription results corresponding to sequential portions of audio.", "items": { diff --git a/speech/v1/speech-gen.go b/speech/v1/speech-gen.go index c0df3b547b4..47c3ae721a6 100644 --- a/speech/v1/speech-gen.go +++ b/speech/v1/speech-gen.go @@ -569,6 +569,10 @@ type LongRunningRecognizeResponse struct { // relevant error. OutputError *Status `json:"outputError,omitempty"` + // RequestId: The ID associated with the request. This is a unique ID + // specific only to the given request. + RequestId int64 `json:"requestId,omitempty,string"` + // Results: Sequential list of transcription results corresponding to // sequential portions of audio. Results []*SpeechRecognitionResult `json:"results,omitempty"` @@ -1209,6 +1213,10 @@ func (s *RecognizeRequest) MarshalJSON() ([]byte, error) { // `Recognize` method. It contains the result as zero or more sequential // `SpeechRecognitionResult` messages. type RecognizeResponse struct { + // RequestId: The ID associated with the request. This is a unique ID + // specific only to the given request. + RequestId int64 `json:"requestId,omitempty,string"` + // Results: Sequential list of transcription results corresponding to // sequential portions of audio. Results []*SpeechRecognitionResult `json:"results,omitempty"` @@ -1221,7 +1229,7 @@ type RecognizeResponse struct { // server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Results") to + // ForceSendFields is a list of field names (e.g. "RequestId") 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 @@ -1229,7 +1237,7 @@ type RecognizeResponse struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Results") to include in + // NullFields is a list of field names (e.g. "RequestId") 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 diff --git a/speech/v1p1beta1/speech-api.json b/speech/v1p1beta1/speech-api.json index 0196b8670ed..b2c9db3e73f 100644 --- a/speech/v1p1beta1/speech-api.json +++ b/speech/v1p1beta1/speech-api.json @@ -524,7 +524,7 @@ } } }, - "revision": "20220511", + "revision": "20220825", "rootUrl": "https://speech.googleapis.com/", "schemas": { "ClassItem": { @@ -732,6 +732,11 @@ "$ref": "Status", "description": "If the transcript output fails this field contains the relevant error." }, + "requestId": { + "description": "The ID associated with the request. This is a unique ID specific only to the given request.", + "format": "int64", + "type": "string" + }, "results": { "description": "Sequential list of transcription results corresponding to sequential portions of audio.", "items": { @@ -1092,6 +1097,11 @@ "description": "The only message returned to the client by the `Recognize` method. It contains the result as zero or more sequential `SpeechRecognitionResult` messages.", "id": "RecognizeResponse", "properties": { + "requestId": { + "description": "The ID associated with the request. This is a unique ID specific only to the given request.", + "format": "int64", + "type": "string" + }, "results": { "description": "Sequential list of transcription results corresponding to sequential portions of audio.", "items": { diff --git a/speech/v1p1beta1/speech-gen.go b/speech/v1p1beta1/speech-gen.go index 2a36cc6900e..bb9aa5184ab 100644 --- a/speech/v1p1beta1/speech-gen.go +++ b/speech/v1p1beta1/speech-gen.go @@ -607,6 +607,10 @@ type LongRunningRecognizeResponse struct { // relevant error. OutputError *Status `json:"outputError,omitempty"` + // RequestId: The ID associated with the request. This is a unique ID + // specific only to the given request. + RequestId int64 `json:"requestId,omitempty,string"` + // Results: Sequential list of transcription results corresponding to // sequential portions of audio. Results []*SpeechRecognitionResult `json:"results,omitempty"` @@ -1274,6 +1278,10 @@ func (s *RecognizeRequest) MarshalJSON() ([]byte, error) { // `Recognize` method. It contains the result as zero or more sequential // `SpeechRecognitionResult` messages. type RecognizeResponse struct { + // RequestId: The ID associated with the request. This is a unique ID + // specific only to the given request. + RequestId int64 `json:"requestId,omitempty,string"` + // Results: Sequential list of transcription results corresponding to // sequential portions of audio. Results []*SpeechRecognitionResult `json:"results,omitempty"` @@ -1286,7 +1294,7 @@ type RecognizeResponse struct { // server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Results") to + // ForceSendFields is a list of field names (e.g. "RequestId") 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 @@ -1294,7 +1302,7 @@ type RecognizeResponse struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Results") to include in + // NullFields is a list of field names (e.g. "RequestId") 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 diff --git a/sqladmin/v1/sqladmin-api.json b/sqladmin/v1/sqladmin-api.json index aa93d53009f..c51f54f406a 100644 --- a/sqladmin/v1/sqladmin-api.json +++ b/sqladmin/v1/sqladmin-api.json @@ -1916,7 +1916,7 @@ } } }, - "revision": "20220804", + "revision": "20220824", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -2293,6 +2293,7 @@ "MYSQL_8_0_27", "MYSQL_8_0_28", "MYSQL_8_0_29", + "MYSQL_8_0_30", "POSTGRES_13", "POSTGRES_14", "SQLSERVER_2019_STANDARD", @@ -2320,6 +2321,7 @@ "The database major version is MySQL 8.0 and the minor version is 27.", "The database major version is MySQL 8.0 and the minor version is 28.", "The database major version is MySQL 8.0 and the minor version is 29.", + "The database major version is MySQL 8.0 and the minor version is 30.", "The database version is PostgreSQL 13.", "The database version is PostgreSQL 14.", "The database version is SQL Server 2019 Standard.", @@ -2477,6 +2479,7 @@ "MYSQL_8_0_27", "MYSQL_8_0_28", "MYSQL_8_0_29", + "MYSQL_8_0_30", "POSTGRES_13", "POSTGRES_14", "SQLSERVER_2019_STANDARD", @@ -2504,6 +2507,7 @@ "The database major version is MySQL 8.0 and the minor version is 27.", "The database major version is MySQL 8.0 and the minor version is 28.", "The database major version is MySQL 8.0 and the minor version is 29.", + "The database major version is MySQL 8.0 and the minor version is 30.", "The database version is PostgreSQL 13.", "The database version is PostgreSQL 14.", "The database version is SQL Server 2019 Standard.", @@ -2992,6 +2996,7 @@ "MYSQL_8_0_27", "MYSQL_8_0_28", "MYSQL_8_0_29", + "MYSQL_8_0_30", "POSTGRES_13", "POSTGRES_14", "SQLSERVER_2019_STANDARD", @@ -3019,6 +3024,7 @@ "The database major version is MySQL 8.0 and the minor version is 27.", "The database major version is MySQL 8.0 and the minor version is 28.", "The database major version is MySQL 8.0 and the minor version is 29.", + "The database major version is MySQL 8.0 and the minor version is 30.", "The database version is PostgreSQL 13.", "The database version is PostgreSQL 14.", "The database version is SQL Server 2019 Standard.", diff --git a/sqladmin/v1/sqladmin-gen.go b/sqladmin/v1/sqladmin-gen.go index 33d1024c942..2a87b30cdcc 100644 --- a/sqladmin/v1/sqladmin-gen.go +++ b/sqladmin/v1/sqladmin-gen.go @@ -793,6 +793,8 @@ type ConnectSettings struct { // minor version is 28. // "MYSQL_8_0_29" - The database major version is MySQL 8.0 and the // minor version is 29. + // "MYSQL_8_0_30" - The database major version is MySQL 8.0 and the + // minor version is 30. // "POSTGRES_13" - The database version is PostgreSQL 13. // "POSTGRES_14" - The database version is PostgreSQL 14. // "SQLSERVER_2019_STANDARD" - The database version is SQL Server 2019 @@ -1015,6 +1017,8 @@ type DatabaseInstance struct { // minor version is 28. // "MYSQL_8_0_29" - The database major version is MySQL 8.0 and the // minor version is 29. + // "MYSQL_8_0_30" - The database major version is MySQL 8.0 and the + // minor version is 30. // "POSTGRES_13" - The database version is PostgreSQL 13. // "POSTGRES_14" - The database version is PostgreSQL 14. // "SQLSERVER_2019_STANDARD" - The database version is SQL Server 2019 @@ -1790,6 +1794,8 @@ type Flag struct { // minor version is 28. // "MYSQL_8_0_29" - The database major version is MySQL 8.0 and the // minor version is 29. + // "MYSQL_8_0_30" - The database major version is MySQL 8.0 and the + // minor version is 30. // "POSTGRES_13" - The database version is PostgreSQL 13. // "POSTGRES_14" - The database version is PostgreSQL 14. // "SQLSERVER_2019_STANDARD" - The database version is SQL Server 2019 diff --git a/sqladmin/v1beta4/sqladmin-api.json b/sqladmin/v1beta4/sqladmin-api.json index 358e1757f6a..14fc76311e2 100644 --- a/sqladmin/v1beta4/sqladmin-api.json +++ b/sqladmin/v1beta4/sqladmin-api.json @@ -1916,7 +1916,7 @@ } } }, - "revision": "20220804", + "revision": "20220824", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -2293,6 +2293,7 @@ "MYSQL_8_0_27", "MYSQL_8_0_28", "MYSQL_8_0_29", + "MYSQL_8_0_30", "POSTGRES_13", "POSTGRES_14", "SQLSERVER_2019_STANDARD", @@ -2320,6 +2321,7 @@ "The database major version is MySQL 8.0 and the minor version is 27.", "The database major version is MySQL 8.0 and the minor version is 28.", "The database major version is MySQL 8.0 and the minor version is 29.", + "The database major version is MySQL 8.0 and the minor version is 30.", "The database version is PostgreSQL 13.", "The database version is PostgreSQL 14.", "The database version is SQL Server 2019 Standard.", @@ -2477,6 +2479,7 @@ "MYSQL_8_0_27", "MYSQL_8_0_28", "MYSQL_8_0_29", + "MYSQL_8_0_30", "POSTGRES_13", "POSTGRES_14", "SQLSERVER_2019_STANDARD", @@ -2504,6 +2507,7 @@ "The database major version is MySQL 8.0 and the minor version is 27.", "The database major version is MySQL 8.0 and the minor version is 28.", "The database major version is MySQL 8.0 and the minor version is 29.", + "The database major version is MySQL 8.0 and the minor version is 30.", "The database version is PostgreSQL 13.", "The database version is PostgreSQL 14.", "The database version is SQL Server 2019 Standard.", @@ -2992,6 +2996,7 @@ "MYSQL_8_0_27", "MYSQL_8_0_28", "MYSQL_8_0_29", + "MYSQL_8_0_30", "POSTGRES_13", "POSTGRES_14", "SQLSERVER_2019_STANDARD", @@ -3019,6 +3024,7 @@ "The database major version is MySQL 8.0 and the minor version is 27.", "The database major version is MySQL 8.0 and the minor version is 28.", "The database major version is MySQL 8.0 and the minor version is 29.", + "The database major version is MySQL 8.0 and the minor version is 30.", "The database version is PostgreSQL 13.", "The database version is PostgreSQL 14.", "The database version is SQL Server 2019 Standard.", diff --git a/sqladmin/v1beta4/sqladmin-gen.go b/sqladmin/v1beta4/sqladmin-gen.go index a5918011cb5..4827131a7e7 100644 --- a/sqladmin/v1beta4/sqladmin-gen.go +++ b/sqladmin/v1beta4/sqladmin-gen.go @@ -793,6 +793,8 @@ type ConnectSettings struct { // minor version is 28. // "MYSQL_8_0_29" - The database major version is MySQL 8.0 and the // minor version is 29. + // "MYSQL_8_0_30" - The database major version is MySQL 8.0 and the + // minor version is 30. // "POSTGRES_13" - The database version is PostgreSQL 13. // "POSTGRES_14" - The database version is PostgreSQL 14. // "SQLSERVER_2019_STANDARD" - The database version is SQL Server 2019 @@ -1014,6 +1016,8 @@ type DatabaseInstance struct { // minor version is 28. // "MYSQL_8_0_29" - The database major version is MySQL 8.0 and the // minor version is 29. + // "MYSQL_8_0_30" - The database major version is MySQL 8.0 and the + // minor version is 30. // "POSTGRES_13" - The database version is PostgreSQL 13. // "POSTGRES_14" - The database version is PostgreSQL 14. // "SQLSERVER_2019_STANDARD" - The database version is SQL Server 2019 @@ -1789,6 +1793,8 @@ type Flag struct { // minor version is 28. // "MYSQL_8_0_29" - The database major version is MySQL 8.0 and the // minor version is 29. + // "MYSQL_8_0_30" - The database major version is MySQL 8.0 and the + // minor version is 30. // "POSTGRES_13" - The database version is PostgreSQL 13. // "POSTGRES_14" - The database version is PostgreSQL 14. // "SQLSERVER_2019_STANDARD" - The database version is SQL Server 2019 diff --git a/sts/v1/sts-api.json b/sts/v1/sts-api.json index 3eddf33882c..28af9a90e62 100644 --- a/sts/v1/sts-api.json +++ b/sts/v1/sts-api.json @@ -131,7 +131,7 @@ } } }, - "revision": "20220806", + "revision": "20220826", "rootUrl": "https://sts.googleapis.com/", "schemas": { "GoogleIamV1Binding": { @@ -143,7 +143,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/sts/v1/sts-gen.go b/sts/v1/sts-gen.go index 37d7b197f16..1149434904d 100644 --- a/sts/v1/sts-gen.go +++ b/sts/v1/sts-gen.go @@ -152,11 +152,12 @@ type GoogleIamV1Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/sts/v1beta/sts-api.json b/sts/v1beta/sts-api.json index 9fc7a0efe70..71a25008411 100644 --- a/sts/v1beta/sts-api.json +++ b/sts/v1beta/sts-api.json @@ -116,7 +116,7 @@ } } }, - "revision": "20220806", + "revision": "20220826", "rootUrl": "https://sts.googleapis.com/", "schemas": { "GoogleIamV1Binding": { @@ -128,7 +128,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 Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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" }, diff --git a/sts/v1beta/sts-gen.go b/sts/v1beta/sts-gen.go index 1919aecb0fb..b46469fa322 100644 --- a/sts/v1beta/sts-gen.go +++ b/sts/v1beta/sts-gen.go @@ -152,11 +152,12 @@ type GoogleIamV1Binding struct { // `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 Google - // service account. For example, + // who is authenticated with a Google account or a service account. Does + // not include identities that come from external identity providers + // (IdPs) through identity federation. * `user:{emailid}`: An email + // address that represents a specific Google account. For example, + // `alice@example.com` . * `serviceAccount:{emailid}`: An email address + // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account diff --git a/testing/v1/testing-api.json b/testing/v1/testing-api.json index 1cd1332d358..45330252b05 100644 --- a/testing/v1/testing-api.json +++ b/testing/v1/testing-api.json @@ -282,7 +282,7 @@ } } }, - "revision": "20220806", + "revision": "20220904", "rootUrl": "https://testing.googleapis.com/", "schemas": { "Account": { @@ -775,6 +775,15 @@ "type": "string" }, "type": "array" + }, + "versionCode": { + "description": "Version number used internally by the app.", + "format": "int64", + "type": "string" + }, + "versionName": { + "description": "Version number shown to users.", + "type": "string" } }, "type": "object" diff --git a/testing/v1/testing-gen.go b/testing/v1/testing-gen.go index 3b2c76312f3..4472e890dcd 100644 --- a/testing/v1/testing-gen.go +++ b/testing/v1/testing-gen.go @@ -860,6 +860,12 @@ type ApkManifest struct { // UsesPermission: Permissions declared to be used by the application UsesPermission []string `json:"usesPermission,omitempty"` + // VersionCode: Version number used internally by the app. + VersionCode int64 `json:"versionCode,omitempty,string"` + + // VersionName: Version number shown to users. + VersionName string `json:"versionName,omitempty"` + // ForceSendFields is a list of field names (e.g. "ApplicationLabel") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any diff --git a/workflowexecutions/v1/workflowexecutions-api.json b/workflowexecutions/v1/workflowexecutions-api.json index 6e363f0d0d4..4ac45bc5d99 100644 --- a/workflowexecutions/v1/workflowexecutions-api.json +++ b/workflowexecutions/v1/workflowexecutions-api.json @@ -249,7 +249,7 @@ ], "parameters": { "pageSize": { - "description": "Maximum number of executions to return per call. Max supported value depends on the selected Execution view: it's 10000 for BASIC and 100 for FULL. The default value used if the field is not specified is 100, regardless of the selected view. Values greater than the max value will be coerced down to it.", + "description": "Maximum number of executions to return per call. Max supported value depends on the selected Execution view: it's 1000 for BASIC and 100 for FULL. The default value used if the field is not specified is 100, regardless of the selected view. Values greater than the max value will be coerced down to it.", "format": "int32", "location": "query", "type": "integer" @@ -299,7 +299,7 @@ } } }, - "revision": "20220412", + "revision": "20220823", "rootUrl": "https://workflowexecutions.googleapis.com/", "schemas": { "CancelExecutionRequest": { diff --git a/workflowexecutions/v1/workflowexecutions-gen.go b/workflowexecutions/v1/workflowexecutions-gen.go index daaa6b83153..4d4358d1ea0 100644 --- a/workflowexecutions/v1/workflowexecutions-gen.go +++ b/workflowexecutions/v1/workflowexecutions-gen.go @@ -1190,7 +1190,7 @@ func (r *ProjectsLocationsWorkflowsExecutionsService) List(parent string) *Proje // PageSize sets the optional parameter "pageSize": Maximum number of // executions to return per call. Max supported value depends on the -// selected Execution view: it's 10000 for BASIC and 100 for FULL. The +// selected Execution view: it's 1000 for BASIC and 100 for FULL. The // default value used if the field is not specified is 100, regardless // of the selected view. Values greater than the max value will be // coerced down to it. @@ -1335,7 +1335,7 @@ func (c *ProjectsLocationsWorkflowsExecutionsListCall) Do(opts ...googleapi.Call // ], // "parameters": { // "pageSize": { - // "description": "Maximum number of executions to return per call. Max supported value depends on the selected Execution view: it's 10000 for BASIC and 100 for FULL. The default value used if the field is not specified is 100, regardless of the selected view. Values greater than the max value will be coerced down to it.", + // "description": "Maximum number of executions to return per call. Max supported value depends on the selected Execution view: it's 1000 for BASIC and 100 for FULL. The default value used if the field is not specified is 100, regardless of the selected view. Values greater than the max value will be coerced down to it.", // "format": "int32", // "location": "query", // "type": "integer"