From 036f7eec526a3553e83bcd1f30a2123950455b8b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 25 Jun 2024 07:12:14 +0000 Subject: [PATCH] feat(all): auto-regenerate discovery clients --- .../v1/accesscontextmanager-api.json | 36 ++++++-- .../v1/accesscontextmanager-gen.go | 31 +++++-- .../v1/androidenterprise-api.json | 6 +- androidenterprise/v1/androidenterprise-gen.go | 14 ++- androidpublisher/v3/androidpublisher-api.json | 7 +- androidpublisher/v3/androidpublisher-gen.go | 9 ++ classroom/v1/classroom-api.json | 4 - classroom/v1/classroom-gen.go | 4 - container/v1/container-api.json | 8 +- container/v1/container-gen.go | 1 + .../v1/networkconnectivity-api.json | 46 +++++++++- .../v1/networkconnectivity-gen.go | 92 ++++++++++++++----- sqladmin/v1/sqladmin-api.json | 14 +-- sqladmin/v1/sqladmin-gen.go | 33 ++++--- sqladmin/v1beta4/sqladmin-api.json | 18 ++-- sqladmin/v1beta4/sqladmin-gen.go | 38 ++++---- 16 files changed, 242 insertions(+), 119 deletions(-) diff --git a/accesscontextmanager/v1/accesscontextmanager-api.json b/accesscontextmanager/v1/accesscontextmanager-api.json index d990a0a8fb..f3d20d8e9f 100644 --- a/accesscontextmanager/v1/accesscontextmanager-api.json +++ b/accesscontextmanager/v1/accesscontextmanager-api.json @@ -245,7 +245,7 @@ ], "parameters": { "name": { - "description": "Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}`", + "description": "Output only. Identifier. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}`", "location": "path", "pattern": "^accessPolicies/[^/]+$", "required": true, @@ -483,7 +483,7 @@ ], "parameters": { "name": { - "description": "Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`.", + "description": "Identifier. Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`.", "location": "path", "pattern": "^accessPolicies/[^/]+/accessLevels/[^/]+$", "required": true, @@ -691,7 +691,7 @@ ], "parameters": { "name": { - "description": "Resource name for the `AuthorizedOrgsDesc`. Format: `accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}`. The `authorized_orgs_desc` component must begin with a letter, followed by alphanumeric characters or `_`. After you create an `AuthorizedOrgsDesc`, you cannot change its `name`.", + "description": "Identifier. Resource name for the `AuthorizedOrgsDesc`. Format: `accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}`. The `authorized_orgs_desc` component must begin with a letter, followed by alphanumeric characters or `_`. After you create an `AuthorizedOrgsDesc`, you cannot change its `name`.", "location": "path", "pattern": "^accessPolicies/[^/]+/authorizedOrgsDescs/[^/]+$", "required": true, @@ -871,7 +871,7 @@ ], "parameters": { "name": { - "description": "Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`.", + "description": "Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`.", "location": "path", "pattern": "^accessPolicies/[^/]+/servicePerimeters/[^/]+$", "required": true, @@ -1290,7 +1290,7 @@ } } }, - "revision": "20240429", + "revision": "20240623", "rootUrl": "https://accesscontextmanager.googleapis.com/", "schemas": { "AccessContextManagerOperationMetadata": { @@ -1316,7 +1316,7 @@ "type": "string" }, "name": { - "description": "Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`.", + "description": "Identifier. Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`.", "type": "string" }, "title": { @@ -1331,11 +1331,11 @@ "id": "AccessPolicy", "properties": { "etag": { - "description": "Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Polices will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.", + "description": "Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.", "type": "string" }, "name": { - "description": "Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}`", + "description": "Output only. Identifier. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}`", "type": "string" }, "parent": { @@ -1482,7 +1482,7 @@ "type": "string" }, "name": { - "description": "Resource name for the `AuthorizedOrgsDesc`. Format: `accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}`. The `authorized_orgs_desc` component must begin with a letter, followed by alphanumeric characters or `_`. After you create an `AuthorizedOrgsDesc`, you cannot change its `name`.", + "description": "Identifier. Resource name for the `AuthorizedOrgsDesc`. Format: `accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}`. The `authorized_orgs_desc` component must begin with a letter, followed by alphanumeric characters or `_`. After you create an `AuthorizedOrgsDesc`, you cannot change its `name`.", "type": "string" }, "orgs": { @@ -2303,7 +2303,7 @@ "type": "string" }, "name": { - "description": "Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`.", + "description": "Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`.", "type": "string" }, "perimeterType": { @@ -2442,6 +2442,22 @@ "description": "The service name or address of the supported service, such as `service.googleapis.com`.", "type": "string" }, + "serviceSupportStage": { + "description": "The support stage of the service.", + "enum": [ + "SERVICE_SUPPORT_STAGE_UNSPECIFIED", + "GA", + "PREVIEW", + "DEPRECATED" + ], + "enumDescriptions": [ + "Do not use this default value.", + "GA features are open to all developers and are considered stable and fully qualified for production use.", + "PREVIEW indicates a pre-release stage where the product is functionally complete but undergoing real-world testing.", + "Deprecated features are scheduled to be shut down and removed." + ], + "type": "string" + }, "supportStage": { "description": "The support stage of the service.", "enum": [ diff --git a/accesscontextmanager/v1/accesscontextmanager-gen.go b/accesscontextmanager/v1/accesscontextmanager-gen.go index 3a2f3dde40..7c6334b418 100644 --- a/accesscontextmanager/v1/accesscontextmanager-gen.go +++ b/accesscontextmanager/v1/accesscontextmanager-gen.go @@ -263,7 +263,7 @@ type AccessLevel struct { // Description: Description of the `AccessLevel` and its use. Does not affect // behavior. Description string `json:"description,omitempty"` - // Name: Resource name for the `AccessLevel`. Format: + // Name: Identifier. Resource name for the `AccessLevel`. Format: // `accessPolicies/{access_policy}/accessLevels/{access_level}`. The // `access_level` component must begin with a letter, followed by alphanumeric // characters or `_`. Its maximum length is 50 characters. After you create an @@ -301,10 +301,10 @@ func (s *AccessLevel) MarshalJSON() ([]byte, error) { type AccessPolicy struct { // Etag: Output only. An opaque identifier for the current version of the // `AccessPolicy`. This will always be a strongly validated etag, meaning that - // two Access Polices will be identical if and only if their etags are + // two Access Policies will be identical if and only if their etags are // identical. Clients should not expect this to be in any specific format. Etag string `json:"etag,omitempty"` - // Name: Output only. Resource name of the `AccessPolicy`. Format: + // Name: Output only. Identifier. Resource name of the `AccessPolicy`. Format: // `accessPolicies/{access_policy}` Name string `json:"name,omitempty"` // Parent: Required. The parent of this `AccessPolicy` in the Cloud Resource @@ -515,7 +515,7 @@ type AuthorizedOrgsDesc struct { // "AUTHORIZATION_TYPE_UNSPECIFIED" - No authorization type specified. // "AUTHORIZATION_TYPE_TRUST" - This authorization relationship is "trust". AuthorizationType string `json:"authorizationType,omitempty"` - // Name: Resource name for the `AuthorizedOrgsDesc`. Format: + // Name: Identifier. Resource name for the `AuthorizedOrgsDesc`. Format: // `accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}`. // The `authorized_orgs_desc` component must begin with a letter, followed by // alphanumeric characters or `_`. After you create an `AuthorizedOrgsDesc`, @@ -1905,7 +1905,7 @@ type ServicePerimeter struct { // Description: Description of the `ServicePerimeter` and its use. Does not // affect behavior. Description string `json:"description,omitempty"` - // Name: Resource name for the `ServicePerimeter`. Format: + // Name: Identifier. Resource name for the `ServicePerimeter`. Format: // `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The // `service_perimeter` component must begin with a letter, followed by // alphanumeric characters or `_`. After you create a `ServicePerimeter`, you @@ -2096,6 +2096,17 @@ type SupportedService struct { // Name: The service name or address of the supported service, such as // `service.googleapis.com`. Name string `json:"name,omitempty"` + // ServiceSupportStage: The support stage of the service. + // + // Possible values: + // "SERVICE_SUPPORT_STAGE_UNSPECIFIED" - Do not use this default value. + // "GA" - GA features are open to all developers and are considered stable + // and fully qualified for production use. + // "PREVIEW" - PREVIEW indicates a pre-release stage where the product is + // functionally complete but undergoing real-world testing. + // "DEPRECATED" - Deprecated features are scheduled to be shut down and + // removed. + ServiceSupportStage string `json:"serviceSupportStage,omitempty"` // SupportStage: The support stage of the service. // // Possible values: @@ -2858,8 +2869,8 @@ type AccessPoliciesPatchCall struct { // has a successful status after the changes to the access policy propagate to // long-lasting storage. // -// - name: Output only. Resource name of the `AccessPolicy`. Format: -// `accessPolicies/{access_policy}`. +// - name: Output only. Identifier. Resource name of the `AccessPolicy`. +// Format: `accessPolicies/{access_policy}`. func (r *AccessPoliciesService) Patch(name string, accesspolicy *AccessPolicy) *AccessPoliciesPatchCall { c := &AccessPoliciesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -3681,7 +3692,7 @@ type AccessPoliciesAccessLevelsPatchCall struct { // long-lasting storage. If access levels contain errors, an error response is // returned for the first error encountered. // -// - name: Resource name for the `AccessLevel`. Format: +// - name: Identifier. Resource name for the `AccessLevel`. Format: // `accessPolicies/{access_policy}/accessLevels/{access_level}`. The // `access_level` component must begin with a letter, followed by // alphanumeric characters or `_`. Its maximum length is 50 characters. After @@ -4473,7 +4484,7 @@ type AccessPoliciesAuthorizedOrgsDescsPatchCall struct { // list in `AuthorizedOrgsDesc` can be updated. The name, authorization_type, // asset_type and authorization_direction cannot be updated. // -// - name: Resource name for the `AuthorizedOrgsDesc`. Format: +// - name: Identifier. Resource name for the `AuthorizedOrgsDesc`. Format: // `accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}` // . The `authorized_orgs_desc` component must begin with a letter, followed // by alphanumeric characters or `_`. After you create an @@ -5158,7 +5169,7 @@ type AccessPoliciesServicePerimetersPatchCall struct { // long-lasting storage. If a service perimeter contains errors, an error // response is returned for the first error encountered. // -// - name: Resource name for the `ServicePerimeter`. Format: +// - name: Identifier. Resource name for the `ServicePerimeter`. Format: // `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. // The `service_perimeter` component must begin with a letter, followed by // alphanumeric characters or `_`. After you create a `ServicePerimeter`, you diff --git a/androidenterprise/v1/androidenterprise-api.json b/androidenterprise/v1/androidenterprise-api.json index 6f1a10d995..0594cd56f8 100644 --- a/androidenterprise/v1/androidenterprise-api.json +++ b/androidenterprise/v1/androidenterprise-api.json @@ -2649,7 +2649,7 @@ } } }, - "revision": "20240424", + "revision": "20240619", "rootUrl": "https://androidenterprise.googleapis.com/", "schemas": { "Administrator": { @@ -3673,7 +3673,7 @@ "type": "object" }, "ManagedConfiguration": { - "description": "A managed configuration resource contains the set of managed properties defined by the app developer in the app's managed configurations schema, as well as any configuration variables defined for the user.", + "description": " *Deprecated:* New integrations cannot use this method and can refer to our new recommendations. A managed configuration resource contains the set of managed properties defined by the app developer in the app's managed configurations schema, as well as any configuration variables defined for the user.", "id": "ManagedConfiguration", "properties": { "configurationVariables": { @@ -4725,7 +4725,7 @@ "type": "object" }, "StorePage": { - "description": "Definition of a managed Google Play store page, made of a localized name and links to other pages. A page also contains clusters defined as a subcollection. *Deprecated* The managed Google Play Store homepage shows all apps listed in the Devices policy. If IT admins want to customize the homepage layout, they can organize apps into collections in the managed Google Play iframe.", + "description": "Definition of a managed Google Play store page, made of a localized name and links to other pages. A page also contains clusters defined as a subcollection.", "id": "StorePage", "properties": { "id": { diff --git a/androidenterprise/v1/androidenterprise-gen.go b/androidenterprise/v1/androidenterprise-gen.go index a5287feb59..a766c66361 100644 --- a/androidenterprise/v1/androidenterprise-gen.go +++ b/androidenterprise/v1/androidenterprise-gen.go @@ -1797,10 +1797,11 @@ func (s *MaintenanceWindow) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } -// ManagedConfiguration: A managed configuration resource contains the set of -// managed properties defined by the app developer in the app's managed -// configurations schema, as well as any configuration variables defined for -// the user. +// ManagedConfiguration: *Deprecated:* New integrations cannot use this method +// and can refer to our new recommendations. A managed configuration resource +// contains the set of managed properties defined by the app developer in the +// app's managed configurations schema, as well as any configuration variables +// defined for the user. type ManagedConfiguration struct { // ConfigurationVariables: Contains the ID of the managed configuration profile // and the set of configuration variables (if any) defined for the user. @@ -3099,10 +3100,7 @@ func (s *StoreLayoutPagesListResponse) MarshalJSON() ([]byte, error) { // StorePage: Definition of a managed Google Play store page, made of a // localized name and links to other pages. A page also contains clusters -// defined as a subcollection. *Deprecated* The managed Google Play Store -// homepage shows all apps listed in the Devices policy. If IT admins want to -// customize the homepage layout, they can organize apps into collections in -// the managed Google Play iframe. +// defined as a subcollection. type StorePage struct { // Id: Unique ID of this page. Assigned by the server. Immutable once assigned. Id string `json:"id,omitempty"` diff --git a/androidpublisher/v3/androidpublisher-api.json b/androidpublisher/v3/androidpublisher-api.json index 68a3efe082..1cc9678741 100644 --- a/androidpublisher/v3/androidpublisher-api.json +++ b/androidpublisher/v3/androidpublisher-api.json @@ -4731,7 +4731,7 @@ } } }, - "revision": "20240611", + "revision": "20240624", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Abi": { @@ -6298,6 +6298,11 @@ "description": "Output only. If set, this transaction was a test purchase. Google will not charge for a test transaction.", "readOnly": true }, + "transactionProgramCode": { + "description": "Optional. The transaction program code, used to help determine service fee for apps partcipating in special partner programs. This field can not be used for external offers transactions. Developers participating in the Play Media Experience Program (https://play.google.com/console/about/programs/mediaprogram/) must provide the program code when reporting alternative billing external transactions. If you are an eligible developer, please contact your BDM for more information on how to set this field.", + "format": "int32", + "type": "integer" + }, "transactionState": { "description": "Output only. The current state of the transaction.", "enum": [ diff --git a/androidpublisher/v3/androidpublisher-gen.go b/androidpublisher/v3/androidpublisher-gen.go index 8426ce178d..f7d03a0200 100644 --- a/androidpublisher/v3/androidpublisher-gen.go +++ b/androidpublisher/v3/androidpublisher-gen.go @@ -2717,6 +2717,15 @@ type ExternalTransaction struct { // TestPurchase: Output only. If set, this transaction was a test purchase. // Google will not charge for a test transaction. TestPurchase *ExternalTransactionTestPurchase `json:"testPurchase,omitempty"` + // TransactionProgramCode: Optional. The transaction program code, used to help + // determine service fee for apps partcipating in special partner programs. + // This field can not be used for external offers transactions. Developers + // participating in the Play Media Experience Program + // (https://play.google.com/console/about/programs/mediaprogram/) must provide + // the program code when reporting alternative billing external transactions. + // If you are an eligible developer, please contact your BDM for more + // information on how to set this field. + TransactionProgramCode int64 `json:"transactionProgramCode,omitempty"` // TransactionState: Output only. The current state of the transaction. // // Possible values: diff --git a/classroom/v1/classroom-api.json b/classroom/v1/classroom-api.json index 954de8b7d2..01a8f53f00 100644 --- a/classroom/v1/classroom-api.json +++ b/classroom/v1/classroom-api.json @@ -3787,10 +3787,6 @@ "Student chose to \"unsubmit\" the assignment." ], "type": "string" - }, - "userId": { - "description": "Identifier for the student that owns this submission. This field is part of an experimental API change and is populated only if sufficient scopes are granted.", - "type": "string" } }, "type": "object" diff --git a/classroom/v1/classroom-gen.go b/classroom/v1/classroom-gen.go index 78d540d1dc..f9b80b8654 100644 --- a/classroom/v1/classroom-gen.go +++ b/classroom/v1/classroom-gen.go @@ -596,10 +596,6 @@ type AddOnAttachmentStudentSubmission struct { // "RETURNED" - Has been returned to the student. // "RECLAIMED_BY_STUDENT" - Student chose to "unsubmit" the assignment. PostSubmissionState string `json:"postSubmissionState,omitempty"` - // UserId: Identifier for the student that owns this submission. This field is - // part of an experimental API change and is populated only if sufficient - // scopes are granted. - UserId string `json:"userId,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` diff --git a/container/v1/container-api.json b/container/v1/container-api.json index 9328a7c025..3d0e4abd34 100644 --- a/container/v1/container-api.json +++ b/container/v1/container-api.json @@ -2540,7 +2540,7 @@ } } }, - "revision": "20240604", + "revision": "20240608", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -5046,7 +5046,8 @@ "DEPLOYMENT", "STATEFULSET", "CADVISOR", - "KUBELET" + "KUBELET", + "DCGM" ], "enumDescriptions": [ "Default value. This shouldn't be used.", @@ -5061,7 +5062,8 @@ "Deployment", "Statefulset", "CADVISOR", - "KUBELET" + "KUBELET", + "NVIDIA Data Center GPU Manager (DCGM)" ], "type": "string" }, diff --git a/container/v1/container-gen.go b/container/v1/container-gen.go index 6753a5ca94..d1260b61ff 100644 --- a/container/v1/container-gen.go +++ b/container/v1/container-gen.go @@ -3543,6 +3543,7 @@ type MonitoringComponentConfig struct { // "STATEFULSET" - Statefulset // "CADVISOR" - CADVISOR // "KUBELET" - KUBELET + // "DCGM" - NVIDIA Data Center GPU Manager (DCGM) EnableComponents []string `json:"enableComponents,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableComponents") to // unconditionally include in API requests. By default, fields with empty or diff --git a/networkconnectivity/v1/networkconnectivity-api.json b/networkconnectivity/v1/networkconnectivity-api.json index 1628e60376..a3d4f4ed98 100644 --- a/networkconnectivity/v1/networkconnectivity-api.json +++ b/networkconnectivity/v1/networkconnectivity-api.json @@ -2812,7 +2812,7 @@ } } }, - "revision": "20240529", + "revision": "20240618", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AcceptHubSpokeRequest": { @@ -2929,6 +2929,10 @@ "description": "Allow the producer to specify which consumers can connect to it.", "id": "ConsumerPscConfig", "properties": { + "consumerInstanceProject": { + "description": "Required. The project ID or project number of the consumer project. This project is the one that the consumer uses to interact with the producer instance. From the perspective of a consumer who's created a producer instance, this is the project of the producer instance. Format: 'projects/' Eg. 'projects/consumer-project' or 'projects/1234'", + "type": "string" + }, "disableGlobalAccess": { "description": "This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.", "type": "boolean" @@ -3542,6 +3546,13 @@ "description": "A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.", "id": "LinkedInterconnectAttachments", "properties": { + "includeImportRanges": { + "description": "Optional. IP ranges allowed to be included during import from hub.(does not control transit connectivity) The only allowed value for now is \"ALL_IPV4_RANGES\".", + "items": { + "type": "string" + }, + "type": "array" + }, "siteToSiteDataTransfer": { "description": "A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).", "type": "boolean" @@ -3565,6 +3576,13 @@ "description": "A collection of router appliance instances. If you configure multiple router appliance instances to receive data from the same set of sites outside of Google Cloud, we recommend that you associate those instances with the same spoke.", "id": "LinkedRouterApplianceInstances", "properties": { + "includeImportRanges": { + "description": "Optional. IP ranges allowed to be included during import from hub.(does not control transit connectivity) The only allowed value for now is \"ALL_IPV4_RANGES\".", + "items": { + "type": "string" + }, + "type": "array" + }, "instances": { "description": "The list of router appliance instances.", "items": { @@ -3613,6 +3631,13 @@ "description": "A collection of Cloud VPN tunnel resources. These resources should be redundant HA VPN tunnels that all advertise the same prefixes to Google Cloud. Alternatively, in a passive/active configuration, all tunnels should be capable of advertising the same prefixes.", "id": "LinkedVpnTunnels", "properties": { + "includeImportRanges": { + "description": "Optional. IP ranges allowed to be included during import from hub.(does not control transit connectivity) The only allowed value for now is \"ALL_IPV4_RANGES\".", + "items": { + "type": "string" + }, + "type": "array" + }, "siteToSiteDataTransfer": { "description": "A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).", "type": "boolean" @@ -4279,11 +4304,30 @@ "description": "Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.", "id": "PscConfig", "properties": { + "allowedGoogleProducersResourceHierarchyLevel": { + "description": "Optional. List of Projects, Folders, or Organizations from where the Producer instance can be within. For example, a network administrator can provide both 'organizations/foo' and 'projects/bar' as allowed_google_producers_resource_hierarchy_levels. This allowlists this network to connect with any Producer instance within the 'foo' organization or the 'bar' project. By default, allowed_google_producers_resource_hierarchy_level is empty. The format for each allowed_google_producers_resource_hierarchy_level is / where is one of 'projects', 'folders', or 'organizations' and is either the ID or the number of the resource type. Format for each allowed_google_producers_resource_hierarchy_level value: 'projects/' or 'folders/' or 'organizations/' Eg. [projects/my-project-id, projects/567, folders/891, organizations/123]", + "items": { + "type": "string" + }, + "type": "array" + }, "limit": { "description": "Optional. Max number of PSC connections for this policy.", "format": "int64", "type": "string" }, + "producerInstanceLocation": { + "description": "Required. ProducerInstanceLocation is used to specify which authorization mechanism to use to determine which projects the Producer instance can be within.", + "enum": [ + "PRODUCER_INSTANCE_LOCATION_UNSPECIFIED", + "CUSTOM_RESOURCE_HIERARCHY_LEVELS" + ], + "enumDescriptions": [ + "Producer instance location is not specified. When this option is chosen, then the PSC connections created by this ServiceConnectionPolicy must be within the same project as the Producer instance. This is the default ProducerInstanceLocation value. To allow for PSC connections from this network to other networks, use the CUSTOM_RESOURCE_HIERARCHY_LEVELS option.", + "Producer instance must be within one of the values provided in allowed_google_producers_resource_hierarchy_level." + ], + "type": "string" + }, "subnetworks": { "description": "The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.", "items": { diff --git a/networkconnectivity/v1/networkconnectivity-gen.go b/networkconnectivity/v1/networkconnectivity-gen.go index c99f95f396..c5bf3e6ebc 100644 --- a/networkconnectivity/v1/networkconnectivity-gen.go +++ b/networkconnectivity/v1/networkconnectivity-gen.go @@ -606,6 +606,12 @@ func (s *Binding) MarshalJSON() ([]byte, error) { // ConsumerPscConfig: Allow the producer to specify which consumers can connect // to it. type ConsumerPscConfig struct { + // ConsumerInstanceProject: Required. The project ID or project number of the + // consumer project. This project is the one that the consumer uses to interact + // with the producer instance. From the perspective of a consumer who's created + // a producer instance, this is the project of the producer instance. Format: + // 'projects/' Eg. 'projects/consumer-project' or 'projects/1234' + ConsumerInstanceProject string `json:"consumerInstanceProject,omitempty"` // DisableGlobalAccess: This is used in PSC consumer ForwardingRule to control // whether the PSC endpoint can be accessed from another region. DisableGlobalAccess bool `json:"disableGlobalAccess,omitempty"` @@ -638,15 +644,15 @@ type ConsumerPscConfig struct { // "POLICY_LIMIT_REACHED" - Service Connection Policy limit reached for this // network and Service Class State string `json:"state,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisableGlobalAccess") to + // ForceSendFields is a list of field names (e.g. "ConsumerInstanceProject") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisableGlobalAccess") to include - // in API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. See + // NullFields is a list of field names (e.g. "ConsumerInstanceProject") to + // include in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` } @@ -1294,6 +1300,10 @@ func (s *InternalRange) MarshalJSON() ([]byte, error) { // prefixes to Google Cloud. Alternatively, in active/passive configurations, // all attachments should be capable of advertising the same prefixes. type LinkedInterconnectAttachments struct { + // IncludeImportRanges: Optional. IP ranges allowed to be included during + // import from hub.(does not control transit connectivity) The only allowed + // value for now is "ALL_IPV4_RANGES". + IncludeImportRanges []string `json:"includeImportRanges,omitempty"` // SiteToSiteDataTransfer: A value that controls whether site-to-site data // transfer is enabled for these resources. Data transfer is available only in // supported locations @@ -1304,15 +1314,15 @@ type LinkedInterconnectAttachments struct { // VpcNetwork: Output only. The VPC network where these VLAN attachments are // located. VpcNetwork string `json:"vpcNetwork,omitempty"` - // ForceSendFields is a list of field names (e.g. "SiteToSiteDataTransfer") to + // ForceSendFields is a list of field names (e.g. "IncludeImportRanges") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "SiteToSiteDataTransfer") to - // include in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. See + // NullFields is a list of field names (e.g. "IncludeImportRanges") to include + // in API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` } @@ -1327,6 +1337,10 @@ func (s *LinkedInterconnectAttachments) MarshalJSON() ([]byte, error) { // the same set of sites outside of Google Cloud, we recommend that you // associate those instances with the same spoke. type LinkedRouterApplianceInstances struct { + // IncludeImportRanges: Optional. IP ranges allowed to be included during + // import from hub.(does not control transit connectivity) The only allowed + // value for now is "ALL_IPV4_RANGES". + IncludeImportRanges []string `json:"includeImportRanges,omitempty"` // Instances: The list of router appliance instances. Instances []*RouterApplianceInstance `json:"instances,omitempty"` // SiteToSiteDataTransfer: A value that controls whether site-to-site data @@ -1337,15 +1351,15 @@ type LinkedRouterApplianceInstances struct { // VpcNetwork: Output only. The VPC network where these router appliance // instances are located. VpcNetwork string `json:"vpcNetwork,omitempty"` - // ForceSendFields is a list of field names (e.g. "Instances") to + // ForceSendFields is a list of field names (e.g. "IncludeImportRanges") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Instances") to include in API - // requests with the JSON null value. By default, fields with empty values are - // omitted from API requests. See + // NullFields is a list of field names (e.g. "IncludeImportRanges") to include + // in API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` } @@ -1388,6 +1402,10 @@ func (s *LinkedVpcNetwork) MarshalJSON() ([]byte, error) { // prefixes to Google Cloud. Alternatively, in a passive/active configuration, // all tunnels should be capable of advertising the same prefixes. type LinkedVpnTunnels struct { + // IncludeImportRanges: Optional. IP ranges allowed to be included during + // import from hub.(does not control transit connectivity) The only allowed + // value for now is "ALL_IPV4_RANGES". + IncludeImportRanges []string `json:"includeImportRanges,omitempty"` // SiteToSiteDataTransfer: A value that controls whether site-to-site data // transfer is enabled for these resources. Data transfer is available only in // supported locations @@ -1398,15 +1416,15 @@ type LinkedVpnTunnels struct { // VpcNetwork: Output only. The VPC network where these VPN tunnels are // located. VpcNetwork string `json:"vpcNetwork,omitempty"` - // ForceSendFields is a list of field names (e.g. "SiteToSiteDataTransfer") to + // ForceSendFields is a list of field names (e.g. "IncludeImportRanges") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "SiteToSiteDataTransfer") to - // include in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. See + // NullFields is a list of field names (e.g. "IncludeImportRanges") to include + // in API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` } @@ -2262,21 +2280,51 @@ func (s *ProducerPscConfig) MarshalJSON() ([]byte, error) { // PscConfig: Configuration used for Private Service Connect connections. Used // when Infrastructure is PSC. type PscConfig struct { + // AllowedGoogleProducersResourceHierarchyLevel: Optional. List of Projects, + // Folders, or Organizations from where the Producer instance can be within. + // For example, a network administrator can provide both 'organizations/foo' + // and 'projects/bar' as allowed_google_producers_resource_hierarchy_levels. + // This allowlists this network to connect with any Producer instance within + // the 'foo' organization or the 'bar' project. By default, + // allowed_google_producers_resource_hierarchy_level is empty. The format for + // each allowed_google_producers_resource_hierarchy_level is / where is one of + // 'projects', 'folders', or 'organizations' and is either the ID or the number + // of the resource type. Format for each + // allowed_google_producers_resource_hierarchy_level value: 'projects/' or + // 'folders/' or 'organizations/' Eg. [projects/my-project-id, projects/567, + // folders/891, organizations/123] + AllowedGoogleProducersResourceHierarchyLevel []string `json:"allowedGoogleProducersResourceHierarchyLevel,omitempty"` // Limit: Optional. Max number of PSC connections for this policy. Limit int64 `json:"limit,omitempty,string"` + // ProducerInstanceLocation: Required. ProducerInstanceLocation is used to + // specify which authorization mechanism to use to determine which projects the + // Producer instance can be within. + // + // Possible values: + // "PRODUCER_INSTANCE_LOCATION_UNSPECIFIED" - Producer instance location is + // not specified. When this option is chosen, then the PSC connections created + // by this ServiceConnectionPolicy must be within the same project as the + // Producer instance. This is the default ProducerInstanceLocation value. To + // allow for PSC connections from this network to other networks, use the + // CUSTOM_RESOURCE_HIERARCHY_LEVELS option. + // "CUSTOM_RESOURCE_HIERARCHY_LEVELS" - Producer instance must be within one + // of the values provided in allowed_google_producers_resource_hierarchy_level. + ProducerInstanceLocation string `json:"producerInstanceLocation,omitempty"` // Subnetworks: The resource paths of subnetworks to use for IP address // management. Example: // projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}. Subnetworks []string `json:"subnetworks,omitempty"` - // ForceSendFields is a list of field names (e.g. "Limit") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. + // "AllowedGoogleProducersResourceHierarchyLevel") to unconditionally include + // in API requests. By default, fields with empty or default values are omitted + // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Limit") to include in API - // requests with the JSON null value. By default, fields with empty values are - // omitted from API requests. See + // NullFields is a list of field names (e.g. + // "AllowedGoogleProducersResourceHierarchyLevel") to include in API requests + // with the JSON null value. By default, fields with empty values are omitted + // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` } diff --git a/sqladmin/v1/sqladmin-api.json b/sqladmin/v1/sqladmin-api.json index de08e553b7..714597fb0a 100644 --- a/sqladmin/v1/sqladmin-api.json +++ b/sqladmin/v1/sqladmin-api.json @@ -2267,7 +2267,7 @@ } } }, - "revision": "20240613", + "revision": "20240618", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -4544,12 +4544,12 @@ "id": "MaintenanceWindow", "properties": { "day": { - "description": "day of week (1-7), starting on Monday.", + "description": "Day of week - `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, or `SUNDAY`. Specify in the UTC time zone. Returned in output as an integer, 1 to 7, where `1` equals Monday.", "format": "int32", "type": "integer" }, "hour": { - "description": "hour of day - 0 to 23.", + "description": "Hour of day - 0 to 23. Specify in the UTC time zone.", "format": "int32", "type": "integer" }, @@ -4558,7 +4558,7 @@ "type": "string" }, "updateTrack": { - "description": "Maintenance timing setting: `canary` (Earlier) or `stable` (Later). [Learn more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen).", + "description": "Maintenance timing settings: `canary`, `stable`, or `week5`. For more information, see [About maintenance on Cloud SQL instances](https://cloud.google.com/sql/docs/mysql/maintenance).", "enum": [ "SQL_UPDATE_TRACK_UNSPECIFIED", "canary", @@ -4567,9 +4567,9 @@ ], "enumDescriptions": [ "This is an unknown maintenance timing preference.", - "For instance update that requires a restart, this update track indicates your instance prefer to restart for new version early in maintenance window.", - "For instance update that requires a restart, this update track indicates your instance prefer to let Cloud SQL choose the timing of restart (within its Maintenance window, if applicable).", - "For instance update that requires a restart, this update track indicates your instance prefer to let Cloud SQL choose the timing of restart (within its Maintenance window, if applicable) to be at least 5 weeks after the notification." + "For an instance with a scheduled maintenance window, this maintenance timing indicates that the maintenance update is scheduled 7 to 14 days after the notification is sent out. Also referred to as `Week 1` (Console) and `preview` (gcloud CLI).", + "For an instance with a scheduled maintenance window, this maintenance timing indicates that the maintenance update is scheduled 15 to 21 days after the notification is sent out. Also referred to as `Week 2` (Console) and `production` (gcloud CLI).", + "For instance with a scheduled maintenance window, this maintenance timing indicates that the maintenance update is scheduled 35 to 42 days after the notification is sent out." ], "type": "string" } diff --git a/sqladmin/v1/sqladmin-gen.go b/sqladmin/v1/sqladmin-gen.go index f9c823fd93..94bfd20cb6 100644 --- a/sqladmin/v1/sqladmin-gen.go +++ b/sqladmin/v1/sqladmin-gen.go @@ -2766,29 +2766,32 @@ func (s *LocationPreference) MarshalJSON() ([]byte, error) { // MaintenanceWindow: Maintenance window. This specifies when a Cloud SQL // instance is restarted for system maintenance purposes. type MaintenanceWindow struct { - // Day: day of week (1-7), starting on Monday. + // Day: Day of week - `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, + // `SATURDAY`, or `SUNDAY`. Specify in the UTC time zone. Returned in output as + // an integer, 1 to 7, where `1` equals Monday. Day int64 `json:"day,omitempty"` - // Hour: hour of day - 0 to 23. + // Hour: Hour of day - 0 to 23. Specify in the UTC time zone. Hour int64 `json:"hour,omitempty"` // Kind: This is always `sql#maintenanceWindow`. Kind string `json:"kind,omitempty"` - // UpdateTrack: Maintenance timing setting: `canary` (Earlier) or `stable` - // (Later). Learn more - // (https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen). + // UpdateTrack: Maintenance timing settings: `canary`, `stable`, or `week5`. + // For more information, see About maintenance on Cloud SQL instances + // (https://cloud.google.com/sql/docs/mysql/maintenance). // // Possible values: // "SQL_UPDATE_TRACK_UNSPECIFIED" - This is an unknown maintenance timing // preference. - // "canary" - For instance update that requires a restart, this update track - // indicates your instance prefer to restart for new version early in - // maintenance window. - // "stable" - For instance update that requires a restart, this update track - // indicates your instance prefer to let Cloud SQL choose the timing of restart - // (within its Maintenance window, if applicable). - // "week5" - For instance update that requires a restart, this update track - // indicates your instance prefer to let Cloud SQL choose the timing of restart - // (within its Maintenance window, if applicable) to be at least 5 weeks after - // the notification. + // "canary" - For an instance with a scheduled maintenance window, this + // maintenance timing indicates that the maintenance update is scheduled 7 to + // 14 days after the notification is sent out. Also referred to as `Week 1` + // (Console) and `preview` (gcloud CLI). + // "stable" - For an instance with a scheduled maintenance window, this + // maintenance timing indicates that the maintenance update is scheduled 15 to + // 21 days after the notification is sent out. Also referred to as `Week 2` + // (Console) and `production` (gcloud CLI). + // "week5" - For instance with a scheduled maintenance window, this + // maintenance timing indicates that the maintenance update is scheduled 35 to + // 42 days after the notification is sent out. UpdateTrack string `json:"updateTrack,omitempty"` // ForceSendFields is a list of field names (e.g. "Day") to unconditionally // include in API requests. By default, fields with empty or default values are diff --git a/sqladmin/v1beta4/sqladmin-api.json b/sqladmin/v1beta4/sqladmin-api.json index b26443bc36..40660b458c 100644 --- a/sqladmin/v1beta4/sqladmin-api.json +++ b/sqladmin/v1beta4/sqladmin-api.json @@ -2267,7 +2267,7 @@ } } }, - "revision": "20240613", + "revision": "20240618", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -2714,10 +2714,6 @@ "format": "google-datetime", "type": "string" }, - "preferredSecondaryZone": { - "description": "Optional. Copy clone and point-in-time recovery clone of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field.", - "type": "string" - }, "preferredZone": { "description": "Optional. Copy clone and point-in-time recovery clone of an instance to the specified zone. If no zone is specified, clone to the same primary zone as the source instance.", "type": "string" @@ -4549,12 +4545,12 @@ "id": "MaintenanceWindow", "properties": { "day": { - "description": "day of week (1-7), starting on Monday.", + "description": "Day of week - `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, or `SUNDAY`. Specify in the UTC time zone. Returned in output as an integer, 1 to 7, where `1` equals Monday.", "format": "int32", "type": "integer" }, "hour": { - "description": "hour of day - 0 to 23.", + "description": "Hour of day - 0 to 23. Specify in the UTC time zone.", "format": "int32", "type": "integer" }, @@ -4563,7 +4559,7 @@ "type": "string" }, "updateTrack": { - "description": "Maintenance timing setting: `canary` (Earlier) or `stable` (Later). [Learn more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen).", + "description": "Maintenance timing settings: `canary`, `stable`, or `week5`. For more information, see [About maintenance on Cloud SQL instances](https://cloud.google.com/sql/docs/mysql/maintenance).", "enum": [ "SQL_UPDATE_TRACK_UNSPECIFIED", "canary", @@ -4572,9 +4568,9 @@ ], "enumDescriptions": [ "This is an unknown maintenance timing preference.", - "For instance update that requires a restart, this update track indicates your instance prefer to restart for new version early in maintenance window.", - "For instance update that requires a restart, this update track indicates your instance prefer to let Cloud SQL choose the timing of restart (within its Maintenance window, if applicable).", - "For instance update that requires a restart, this update track indicates your instance prefer to let Cloud SQL choose the timing of restart (within its Maintenance window, if applicable) to be at least 5 weeks after the notification." + "For an instance with a scheduled maintenance window, this maintenance timing indicates that the maintenance update is scheduled 7 to 14 days after the notification is sent out. Also referred to as `Week 1` (Console) and `preview` (gcloud CLI).", + "For an instance with a scheduled maintenance window, this maintenance timing indicates that the maintenance update is scheduled 15 to 21 days after the notification is sent out. Also referred to as `Week 2` (Console) and `production` (gcloud CLI).", + "For instance with a scheduled maintenance window, this maintenance timing indicates that the maintenance update is scheduled 35 to 42 days after the notification is sent out." ], "type": "string" } diff --git a/sqladmin/v1beta4/sqladmin-gen.go b/sqladmin/v1beta4/sqladmin-gen.go index a8a3f9497c..8cfbbe7bf2 100644 --- a/sqladmin/v1beta4/sqladmin-gen.go +++ b/sqladmin/v1beta4/sqladmin-gen.go @@ -766,11 +766,6 @@ type CloneContext struct { // PointInTime: Timestamp, if specified, identifies the time to which the // source instance is cloned. PointInTime string `json:"pointInTime,omitempty"` - // PreferredSecondaryZone: Optional. Copy clone and point-in-time recovery - // clone of a regional instance in the specified zones. If not specified, clone - // to the same secondary zone as the source instance. This value cannot be the - // same as the preferred_zone field. - PreferredSecondaryZone string `json:"preferredSecondaryZone,omitempty"` // PreferredZone: Optional. Copy clone and point-in-time recovery clone of an // instance to the specified zone. If no zone is specified, clone to the same // primary zone as the source instance. @@ -2776,29 +2771,32 @@ func (s *LocationPreference) MarshalJSON() ([]byte, error) { // MaintenanceWindow: Maintenance window. This specifies when a Cloud SQL // instance is restarted for system maintenance purposes. type MaintenanceWindow struct { - // Day: day of week (1-7), starting on Monday. + // Day: Day of week - `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, + // `SATURDAY`, or `SUNDAY`. Specify in the UTC time zone. Returned in output as + // an integer, 1 to 7, where `1` equals Monday. Day int64 `json:"day,omitempty"` - // Hour: hour of day - 0 to 23. + // Hour: Hour of day - 0 to 23. Specify in the UTC time zone. Hour int64 `json:"hour,omitempty"` // Kind: This is always `sql#maintenanceWindow`. Kind string `json:"kind,omitempty"` - // UpdateTrack: Maintenance timing setting: `canary` (Earlier) or `stable` - // (Later). Learn more - // (https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen). + // UpdateTrack: Maintenance timing settings: `canary`, `stable`, or `week5`. + // For more information, see About maintenance on Cloud SQL instances + // (https://cloud.google.com/sql/docs/mysql/maintenance). // // Possible values: // "SQL_UPDATE_TRACK_UNSPECIFIED" - This is an unknown maintenance timing // preference. - // "canary" - For instance update that requires a restart, this update track - // indicates your instance prefer to restart for new version early in - // maintenance window. - // "stable" - For instance update that requires a restart, this update track - // indicates your instance prefer to let Cloud SQL choose the timing of restart - // (within its Maintenance window, if applicable). - // "week5" - For instance update that requires a restart, this update track - // indicates your instance prefer to let Cloud SQL choose the timing of restart - // (within its Maintenance window, if applicable) to be at least 5 weeks after - // the notification. + // "canary" - For an instance with a scheduled maintenance window, this + // maintenance timing indicates that the maintenance update is scheduled 7 to + // 14 days after the notification is sent out. Also referred to as `Week 1` + // (Console) and `preview` (gcloud CLI). + // "stable" - For an instance with a scheduled maintenance window, this + // maintenance timing indicates that the maintenance update is scheduled 15 to + // 21 days after the notification is sent out. Also referred to as `Week 2` + // (Console) and `production` (gcloud CLI). + // "week5" - For instance with a scheduled maintenance window, this + // maintenance timing indicates that the maintenance update is scheduled 35 to + // 42 days after the notification is sent out. UpdateTrack string `json:"updateTrack,omitempty"` // ForceSendFields is a list of field names (e.g. "Day") to unconditionally // include in API requests. By default, fields with empty or default values are