diff --git a/alloydb/v1alpha/alloydb-api.json b/alloydb/v1alpha/alloydb-api.json index 9647577730f..c706ae2ab53 100644 --- a/alloydb/v1alpha/alloydb-api.json +++ b/alloydb/v1alpha/alloydb-api.json @@ -1584,6 +1584,21 @@ "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" + }, + "scope": { + "description": "Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.", + "enum": [ + "SCOPE_UNSPECIFIED", + "DATABASE", + "CONNECTION_POOL" + ], + "enumDescriptions": [ + "The scope of the flag is not specified. Default is DATABASE.", + "The flag is a database flag.", + "The flag is a connection pool flag." + ], + "location": "query", + "type": "string" } }, "path": "v1alpha/{+parent}/supportedDatabaseFlags", @@ -1601,7 +1616,7 @@ } } }, - "revision": "20250205", + "revision": "20250219", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -2310,7 +2325,7 @@ }, "encryptionConfig": { "$ref": "EncryptionConfig", - "description": "The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data." + "description": "The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will use the cluster's encryption config." }, "recoveryWindowDays": { "description": "The number of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window. If not set, defaults to 14 days.", @@ -3247,7 +3262,7 @@ "type": "object" }, "Node": { - "description": "Details of a single node in the instance. Nodes in an AlloyDB instance are ephemereal, they can change during update, failover, autohealing and resize operations.", + "description": "Details of a single node in the instance. Nodes in an AlloyDB instance are ephemeral, they can change during update, failover, autohealing and resize operations.", "id": "Node", "properties": { "id": { @@ -3390,6 +3405,11 @@ "readOnly": true, "type": "string" }, + "upgradeClusterStatus": { + "$ref": "UpgradeClusterStatus", + "description": "Output only. UpgradeClusterStatus related metadata.", + "readOnly": true + }, "verb": { "description": "Output only. Name of the verb executed by the operation.", "readOnly": true, @@ -3432,6 +3452,36 @@ }, "type": "object" }, + "PscAutoConnectionConfig": { + "description": "Configuration for setting up PSC service automation. Consumer projects in the configs will be allowlisted automatically for the instance.", + "id": "PscAutoConnectionConfig", + "properties": { + "consumerNetwork": { + "description": "The consumer network for the PSC service automation, example: \"projects/vpc-host-project/global/networks/default\". The consumer network might be hosted a different project than the consumer project.", + "type": "string" + }, + "consumerNetworkStatus": { + "description": "Output only. The status of the service connection policy.", + "readOnly": true, + "type": "string" + }, + "consumerProject": { + "description": "The consumer project to which the PSC service automation endpoint will be created.", + "type": "string" + }, + "ipAddress": { + "description": "Output only. The IP address of the PSC service automation endpoint.", + "readOnly": true, + "type": "string" + }, + "status": { + "description": "Output only. The status of the PSC service automation connection.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "PscConfig": { "description": "PscConfig contains PSC related configuration at a cluster level.", "id": "PscConfig", @@ -3460,6 +3510,13 @@ }, "type": "array" }, + "pscAutoConnections": { + "description": "Optional. Configurations for setting up PSC service automation.", + "items": { + "$ref": "PscAutoConnectionConfig" + }, + "type": "array" + }, "pscDnsName": { "description": "Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog", "readOnly": true, @@ -3559,6 +3616,17 @@ }, "type": "object" }, + "ReadPoolInstancesUpgradeStageStatus": { + "description": "Read pool instances upgrade specific status.", + "id": "ReadPoolInstancesUpgradeStageStatus", + "properties": { + "upgradeStats": { + "$ref": "Stats", + "description": "Read pool instances upgrade statistics." + } + }, + "type": "object" + }, "RestartInstanceRequest": { "id": "RestartInstanceRequest", "properties": { @@ -3779,6 +3847,92 @@ }, "type": "object" }, + "StageStatus": { + "description": "Status of an upgrade stage.", + "id": "StageStatus", + "properties": { + "readPoolInstancesUpgrade": { + "$ref": "ReadPoolInstancesUpgradeStageStatus", + "description": "Read pool instances upgrade metadata." + }, + "stage": { + "description": "Upgrade stage.", + "enum": [ + "STAGE_UNSPECIFIED", + "ALLOYDB_PRECHECK", + "PG_UPGRADE_CHECK", + "PREPARE_FOR_UPGRADE", + "PRIMARY_INSTANCE_UPGRADE", + "READ_POOL_INSTANCES_UPGRADE", + "ROLLBACK", + "CLEANUP" + ], + "enumDescriptions": [ + "Unspecified stage.", + "Pre-upgrade custom checks, not covered by pg_upgrade.", + "Pre-upgrade pg_upgrade checks.", + "Clone the original cluster.", + "Upgrade the primary instance(downtime).", + "This stage is read pool upgrade.", + "Rollback in case of critical failures.", + "Cleanup." + ], + "type": "string" + }, + "state": { + "description": "State of this stage.", + "enum": [ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED" + ], + "enumDescriptions": [ + "Unspecified status.", + "Not started.", + "In progress.", + "Operation succeeded.", + "Operation failed.", + "Operation partially succeeded.", + "Cancel is in progress.", + "Cancellation complete." + ], + "type": "string" + } + }, + "type": "object" + }, + "Stats": { + "description": "Upgrade stats for read pool instances.", + "id": "Stats", + "properties": { + "failed": { + "description": "Number of read pool instances which failed to upgrade.", + "format": "int32", + "type": "integer" + }, + "notStarted": { + "description": "Number of read pool instances for which upgrade has not started.", + "format": "int32", + "type": "integer" + }, + "ongoing": { + "description": "Number of read pool instances undergoing upgrade.", + "format": "int32", + "type": "integer" + }, + "success": { + "description": "Number of read pool instances successfully upgraded.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "Status": { "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", "id": "Status", @@ -4172,7 +4326,8 @@ "SIGNAL_TYPE_RESOURCE_SUSPENDED", "SIGNAL_TYPE_EXPENSIVE_COMMANDS", "SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED", - "SIGNAL_TYPE_NO_DELETION_PROTECTION" + "SIGNAL_TYPE_NO_DELETION_PROTECTION", + "SIGNAL_TYPE_INEFFICIENT_QUERY" ], "enumDeprecated": [ false, @@ -4261,6 +4416,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -4350,7 +4506,8 @@ "Detects if a database instance/cluster is suspended.", "Detects that expensive commands are being run on a database instance impacting overall performance.", "Indicates that the instance does not have a maintenance policy configured.", - "Deletion Protection Disabled for the resource" + "Deletion Protection Disabled for the resource", + "Indicates that the instance has inefficient queries detected." ], "type": "string" }, @@ -4414,7 +4571,7 @@ "type": "object" }, "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata": { - "description": "Common model for database resource instance metadata. Next ID: 24", + "description": "Common model for database resource instance metadata. Next ID: 25", "id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata", "properties": { "availabilityConfiguration": { @@ -4499,6 +4656,10 @@ ], "type": "string" }, + "gcbdrConfiguration": { + "$ref": "StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration", + "description": "GCBDR configuration for the resource." + }, "id": { "$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId", "description": "Required. Unique identifier for a Database resource" @@ -4575,7 +4736,7 @@ "type": "string" }, "suspensionReason": { - "description": "Suspension reason for the resource.", + "description": "Optional. Suspension reason for the resource.", "enum": [ "SUSPENSION_REASON_UNSPECIFIED", "WIPEOUT_HIDE_EVENT", @@ -4754,7 +4915,8 @@ "SIGNAL_TYPE_RESOURCE_SUSPENDED", "SIGNAL_TYPE_EXPENSIVE_COMMANDS", "SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED", - "SIGNAL_TYPE_NO_DELETION_PROTECTION" + "SIGNAL_TYPE_NO_DELETION_PROTECTION", + "SIGNAL_TYPE_INEFFICIENT_QUERY" ], "enumDeprecated": [ false, @@ -4843,6 +5005,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -4932,7 +5095,8 @@ "Detects if a database instance/cluster is suspended.", "Detects that expensive commands are being run on a database instance impacting overall performance.", "Indicates that the instance does not have a maintenance policy configured.", - "Deletion Protection Disabled for the resource" + "Deletion Protection Disabled for the resource", + "Indicates that the instance has inefficient queries detected." ], "type": "string" } @@ -4982,6 +5146,17 @@ }, "type": "object" }, + "StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration": { + "description": "GCBDR Configuration for the resource.", + "id": "StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration", + "properties": { + "gcbdrManaged": { + "description": "Whether the resource is managed by GCBDR.", + "type": "boolean" + } + }, + "type": "object" + }, "StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata": { "description": "Metadata for individual internal resources in an instance. e.g. spanner instance can have multiple databases with unique configuration settings. Similarly bigtable can have multiple clusters within same bigtable instance.", "id": "StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata", @@ -5382,10 +5557,33 @@ "description": "The name of the flag resource, following Google Cloud conventions, e.g.: * projects/{project}/locations/{location}/flags/{flag} This field currently has no semantic meaning.", "type": "string" }, + "recommendedIntegerValue": { + "description": "The recommended value for an INTEGER flag.", + "format": "int64", + "type": "string" + }, + "recommendedStringValue": { + "description": "The recommended value for a STRING flag.", + "type": "string" + }, "requiresDbRestart": { "description": "Whether setting or updating this flag on an Instance requires a database restart. If a flag that requires database restart is set, the backend will automatically restart the database (making sure to satisfy any availability SLO's).", "type": "boolean" }, + "scope": { + "description": "The scope of the flag.", + "enum": [ + "SCOPE_UNSPECIFIED", + "DATABASE", + "CONNECTION_POOL" + ], + "enumDescriptions": [ + "The scope of the flag is not specified. Default is DATABASE.", + "The flag is a database flag.", + "The flag is a connection pool flag." + ], + "type": "string" + }, "stringRestrictions": { "$ref": "StringRestrictions", "description": "Restriction on STRING type value." @@ -5599,6 +5797,98 @@ }, "type": "object" }, + "UpgradeClusterStatus": { + "description": "Message for current status of the Major Version Upgrade operation.", + "id": "UpgradeClusterStatus", + "properties": { + "cancellable": { + "description": "Whether the operation is cancellable.", + "type": "boolean" + }, + "sourceVersion": { + "description": "Source database major version.", + "enum": [ + "DATABASE_VERSION_UNSPECIFIED", + "POSTGRES_13", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16" + ], + "enumDeprecated": [ + false, + true, + false, + false, + false + ], + "enumDescriptions": [ + "This is an unknown database version.", + "DEPRECATED - The database version is Postgres 13.", + "The database version is Postgres 14.", + "The database version is Postgres 15.", + "The database version is Postgres 16." + ], + "type": "string" + }, + "stages": { + "description": "Status of all upgrade stages.", + "items": { + "$ref": "StageStatus" + }, + "type": "array" + }, + "state": { + "description": "Cluster Major Version Upgrade state.", + "enum": [ + "STATUS_UNSPECIFIED", + "NOT_STARTED", + "IN_PROGRESS", + "SUCCESS", + "FAILED", + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED" + ], + "enumDescriptions": [ + "Unspecified status.", + "Not started.", + "In progress.", + "Operation succeeded.", + "Operation failed.", + "Operation partially succeeded.", + "Cancel is in progress.", + "Cancellation complete." + ], + "type": "string" + }, + "targetVersion": { + "description": "Target database major version.", + "enum": [ + "DATABASE_VERSION_UNSPECIFIED", + "POSTGRES_13", + "POSTGRES_14", + "POSTGRES_15", + "POSTGRES_16" + ], + "enumDeprecated": [ + false, + true, + false, + false, + false + ], + "enumDescriptions": [ + "This is an unknown database version.", + "DEPRECATED - The database version is Postgres 13.", + "The database version is Postgres 14.", + "The database version is Postgres 15.", + "The database version is Postgres 16." + ], + "type": "string" + } + }, + "type": "object" + }, "User": { "description": "Message describing User object.", "id": "User", diff --git a/alloydb/v1alpha/alloydb-gen.go b/alloydb/v1alpha/alloydb-gen.go index e0828acf27e..acc75d603fe 100644 --- a/alloydb/v1alpha/alloydb-gen.go +++ b/alloydb/v1alpha/alloydb-gen.go @@ -850,8 +850,7 @@ type ContinuousBackupConfig struct { Enabled bool `json:"enabled,omitempty"` // EncryptionConfig: The encryption config can be specified to encrypt the // backups with a customer-managed encryption key (CMEK). When this field is - // not specified, the backup will then use default encryption scheme to protect - // the user data. + // not specified, the backup will use the cluster's encryption config. EncryptionConfig *EncryptionConfig `json:"encryptionConfig,omitempty"` // RecoveryWindowDays: The number of days that are eligible to restore from // using PITR. To support the entire recovery window, backups and logs are @@ -2037,7 +2036,7 @@ func (s NetworkConfig) MarshalJSON() ([]byte, error) { } // Node: Details of a single node in the instance. Nodes in an AlloyDB instance -// are ephemereal, they can change during update, failover, autohealing and +// are ephemeral, they can change during update, failover, autohealing and // resize operations. type Node struct { // Id: Output only. The identifier of the VM e.g. @@ -2185,6 +2184,8 @@ type OperationMetadata struct { // Target: Output only. Server-defined resource path for the target of the // operation. Target string `json:"target,omitempty"` + // UpgradeClusterStatus: Output only. UpgradeClusterStatus related metadata. + UpgradeClusterStatus *UpgradeClusterStatus `json:"upgradeClusterStatus,omitempty"` // Verb: Output only. Name of the verb executed by the operation. Verb string `json:"verb,omitempty"` // ForceSendFields is a list of field names (e.g. "ApiVersion") to @@ -2270,6 +2271,43 @@ func (s PromoteClusterRequest) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// PscAutoConnectionConfig: Configuration for setting up PSC service +// automation. Consumer projects in the configs will be allowlisted +// automatically for the instance. +type PscAutoConnectionConfig struct { + // ConsumerNetwork: The consumer network for the PSC service automation, + // example: "projects/vpc-host-project/global/networks/default". The consumer + // network might be hosted a different project than the consumer project. + ConsumerNetwork string `json:"consumerNetwork,omitempty"` + // ConsumerNetworkStatus: Output only. The status of the service connection + // policy. + ConsumerNetworkStatus string `json:"consumerNetworkStatus,omitempty"` + // ConsumerProject: The consumer project to which the PSC service automation + // endpoint will be created. + ConsumerProject string `json:"consumerProject,omitempty"` + // IpAddress: Output only. The IP address of the PSC service automation + // endpoint. + IpAddress string `json:"ipAddress,omitempty"` + // Status: Output only. The status of the PSC service automation connection. + Status string `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "ConsumerNetwork") 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. "ConsumerNetwork") 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:"-"` +} + +func (s PscAutoConnectionConfig) MarshalJSON() ([]byte, error) { + type NoMethod PscAutoConnectionConfig + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // PscConfig: PscConfig contains PSC related configuration at a cluster level. type PscConfig struct { // PscEnabled: Optional. Create an instance that allows connections from @@ -2302,6 +2340,9 @@ type PscInstanceConfig struct { // AllowedConsumerProjects: Optional. List of consumer projects that are // allowed to create PSC endpoints to service-attachments to this instance. AllowedConsumerProjects []string `json:"allowedConsumerProjects,omitempty"` + // PscAutoConnections: Optional. Configurations for setting up PSC service + // automation. + PscAutoConnections []*PscAutoConnectionConfig `json:"pscAutoConnections,omitempty"` // PscDnsName: Output only. The DNS name of the instance for PSC connectivity. // Name convention: ...alloydb-psc.goog PscDnsName string `json:"pscDnsName,omitempty"` @@ -2472,6 +2513,29 @@ func (s ReadPoolConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// ReadPoolInstancesUpgradeStageStatus: Read pool instances upgrade specific +// status. +type ReadPoolInstancesUpgradeStageStatus struct { + // UpgradeStats: Read pool instances upgrade statistics. + UpgradeStats *Stats `json:"upgradeStats,omitempty"` + // ForceSendFields is a list of field names (e.g. "UpgradeStats") 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. "UpgradeStats") 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:"-"` +} + +func (s ReadPoolInstancesUpgradeStageStatus) MarshalJSON() ([]byte, error) { + type NoMethod ReadPoolInstancesUpgradeStageStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + type RestartInstanceRequest struct { // NodeIds: Optional. Full name of the nodes as obtained from // INSTANCE_VIEW_FULL to restart upon. Applicable only to read instances. @@ -2738,6 +2802,80 @@ func (s StageInfo) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// StageStatus: Status of an upgrade stage. +type StageStatus struct { + // ReadPoolInstancesUpgrade: Read pool instances upgrade metadata. + ReadPoolInstancesUpgrade *ReadPoolInstancesUpgradeStageStatus `json:"readPoolInstancesUpgrade,omitempty"` + // Stage: Upgrade stage. + // + // Possible values: + // "STAGE_UNSPECIFIED" - Unspecified stage. + // "ALLOYDB_PRECHECK" - Pre-upgrade custom checks, not covered by pg_upgrade. + // "PG_UPGRADE_CHECK" - Pre-upgrade pg_upgrade checks. + // "PREPARE_FOR_UPGRADE" - Clone the original cluster. + // "PRIMARY_INSTANCE_UPGRADE" - Upgrade the primary instance(downtime). + // "READ_POOL_INSTANCES_UPGRADE" - This stage is read pool upgrade. + // "ROLLBACK" - Rollback in case of critical failures. + // "CLEANUP" - Cleanup. + Stage string `json:"stage,omitempty"` + // State: State of this stage. + // + // Possible values: + // "STATUS_UNSPECIFIED" - Unspecified status. + // "NOT_STARTED" - Not started. + // "IN_PROGRESS" - In progress. + // "SUCCESS" - Operation succeeded. + // "FAILED" - Operation failed. + // "PARTIAL_SUCCESS" - Operation partially succeeded. + // "CANCEL_IN_PROGRESS" - Cancel is in progress. + // "CANCELLED" - Cancellation complete. + State string `json:"state,omitempty"` + // ForceSendFields is a list of field names (e.g. "ReadPoolInstancesUpgrade") + // 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. "ReadPoolInstancesUpgrade") 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:"-"` +} + +func (s StageStatus) MarshalJSON() ([]byte, error) { + type NoMethod StageStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// Stats: Upgrade stats for read pool instances. +type Stats struct { + // Failed: Number of read pool instances which failed to upgrade. + Failed int64 `json:"failed,omitempty"` + // NotStarted: Number of read pool instances for which upgrade has not started. + NotStarted int64 `json:"notStarted,omitempty"` + // Ongoing: Number of read pool instances undergoing upgrade. + Ongoing int64 `json:"ongoing,omitempty"` + // Success: Number of read pool instances successfully upgraded. + Success int64 `json:"success,omitempty"` + // ForceSendFields is a list of field names (e.g. "Failed") 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. "Failed") 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:"-"` +} + +func (s Stats) MarshalJSON() ([]byte, error) { + type NoMethod Stats + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // Status: The `Status` type defines a logical error model that is suitable for // different programming environments, including REST APIs and RPC APIs. It is // used by gRPC (https://github.com/grpc). Each `Status` message contains three @@ -3258,6 +3396,8 @@ type StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData struc // instance does not have a maintenance policy configured. // "SIGNAL_TYPE_NO_DELETION_PROTECTION" - Deletion Protection Disabled for // the resource + // "SIGNAL_TYPE_INEFFICIENT_QUERY" - Indicates that the instance has + // inefficient queries detected. SignalType string `json:"signalType,omitempty"` // Possible values: // "STATE_UNSPECIFIED" - Unspecified state. @@ -3337,7 +3477,7 @@ func (s StorageDatabasecenterPartnerapiV1mainDatabaseResourceId) MarshalJSON() ( } // StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata: Common model -// for database resource instance metadata. Next ID: 24 +// for database resource instance metadata. Next ID: 25 type StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata struct { // AvailabilityConfiguration: Availability configuration for this instance AvailabilityConfiguration *StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration `json:"availabilityConfiguration,omitempty"` @@ -3386,6 +3526,8 @@ type StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata struct { // "DELETED" - Instance is deleted. // "STATE_OTHER" - For rest of the other category ExpectedState string `json:"expectedState,omitempty"` + // GcbdrConfiguration: GCBDR configuration for the resource. + GcbdrConfiguration *StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration `json:"gcbdrConfiguration,omitempty"` // Id: Required. Unique identifier for a Database resource Id *StorageDatabasecenterPartnerapiV1mainDatabaseResourceId `json:"id,omitempty"` // InstanceType: The type of the instance. Specified at creation time. @@ -3431,7 +3573,7 @@ type StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata struct { // the same source. Resource name to follow CAIS resource_name format as noted // here go/condor-common-datamodel ResourceName string `json:"resourceName,omitempty"` - // SuspensionReason: Suspension reason for the resource. + // SuspensionReason: Optional. Suspension reason for the resource. // // Possible values: // "SUSPENSION_REASON_UNSPECIFIED" - Suspension reason is unspecified. @@ -3717,6 +3859,8 @@ type StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalDa // instance does not have a maintenance policy configured. // "SIGNAL_TYPE_NO_DELETION_PROTECTION" - Deletion Protection Disabled for // the resource + // "SIGNAL_TYPE_INEFFICIENT_QUERY" - Indicates that the instance has + // inefficient queries detected. SignalType string `json:"signalType,omitempty"` // ForceSendFields is a list of field names (e.g. "AdditionalMetadata") to // unconditionally include in API requests. By default, fields with empty or @@ -3778,6 +3922,29 @@ func (s StorageDatabasecenterPartnerapiV1mainEntitlement) MarshalJSON() ([]byte, return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration: GCBDR Configuration +// for the resource. +type StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration struct { + // GcbdrManaged: Whether the resource is managed by GCBDR. + GcbdrManaged bool `json:"gcbdrManaged,omitempty"` + // ForceSendFields is a list of field names (e.g. "GcbdrManaged") 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. "GcbdrManaged") 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:"-"` +} + +func (s StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration) MarshalJSON() ([]byte, error) { + type NoMethod StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata: Metadata for // individual internal resources in an instance. e.g. spanner instance can have // multiple databases with unique configuration settings. Similarly bigtable @@ -4196,11 +4363,23 @@ type SupportedDatabaseFlag struct { // e.g.: * projects/{project}/locations/{location}/flags/{flag} This field // currently has no semantic meaning. Name string `json:"name,omitempty"` + // RecommendedIntegerValue: The recommended value for an INTEGER flag. + RecommendedIntegerValue int64 `json:"recommendedIntegerValue,omitempty,string"` + // RecommendedStringValue: The recommended value for a STRING flag. + RecommendedStringValue string `json:"recommendedStringValue,omitempty"` // RequiresDbRestart: Whether setting or updating this flag on an Instance // requires a database restart. If a flag that requires database restart is // set, the backend will automatically restart the database (making sure to // satisfy any availability SLO's). RequiresDbRestart bool `json:"requiresDbRestart,omitempty"` + // Scope: The scope of the flag. + // + // Possible values: + // "SCOPE_UNSPECIFIED" - The scope of the flag is not specified. Default is + // DATABASE. + // "DATABASE" - The flag is a database flag. + // "CONNECTION_POOL" - The flag is a connection pool flag. + Scope string `json:"scope,omitempty"` // StringRestrictions: Restriction on STRING type value. StringRestrictions *StringRestrictions `json:"stringRestrictions,omitempty"` // SupportedDbVersions: Major database engine versions for which this flag is @@ -4442,6 +4621,61 @@ func (s UpgradeClusterResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// UpgradeClusterStatus: Message for current status of the Major Version +// Upgrade operation. +type UpgradeClusterStatus struct { + // Cancellable: Whether the operation is cancellable. + Cancellable bool `json:"cancellable,omitempty"` + // SourceVersion: Source database major version. + // + // Possible values: + // "DATABASE_VERSION_UNSPECIFIED" - This is an unknown database version. + // "POSTGRES_13" - DEPRECATED - The database version is Postgres 13. + // "POSTGRES_14" - The database version is Postgres 14. + // "POSTGRES_15" - The database version is Postgres 15. + // "POSTGRES_16" - The database version is Postgres 16. + SourceVersion string `json:"sourceVersion,omitempty"` + // Stages: Status of all upgrade stages. + Stages []*StageStatus `json:"stages,omitempty"` + // State: Cluster Major Version Upgrade state. + // + // Possible values: + // "STATUS_UNSPECIFIED" - Unspecified status. + // "NOT_STARTED" - Not started. + // "IN_PROGRESS" - In progress. + // "SUCCESS" - Operation succeeded. + // "FAILED" - Operation failed. + // "PARTIAL_SUCCESS" - Operation partially succeeded. + // "CANCEL_IN_PROGRESS" - Cancel is in progress. + // "CANCELLED" - Cancellation complete. + State string `json:"state,omitempty"` + // TargetVersion: Target database major version. + // + // Possible values: + // "DATABASE_VERSION_UNSPECIFIED" - This is an unknown database version. + // "POSTGRES_13" - DEPRECATED - The database version is Postgres 13. + // "POSTGRES_14" - The database version is Postgres 14. + // "POSTGRES_15" - The database version is Postgres 15. + // "POSTGRES_16" - The database version is Postgres 16. + TargetVersion string `json:"targetVersion,omitempty"` + // ForceSendFields is a list of field names (e.g. "Cancellable") 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. "Cancellable") 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:"-"` +} + +func (s UpgradeClusterStatus) MarshalJSON() ([]byte, error) { + type NoMethod UpgradeClusterStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // User: Message describing User object. type User struct { // DatabaseRoles: Optional. List of database roles this user has. The database @@ -9550,6 +9784,22 @@ func (c *ProjectsLocationsSupportedDatabaseFlagsListCall) PageToken(pageToken st return c } +// Scope sets the optional parameter "scope": The scope for which supported +// flags are requested. If not specified, default is DATABASE. +// +// Possible values: +// +// "SCOPE_UNSPECIFIED" - The scope of the flag is not specified. Default is +// +// DATABASE. +// +// "DATABASE" - The flag is a database flag. +// "CONNECTION_POOL" - The flag is a connection pool flag. +func (c *ProjectsLocationsSupportedDatabaseFlagsListCall) Scope(scope string) *ProjectsLocationsSupportedDatabaseFlagsListCall { + c.urlParams_.Set("scope", scope) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. diff --git a/beyondcorp/v1/beyondcorp-api.json b/beyondcorp/v1/beyondcorp-api.json index 8217c37d5fe..66b54100bb2 100644 --- a/beyondcorp/v1/beyondcorp-api.json +++ b/beyondcorp/v1/beyondcorp-api.json @@ -1465,6 +1465,7 @@ ] }, "shouldThrottle": { + "deprecated": true, "description": "Calls the Bouncer method ShouldThrottle to check if a request should be throttled.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/appGateways/{appGatewaysId}:shouldThrottle", "httpMethod": "GET", @@ -1779,7 +1780,7 @@ "type": "string" }, "updateMask": { - "description": "Required. Mutable fields include: display_name.", + "description": "Optional. Mutable fields include: display_name.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -2152,7 +2153,7 @@ "type": "string" }, "updateMask": { - "description": "Required. Mutable fields include: display_name, hubs.", + "description": "Optional. Mutable fields include: display_name, hubs.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -2403,7 +2404,7 @@ } } }, - "revision": "20241204", + "revision": "20250219", "rootUrl": "https://beyondcorp.googleapis.com/", "schemas": { "AllocatedConnection": { @@ -4248,6 +4249,7 @@ "type": "object" }, "ShouldThrottleResponse": { + "deprecated": true, "description": "Response message for calling ShouldThrottle", "id": "ShouldThrottleResponse", "properties": { diff --git a/beyondcorp/v1/beyondcorp-gen.go b/beyondcorp/v1/beyondcorp-gen.go index 75b833f89f2..ed9af8f4518 100644 --- a/beyondcorp/v1/beyondcorp-gen.go +++ b/beyondcorp/v1/beyondcorp-gen.go @@ -8771,8 +8771,8 @@ func (c *ProjectsLocationsGlobalSecurityGatewaysApplicationsPatchCall) RequestId return c } -// UpdateMask sets the optional parameter "updateMask": Required. Mutable -// fields include: display_name. +// UpdateMask sets the optional parameter "updateMask": Mutable fields include: +// display_name. func (c *ProjectsLocationsGlobalSecurityGatewaysApplicationsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsGlobalSecurityGatewaysApplicationsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -10144,8 +10144,8 @@ func (c *ProjectsLocationsSecurityGatewaysPatchCall) RequestId(requestId string) return c } -// UpdateMask sets the optional parameter "updateMask": Required. Mutable -// fields include: display_name, hubs. +// UpdateMask sets the optional parameter "updateMask": Mutable fields include: +// display_name, hubs. func (c *ProjectsLocationsSecurityGatewaysPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSecurityGatewaysPatchCall { c.urlParams_.Set("updateMask", updateMask) return c diff --git a/config/v1/config-api.json b/config/v1/config-api.json index 6fc69234196..29e43cae1e8 100644 --- a/config/v1/config-api.json +++ b/config/v1/config-api.json @@ -1187,7 +1187,7 @@ } } }, - "revision": "20250108", + "revision": "20250219", "rootUrl": "https://config.googleapis.com/", "schemas": { "ApplyResults": { @@ -2000,7 +2000,7 @@ "additionalProperties": { "type": "string" }, - "description": "Optional. Arbitrary key-value metadata storage e.g. to help client tools identifiy preview during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.", + "description": "Optional. Arbitrary key-value metadata storage e.g. to help client tools identify preview during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.", "type": "object" }, "artifactsGcsBucket": { diff --git a/config/v1/config-gen.go b/config/v1/config-gen.go index f6fba6ed9d3..62a26e8712e 100644 --- a/config/v1/config-gen.go +++ b/config/v1/config-gen.go @@ -1329,7 +1329,7 @@ func (s Policy) MarshalJSON() ([]byte, error) { // configuration. type Preview struct { // Annotations: Optional. Arbitrary key-value metadata storage e.g. to help - // client tools identifiy preview during automation. See + // client tools identify preview during automation. See // https://google.aip.dev/148#annotations for details on format and size // limitations. Annotations map[string]string `json:"annotations,omitempty"` diff --git a/healthcare/v1/healthcare-api.json b/healthcare/v1/healthcare-api.json index cc1188789cc..16709beabd7 100644 --- a/healthcare/v1/healthcare-api.json +++ b/healthcare/v1/healthcare-api.json @@ -5088,7 +5088,7 @@ } } }, - "revision": "20250206", + "revision": "20250218", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "AccessDeterminationLogConfig": { @@ -5695,11 +5695,11 @@ "type": "string" }, "environment": { - "description": "An abstract identifier that describes the environment or conditions under which the accessor is acting. Can be \"*\" if it applies to all environments.", + "description": "An abstract identifier that describes the environment or conditions under which the accessor is acting. If it's not specified, it applies to all environments.", "type": "string" }, "purpose": { - "description": "The intent of data use. Can be \"*\" if it applies to all purposes.", + "description": "The intent of data use. If it's not specified, it applies to all purposes.", "type": "string" } }, diff --git a/healthcare/v1/healthcare-gen.go b/healthcare/v1/healthcare-gen.go index 74b6104c300..a46a9685ff7 100644 --- a/healthcare/v1/healthcare-gen.go +++ b/healthcare/v1/healthcare-gen.go @@ -1408,10 +1408,11 @@ type ConsentAccessorScope struct { // `{resourceType}/{id}`) or an external URI. This value must be present. Actor string `json:"actor,omitempty"` // Environment: An abstract identifier that describes the environment or - // conditions under which the accessor is acting. Can be "*" if it applies to - // all environments. + // conditions under which the accessor is acting. If it's not specified, it + // applies to all environments. Environment string `json:"environment,omitempty"` - // Purpose: The intent of data use. Can be "*" if it applies to all purposes. + // Purpose: The intent of data use. If it's not specified, it applies to all + // purposes. Purpose string `json:"purpose,omitempty"` // ForceSendFields is a list of field names (e.g. "Actor") to unconditionally // include in API requests. By default, fields with empty or default values are diff --git a/healthcare/v1beta1/healthcare-api.json b/healthcare/v1beta1/healthcare-api.json index d382e5d59a3..eb8ae96c6ed 100644 --- a/healthcare/v1beta1/healthcare-api.json +++ b/healthcare/v1beta1/healthcare-api.json @@ -6011,7 +6011,7 @@ } } }, - "revision": "20250206", + "revision": "20250218", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "AccessDeterminationLogConfig": { @@ -6827,11 +6827,11 @@ "type": "string" }, "environment": { - "description": "An abstract identifier that describes the environment or conditions under which the accessor is acting. Can be \"*\" if it applies to all environments.", + "description": "An abstract identifier that describes the environment or conditions under which the accessor is acting. If it's not specified, it applies to all environments.", "type": "string" }, "purpose": { - "description": "The intent of data use. Can be \"*\" if it applies to all purposes.", + "description": "The intent of data use. If it's not specified, it applies to all purposes.", "type": "string" } }, diff --git a/healthcare/v1beta1/healthcare-gen.go b/healthcare/v1beta1/healthcare-gen.go index 3669b5f5d08..3dff165d758 100644 --- a/healthcare/v1beta1/healthcare-gen.go +++ b/healthcare/v1beta1/healthcare-gen.go @@ -1759,10 +1759,11 @@ type ConsentAccessorScope struct { // `{resourceType}/{id}`) or an external URI. This value must be present. Actor string `json:"actor,omitempty"` // Environment: An abstract identifier that describes the environment or - // conditions under which the accessor is acting. Can be "*" if it applies to - // all environments. + // conditions under which the accessor is acting. If it's not specified, it + // applies to all environments. Environment string `json:"environment,omitempty"` - // Purpose: The intent of data use. Can be "*" if it applies to all purposes. + // Purpose: The intent of data use. If it's not specified, it applies to all + // purposes. Purpose string `json:"purpose,omitempty"` // ForceSendFields is a list of field names (e.g. "Actor") to unconditionally // include in API requests. By default, fields with empty or default values are diff --git a/networkconnectivity/v1/networkconnectivity-api.json b/networkconnectivity/v1/networkconnectivity-api.json index 58402a71643..2d9555d165c 100644 --- a/networkconnectivity/v1/networkconnectivity-api.json +++ b/networkconnectivity/v1/networkconnectivity-api.json @@ -996,7 +996,7 @@ "type": "string" }, "policyBasedRouteId": { - "description": "Required. Unique id for the policy-based route to create.", + "description": "Required. Unique id for the policy-based route to create. Provided by the client when the resource is created. The name must comply with https://google.aip.dev/122#resource-id-segments. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([a-z0-9-]*[a-z0-9])?. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.", "location": "query", "type": "string" }, @@ -2863,7 +2863,7 @@ } } }, - "revision": "20250122", + "revision": "20250219", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AcceptHubSpokeRequest": { @@ -3380,7 +3380,8 @@ "REJECTING", "UPDATING", "INACTIVE", - "OBSOLETE" + "OBSOLETE", + "FAILED" ], "enumDescriptions": [ "No state information available", @@ -3391,7 +3392,8 @@ "The resource's reject operation is in progress.", "The resource's update operation is in progress.", "The resource is inactive.", - "The hub associated with this spoke resource has been deleted. This state applies to spoke resources only." + "The hub associated with this spoke resource has been deleted. This state applies to spoke resources only.", + "The resource is in an undefined state due to resource creation or deletion failure. You can try to delete the resource later or contact support for help." ], "readOnly": true, "type": "string" @@ -3425,7 +3427,7 @@ "type": "string" }, "exportPsc": { - "description": "Optional. Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.", + "description": "Optional. Whether Private Service Connect connection propagation is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.", "type": "boolean" }, "labels": { @@ -3496,7 +3498,8 @@ "REJECTING", "UPDATING", "INACTIVE", - "OBSOLETE" + "OBSOLETE", + "FAILED" ], "enumDescriptions": [ "No state information available", @@ -3507,7 +3510,8 @@ "The resource's reject operation is in progress.", "The resource's update operation is in progress.", "The resource is inactive.", - "The hub associated with this spoke resource has been deleted. This state applies to spoke resources only." + "The hub associated with this spoke resource has been deleted. This state applies to spoke resources only.", + "The resource is in an undefined state due to resource creation or deletion failure. You can try to delete the resource later or contact support for help." ], "readOnly": true, "type": "string" @@ -4887,7 +4891,8 @@ "REJECTING", "UPDATING", "INACTIVE", - "OBSOLETE" + "OBSOLETE", + "FAILED" ], "enumDescriptions": [ "No state information available", @@ -4898,7 +4903,8 @@ "The resource's reject operation is in progress.", "The resource's update operation is in progress.", "The resource is inactive.", - "The hub associated with this spoke resource has been deleted. This state applies to spoke resources only." + "The hub associated with this spoke resource has been deleted. This state applies to spoke resources only.", + "The resource is in an undefined state due to resource creation or deletion failure. You can try to delete the resource later or contact support for help." ], "readOnly": true, "type": "string" @@ -4969,7 +4975,8 @@ "REJECTING", "UPDATING", "INACTIVE", - "OBSOLETE" + "OBSOLETE", + "FAILED" ], "enumDescriptions": [ "No state information available", @@ -4980,7 +4987,8 @@ "The resource's reject operation is in progress.", "The resource's update operation is in progress.", "The resource is inactive.", - "The hub associated with this spoke resource has been deleted. This state applies to spoke resources only." + "The hub associated with this spoke resource has been deleted. This state applies to spoke resources only.", + "The resource is in an undefined state due to resource creation or deletion failure. You can try to delete the resource later or contact support for help." ], "readOnly": true, "type": "string" @@ -5392,7 +5400,8 @@ "REJECTING", "UPDATING", "INACTIVE", - "OBSOLETE" + "OBSOLETE", + "FAILED" ], "enumDescriptions": [ "No state information available", @@ -5403,7 +5412,8 @@ "The resource's reject operation is in progress.", "The resource's update operation is in progress.", "The resource is inactive.", - "The hub associated with this spoke resource has been deleted. This state applies to spoke resources only." + "The hub associated with this spoke resource has been deleted. This state applies to spoke resources only.", + "The resource is in an undefined state due to resource creation or deletion failure. You can try to delete the resource later or contact support for help." ], "readOnly": true, "type": "string" @@ -5443,7 +5453,8 @@ "REJECTING", "UPDATING", "INACTIVE", - "OBSOLETE" + "OBSOLETE", + "FAILED" ], "enumDescriptions": [ "No state information available", @@ -5454,7 +5465,8 @@ "The resource's reject operation is in progress.", "The resource's update operation is in progress.", "The resource is inactive.", - "The hub associated with this spoke resource has been deleted. This state applies to spoke resources only." + "The hub associated with this spoke resource has been deleted. This state applies to spoke resources only.", + "The resource is in an undefined state due to resource creation or deletion failure. You can try to delete the resource later or contact support for help." ], "readOnly": true, "type": "string" diff --git a/networkconnectivity/v1/networkconnectivity-gen.go b/networkconnectivity/v1/networkconnectivity-gen.go index 3f366ae955a..b1183333ed5 100644 --- a/networkconnectivity/v1/networkconnectivity-gen.go +++ b/networkconnectivity/v1/networkconnectivity-gen.go @@ -1063,6 +1063,9 @@ type Group struct { // "INACTIVE" - The resource is inactive. // "OBSOLETE" - The hub associated with this spoke resource has been deleted. // This state applies to spoke resources only. + // "FAILED" - The resource is in an undefined state due to resource creation + // or deletion failure. You can try to delete the resource later or contact + // support for help. State string `json:"state,omitempty"` // Uid: Output only. The Google-generated UUID for the group. This value is // unique across all group resources. If a group is deleted and another with @@ -1103,10 +1106,10 @@ type Hub struct { CreateTime string `json:"createTime,omitempty"` // Description: Optional. An optional description of the hub. Description string `json:"description,omitempty"` - // ExportPsc: Optional. Whether Private Service Connect transitivity is enabled - // for the hub. If true, Private Service Connect endpoints in VPC spokes - // attached to the hub are made accessible to other VPC spokes attached to the - // hub. The default value is false. + // ExportPsc: Optional. Whether Private Service Connect connection propagation + // is enabled for the hub. If true, Private Service Connect endpoints in VPC + // spokes attached to the hub are made accessible to other VPC spokes attached + // to the hub. The default value is false. ExportPsc bool `json:"exportPsc,omitempty"` // Labels: Optional labels in key-value pair format. For more information about // labels, see Requirements for labels @@ -1166,6 +1169,9 @@ type Hub struct { // "INACTIVE" - The resource is inactive. // "OBSOLETE" - The hub associated with this spoke resource has been deleted. // This state applies to spoke resources only. + // "FAILED" - The resource is in an undefined state due to resource creation + // or deletion failure. You can try to delete the resource later or contact + // support for help. State string `json:"state,omitempty"` // UniqueId: Output only. The Google-generated UUID for the hub. This value is // unique across all hub resources. If a hub is deleted and another with the @@ -2841,6 +2847,9 @@ type Route struct { // "INACTIVE" - The resource is inactive. // "OBSOLETE" - The hub associated with this spoke resource has been deleted. // This state applies to spoke resources only. + // "FAILED" - The resource is in an undefined state due to resource creation + // or deletion failure. You can try to delete the resource later or contact + // support for help. State string `json:"state,omitempty"` // Type: Output only. The route's type. Its type is determined by the // properties of its IP address range. @@ -2910,6 +2919,9 @@ type RouteTable struct { // "INACTIVE" - The resource is inactive. // "OBSOLETE" - The hub associated with this spoke resource has been deleted. // This state applies to spoke resources only. + // "FAILED" - The resource is in an undefined state due to resource creation + // or deletion failure. You can try to delete the resource later or contact + // support for help. State string `json:"state,omitempty"` // Uid: Output only. The Google-generated UUID for the route table. This value // is unique across all route table resources. If a route table is deleted and @@ -3305,6 +3317,9 @@ type Spoke struct { // "INACTIVE" - The resource is inactive. // "OBSOLETE" - The hub associated with this spoke resource has been deleted. // This state applies to spoke resources only. + // "FAILED" - The resource is in an undefined state due to resource creation + // or deletion failure. You can try to delete the resource later or contact + // support for help. State string `json:"state,omitempty"` // UniqueId: Output only. The Google-generated UUID for the spoke. This value // is unique across all spoke resources. If a spoke is deleted and another with @@ -3352,6 +3367,9 @@ type SpokeStateCount struct { // "INACTIVE" - The resource is inactive. // "OBSOLETE" - The hub associated with this spoke resource has been deleted. // This state applies to spoke resources only. + // "FAILED" - The resource is in an undefined state due to resource creation + // or deletion failure. You can try to delete the resource later or contact + // support for help. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "Count") to unconditionally // include in API requests. By default, fields with empty or default values are @@ -6783,7 +6801,14 @@ func (r *ProjectsLocationsGlobalPolicyBasedRoutesService) Create(parent string, } // PolicyBasedRouteId sets the optional parameter "policyBasedRouteId": -// Required. Unique id for the policy-based route to create. +// Required. Unique id for the policy-based route to create. Provided by the +// client when the resource is created. The name must comply with +// https://google.aip.dev/122#resource-id-segments. Specifically, the name must +// be 1-63 characters long and match the regular expression a-z +// ([a-z0-9-]*[a-z0-9])?. The first character must be a lowercase letter, and +// all following characters (except for the last character) must be a dash, +// lowercase letter, or digit. The last character must be a lowercase letter or +// digit. func (c *ProjectsLocationsGlobalPolicyBasedRoutesCreateCall) PolicyBasedRouteId(policyBasedRouteId string) *ProjectsLocationsGlobalPolicyBasedRoutesCreateCall { c.urlParams_.Set("policyBasedRouteId", policyBasedRouteId) return c diff --git a/networkconnectivity/v1alpha1/networkconnectivity-api.json b/networkconnectivity/v1alpha1/networkconnectivity-api.json index 924ab46c942..5f93827fc16 100644 --- a/networkconnectivity/v1alpha1/networkconnectivity-api.json +++ b/networkconnectivity/v1alpha1/networkconnectivity-api.json @@ -1116,7 +1116,7 @@ } } }, - "revision": "20250122", + "revision": "20250219", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AuditConfig": { @@ -1344,14 +1344,16 @@ "CREATING", "ACTIVE", "DELETING", - "UPDATING" + "UPDATING", + "FAILED" ], "enumDescriptions": [ "No state information available", "The resource's create operation is in progress", "The resource is active", "The resource's Delete operation is in progress", - "The resource's Update operation is in progress" + "The resource's Update operation is in progress", + "The resource is in an undefined state due to resource creation or deletion failure. You can try to delete the resource later or contact support for help." ], "readOnly": true, "type": "string" @@ -1794,14 +1796,16 @@ "CREATING", "ACTIVE", "DELETING", - "UPDATING" + "UPDATING", + "FAILED" ], "enumDescriptions": [ "No state information available", "The resource's create operation is in progress", "The resource is active", "The resource's Delete operation is in progress", - "The resource's Update operation is in progress" + "The resource's Update operation is in progress", + "The resource is in an undefined state due to resource creation or deletion failure. You can try to delete the resource later or contact support for help." ], "readOnly": true, "type": "string" diff --git a/networkconnectivity/v1alpha1/networkconnectivity-gen.go b/networkconnectivity/v1alpha1/networkconnectivity-gen.go index 17e2f3c765d..17302d9315a 100644 --- a/networkconnectivity/v1alpha1/networkconnectivity-gen.go +++ b/networkconnectivity/v1alpha1/networkconnectivity-gen.go @@ -610,6 +610,9 @@ type Hub struct { // "ACTIVE" - The resource is active // "DELETING" - The resource's Delete operation is in progress // "UPDATING" - The resource's Update operation is in progress + // "FAILED" - The resource is in an undefined state due to resource creation + // or deletion failure. You can try to delete the resource later or contact + // support for help. State string `json:"state,omitempty"` // UniqueId: Output only. Google-generated UUID for this resource. This is // unique across all Hub resources. If a Hub resource is deleted and another @@ -1168,6 +1171,9 @@ type Spoke struct { // "ACTIVE" - The resource is active // "DELETING" - The resource's Delete operation is in progress // "UPDATING" - The resource's Update operation is in progress + // "FAILED" - The resource is in an undefined state due to resource creation + // or deletion failure. You can try to delete the resource later or contact + // support for help. State string `json:"state,omitempty"` // UniqueId: Output only. Google-generated UUID for this resource. This is // unique across all Spoke resources. If a Spoke resource is deleted and diff --git a/networkmanagement/v1/networkmanagement-api.json b/networkmanagement/v1/networkmanagement-api.json index d294f8f7200..1340cd87dd7 100644 --- a/networkmanagement/v1/networkmanagement-api.json +++ b/networkmanagement/v1/networkmanagement-api.json @@ -758,7 +758,7 @@ } } }, - "revision": "20250212", + "revision": "20250219", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -1262,6 +1262,33 @@ }, "type": "object" }, + "DirectVpcEgressConnectionInfo": { + "description": "For display only. Metadata associated with a serverless direct VPC egress connection.", + "id": "DirectVpcEgressConnectionInfo", + "properties": { + "networkUri": { + "description": "URI of direct access network.", + "type": "string" + }, + "region": { + "description": "Region in which the Direct VPC egress is deployed.", + "type": "string" + }, + "selectedIpAddress": { + "description": "Selected starting IP address, from the selected IP range.", + "type": "string" + }, + "selectedIpRange": { + "description": "Selected IP range.", + "type": "string" + }, + "subnetworkUri": { + "description": "URI of direct access subnetwork.", + "type": "string" + } + }, + "type": "object" + }, "DropInfo": { "description": "Details of the final state \"drop\" and associated resource.", "id": "DropInfo", @@ -2907,6 +2934,17 @@ }, "type": "object" }, + "ServerlessExternalConnectionInfo": { + "description": "For display only. Metadata associated with a serverless public connection.", + "id": "ServerlessExternalConnectionInfo", + "properties": { + "selectedIpAddress": { + "description": "Selected starting IP address, from the Google dynamic address pool.", + "type": "string" + } + }, + "type": "object" + }, "ServerlessNegInfo": { "description": "For display only. Metadata associated with the serverless network endpoint group backend.", "id": "ServerlessNegInfo", @@ -2997,6 +3035,10 @@ "description": "A description of the step. Usually this is a summary of the state.", "type": "string" }, + "directVpcEgressConnection": { + "$ref": "DirectVpcEgressConnectionInfo", + "description": "Display information of a serverless direct VPC egress connection." + }, "drop": { "$ref": "DropInfo", "description": "Display information of the final state \"drop\" and reason." @@ -3066,6 +3108,10 @@ "$ref": "RouteInfo", "description": "Display information of a Compute Engine route." }, + "serverlessExternalConnection": { + "$ref": "ServerlessExternalConnectionInfo", + "description": "Display information of a serverless public (external) connection." + }, "serverlessNeg": { "$ref": "ServerlessNegInfo", "description": "Display information of a Serverless network endpoint group backend. Used only for return traces." @@ -3100,6 +3146,8 @@ "ARRIVE_AT_VPN_GATEWAY", "ARRIVE_AT_VPN_TUNNEL", "ARRIVE_AT_VPC_CONNECTOR", + "DIRECT_VPC_EGRESS_CONNECTION", + "SERVERLESS_EXTERNAL_CONNECTION", "NAT", "PROXY_CONNECTION", "DELIVER", @@ -3142,6 +3190,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -3172,6 +3222,8 @@ "Forwarding state: arriving at a Cloud VPN gateway.", "Forwarding state: arriving at a Cloud VPN tunnel.", "Forwarding state: arriving at a VPC connector.", + "Forwarding state: for packets originating from a serverless endpoint forwarded through Direct VPC egress.", + "Forwarding state: for packets originating from a serverless endpoint forwarded through public (external) connectivity.", "Transition state: packet header translated.", "Transition state: original connection is terminated and a new proxied connection is initiated.", "Final state: packet could be delivered.", diff --git a/networkmanagement/v1/networkmanagement-gen.go b/networkmanagement/v1/networkmanagement-gen.go index c4ee56ed23a..23abd58b5db 100644 --- a/networkmanagement/v1/networkmanagement-gen.go +++ b/networkmanagement/v1/networkmanagement-gen.go @@ -865,6 +865,37 @@ func (s DeliverInfo) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// DirectVpcEgressConnectionInfo: For display only. Metadata associated with a +// serverless direct VPC egress connection. +type DirectVpcEgressConnectionInfo struct { + // NetworkUri: URI of direct access network. + NetworkUri string `json:"networkUri,omitempty"` + // Region: Region in which the Direct VPC egress is deployed. + Region string `json:"region,omitempty"` + // SelectedIpAddress: Selected starting IP address, from the selected IP range. + SelectedIpAddress string `json:"selectedIpAddress,omitempty"` + // SelectedIpRange: Selected IP range. + SelectedIpRange string `json:"selectedIpRange,omitempty"` + // SubnetworkUri: URI of direct access subnetwork. + SubnetworkUri string `json:"subnetworkUri,omitempty"` + // ForceSendFields is a list of field names (e.g. "NetworkUri") 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. "NetworkUri") 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:"-"` +} + +func (s DirectVpcEgressConnectionInfo) MarshalJSON() ([]byte, error) { + type NoMethod DirectVpcEgressConnectionInfo + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // DropInfo: Details of the final state "drop" and associated resource. type DropInfo struct { // Cause: Cause that the packet is dropped. @@ -2650,6 +2681,30 @@ func (s RouteInfo) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// ServerlessExternalConnectionInfo: For display only. Metadata associated with +// a serverless public connection. +type ServerlessExternalConnectionInfo struct { + // SelectedIpAddress: Selected starting IP address, from the Google dynamic + // address pool. + SelectedIpAddress string `json:"selectedIpAddress,omitempty"` + // ForceSendFields is a list of field names (e.g. "SelectedIpAddress") 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. "SelectedIpAddress") 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:"-"` +} + +func (s ServerlessExternalConnectionInfo) MarshalJSON() ([]byte, error) { + type NoMethod ServerlessExternalConnectionInfo + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // ServerlessNegInfo: For display only. Metadata associated with the serverless // network endpoint group backend. type ServerlessNegInfo struct { @@ -2756,6 +2811,9 @@ type Step struct { // Description: A description of the step. Usually this is a summary of the // state. Description string `json:"description,omitempty"` + // DirectVpcEgressConnection: Display information of a serverless direct VPC + // egress connection. + DirectVpcEgressConnection *DirectVpcEgressConnectionInfo `json:"directVpcEgressConnection,omitempty"` // Drop: Display information of the final state "drop" and reason. Drop *DropInfo `json:"drop,omitempty"` // Endpoint: Display information of the source and destination under analysis. @@ -2796,6 +2854,9 @@ type Step struct { RedisInstance *RedisInstanceInfo `json:"redisInstance,omitempty"` // Route: Display information of a Compute Engine route. Route *RouteInfo `json:"route,omitempty"` + // ServerlessExternalConnection: Display information of a serverless public + // (external) connection. + ServerlessExternalConnection *ServerlessExternalConnectionInfo `json:"serverlessExternalConnection,omitempty"` // ServerlessNeg: Display information of a Serverless network endpoint group // backend. Used only for return traces. ServerlessNeg *ServerlessNegInfo `json:"serverlessNeg,omitempty"` @@ -2864,6 +2925,11 @@ type Step struct { // gateway. // "ARRIVE_AT_VPN_TUNNEL" - Forwarding state: arriving at a Cloud VPN tunnel. // "ARRIVE_AT_VPC_CONNECTOR" - Forwarding state: arriving at a VPC connector. + // "DIRECT_VPC_EGRESS_CONNECTION" - Forwarding state: for packets originating + // from a serverless endpoint forwarded through Direct VPC egress. + // "SERVERLESS_EXTERNAL_CONNECTION" - Forwarding state: for packets + // originating from a serverless endpoint forwarded through public (external) + // connectivity. // "NAT" - Transition state: packet header translated. // "PROXY_CONNECTION" - Transition state: original connection is terminated // and a new proxied connection is initiated. diff --git a/privateca/v1/privateca-api.json b/privateca/v1/privateca-api.json index a6671ef7366..c0d4bc3e7ed 100644 --- a/privateca/v1/privateca-api.json +++ b/privateca/v1/privateca-api.json @@ -1605,7 +1605,7 @@ } } }, - "revision": "20250205", + "revision": "20250219", "rootUrl": "https://privateca.googleapis.com/", "schemas": { "AccessUrls": { @@ -2495,6 +2495,11 @@ }, "type": "array" }, + "backdateDuration": { + "description": "Optional. The duration to backdate all certificates issued from this CaPool. If not set, the certificates will be issued with a not_before_time of the issuance time (i.e. the current time). If set, the certificates will be issued with a not_before_time of the issuance time minus the backdate_duration. The not_after_time will be adjusted to preserve the requested lifetime. The backdate_duration must be less than or equal to 48 hours.", + "format": "google-duration", + "type": "string" + }, "baselineValues": { "$ref": "X509Parameters", "description": "Optional. A set of X.509 values that will be applied to all certificates issued through this CaPool. If a certificate request includes conflicting values for the same properties, they will be overwritten by the values defined here. If a certificate request uses a CertificateTemplate that defines conflicting predefined_values for the same properties, the certificate issuance request will fail." diff --git a/privateca/v1/privateca-gen.go b/privateca/v1/privateca-gen.go index edfc9135ddf..b6fc0331089 100644 --- a/privateca/v1/privateca-gen.go +++ b/privateca/v1/privateca-gen.go @@ -1503,6 +1503,14 @@ type IssuancePolicy struct { // certificate request's public key must match one of the key types listed // here. Otherwise, any key may be used. AllowedKeyTypes []*AllowedKeyType `json:"allowedKeyTypes,omitempty"` + // BackdateDuration: Optional. The duration to backdate all certificates issued + // from this CaPool. If not set, the certificates will be issued with a + // not_before_time of the issuance time (i.e. the current time). If set, the + // certificates will be issued with a not_before_time of the issuance time + // minus the backdate_duration. The not_after_time will be adjusted to preserve + // the requested lifetime. The backdate_duration must be less than or equal to + // 48 hours. + BackdateDuration string `json:"backdateDuration,omitempty"` // BaselineValues: Optional. A set of X.509 values that will be applied to all // certificates issued through this CaPool. If a certificate request includes // conflicting values for the same properties, they will be overwritten by the diff --git a/securityposture/v1/securityposture-api.json b/securityposture/v1/securityposture-api.json index 407b7c1471e..047985402fb 100644 --- a/securityposture/v1/securityposture-api.json +++ b/securityposture/v1/securityposture-api.json @@ -892,7 +892,7 @@ } } }, - "revision": "20241212", + "revision": "20250226", "rootUrl": "https://securityposture.googleapis.com/", "schemas": { "AssetDetails": { @@ -1162,12 +1162,12 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. Required for GMCs if parameters defined in constraints. Pass parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: { \"allowedLocations\" : [\"us-east1\", \"us-west1\"], \"allowAll\" : true }", + "description": "Optional. Required for managed constraints if parameters are defined. Passes parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: { \"allowedLocations\" : [\"us-east1\", \"us-west1\"], \"allowAll\" : true }", "type": "object" }, "resourceTypes": { "$ref": "ResourceTypes", - "description": "Optional. The resource types policy can support, only used for Google managed constraint and method type is GOVERN_TAGS." + "description": "Optional. The resource types policies can support, only used for managed constraints. Method type is `GOVERN_TAGS`." }, "values": { "$ref": "GoogleCloudSecuritypostureV1PolicyRuleStringValues", @@ -1980,11 +1980,11 @@ "type": "object" }, "ResourceTypes": { - "description": "Set multiple resource types for one policy, eg: resourceTypes: included: - compute.googleapis.com/Instance - compute.googleapis.com/Disk Constraint definition contains an empty resource type in order to support multiple resource types in the policy. Only support Google managed constriaint and method type is GOVERN_TAGS Refer go/multi-resource-support-force-tags-gmc to get more details.", + "description": "Set multiple resource types for one policy, for example: resourceTypes: included: - compute.googleapis.com/Instance - compute.googleapis.com/Disk Constraint definition contains an empty resource type in order to support multiple resource types in the policy. Only supports managed constraints. Method type is `GOVERN_TAGS`. Refer go/multi-resource-support-force-tags-gmc to get more details.", "id": "ResourceTypes", "properties": { "included": { - "description": "Optional. The resource type we currently support. cloud/orgpolicy/customconstraintconfig/prod/resource_types.prototext", + "description": "Optional. The resource types we currently support. cloud/orgpolicy/customconstraintconfig/prod/resource_types.prototext", "items": { "type": "string" }, diff --git a/securityposture/v1/securityposture-gen.go b/securityposture/v1/securityposture-gen.go index 11838419ec5..fc92c15ae23 100644 --- a/securityposture/v1/securityposture-gen.go +++ b/securityposture/v1/securityposture-gen.go @@ -632,14 +632,14 @@ type GoogleCloudSecuritypostureV1PolicyRule struct { // Enforce: Whether to enforce the constraint. Valid only for boolean // constraints. Enforce bool `json:"enforce,omitempty"` - // Parameters: Optional. Required for GMCs if parameters defined in - // constraints. Pass parameter values when policy enforcement is enabled. - // Ensure that parameter value types match those defined in the constraint - // definition. For example: { "allowedLocations" : ["us-east1", "us-west1"], - // "allowAll" : true } + // Parameters: Optional. Required for managed constraints if parameters are + // defined. Passes parameter values when policy enforcement is enabled. Ensure + // that parameter value types match those defined in the constraint definition. + // For example: { "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : + // true } Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // ResourceTypes: Optional. The resource types policy can support, only used - // for Google managed constraint and method type is GOVERN_TAGS. + // ResourceTypes: Optional. The resource types policies can support, only used + // for managed constraints. Method type is `GOVERN_TAGS`. ResourceTypes *ResourceTypes `json:"resourceTypes,omitempty"` // Values: The allowed and denied values for a list constraint. Valid only for // list constraints. @@ -1568,14 +1568,14 @@ func (s ResourceSelector) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// ResourceTypes: Set multiple resource types for one policy, eg: +// ResourceTypes: Set multiple resource types for one policy, for example: // resourceTypes: included: - compute.googleapis.com/Instance - // compute.googleapis.com/Disk Constraint definition contains an empty resource -// type in order to support multiple resource types in the policy. Only support -// Google managed constriaint and method type is GOVERN_TAGS Refer +// type in order to support multiple resource types in the policy. Only +// supports managed constraints. Method type is `GOVERN_TAGS`. Refer // go/multi-resource-support-force-tags-gmc to get more details. type ResourceTypes struct { - // Included: Optional. The resource type we currently support. + // Included: Optional. The resource types we currently support. // cloud/orgpolicy/customconstraintconfig/prod/resource_types.prototext Included []string `json:"included,omitempty"` // ForceSendFields is a list of field names (e.g. "Included") to diff --git a/workstations/v1/workstations-api.json b/workstations/v1/workstations-api.json index b8ee4c23eda..2ed6332312c 100644 --- a/workstations/v1/workstations-api.json +++ b/workstations/v1/workstations-api.json @@ -1195,7 +1195,7 @@ } } }, - "revision": "20250101", + "revision": "20250219", "rootUrl": "https://workstations.googleapis.com/", "schemas": { "Accelerator": { @@ -1563,11 +1563,11 @@ "type": "boolean" }, "sourceImage": { - "description": "Optional. Name of the disk image to use as the source for the disk. Must be empty if source_snapshot is set. Updating source_image will update content in the ephemeral directory after the workstation is restarted. This field is mutable.", + "description": "Optional. Name of the disk image to use as the source for the disk. Must be empty if source_snapshot is set. Updating source_image will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, please refer to the [COS documentation](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.", "type": "string" }, "sourceSnapshot": { - "description": "Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. This field is mutable.", + "description": "Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, please refer to the [COS documentation](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.", "type": "string" } }, @@ -2043,7 +2043,7 @@ "type": "boolean" }, "serviceAttachmentUri": { - "description": "Output only. Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).", + "description": "Output only. Service attachment URI for the workstation cluster. The service attachment is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).", "readOnly": true, "type": "string" } diff --git a/workstations/v1/workstations-gen.go b/workstations/v1/workstations-gen.go index a51fdb08586..72e5e02828e 100644 --- a/workstations/v1/workstations-gen.go +++ b/workstations/v1/workstations-gen.go @@ -842,12 +842,20 @@ type GcePersistentDisk struct { // SourceImage: Optional. Name of the disk image to use as the source for the // disk. Must be empty if source_snapshot is set. Updating source_image will // update content in the ephemeral directory after the workstation is - // restarted. This field is mutable. + // restarted. Only file systems supported by Container-Optimized OS (COS) are + // explicitly supported. For a list of supported file systems, please refer to + // the COS documentation + // (https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). + // This field is mutable. SourceImage string `json:"sourceImage,omitempty"` // SourceSnapshot: Optional. Name of the snapshot to use as the source for the // disk. Must be empty if source_image is set. Must be empty if read_only is // false. Updating source_snapshot will update content in the ephemeral - // directory after the workstation is restarted. This field is mutable. + // directory after the workstation is restarted. Only file systems supported by + // Container-Optimized OS (COS) are explicitly supported. For a list of + // supported file systems, please refer to the COS documentation + // (https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). + // This field is mutable. SourceSnapshot string `json:"sourceSnapshot,omitempty"` // ForceSendFields is a list of field names (e.g. "DiskType") to // unconditionally include in API requests. By default, fields with empty or @@ -1533,7 +1541,7 @@ type PrivateClusterConfig struct { // EnablePrivateEndpoint: Immutable. Whether Workstations endpoint is private. EnablePrivateEndpoint bool `json:"enablePrivateEndpoint,omitempty"` // ServiceAttachmentUri: Output only. Service attachment URI for the - // workstation cluster. The service attachemnt is created when private endpoint + // workstation cluster. The service attachment is created when private endpoint // is enabled. To access workstations in the workstation cluster, configure // access to the managed service using Private Service Connect // (https://cloud.google.com/vpc/docs/configure-private-service-connect-services).