From 3e82e6f1e8e6625701d73fbd33cab02901bbddff Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 15 Aug 2022 08:10:43 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#1662) --- analyticshub/v1beta1/analyticshub-api.json | 4 +- analyticshub/v1beta1/analyticshub-gen.go | 22 ++++--- api-list.json | 30 +++++++++ artifactregistry/v1/artifactregistry-api.json | 13 +++- artifactregistry/v1/artifactregistry-gen.go | 16 +++++ beyondcorp/v1/beyondcorp-api.json | 4 +- beyondcorp/v1/beyondcorp-gen.go | 22 ++++--- beyondcorp/v1alpha/beyondcorp-api.json | 12 ++-- beyondcorp/v1alpha/beyondcorp-gen.go | 60 +++++++++-------- .../v1beta1/bigqueryconnection-api.json | 6 +- .../v1beta1/bigqueryconnection-gen.go | 24 ++++--- .../v1/certificatemanager-api.json | 32 +++++---- .../v1/certificatemanager-gen.go | 38 ++++++----- file/v1/file-api.json | 34 ++++++---- file/v1/file-gen.go | 59 ++++++++++------- file/v1beta1/file-api.json | 40 ++++++----- file/v1beta1/file-gen.go | 66 +++++++++++-------- gameservices/v1/gameservices-api.json | 4 +- gameservices/v1/gameservices-gen.go | 22 ++++--- gameservices/v1beta/gameservices-api.json | 4 +- gameservices/v1beta/gameservices-gen.go | 22 ++++--- metastore/v1alpha/metastore-api.json | 4 +- metastore/v1alpha/metastore-gen.go | 16 +++-- metastore/v1beta/metastore-api.json | 4 +- metastore/v1beta/metastore-gen.go | 16 +++-- oauth2/v2/oauth2-api.json | 2 +- oauth2/v2/oauth2-gen.go | 2 +- privateca/v1/privateca-api.json | 4 +- privateca/v1/privateca-gen.go | 22 ++++--- privateca/v1beta1/privateca-api.json | 4 +- privateca/v1beta1/privateca-gen.go | 22 ++++--- 31 files changed, 390 insertions(+), 240 deletions(-) diff --git a/analyticshub/v1beta1/analyticshub-api.json b/analyticshub/v1beta1/analyticshub-api.json index cef8eecd88e..bd8ec0167ab 100644 --- a/analyticshub/v1beta1/analyticshub-api.json +++ b/analyticshub/v1beta1/analyticshub-api.json @@ -765,7 +765,7 @@ } } }, - "revision": "20220715", + "revision": "20220808", "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 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/analyticshub/v1beta1/analyticshub-gen.go b/analyticshub/v1beta1/analyticshub-gen.go index 362e22be066..53080db0667 100644 --- a/analyticshub/v1beta1/analyticshub-gen.go +++ b/analyticshub/v1beta1/analyticshub-gen.go @@ -379,16 +379,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/api-list.json b/api-list.json index 45c65a1171b..7b13a7d1f6c 100644 --- a/api-list.json +++ b/api-list.json @@ -4612,6 +4612,21 @@ "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", @@ -5077,6 +5092,21 @@ "documentationLink": "https://cloud.google.com/speech-to-text/docs/quickstart-protocol", "preferred": false }, + { + "kind": "discovery#directoryItem", + "id": "speech:v2beta1", + "name": "speech", + "version": "v2beta1", + "title": "Cloud Speech-to-Text API", + "description": "Converts audio to text by applying powerful neural network models.", + "discoveryRestUrl": "https://speech.googleapis.com/$discovery/rest?version=v2beta1", + "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/speech-to-text/docs/quickstart-protocol", + "preferred": false + }, { "kind": "discovery#directoryItem", "id": "speech:v1", diff --git a/artifactregistry/v1/artifactregistry-api.json b/artifactregistry/v1/artifactregistry-api.json index a534800086f..7d694452892 100644 --- a/artifactregistry/v1/artifactregistry-api.json +++ b/artifactregistry/v1/artifactregistry-api.json @@ -631,6 +631,11 @@ "parent" ], "parameters": { + "orderBy": { + "description": "The field to order the results by.", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of artifacts to return.", "format": "int32", @@ -1408,7 +1413,7 @@ } } }, - "revision": "20220803", + "revision": "20220809", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { @@ -1524,6 +1529,12 @@ }, "type": "array" }, + "updateTime": { + "description": "Output only. The time when the docker image was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, "uploadTime": { "description": "Time the image was uploaded.", "format": "google-datetime", diff --git a/artifactregistry/v1/artifactregistry-gen.go b/artifactregistry/v1/artifactregistry-gen.go index a47957d5dc3..0db1c6c0069 100644 --- a/artifactregistry/v1/artifactregistry-gen.go +++ b/artifactregistry/v1/artifactregistry-gen.go @@ -506,6 +506,10 @@ type DockerImage struct { // Tags: Tags attached to this image. Tags []string `json:"tags,omitempty"` + // UpdateTime: Output only. The time when the docker image was last + // updated. + UpdateTime string `json:"updateTime,omitempty"` + // UploadTime: Time the image was uploaded. UploadTime string `json:"uploadTime,omitempty"` @@ -4965,6 +4969,13 @@ func (r *ProjectsLocationsRepositoriesDockerImagesService) List(parent string) * return c } +// OrderBy sets the optional parameter "orderBy": The field to order the +// results by. +func (c *ProjectsLocationsRepositoriesDockerImagesListCall) OrderBy(orderBy string) *ProjectsLocationsRepositoriesDockerImagesListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number // of artifacts to return. func (c *ProjectsLocationsRepositoriesDockerImagesListCall) PageSize(pageSize int64) *ProjectsLocationsRepositoriesDockerImagesListCall { @@ -5086,6 +5097,11 @@ func (c *ProjectsLocationsRepositoriesDockerImagesListCall) Do(opts ...googleapi // "parent" // ], // "parameters": { + // "orderBy": { + // "description": "The field to order the results by.", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "The maximum number of artifacts to return.", // "format": "int32", diff --git a/beyondcorp/v1/beyondcorp-api.json b/beyondcorp/v1/beyondcorp-api.json index 0d15de21a06..412be40e200 100644 --- a/beyondcorp/v1/beyondcorp-api.json +++ b/beyondcorp/v1/beyondcorp-api.json @@ -1741,7 +1741,7 @@ } } }, - "revision": "20220725", + "revision": "20220804", "rootUrl": "https://beyondcorp.googleapis.com/", "schemas": { "AllocatedConnection": { @@ -3354,7 +3354,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/beyondcorp/v1/beyondcorp-gen.go b/beyondcorp/v1/beyondcorp-gen.go index 4b64ea4c796..a25defd4364 100644 --- a/beyondcorp/v1/beyondcorp-gen.go +++ b/beyondcorp/v1/beyondcorp-gen.go @@ -2495,16 +2495,20 @@ type GoogleIamV1Binding 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/beyondcorp/v1alpha/beyondcorp-api.json b/beyondcorp/v1alpha/beyondcorp-api.json index 9599e1f963e..bc3a53acfc6 100644 --- a/beyondcorp/v1alpha/beyondcorp-api.json +++ b/beyondcorp/v1alpha/beyondcorp-api.json @@ -121,7 +121,7 @@ ], "parameters": { "aggregation": { - "description": "Optional. Aggregation type. Available aggregation could be fetched by calling insight list and get APIs in `BASIC` view.", + "description": "Required. Aggregation type. Available aggregation could be fetched by calling insight list and get APIs in `BASIC` view.", "enum": [ "AGGREGATION_UNSPECIFIED", "HOURLY", @@ -202,7 +202,7 @@ ] }, "get": { - "description": "Gets the value for a selected particular insight with default configuration. The default aggregation level is 'DAILY' and no grouping will be applied or default grouping if applicable. The data will be returned for recent 7 days. Use the organization level path for fetching at org level and project level path for fetching the insight value specific to a particular project. Setting the `view` to `BASIC` will only return the metadata for the insight.", + "description": "Gets the value for a selected particular insight with default configuration. The default aggregation level is 'DAILY' and no grouping will be applied or default grouping if applicable. The data will be returned for recent 7 days starting the day before. The insight data size will be limited to 50 rows. Use the organization level path for fetching at org level and project level path for fetching the insight value specific to a particular project. Setting the `view` to `BASIC` will only return the metadata for the insight.", "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/insights/{insightsId}", "httpMethod": "GET", "id": "beyondcorp.organizations.locations.insights.get", @@ -2586,7 +2586,7 @@ ], "parameters": { "aggregation": { - "description": "Optional. Aggregation type. Available aggregation could be fetched by calling insight list and get APIs in `BASIC` view.", + "description": "Required. Aggregation type. Available aggregation could be fetched by calling insight list and get APIs in `BASIC` view.", "enum": [ "AGGREGATION_UNSPECIFIED", "HOURLY", @@ -2667,7 +2667,7 @@ ] }, "get": { - "description": "Gets the value for a selected particular insight with default configuration. The default aggregation level is 'DAILY' and no grouping will be applied or default grouping if applicable. The data will be returned for recent 7 days. Use the organization level path for fetching at org level and project level path for fetching the insight value specific to a particular project. Setting the `view` to `BASIC` will only return the metadata for the insight.", + "description": "Gets the value for a selected particular insight with default configuration. The default aggregation level is 'DAILY' and no grouping will be applied or default grouping if applicable. The data will be returned for recent 7 days starting the day before. The insight data size will be limited to 50 rows. Use the organization level path for fetching at org level and project level path for fetching the insight value specific to a particular project. Setting the `view` to `BASIC` will only return the metadata for the insight.", "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/insights/{insightsId}", "httpMethod": "GET", "id": "beyondcorp.projects.locations.insights.get", @@ -2897,7 +2897,7 @@ } } }, - "revision": "20220725", + "revision": "20220804", "rootUrl": "https://beyondcorp.googleapis.com/", "schemas": { "AllocatedConnection": { @@ -5056,7 +5056,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/beyondcorp/v1alpha/beyondcorp-gen.go b/beyondcorp/v1alpha/beyondcorp-gen.go index 8d112ee3e10..cad51e2a093 100644 --- a/beyondcorp/v1alpha/beyondcorp-gen.go +++ b/beyondcorp/v1alpha/beyondcorp-gen.go @@ -3326,16 +3326,20 @@ type GoogleIamV1Binding 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, @@ -4469,9 +4473,9 @@ func (r *OrganizationsLocationsInsightsService) ConfiguredInsight(insight string return c } -// Aggregation sets the optional parameter "aggregation": Aggregation -// type. Available aggregation could be fetched by calling insight list -// and get APIs in `BASIC` view. +// Aggregation sets the optional parameter "aggregation": Required. +// Aggregation type. Available aggregation could be fetched by calling +// insight list and get APIs in `BASIC` view. // // Possible values: // @@ -4676,7 +4680,7 @@ func (c *OrganizationsLocationsInsightsConfiguredInsightCall) Do(opts ...googlea // ], // "parameters": { // "aggregation": { - // "description": "Optional. Aggregation type. Available aggregation could be fetched by calling insight list and get APIs in `BASIC` view.", + // "description": "Required. Aggregation type. Available aggregation could be fetched by calling insight list and get APIs in `BASIC` view.", // "enum": [ // "AGGREGATION_UNSPECIFIED", // "HOURLY", @@ -4794,10 +4798,11 @@ type OrganizationsLocationsInsightsGetCall struct { // Get: Gets the value for a selected particular insight with default // configuration. The default aggregation level is 'DAILY' and no // grouping will be applied or default grouping if applicable. The data -// will be returned for recent 7 days. Use the organization level path -// for fetching at org level and project level path for fetching the -// insight value specific to a particular project. Setting the `view` to -// `BASIC` will only return the metadata for the insight. +// will be returned for recent 7 days starting the day before. The +// insight data size will be limited to 50 rows. Use the organization +// level path for fetching at org level and project level path for +// fetching the insight value specific to a particular project. Setting +// the `view` to `BASIC` will only return the metadata for the insight. // // - name: The resource name of the insight using the form: // `organizations/{organization_id}/locations/{location_id}/insights/{i @@ -4932,7 +4937,7 @@ func (c *OrganizationsLocationsInsightsGetCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "Gets the value for a selected particular insight with default configuration. The default aggregation level is 'DAILY' and no grouping will be applied or default grouping if applicable. The data will be returned for recent 7 days. Use the organization level path for fetching at org level and project level path for fetching the insight value specific to a particular project. Setting the `view` to `BASIC` will only return the metadata for the insight.", + // "description": "Gets the value for a selected particular insight with default configuration. The default aggregation level is 'DAILY' and no grouping will be applied or default grouping if applicable. The data will be returned for recent 7 days starting the day before. The insight data size will be limited to 50 rows. Use the organization level path for fetching at org level and project level path for fetching the insight value specific to a particular project. Setting the `view` to `BASIC` will only return the metadata for the insight.", // "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/insights/{insightsId}", // "httpMethod": "GET", // "id": "beyondcorp.organizations.locations.insights.get", @@ -16580,9 +16585,9 @@ func (r *ProjectsLocationsInsightsService) ConfiguredInsight(insight string) *Pr return c } -// Aggregation sets the optional parameter "aggregation": Aggregation -// type. Available aggregation could be fetched by calling insight list -// and get APIs in `BASIC` view. +// Aggregation sets the optional parameter "aggregation": Required. +// Aggregation type. Available aggregation could be fetched by calling +// insight list and get APIs in `BASIC` view. // // Possible values: // @@ -16787,7 +16792,7 @@ func (c *ProjectsLocationsInsightsConfiguredInsightCall) Do(opts ...googleapi.Ca // ], // "parameters": { // "aggregation": { - // "description": "Optional. Aggregation type. Available aggregation could be fetched by calling insight list and get APIs in `BASIC` view.", + // "description": "Required. Aggregation type. Available aggregation could be fetched by calling insight list and get APIs in `BASIC` view.", // "enum": [ // "AGGREGATION_UNSPECIFIED", // "HOURLY", @@ -16905,10 +16910,11 @@ type ProjectsLocationsInsightsGetCall struct { // Get: Gets the value for a selected particular insight with default // configuration. The default aggregation level is 'DAILY' and no // grouping will be applied or default grouping if applicable. The data -// will be returned for recent 7 days. Use the organization level path -// for fetching at org level and project level path for fetching the -// insight value specific to a particular project. Setting the `view` to -// `BASIC` will only return the metadata for the insight. +// will be returned for recent 7 days starting the day before. The +// insight data size will be limited to 50 rows. Use the organization +// level path for fetching at org level and project level path for +// fetching the insight value specific to a particular project. Setting +// the `view` to `BASIC` will only return the metadata for the insight. // // - name: The resource name of the insight using the form: // `organizations/{organization_id}/locations/{location_id}/insights/{i @@ -17043,7 +17049,7 @@ func (c *ProjectsLocationsInsightsGetCall) Do(opts ...googleapi.CallOption) (*Go } return ret, nil // { - // "description": "Gets the value for a selected particular insight with default configuration. The default aggregation level is 'DAILY' and no grouping will be applied or default grouping if applicable. The data will be returned for recent 7 days. Use the organization level path for fetching at org level and project level path for fetching the insight value specific to a particular project. Setting the `view` to `BASIC` will only return the metadata for the insight.", + // "description": "Gets the value for a selected particular insight with default configuration. The default aggregation level is 'DAILY' and no grouping will be applied or default grouping if applicable. The data will be returned for recent 7 days starting the day before. The insight data size will be limited to 50 rows. Use the organization level path for fetching at org level and project level path for fetching the insight value specific to a particular project. Setting the `view` to `BASIC` will only return the metadata for the insight.", // "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/insights/{insightsId}", // "httpMethod": "GET", // "id": "beyondcorp.projects.locations.insights.get", diff --git a/bigqueryconnection/v1beta1/bigqueryconnection-api.json b/bigqueryconnection/v1beta1/bigqueryconnection-api.json index 9b966f50ef4..326f1de8e43 100644 --- a/bigqueryconnection/v1beta1/bigqueryconnection-api.json +++ b/bigqueryconnection/v1beta1/bigqueryconnection-api.json @@ -395,7 +395,7 @@ } } }, - "revision": "20220701", + "revision": "20220807", "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 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" }, @@ -500,7 +500,7 @@ "type": "string" }, "serviceAccountId": { - "description": "Output only. The account ID of the service used for the purpose of this connection. When the connection is used in the context of an operation in BigQuery, this service account will serve as identity being used for connecting to the CloudSQL instance specified in this connection.", + "description": "Output only. The account ID of the service used for the purpose of this connection. When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.", "readOnly": true, "type": "string" }, diff --git a/bigqueryconnection/v1beta1/bigqueryconnection-gen.go b/bigqueryconnection/v1beta1/bigqueryconnection-gen.go index d50b42c5938..5cc32d57e01 100644 --- a/bigqueryconnection/v1beta1/bigqueryconnection-gen.go +++ b/bigqueryconnection/v1beta1/bigqueryconnection-gen.go @@ -296,16 +296,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, @@ -395,7 +399,7 @@ type CloudSqlProperties struct { // ServiceAccountId: Output only. The account ID of the service used for // the purpose of this connection. When the connection is used in the // context of an operation in BigQuery, this service account will serve - // as identity being used for connecting to the CloudSQL instance + // as the identity being used for connecting to the CloudSQL instance // specified in this connection. ServiceAccountId string `json:"serviceAccountId,omitempty"` diff --git a/certificatemanager/v1/certificatemanager-api.json b/certificatemanager/v1/certificatemanager-api.json index 234c4087bba..3be2776aa8d 100644 --- a/certificatemanager/v1/certificatemanager-api.json +++ b/certificatemanager/v1/certificatemanager-api.json @@ -975,7 +975,7 @@ } } }, - "revision": "20220707", + "revision": "20220804", "rootUrl": "https://certificatemanager.googleapis.com/", "schemas": { "AuthorizationAttemptInfo": { @@ -983,7 +983,8 @@ "id": "AuthorizationAttemptInfo", "properties": { "details": { - "description": "Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use Reason enum.", + "description": "Output only. Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use FailureReason enum.", + "readOnly": true, "type": "string" }, "domain": { @@ -1008,7 +1009,7 @@ "type": "string" }, "state": { - "description": "State of the domain for managed certificate issuance.", + "description": "Output only. State of the domain for managed certificate issuance.", "enum": [ "STATE_UNSPECIFIED", "AUTHORIZING", @@ -1021,6 +1022,7 @@ "A managed certificate can be provisioned, no issues for this domain.", "Attempt to authorize the domain failed. This prevents the Managed Certificate from being issued. See `failure_reason` and `details` fields for more information." ], + "readOnly": true, "type": "string" } }, @@ -1295,18 +1297,21 @@ "id": "GclbTarget", "properties": { "ipConfigs": { - "description": "IP configurations for this Target Proxy where the Certificate Map is serving.", + "description": "Output only. IP configurations for this Target Proxy where the Certificate Map is serving.", "items": { "$ref": "IpConfig" }, + "readOnly": true, "type": "array" }, "targetHttpsProxy": { - "description": "This field returns the resource name in the following format: `//compute.googleapis.com/projects/*/global/targetHttpsProxies/*`.", + "description": "Output only. This field returns the resource name in the following format: `//compute.googleapis.com/projects/*/global/targetHttpsProxies/*`.", + "readOnly": true, "type": "string" }, "targetSslProxy": { - "description": "This field returns the resource name in the following format: `//compute.googleapis.com/projects/*/global/targetSslProxies/*`.", + "description": "Output only. This field returns the resource name in the following format: `//compute.googleapis.com/projects/*/global/targetSslProxies/*`.", + "readOnly": true, "type": "string" } }, @@ -1317,15 +1322,17 @@ "id": "IpConfig", "properties": { "ipAddress": { - "description": "An external IP address.", + "description": "Output only. An external IP address.", + "readOnly": true, "type": "string" }, "ports": { - "description": "Ports.", + "description": "Output only. Ports.", "items": { "format": "uint32", "type": "integer" }, + "readOnly": true, "type": "array" } }, @@ -1529,7 +1536,8 @@ }, "provisioningIssue": { "$ref": "ProvisioningIssue", - "description": "Information about issues with provisioning a Managed Certificate." + "description": "Output only. Information about issues with provisioning a Managed Certificate.", + "readOnly": true }, "state": { "description": "Output only. State of the managed certificate resource.", @@ -1628,11 +1636,12 @@ "id": "ProvisioningIssue", "properties": { "details": { - "description": "Human readable explanation about the issue. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use Reason enum.", + "description": "Output only. Human readable explanation about the issue. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use Reason enum.", + "readOnly": true, "type": "string" }, "reason": { - "description": "Reason for provisioning failures.", + "description": "Output only. Reason for provisioning failures.", "enum": [ "REASON_UNSPECIFIED", "AUTHORIZATION_ISSUE", @@ -1643,6 +1652,7 @@ "Certificate provisioning failed due to an issue with one or more of the domains on the certificate. For details of which domains failed, consult the `authorization_attempt_info` field.", "Exceeded Certificate Authority quotas or internal rate limits of the system. Provisioning may take longer to complete." ], + "readOnly": true, "type": "string" } }, diff --git a/certificatemanager/v1/certificatemanager-gen.go b/certificatemanager/v1/certificatemanager-gen.go index 4f8e63511a6..4d36db816ed 100644 --- a/certificatemanager/v1/certificatemanager-gen.go +++ b/certificatemanager/v1/certificatemanager-gen.go @@ -221,9 +221,10 @@ type ProjectsLocationsOperationsService struct { // AuthorizationAttemptInfo: State of the latest attempt to authorize a // domain for certificate issuance. type AuthorizationAttemptInfo struct { - // Details: Human readable explanation for reaching the state. Provided - // to help address the configuration issues. Not guaranteed to be - // stable. For programmatic access use Reason enum. + // Details: Output only. Human readable explanation for reaching the + // state. Provided to help address the configuration issues. Not + // guaranteed to be stable. For programmatic access use FailureReason + // enum. Details string `json:"details,omitempty"` // Domain: Domain name of the authorization attempt. @@ -242,7 +243,8 @@ type AuthorizationAttemptInfo struct { // domain, e.g. for certificates per top-level private domain. FailureReason string `json:"failureReason,omitempty"` - // State: State of the domain for managed certificate issuance. + // State: Output only. State of the domain for managed certificate + // issuance. // // Possible values: // "STATE_UNSPECIFIED" @@ -600,17 +602,17 @@ type Empty struct { // GclbTarget: Describes a Target Proxy which uses this Certificate Map. type GclbTarget struct { - // IpConfigs: IP configurations for this Target Proxy where the - // Certificate Map is serving. + // IpConfigs: Output only. IP configurations for this Target Proxy where + // the Certificate Map is serving. IpConfigs []*IpConfig `json:"ipConfigs,omitempty"` - // TargetHttpsProxy: This field returns the resource name in the - // following format: + // TargetHttpsProxy: Output only. This field returns the resource name + // in the following format: // `//compute.googleapis.com/projects/*/global/targetHttpsProxies/*`. TargetHttpsProxy string `json:"targetHttpsProxy,omitempty"` - // TargetSslProxy: This field returns the resource name in the following - // format: + // TargetSslProxy: Output only. This field returns the resource name in + // the following format: // `//compute.googleapis.com/projects/*/global/targetSslProxies/*`. TargetSslProxy string `json:"targetSslProxy,omitempty"` @@ -640,10 +642,10 @@ func (s *GclbTarget) MarshalJSON() ([]byte, error) { // IpConfig: Defines IP configuration where this Certificate Map is // serving. type IpConfig struct { - // IpAddress: An external IP address. + // IpAddress: Output only. An external IP address. IpAddress string `json:"ipAddress,omitempty"` - // Ports: Ports. + // Ports: Output only. Ports. Ports []int64 `json:"ports,omitempty"` // ForceSendFields is a list of field names (e.g. "IpAddress") to @@ -984,8 +986,8 @@ type ManagedCertificate struct { // challenge resolution. Domains []string `json:"domains,omitempty"` - // ProvisioningIssue: Information about issues with provisioning a - // Managed Certificate. + // ProvisioningIssue: Output only. Information about issues with + // provisioning a Managed Certificate. ProvisioningIssue *ProvisioningIssue `json:"provisioningIssue,omitempty"` // State: Output only. State of the managed certificate resource. @@ -1143,12 +1145,12 @@ func (s *OperationMetadata) MarshalJSON() ([]byte, error) { // ProvisioningIssue: Information about issues with provisioning a // Managed Certificate. type ProvisioningIssue struct { - // Details: Human readable explanation about the issue. Provided to help - // address the configuration issues. Not guaranteed to be stable. For - // programmatic access use Reason enum. + // Details: Output only. Human readable explanation about the issue. + // Provided to help address the configuration issues. Not guaranteed to + // be stable. For programmatic access use Reason enum. Details string `json:"details,omitempty"` - // Reason: Reason for provisioning failures. + // Reason: Output only. Reason for provisioning failures. // // Possible values: // "REASON_UNSPECIFIED" diff --git a/file/v1/file-api.json b/file/v1/file-api.json index d937f46ac03..ff33b960d13 100644 --- a/file/v1/file-api.json +++ b/file/v1/file-api.json @@ -199,7 +199,7 @@ "type": "string" }, "parent": { - "description": "Required. The backup's project and location, in the format `projects/{project_number}/locations/{location}`. In Cloud Filestore, backup locations map to GCP regions, for example **us-west1**.", + "description": "Required. The backup's project and location, in the format `projects/{project_number}/locations/{location}`. In Filestore, backup locations map to GCP regions, for example **us-west1**.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -298,7 +298,7 @@ "type": "string" }, "parent": { - "description": "Required. The project and location for which to retrieve backup information, in the format `projects/{project_number}/locations/{location}`. In Cloud Filestore, backup locations map to GCP regions, for example **us-west1**. To retrieve backup information for all locations, use \"-\" for the `{location}` value.", + "description": "Required. The project and location for which to retrieve backup information, in the format `projects/{project_number}/locations/{location}`. In Filestore, backup locations map to GCP regions, for example **us-west1**. To retrieve backup information for all locations, use \"-\" for the `{location}` value.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -366,7 +366,7 @@ "type": "string" }, "parent": { - "description": "Required. The instance's project and location, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations map to GCP zones, for example **us-west1-b**.", + "description": "Required. The instance's project and location, in the format `projects/{project_id}/locations/{location}`. In Filestore, locations map to GCP zones, for example **us-west1-b**.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -846,11 +846,11 @@ } } }, - "revision": "20220715", + "revision": "20220729", "rootUrl": "https://file.googleapis.com/", "schemas": { "Backup": { - "description": "A Cloud Filestore backup.", + "description": "A Filestore backup.", "id": "Backup", "properties": { "capacityGb": { @@ -893,15 +893,15 @@ "type": "boolean" }, "sourceFileShare": { - "description": "Name of the file share in the source Cloud Filestore instance that the backup is created from.", + "description": "Name of the file share in the source Filestore instance that the backup is created from.", "type": "string" }, "sourceInstance": { - "description": "The resource name of the source Cloud Filestore instance, in the format `projects/{project_number}/locations/{location_id}/instances/{instance_id}`, used to create this backup.", + "description": "The resource name of the source Filestore instance, in the format `projects/{project_number}/locations/{location_id}/instances/{instance_id}`, used to create this backup.", "type": "string" }, "sourceInstanceTier": { - "description": "Output only. The service tier of the source Cloud Filestore instance that this backup is created from.", + "description": "Output only. The service tier of the source Filestore instance that this backup is created from.", "enum": [ "TIER_UNSPECIFIED", "STANDARD", @@ -1025,7 +1025,7 @@ "id": "FileShareConfig", "properties": { "capacityGb": { - "description": "File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes.", + "description": "File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes.", "format": "int64", "type": "string" }, @@ -1321,7 +1321,7 @@ "type": "object" }, "Instance": { - "description": "A Cloud Filestore instance.", + "description": "A Filestore instance.", "id": "Instance", "properties": { "createTime": { @@ -1693,7 +1693,7 @@ "type": "string" }, "reservedIpRange": { - "description": "Optional, reserved_ip_range can have one of the following two types of values. * CIDR range value when using DIRECT_PEERING connect mode. * [Allocated IP address range](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address) when using PRIVATE_SERVICE_ACCESS connect mode. When the name of an allocated IP address range is specified, it must be one of the ranges associated with the private service access connection. When specified as a direct CIDR value, it must be a /29 CIDR block for Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for Enterprise tier in one of the [internal IP address ranges](https://www.arin.net/reference/research/statistics/address_filters/) that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, respectively. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Cloud Filestore instances in the selected VPC network.", + "description": "Optional, reserved_ip_range can have one of the following two types of values. * CIDR range value when using DIRECT_PEERING connect mode. * [Allocated IP address range](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address) when using PRIVATE_SERVICE_ACCESS connect mode. When the name of an allocated IP address range is specified, it must be one of the ranges associated with the private service access connection. When specified as a direct CIDR value, it must be a /29 CIDR block for Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for Enterprise tier in one of the [internal IP address ranges](https://www.arin.net/reference/research/statistics/address_filters/) that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, respectively. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Filestore instances in the selected VPC network.", "type": "string" } }, @@ -1835,7 +1835,7 @@ "id": "RestoreInstanceRequest", "properties": { "fileShare": { - "description": "Required. Name of the file share in the Cloud Filestore instance that the backup is being restored to.", + "description": "Required. Name of the file share in the Filestore instance that the backup is being restored to.", "type": "string" }, "sourceBackup": { @@ -2000,12 +2000,18 @@ "enum": [ "UPDATE_CHANNEL_UNSPECIFIED", "EARLIER", - "LATER" + "LATER", + "WEEK1", + "WEEK2", + "WEEK5" ], "enumDescriptions": [ "Unspecified channel.", "Early channel within a customer project.", - "Later channel within a customer project." + "Later channel within a customer project.", + "! ! The follow channels can ONLY be used if you adopt the new MW system! ! ! NOTE: all WEEK channels are assumed to be under a weekly window. ! There is currently no dedicated channel definitions for Daily windows. ! If you use Daily window, the system will assume a 1d (24Hours) advanced ! notification period b/w EARLY and LATER. ! We may consider support more flexible daily channel specifications in ! the future. WEEK1 == EARLIER with minimum 7d advanced notification. {7d, 14d} The system will treat them equally and will use WEEK1 whenever it can. New customers are encouraged to use this channel annotation.", + "WEEK2 == LATER with minimum 14d advanced notification {14d, 21d}.", + "WEEK5 == 40d support. minimum 35d advanced notification {35d, 42d}." ], "type": "string" }, diff --git a/file/v1/file-gen.go b/file/v1/file-gen.go index 961f3fb8ba2..82bceea1cdb 100644 --- a/file/v1/file-gen.go +++ b/file/v1/file-gen.go @@ -206,7 +206,7 @@ type ProjectsLocationsOperationsService struct { s *Service } -// Backup: A Cloud Filestore backup. +// Backup: A Filestore backup. type Backup struct { // CapacityGb: Output only. Capacity of the source file share when the // backup was created. @@ -235,17 +235,17 @@ type Backup struct { // SatisfiesPzs: Output only. Reserved for future use. SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` - // SourceFileShare: Name of the file share in the source Cloud Filestore + // SourceFileShare: Name of the file share in the source Filestore // instance that the backup is created from. SourceFileShare string `json:"sourceFileShare,omitempty"` - // SourceInstance: The resource name of the source Cloud Filestore - // instance, in the format + // SourceInstance: The resource name of the source Filestore instance, + // in the format // `projects/{project_number}/locations/{location_id}/instances/{instance // _id}`, used to create this backup. SourceInstance string `json:"sourceInstance,omitempty"` - // SourceInstanceTier: Output only. The service tier of the source Cloud + // SourceInstanceTier: Output only. The service tier of the source // Filestore instance that this backup is created from. // // Possible values: @@ -451,8 +451,8 @@ type Empty struct { // FileShareConfig: File share configuration for the instance. type FileShareConfig struct { - // CapacityGb: File share capacity in gigabytes (GB). Cloud Filestore - // defines 1 GB as 1024^3 bytes. + // CapacityGb: File share capacity in gigabytes (GB). Filestore defines + // 1 GB as 1024^3 bytes. CapacityGb int64 `json:"capacityGb,omitempty,string"` // Name: The name of the file share (must be 16 characters or less). @@ -945,7 +945,7 @@ func (s *GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata) MarshalJSON return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Instance: A Cloud Filestore instance. +// Instance: A Filestore instance. type Instance struct { // CreateTime: Output only. The time when the instance was created. CreateTime string `json:"createTime,omitempty"` @@ -1451,8 +1451,8 @@ type NetworkConfig struct { // that identifies the range of IP addresses reserved for this instance. // For example, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, // respectively. The range you specify can't overlap with either - // existing subnets or assigned IP address ranges for other Cloud - // Filestore instances in the selected VPC network. + // existing subnets or assigned IP address ranges for other Filestore + // instances in the selected VPC network. ReservedIpRange string `json:"reservedIpRange,omitempty"` // ForceSendFields is a list of field names (e.g. "ConnectMode") to @@ -1664,8 +1664,8 @@ func (s *OperationMetadata) MarshalJSON() ([]byte, error) { // RestoreInstanceRequest: RestoreInstanceRequest restores an existing // instance's file share from a backup. type RestoreInstanceRequest struct { - // FileShare: Required. Name of the file share in the Cloud Filestore - // instance that the backup is being restored to. + // FileShare: Required. Name of the file share in the Filestore instance + // that the backup is being restored to. FileShare string `json:"fileShare,omitempty"` // SourceBackup: The resource name of the backup, in the format @@ -1894,6 +1894,20 @@ type UpdatePolicy struct { // "UPDATE_CHANNEL_UNSPECIFIED" - Unspecified channel. // "EARLIER" - Early channel within a customer project. // "LATER" - Later channel within a customer project. + // "WEEK1" - ! ! The follow channels can ONLY be used if you adopt the + // new MW system! ! ! NOTE: all WEEK channels are assumed to be under a + // weekly window. ! There is currently no dedicated channel definitions + // for Daily windows. ! If you use Daily window, the system will assume + // a 1d (24Hours) advanced ! notification period b/w EARLY and LATER. ! + // We may consider support more flexible daily channel specifications in + // ! the future. WEEK1 == EARLIER with minimum 7d advanced notification. + // {7d, 14d} The system will treat them equally and will use WEEK1 + // whenever it can. New customers are encouraged to use this channel + // annotation. + // "WEEK2" - WEEK2 == LATER with minimum 14d advanced notification + // {14d, 21d}. + // "WEEK5" - WEEK5 == 40d support. minimum 35d advanced notification + // {35d, 42d}. Channel string `json:"channel,omitempty"` // DenyMaintenancePeriods: Deny Maintenance Period that is applied to @@ -2340,9 +2354,8 @@ type ProjectsLocationsBackupsCreateCall struct { // Create: Creates a backup. // // - parent: The backup's project and location, in the format -// `projects/{project_number}/locations/{location}`. In Cloud -// Filestore, backup locations map to GCP regions, for example -// **us-west1**. +// `projects/{project_number}/locations/{location}`. In Filestore, +// backup locations map to GCP regions, for example **us-west1**. func (r *ProjectsLocationsBackupsService) Create(parent string, backup *Backup) *ProjectsLocationsBackupsCreateCall { c := &ProjectsLocationsBackupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -2466,7 +2479,7 @@ func (c *ProjectsLocationsBackupsCreateCall) Do(opts ...googleapi.CallOption) (* // "type": "string" // }, // "parent": { - // "description": "Required. The backup's project and location, in the format `projects/{project_number}/locations/{location}`. In Cloud Filestore, backup locations map to GCP regions, for example **us-west1**.", + // "description": "Required. The backup's project and location, in the format `projects/{project_number}/locations/{location}`. In Filestore, backup locations map to GCP regions, for example **us-west1**.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, @@ -2784,10 +2797,10 @@ type ProjectsLocationsBackupsListCall struct { // // - parent: The project and location for which to retrieve backup // information, in the format -// `projects/{project_number}/locations/{location}`. In Cloud -// Filestore, backup locations map to GCP regions, for example -// **us-west1**. To retrieve backup information for all locations, use -// "-" for the `{location}` value. +// `projects/{project_number}/locations/{location}`. In Filestore, +// backup locations map to GCP regions, for example **us-west1**. To +// retrieve backup information for all locations, use "-" for the +// `{location}` value. func (r *ProjectsLocationsBackupsService) List(parent string) *ProjectsLocationsBackupsListCall { c := &ProjectsLocationsBackupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -2951,7 +2964,7 @@ func (c *ProjectsLocationsBackupsListCall) Do(opts ...googleapi.CallOption) (*Li // "type": "string" // }, // "parent": { - // "description": "Required. The project and location for which to retrieve backup information, in the format `projects/{project_number}/locations/{location}`. In Cloud Filestore, backup locations map to GCP regions, for example **us-west1**. To retrieve backup information for all locations, use \"-\" for the `{location}` value.", + // "description": "Required. The project and location for which to retrieve backup information, in the format `projects/{project_number}/locations/{location}`. In Filestore, backup locations map to GCP regions, for example **us-west1**. To retrieve backup information for all locations, use \"-\" for the `{location}` value.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, @@ -3165,7 +3178,7 @@ type ProjectsLocationsInstancesCreateCall struct { // capacity of the tier). // // - parent: The instance's project and location, in the format -// `projects/{project_id}/locations/{location}`. In Cloud Filestore, +// `projects/{project_id}/locations/{location}`. In Filestore, // locations map to GCP zones, for example **us-west1-b**. func (r *ProjectsLocationsInstancesService) Create(parent string, instance *Instance) *ProjectsLocationsInstancesCreateCall { c := &ProjectsLocationsInstancesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -3287,7 +3300,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Do(opts ...googleapi.CallOption) // "type": "string" // }, // "parent": { - // "description": "Required. The instance's project and location, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations map to GCP zones, for example **us-west1-b**.", + // "description": "Required. The instance's project and location, in the format `projects/{project_id}/locations/{location}`. In Filestore, locations map to GCP zones, for example **us-west1-b**.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, diff --git a/file/v1beta1/file-api.json b/file/v1beta1/file-api.json index 6d37eecd9ea..42672a82e37 100644 --- a/file/v1beta1/file-api.json +++ b/file/v1beta1/file-api.json @@ -199,7 +199,7 @@ "type": "string" }, "parent": { - "description": "Required. The backup's project and location, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, backup locations map to GCP regions, for example **us-west1**.", + "description": "Required. The backup's project and location, in the format `projects/{project_id}/locations/{location}`. In Filestore, backup locations map to GCP regions, for example **us-west1**.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -298,7 +298,7 @@ "type": "string" }, "parent": { - "description": "Required. The project and location for which to retrieve backup information, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, backup locations map to GCP regions, for example **us-west1**. To retrieve backup information for all locations, use \"-\" for the `{location}` value.", + "description": "Required. The project and location for which to retrieve backup information, in the format `projects/{project_id}/locations/{location}`. In Filestore, backup locations map to GCP regions, for example **us-west1**. To retrieve backup information for all locations, use \"-\" for the `{location}` value.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -366,7 +366,7 @@ "type": "string" }, "parent": { - "description": "Required. The instance's project and location, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations map to GCP zones, for example **us-west1-b**.", + "description": "Required. The instance's project and location, in the format `projects/{project_id}/locations/{location}`. In Filestore, locations map to GCP zones, for example **us-west1-b**.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -1041,11 +1041,11 @@ } } }, - "revision": "20220715", + "revision": "20220729", "rootUrl": "https://file.googleapis.com/", "schemas": { "Backup": { - "description": "A Cloud Filestore backup.", + "description": "A Filestore backup.", "id": "Backup", "properties": { "capacityGb": { @@ -1092,15 +1092,15 @@ "type": "boolean" }, "sourceFileShare": { - "description": "Name of the file share in the source Cloud Filestore instance that the backup is created from.", + "description": "Name of the file share in the source Filestore instance that the backup is created from.", "type": "string" }, "sourceInstance": { - "description": "The resource name of the source Cloud Filestore instance, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}`, used to create this backup.", + "description": "The resource name of the source Filestore instance, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}`, used to create this backup.", "type": "string" }, "sourceInstanceTier": { - "description": "Output only. The service tier of the source Cloud Filestore instance that this backup is created from.", + "description": "Output only. The service tier of the source Filestore instance that this backup is created from.", "enum": [ "TIER_UNSPECIFIED", "STANDARD", @@ -1224,7 +1224,7 @@ "id": "FileShareConfig", "properties": { "capacityGb": { - "description": "File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes.", + "description": "File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes.", "format": "int64", "type": "string" }, @@ -1520,7 +1520,7 @@ "type": "object" }, "Instance": { - "description": "A Cloud Filestore instance.", + "description": "A Filestore instance.", "id": "Instance", "properties": { "capacityGb": { @@ -1946,7 +1946,7 @@ "type": "string" }, "reservedIpRange": { - "description": "Optional, reserved_ip_range can have one of the following two types of values. * CIDR range value when using DIRECT_PEERING connect mode. * [Allocated IP address range](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address) when using PRIVATE_SERVICE_ACCESS connect mode. When the name of an allocated IP address range is specified, it must be one of the ranges associated with the private service access connection. When specified as a direct CIDR value, it must be a /29 CIDR block for Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for Enterprise tier in one of the [internal IP address ranges](https://www.arin.net/reference/research/statistics/address_filters/) that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29, 192.168.0.0/24, or 192.168.0.0/26, respectively. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Cloud Filestore instances in the selected VPC network.", + "description": "Optional, reserved_ip_range can have one of the following two types of values. * CIDR range value when using DIRECT_PEERING connect mode. * [Allocated IP address range](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address) when using PRIVATE_SERVICE_ACCESS connect mode. When the name of an allocated IP address range is specified, it must be one of the ranges associated with the private service access connection. When specified as a direct CIDR value, it must be a /29 CIDR block for Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for Enterprise tier in one of the [internal IP address ranges](https://www.arin.net/reference/research/statistics/address_filters/) that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29, 192.168.0.0/24, or 192.168.0.0/26, respectively. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Filestore instances in the selected VPC network.", "type": "string" } }, @@ -2088,7 +2088,7 @@ "id": "RestoreInstanceRequest", "properties": { "fileShare": { - "description": "Required. Name of the file share in the Cloud Filestore instance that the snapshot is being restored to.", + "description": "Required. Name of the file share in the Filestore instance that the snapshot is being restored to.", "type": "string" }, "sourceBackup": { @@ -2154,11 +2154,11 @@ "type": "object" }, "Share": { - "description": "A Cloud Filestore share.", + "description": "A Filestore share.", "id": "Share", "properties": { "capacityGb": { - "description": "File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes. Must be greater than 0.", + "description": "File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. Must be greater than 0.", "format": "int64", "type": "string" }, @@ -2216,7 +2216,7 @@ "type": "object" }, "Snapshot": { - "description": "A Cloud Filestore snapshot.", + "description": "A Filestore snapshot.", "id": "Snapshot", "properties": { "createTime": { @@ -2330,12 +2330,18 @@ "enum": [ "UPDATE_CHANNEL_UNSPECIFIED", "EARLIER", - "LATER" + "LATER", + "WEEK1", + "WEEK2", + "WEEK5" ], "enumDescriptions": [ "Unspecified channel.", "Early channel within a customer project.", - "Later channel within a customer project." + "Later channel within a customer project.", + "! ! The follow channels can ONLY be used if you adopt the new MW system! ! ! NOTE: all WEEK channels are assumed to be under a weekly window. ! There is currently no dedicated channel definitions for Daily windows. ! If you use Daily window, the system will assume a 1d (24Hours) advanced ! notification period b/w EARLY and LATER. ! We may consider support more flexible daily channel specifications in ! the future. WEEK1 == EARLIER with minimum 7d advanced notification. {7d, 14d} The system will treat them equally and will use WEEK1 whenever it can. New customers are encouraged to use this channel annotation.", + "WEEK2 == LATER with minimum 14d advanced notification {14d, 21d}.", + "WEEK5 == 40d support. minimum 35d advanced notification {35d, 42d}." ], "type": "string" }, diff --git a/file/v1beta1/file-gen.go b/file/v1beta1/file-gen.go index d7a36bcf8f8..88dd6528bae 100644 --- a/file/v1beta1/file-gen.go +++ b/file/v1beta1/file-gen.go @@ -218,7 +218,7 @@ type ProjectsLocationsOperationsService struct { s *Service } -// Backup: A Cloud Filestore backup. +// Backup: A Filestore backup. type Backup struct { // CapacityGb: Output only. Capacity of the source file share when the // backup was created. @@ -248,17 +248,17 @@ type Backup struct { // SatisfiesPzs: Output only. Reserved for future use. SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` - // SourceFileShare: Name of the file share in the source Cloud Filestore + // SourceFileShare: Name of the file share in the source Filestore // instance that the backup is created from. SourceFileShare string `json:"sourceFileShare,omitempty"` - // SourceInstance: The resource name of the source Cloud Filestore - // instance, in the format + // SourceInstance: The resource name of the source Filestore instance, + // in the format // `projects/{project_id}/locations/{location_id}/instances/{instance_id} // `, used to create this backup. SourceInstance string `json:"sourceInstance,omitempty"` - // SourceInstanceTier: Output only. The service tier of the source Cloud + // SourceInstanceTier: Output only. The service tier of the source // Filestore instance that this backup is created from. // // Possible values: @@ -464,8 +464,8 @@ type Empty struct { // FileShareConfig: File share configuration for the instance. type FileShareConfig struct { - // CapacityGb: File share capacity in gigabytes (GB). Cloud Filestore - // defines 1 GB as 1024^3 bytes. + // CapacityGb: File share capacity in gigabytes (GB). Filestore defines + // 1 GB as 1024^3 bytes. CapacityGb int64 `json:"capacityGb,omitempty,string"` // Name: The name of the file share (must be 32 characters or less for @@ -960,7 +960,7 @@ func (s *GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata) MarshalJSON return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Instance: A Cloud Filestore instance. +// Instance: A Filestore instance. type Instance struct { // CapacityGb: The storage capacity of the instance in gigabytes (GB = // 1024^3 bytes). This capacity can be increased up to `max_capacity_gb` @@ -1529,8 +1529,8 @@ type NetworkConfig struct { // that identifies the range of IP addresses reserved for this instance. // For example, 10.0.0.0/29, 192.168.0.0/24, or 192.168.0.0/26, // respectively. The range you specify can't overlap with either - // existing subnets or assigned IP address ranges for other Cloud - // Filestore instances in the selected VPC network. + // existing subnets or assigned IP address ranges for other Filestore + // instances in the selected VPC network. ReservedIpRange string `json:"reservedIpRange,omitempty"` // ForceSendFields is a list of field names (e.g. "ConnectMode") to @@ -1742,8 +1742,8 @@ func (s *OperationMetadata) MarshalJSON() ([]byte, error) { // RestoreInstanceRequest: RestoreInstanceRequest restores an existing // instance's file share from a snapshot or backup. type RestoreInstanceRequest struct { - // FileShare: Required. Name of the file share in the Cloud Filestore - // instance that the snapshot is being restored to. + // FileShare: Required. Name of the file share in the Filestore instance + // that the snapshot is being restored to. FileShare string `json:"fileShare,omitempty"` // SourceBackup: The resource name of the backup, in the format @@ -1857,10 +1857,10 @@ func (s *Schedule) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Share: A Cloud Filestore share. +// Share: A Filestore share. type Share struct { - // CapacityGb: File share capacity in gigabytes (GB). Cloud Filestore - // defines 1 GB as 1024^3 bytes. Must be greater than 0. + // CapacityGb: File share capacity in gigabytes (GB). Filestore defines + // 1 GB as 1024^3 bytes. Must be greater than 0. CapacityGb int64 `json:"capacityGb,omitempty,string"` // CreateTime: Output only. The time when the share was created. @@ -1923,7 +1923,7 @@ func (s *Share) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Snapshot: A Cloud Filestore snapshot. +// Snapshot: A Filestore snapshot. type Snapshot struct { // CreateTime: Output only. The time when the snapshot was created. CreateTime string `json:"createTime,omitempty"` @@ -2076,6 +2076,20 @@ type UpdatePolicy struct { // "UPDATE_CHANNEL_UNSPECIFIED" - Unspecified channel. // "EARLIER" - Early channel within a customer project. // "LATER" - Later channel within a customer project. + // "WEEK1" - ! ! The follow channels can ONLY be used if you adopt the + // new MW system! ! ! NOTE: all WEEK channels are assumed to be under a + // weekly window. ! There is currently no dedicated channel definitions + // for Daily windows. ! If you use Daily window, the system will assume + // a 1d (24Hours) advanced ! notification period b/w EARLY and LATER. ! + // We may consider support more flexible daily channel specifications in + // ! the future. WEEK1 == EARLIER with minimum 7d advanced notification. + // {7d, 14d} The system will treat them equally and will use WEEK1 + // whenever it can. New customers are encouraged to use this channel + // annotation. + // "WEEK2" - WEEK2 == LATER with minimum 14d advanced notification + // {14d, 21d}. + // "WEEK5" - WEEK5 == 40d support. minimum 35d advanced notification + // {35d, 42d}. Channel string `json:"channel,omitempty"` // DenyMaintenancePeriods: Deny Maintenance Period that is applied to @@ -2522,8 +2536,8 @@ type ProjectsLocationsBackupsCreateCall struct { // Create: Creates a backup. // // - parent: The backup's project and location, in the format -// `projects/{project_id}/locations/{location}`. In Cloud Filestore, -// backup locations map to GCP regions, for example **us-west1**. +// `projects/{project_id}/locations/{location}`. In Filestore, backup +// locations map to GCP regions, for example **us-west1**. func (r *ProjectsLocationsBackupsService) Create(parent string, backup *Backup) *ProjectsLocationsBackupsCreateCall { c := &ProjectsLocationsBackupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -2646,7 +2660,7 @@ func (c *ProjectsLocationsBackupsCreateCall) Do(opts ...googleapi.CallOption) (* // "type": "string" // }, // "parent": { - // "description": "Required. The backup's project and location, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, backup locations map to GCP regions, for example **us-west1**.", + // "description": "Required. The backup's project and location, in the format `projects/{project_id}/locations/{location}`. In Filestore, backup locations map to GCP regions, for example **us-west1**.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, @@ -2963,10 +2977,10 @@ type ProjectsLocationsBackupsListCall struct { // // - parent: The project and location for which to retrieve backup // information, in the format -// `projects/{project_id}/locations/{location}`. In Cloud Filestore, -// backup locations map to GCP regions, for example **us-west1**. To -// retrieve backup information for all locations, use "-" for the -// `{location}` value. +// `projects/{project_id}/locations/{location}`. In Filestore, backup +// locations map to GCP regions, for example **us-west1**. To retrieve +// backup information for all locations, use "-" for the `{location}` +// value. func (r *ProjectsLocationsBackupsService) List(parent string) *ProjectsLocationsBackupsListCall { c := &ProjectsLocationsBackupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -3130,7 +3144,7 @@ func (c *ProjectsLocationsBackupsListCall) Do(opts ...googleapi.CallOption) (*Li // "type": "string" // }, // "parent": { - // "description": "Required. The project and location for which to retrieve backup information, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, backup locations map to GCP regions, for example **us-west1**. To retrieve backup information for all locations, use \"-\" for the `{location}` value.", + // "description": "Required. The project and location for which to retrieve backup information, in the format `projects/{project_id}/locations/{location}`. In Filestore, backup locations map to GCP regions, for example **us-west1**. To retrieve backup information for all locations, use \"-\" for the `{location}` value.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, @@ -3343,7 +3357,7 @@ type ProjectsLocationsInstancesCreateCall struct { // capacity of the tier). // // - parent: The instance's project and location, in the format -// `projects/{project_id}/locations/{location}`. In Cloud Filestore, +// `projects/{project_id}/locations/{location}`. In Filestore, // locations map to GCP zones, for example **us-west1-b**. func (r *ProjectsLocationsInstancesService) Create(parent string, instance *Instance) *ProjectsLocationsInstancesCreateCall { c := &ProjectsLocationsInstancesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -3467,7 +3481,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Do(opts ...googleapi.CallOption) // "type": "string" // }, // "parent": { - // "description": "Required. The instance's project and location, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations map to GCP zones, for example **us-west1-b**.", + // "description": "Required. The instance's project and location, in the format `projects/{project_id}/locations/{location}`. In Filestore, locations map to GCP zones, for example **us-west1-b**.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, diff --git a/gameservices/v1/gameservices-api.json b/gameservices/v1/gameservices-api.json index d306566879d..161f6c68b4c 100644 --- a/gameservices/v1/gameservices-api.json +++ b/gameservices/v1/gameservices-api.json @@ -401,7 +401,7 @@ } } }, - "revision": "20220719", + "revision": "20220804", "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 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/gameservices/v1/gameservices-gen.go b/gameservices/v1/gameservices-gen.go index 572c000ee33..40eafeb6ec9 100644 --- a/gameservices/v1/gameservices-gen.go +++ b/gameservices/v1/gameservices-gen.go @@ -340,16 +340,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/gameservices/v1beta/gameservices-api.json b/gameservices/v1beta/gameservices-api.json index 31c00e8f58c..80e52845de1 100644 --- a/gameservices/v1beta/gameservices-api.json +++ b/gameservices/v1beta/gameservices-api.json @@ -401,7 +401,7 @@ } } }, - "revision": "20220719", + "revision": "20220804", "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 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/gameservices/v1beta/gameservices-gen.go b/gameservices/v1beta/gameservices-gen.go index 9cb1ce0995c..1bc6f856ddd 100644 --- a/gameservices/v1beta/gameservices-gen.go +++ b/gameservices/v1beta/gameservices-gen.go @@ -340,16 +340,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/metastore/v1alpha/metastore-api.json b/metastore/v1alpha/metastore-api.json index 49fda80fc40..73531ff2f27 100644 --- a/metastore/v1alpha/metastore-api.json +++ b/metastore/v1alpha/metastore-api.json @@ -1467,7 +1467,7 @@ } } }, - "revision": "20220627", + "revision": "20220809", "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 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/metastore/v1alpha/metastore-gen.go b/metastore/v1alpha/metastore-gen.go index 58c12d6712a..65997f6c157 100644 --- a/metastore/v1alpha/metastore-gen.go +++ b/metastore/v1alpha/metastore-gen.go @@ -504,13 +504,17 @@ type Binding struct { // 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 + // . 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, + // 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. diff --git a/metastore/v1beta/metastore-api.json b/metastore/v1beta/metastore-api.json index 34924328fd4..63b110be69c 100644 --- a/metastore/v1beta/metastore-api.json +++ b/metastore/v1beta/metastore-api.json @@ -1467,7 +1467,7 @@ } } }, - "revision": "20220627", + "revision": "20220809", "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 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/metastore/v1beta/metastore-gen.go b/metastore/v1beta/metastore-gen.go index 08c60581720..fd2a8a873f3 100644 --- a/metastore/v1beta/metastore-gen.go +++ b/metastore/v1beta/metastore-gen.go @@ -504,13 +504,17 @@ type Binding struct { // 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 + // . 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, + // 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. diff --git a/oauth2/v2/oauth2-api.json b/oauth2/v2/oauth2-api.json index 82215ab958c..7b101ac18e8 100644 --- a/oauth2/v2/oauth2-api.json +++ b/oauth2/v2/oauth2-api.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/userinfo.email": { - "description": "View your email address" + "description": "See your primary Google Account email address" }, "https://www.googleapis.com/auth/userinfo.profile": { "description": "See your personal info, including any personal info you've made publicly available" diff --git a/oauth2/v2/oauth2-gen.go b/oauth2/v2/oauth2-gen.go index dae860a982b..955a73e300c 100644 --- a/oauth2/v2/oauth2-gen.go +++ b/oauth2/v2/oauth2-gen.go @@ -83,7 +83,7 @@ const basePath = "https://www.googleapis.com/" // OAuth2 scopes used by this API. const ( - // View your email address + // See your primary Google Account email address UserinfoEmailScope = "https://www.googleapis.com/auth/userinfo.email" // See your personal info, including any personal info you've made diff --git a/privateca/v1/privateca-api.json b/privateca/v1/privateca-api.json index 582da460f9f..f17fe834fac 100644 --- a/privateca/v1/privateca-api.json +++ b/privateca/v1/privateca-api.json @@ -1595,7 +1595,7 @@ } } }, - "revision": "20220707", + "revision": "20220804", "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 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/privateca/v1/privateca-gen.go b/privateca/v1/privateca-gen.go index 47d806a9545..97adcff7de0 100644 --- a/privateca/v1/privateca-gen.go +++ b/privateca/v1/privateca-gen.go @@ -467,16 +467,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/privateca/v1beta1/privateca-api.json b/privateca/v1beta1/privateca-api.json index 0bf7fa4a907..afdddf9ff20 100644 --- a/privateca/v1beta1/privateca-api.json +++ b/privateca/v1beta1/privateca-api.json @@ -1254,7 +1254,7 @@ } } }, - "revision": "20220707", + "revision": "20220804", "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 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/privateca/v1beta1/privateca-gen.go b/privateca/v1beta1/privateca-gen.go index badf31f8acd..94b89bd3eff 100644 --- a/privateca/v1beta1/privateca-gen.go +++ b/privateca/v1beta1/privateca-gen.go @@ -517,16 +517,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,