diff --git a/alloydb/v1beta/alloydb-api.json b/alloydb/v1beta/alloydb-api.json index c2b2bd4312..25ca393c39 100644 --- a/alloydb/v1beta/alloydb-api.json +++ b/alloydb/v1beta/alloydb-api.json @@ -1514,7 +1514,7 @@ } } }, - "revision": "20240828", + "revision": "20240909", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -2124,7 +2124,9 @@ "IN_PROGRESS", "SUCCESS", "FAILED", - "PARTIAL_SUCCESS" + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED" ], "enumDescriptions": [ "Unspecified status.", @@ -2132,7 +2134,9 @@ "In progress.", "Operation succeeded.", "Operation failed.", - "Operation partially succeeded." + "Operation partially succeeded.", + "Cancel is in progress.", + "Cancellation complete." ], "type": "string" } @@ -2715,7 +2719,9 @@ "IN_PROGRESS", "SUCCESS", "FAILED", - "PARTIAL_SUCCESS" + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED" ], "enumDescriptions": [ "Unspecified status.", @@ -2723,7 +2729,9 @@ "In progress.", "Operation succeeded.", "Operation failed.", - "Operation partially succeeded." + "Operation partially succeeded.", + "Cancel is in progress.", + "Cancellation complete." ], "type": "string" } @@ -3437,7 +3445,9 @@ "IN_PROGRESS", "SUCCESS", "FAILED", - "PARTIAL_SUCCESS" + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED" ], "enumDescriptions": [ "Unspecified status.", @@ -3445,7 +3455,9 @@ "In progress.", "Operation succeeded.", "Operation failed.", - "Operation partially succeeded." + "Operation partially succeeded.", + "Cancel is in progress.", + "Cancellation complete." ], "type": "string" } @@ -4063,7 +4075,7 @@ "type": "object" }, "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata": { - "description": "Common model for database resource instance metadata.", + "description": "Common model for database resource instance metadata. Next ID: 21", "id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata", "properties": { "availabilityConfiguration": { @@ -4202,6 +4214,10 @@ "description": "Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time. That is, after a resource named \"ABC\" is deleted, the name \"ABC\" can be used to to create a new resource within the same source. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel", "type": "string" }, + "tagsSet": { + "$ref": "StorageDatabasecenterPartnerapiV1mainTags", + "description": "Optional. Tags associated with this resources." + }, "updationTime": { "description": "The time at which the resource was updated and recorded at partner service.", "format": "google-datetime", @@ -4588,6 +4604,11 @@ "description": "Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.", "format": "int64", "type": "string" + }, + "shardCount": { + "description": "Optional. Number of shards (if applicable).", + "format": "int32", + "type": "integer" } }, "type": "object" @@ -4715,6 +4736,20 @@ }, "type": "object" }, + "StorageDatabasecenterPartnerapiV1mainTags": { + "description": "Message type for storing tags. Tags provide a way to create annotations for resources, and in some cases conditionally allow or deny policies based on whether a resource has a specific tag.", + "id": "StorageDatabasecenterPartnerapiV1mainTags", + "properties": { + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "The Tag key/value mappings.", + "type": "object" + } + }, + "type": "object" + }, "StorageDatabasecenterPartnerapiV1mainUserLabels": { "description": "Message type for storing user labels. User labels are used to tag App Engine resources, allowing users to search for resources matching a set of labels and to aggregate usage data by labels.", "id": "StorageDatabasecenterPartnerapiV1mainUserLabels", @@ -5100,7 +5135,9 @@ "IN_PROGRESS", "SUCCESS", "FAILED", - "PARTIAL_SUCCESS" + "PARTIAL_SUCCESS", + "CANCEL_IN_PROGRESS", + "CANCELLED" ], "enumDescriptions": [ "Unspecified status.", @@ -5108,7 +5145,9 @@ "In progress.", "Operation succeeded.", "Operation failed.", - "Operation partially succeeded." + "Operation partially succeeded.", + "Cancel is in progress.", + "Cancellation complete." ], "type": "string" } diff --git a/alloydb/v1beta/alloydb-gen.go b/alloydb/v1beta/alloydb-gen.go index 95de68ac8e..904a329743 100644 --- a/alloydb/v1beta/alloydb-gen.go +++ b/alloydb/v1beta/alloydb-gen.go @@ -758,6 +758,8 @@ type ClusterUpgradeDetails struct { // "SUCCESS" - Operation succeeded. // "FAILED" - Operation failed. // "PARTIAL_SUCCESS" - Operation partially succeeded. + // "CANCEL_IN_PROGRESS" - Cancel is in progress. + // "CANCELLED" - Cancellation complete. UpgradeStatus string `json:"upgradeStatus,omitempty"` // ForceSendFields is a list of field names (e.g. "ClusterType") to // unconditionally include in API requests. By default, fields with empty or @@ -1445,6 +1447,8 @@ type InstanceUpgradeDetails struct { // "SUCCESS" - Operation succeeded. // "FAILED" - Operation failed. // "PARTIAL_SUCCESS" - Operation partially succeeded. + // "CANCEL_IN_PROGRESS" - Cancel is in progress. + // "CANCELLED" - Cancellation complete. UpgradeStatus string `json:"upgradeStatus,omitempty"` // ForceSendFields is a list of field names (e.g. "InstanceType") to // unconditionally include in API requests. By default, fields with empty or @@ -2422,6 +2426,8 @@ type StageInfo struct { // "SUCCESS" - Operation succeeded. // "FAILED" - Operation failed. // "PARTIAL_SUCCESS" - Operation partially succeeded. + // "CANCEL_IN_PROGRESS" - Cancel is in progress. + // "CANCELLED" - Cancellation complete. Status string `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. "LogsUrl") to unconditionally // include in API requests. By default, fields with empty or default values are @@ -3024,7 +3030,7 @@ func (s StorageDatabasecenterPartnerapiV1mainDatabaseResourceId) MarshalJSON() ( } // StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata: Common model -// for database resource instance metadata. +// for database resource instance metadata. Next ID: 21 type StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata struct { // AvailabilityConfiguration: Availability configuration for this instance AvailabilityConfiguration *StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration `json:"availabilityConfiguration,omitempty"` @@ -3102,6 +3108,8 @@ 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"` + // TagsSet: Optional. Tags associated with this resources. + TagsSet *StorageDatabasecenterPartnerapiV1mainTags `json:"tagsSet,omitempty"` // UpdationTime: The time at which the resource was updated and recorded at // partner service. UpdationTime string `json:"updationTime,omitempty"` @@ -3458,6 +3466,8 @@ type StorageDatabasecenterPartnerapiV1mainMachineConfiguration struct { // MemorySizeInBytes: Memory size in bytes. TODO(b/342344482, b/342346271) add // proto validations again after bug fix. MemorySizeInBytes int64 `json:"memorySizeInBytes,omitempty,string"` + // ShardCount: Optional. Number of shards (if applicable). + ShardCount int64 `json:"shardCount,omitempty"` // ForceSendFields is a list of field names (e.g. "CpuCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -3593,6 +3603,31 @@ func (s StorageDatabasecenterPartnerapiV1mainRetentionSettings) MarshalJSON() ([ return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// StorageDatabasecenterPartnerapiV1mainTags: Message type for storing tags. +// Tags provide a way to create annotations for resources, and in some cases +// conditionally allow or deny policies based on whether a resource has a +// specific tag. +type StorageDatabasecenterPartnerapiV1mainTags struct { + // Tags: The Tag key/value mappings. + Tags map[string]string `json:"tags,omitempty"` + // ForceSendFields is a list of field names (e.g. "Tags") 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. "Tags") 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 StorageDatabasecenterPartnerapiV1mainTags) MarshalJSON() ([]byte, error) { + type NoMethod StorageDatabasecenterPartnerapiV1mainTags + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // StorageDatabasecenterPartnerapiV1mainUserLabels: Message type for storing // user labels. User labels are used to tag App Engine resources, allowing // users to search for resources matching a set of labels and to aggregate @@ -3997,6 +4032,8 @@ type UpgradeClusterResponse struct { // "SUCCESS" - Operation succeeded. // "FAILED" - Operation failed. // "PARTIAL_SUCCESS" - Operation partially succeeded. + // "CANCEL_IN_PROGRESS" - Cancel is in progress. + // "CANCELLED" - Cancellation complete. Status string `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. "ClusterUpgradeDetails") to // unconditionally include in API requests. By default, fields with empty or diff --git a/redis/v1/redis-api.json b/redis/v1/redis-api.json index 08d788b97b..4d979749f5 100644 --- a/redis/v1/redis-api.json +++ b/redis/v1/redis-api.json @@ -849,7 +849,7 @@ } } }, - "revision": "20240904", + "revision": "20240918", "rootUrl": "https://redis.googleapis.com/", "schemas": { "AOFConfig": { @@ -1131,7 +1131,7 @@ "REDIS_STANDARD_SMALL" ], "enumDescriptions": [ - "", + "Node type unspecified", "Redis shared core nano node_type.", "Redis highmem medium node_type.", "Redis highmem xlarge node_type.", @@ -1157,7 +1157,7 @@ "type": "array" }, "pscConnections": { - "description": "Output only. PSC connections for discovery of the cluster topology and accessing the cluster.", + "description": "Output only. The list of PSC connections that are auto-created through service connectivity automation.", "items": { "$ref": "PscConnection" }, @@ -1273,12 +1273,6 @@ "readOnly": true, "type": "string" }, - "scheduleDeadlineTime": { - "description": "Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, "startTime": { "description": "Output only. The start time of any upcoming scheduled maintenance for this instance.", "format": "google-datetime", @@ -1347,11 +1341,6 @@ ], "type": "string" }, - "duration": { - "description": "Duration of the time window.", - "format": "google-duration", - "type": "string" - }, "startTime": { "$ref": "TimeOfDay", "description": "Start time of the window in UTC." @@ -3186,6 +3175,11 @@ "description": "Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.", "format": "int64", "type": "string" + }, + "shardCount": { + "description": "Optional. Number of shards (if applicable).", + "format": "int32", + "type": "integer" } }, "type": "object" @@ -3674,27 +3668,27 @@ "id": "PscConnection", "properties": { "address": { - "description": "Output only. The IP allocated on the consumer network for the PSC forwarding rule.", - "readOnly": true, + "description": "Required. The IP allocated on the consumer network for the PSC forwarding rule.", "type": "string" }, "forwardingRule": { - "description": "Output only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.", - "readOnly": true, + "description": "Required. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.", "type": "string" }, "network": { - "description": "The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.", + "description": "Required. The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.", "type": "string" }, "projectId": { - "description": "Output only. The consumer project_id where the forwarding rule is created from.", - "readOnly": true, + "description": "Optional. Project ID of the consumer project where the forwarding rule is created in.", "type": "string" }, "pscConnectionId": { - "description": "Output only. The PSC connection id of the forwarding rule connected to the service attachment.", - "readOnly": true, + "description": "Optional. The PSC connection id of the forwarding rule connected to the service attachment.", + "type": "string" + }, + "serviceAttachment": { + "description": "Required. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.", "type": "string" } }, diff --git a/redis/v1/redis-gen.go b/redis/v1/redis-gen.go index 4c1f57a40f..d6b4dd59ab 100644 --- a/redis/v1/redis-gen.go +++ b/redis/v1/redis-gen.go @@ -536,7 +536,7 @@ type Cluster struct { // determines the underlying machine-type of a redis node. // // Possible values: - // "NODE_TYPE_UNSPECIFIED" + // "NODE_TYPE_UNSPECIFIED" - Node type unspecified // "REDIS_SHARED_CORE_NANO" - Redis shared core nano node_type. // "REDIS_HIGHMEM_MEDIUM" - Redis highmem medium node_type. // "REDIS_HIGHMEM_XLARGE" - Redis highmem xlarge node_type. @@ -551,8 +551,8 @@ type Cluster struct { // IPs will be designated to the cluster for client access through Private // Service Connect Automation. Currently, only one PscConfig is supported. PscConfigs []*PscConfig `json:"pscConfigs,omitempty"` - // PscConnections: Output only. PSC connections for discovery of the cluster - // topology and accessing the cluster. + // PscConnections: Output only. The list of PSC connections that are + // auto-created through service connectivity automation. PscConnections []*PscConnection `json:"pscConnections,omitempty"` // RedisConfigs: Optional. Key/Value pairs of customer overrides for mutable // Redis Configs @@ -661,9 +661,6 @@ type ClusterMaintenanceSchedule struct { // EndTime: Output only. The end time of any upcoming scheduled maintenance for // this instance. EndTime string `json:"endTime,omitempty"` - // ScheduleDeadlineTime: Output only. The deadline that the maintenance - // schedule start time can not go beyond, including reschedule. - ScheduleDeadlineTime string `json:"scheduleDeadlineTime,omitempty"` // StartTime: Output only. The start time of any upcoming scheduled maintenance // for this instance. StartTime string `json:"startTime,omitempty"` @@ -733,8 +730,6 @@ type ClusterWeeklyMaintenanceWindow struct { // "SATURDAY" - Saturday // "SUNDAY" - Sunday Day string `json:"day,omitempty"` - // Duration: Duration of the time window. - Duration string `json:"duration,omitempty"` // StartTime: Start time of the window in UTC. StartTime *TimeOfDay `json:"startTime,omitempty"` // ForceSendFields is a list of field names (e.g. "Day") to unconditionally @@ -2516,6 +2511,8 @@ type MachineConfiguration struct { // MemorySizeInBytes: Memory size in bytes. TODO(b/342344482, b/342346271) add // proto validations again after bug fix. MemorySizeInBytes int64 `json:"memorySizeInBytes,omitempty,string"` + // ShardCount: Optional. Number of shards (if applicable). + ShardCount int64 `json:"shardCount,omitempty"` // ForceSendFields is a list of field names (e.g. "CpuCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -3036,22 +3033,27 @@ func (s PscConfig) MarshalJSON() ([]byte, error) { // PscConnection: Details of consumer resources in a PSC connection. type PscConnection struct { - // Address: Output only. The IP allocated on the consumer network for the PSC + // Address: Required. The IP allocated on the consumer network for the PSC // forwarding rule. Address string `json:"address,omitempty"` - // ForwardingRule: Output only. The URI of the consumer side forwarding rule. + // ForwardingRule: Required. The URI of the consumer side forwarding rule. // Example: // projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}. ForwardingRule string `json:"forwardingRule,omitempty"` - // Network: The consumer network where the IP address resides, in the form of - // projects/{project_id}/global/networks/{network_id}. + // Network: Required. The consumer network where the IP address resides, in the + // form of projects/{project_id}/global/networks/{network_id}. Network string `json:"network,omitempty"` - // ProjectId: Output only. The consumer project_id where the forwarding rule is - // created from. + // ProjectId: Optional. Project ID of the consumer project where the forwarding + // rule is created in. ProjectId string `json:"projectId,omitempty"` - // PscConnectionId: Output only. The PSC connection id of the forwarding rule + // PscConnectionId: Optional. The PSC connection id of the forwarding rule // connected to the service attachment. PscConnectionId string `json:"pscConnectionId,omitempty"` + // ServiceAttachment: Required. The service attachment which is the target of + // the PSC connection, in the form of + // projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment + // -id}. + ServiceAttachment string `json:"serviceAttachment,omitempty"` // ForceSendFields is a list of field names (e.g. "Address") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See