From e635a5e61572ec4a7dbad19a9e32ab7918cde9f0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sat, 24 Feb 2024 00:24:45 -0800 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2431) --- alloydb/v1beta/alloydb-api.json | 423 ++++++++++++++++- alloydb/v1beta/alloydb-gen.go | 434 +++++++++++++++++- analyticshub/v1/analyticshub-api.json | 15 +- analyticshub/v1/analyticshub-gen.go | 40 ++ chat/v1/chat-api.json | 18 +- chat/v1/chat-gen.go | 47 +- .../v1/paymentsresellersubscription-api.json | 22 +- .../v1/paymentsresellersubscription-gen.go | 18 +- redis/v1beta1/redis-api.json | 4 +- redis/v1beta1/redis-gen.go | 3 +- 10 files changed, 962 insertions(+), 62 deletions(-) diff --git a/alloydb/v1beta/alloydb-api.json b/alloydb/v1beta/alloydb-api.json index 005ef67e4d6..2bd1c69e077 100644 --- a/alloydb/v1beta/alloydb-api.json +++ b/alloydb/v1beta/alloydb-api.json @@ -1486,7 +1486,7 @@ } } }, - "revision": "20240103", + "revision": "20240216", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -1987,6 +1987,11 @@ "readOnly": true, "type": "array" }, + "pscDnsName": { + "description": "Output only. The DNS name to use with PSC for the Instance.", + "readOnly": true, + "type": "string" + }, "publicIpAddress": { "description": "Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.", "readOnly": true, @@ -2414,6 +2419,10 @@ "readOnly": true, "type": "array" }, + "pscInstanceConfig": { + "$ref": "PscInstanceConfig", + "description": "Optional. The configuration for Private Service Connect (PSC) for the instance." + }, "publicIpAddress": { "description": "Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application.", "readOnly": true, @@ -2851,6 +2860,68 @@ }, "type": "object" }, + "PscInstanceConfig": { + "description": "PscInstanceConfig contains PSC related configuration at an instance level.", + "id": "PscInstanceConfig", + "properties": { + "allowedConsumerNetworks": { + "description": "Optional. List of consumer networks that are allowed to create PSC endpoints to service-attachments to this instance.", + "items": { + "type": "string" + }, + "type": "array" + }, + "allowedConsumerProjects": { + "description": "Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.", + "items": { + "type": "string" + }, + "type": "array" + }, + "outgoingServiceAttachmentLinks": { + "description": "Optional. List of service attachments that this instance has created endpoints to connect with. Currently, only a single outgoing service attachment is supported per instance.", + "items": { + "type": "string" + }, + "type": "array" + }, + "pscEnabled": { + "description": "Optional. Whether PSC connectivity is enabled for this instance. This is populated by referencing the value from the parent cluster.", + "type": "boolean" + }, + "pscInterfaceConfigs": { + "description": "Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. All the VMs created for the primary instance will share the same configurations. Currently we only support 0 or 1 PSC interface.", + "items": { + "$ref": "PscInterfaceConfig" + }, + "type": "array" + }, + "serviceAttachmentLink": { + "description": "Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of projects//regions//serviceAttachments/", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "PscInterfaceConfig": { + "description": "Configuration for setting up a PSC interface. This information needs to be provided by the customer. PSC interfaces will be created and added to VMs via SLM (adding a network interface will require recreating the VM). For HA instances this will be done via LDTM.", + "id": "PscInterfaceConfig", + "properties": { + "consumerEndpointIps": { + "description": "A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.", + "items": { + "type": "string" + }, + "type": "array" + }, + "networkAttachment": { + "description": "The NetworkAttachment resource created in the consumer VPC to which the PSC interface will be linked, in the form of: \"projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}\". NetworkAttachment has to be provided when the PSC interface is created.", + "type": "string" + } + }, + "type": "object" + }, "QuantityBasedExpiry": { "description": "A backup's position in a quantity-based retention queue, of backups with the same source cluster and type, with length, retention, specified by the backup's retention policy. Once the position is greater than the retention, the backup is eligible to be garbage collected. Example: 5 backups from the same source cluster and type with a quantity-based retention of 3 and denoted by backup_id (position, retention). Safe: backup_5 (1, 3), backup_4, (2, 3), backup_3 (3, 3). Awaiting garbage collection: backup_2 (4, 3), backup_1 (5, 3)", "id": "QuantityBasedExpiry", @@ -3202,20 +3273,25 @@ "FEEDTYPE_UNSPECIFIED", "RESOURCE_METADATA", "OBSERVABILITY_DATA", - "SECURITY_FINDING_DATA" + "SECURITY_FINDING_DATA", + "RECOMMENDATION_SIGNAL_DATA" ], "enumDescriptions": [ "", "Database resource metadata feed from control plane", "Database resource monitoring data", - "Database resource security health signal data" + "Database resource security health signal data", + "Database resource recommendation signal data" ], "type": "string" }, - "resourceHealthSignalData": { - "$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData", + "recommendationSignalData": { + "$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData", "description": "More feed data would be added in subsequent CLs" }, + "resourceHealthSignalData": { + "$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData" + }, "resourceId": { "$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId", "deprecated": true, @@ -3369,7 +3445,18 @@ "SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS", "SIGNAL_TYPE_DATABASE_NAMES_EXPOSED", "SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED", - "SIGNAL_TYPE_PUBLIC_IP_ENABLED" + "SIGNAL_TYPE_PUBLIC_IP_ENABLED", + "SIGNAL_TYPE_IDLE", + "SIGNAL_TYPE_OVERPROVISIONED", + "SIGNAL_TYPE_HIGH_NUMBER_OF_OPEN_TABLES", + "SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES", + "SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION", + "SIGNAL_TYPE_UNDERPROVISIONED", + "SIGNAL_TYPE_OUT_OF_DISK", + "SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY", + "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", + "SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS", + "SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP" ], "enumDeprecated": [ false, @@ -3421,6 +3508,17 @@ false, false, false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -3473,7 +3571,18 @@ "Represents if the remote access database flag for a Cloud SQL for SQL Server instance is not set to off.", "Represents if the skip_show_database database flag for a Cloud SQL for MySQL instance is not set to on.", "Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL Server instance is not set to on.", - "Represents if public IP is enabled." + "Represents if public IP is enabled.", + "Represents Idle instance helps to reduce costs.", + "Represents instances that are unnecessarily large for given workload.", + "Represents high number of concurrently opened tables.", + "Represents high table count close to SLA limit.", + "Represents high number of unvacuumed transactions", + "Represents need for more CPU and/or memory", + "Represents out of disk.", + "Represents server certificate is near expiry.", + "Represents database auditing is disabled.", + "Represents not restricted to authorized networks.", + "Represents violate org policy restrict public ip." ], "type": "string" }, @@ -3526,7 +3635,7 @@ "type": "string" }, "resourceType": { - "description": "Required. The type of resource this ID is identifying. Ex alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance REQUIRED Please refer go/condor-common-datamodel", + "description": "Required. The type of resource this ID is identifying. Ex redis.googleapis.com/Instance, redis.googleapis.com/Cluster, alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance REQUIRED Please refer go/condor-common-datamodel", "type": "string" }, "uniqueId": { @@ -3581,6 +3690,13 @@ "$ref": "StorageDatabasecenterPartnerapiV1mainCustomMetadataData", "description": "Any custom metadata associated with the resource" }, + "entitlements": { + "description": "Entitlements associated with the resource", + "items": { + "$ref": "StorageDatabasecenterPartnerapiV1mainEntitlement" + }, + "type": "array" + }, "expectedState": { "description": "The state that the instance is expected to be in. For example, an instance state can transition to UNHEALTHY due to wrong patch update, while the expected state will remain at the HEALTHY.", "enum": [ @@ -3680,6 +3796,288 @@ }, "type": "object" }, + "StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData": { + "description": "Common model for database resource recommendation signal data.", + "id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData", + "properties": { + "additionalMetadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Required. Any other additional metadata specific to recommendation", + "type": "object" + }, + "lastRefreshTime": { + "description": "Required. last time recommendationw as refreshed", + "format": "google-datetime", + "type": "string" + }, + "recommendationState": { + "description": "Required. Recommendation state", + "enum": [ + "UNSPECIFIED", + "ACTIVE", + "CLAIMED", + "SUCCEEDED", + "FAILED", + "DISMISSED" + ], + "enumDescriptions": [ + "", + "Recommendation is active and can be applied. ACTIVE recommendations can be marked as CLAIMED, SUCCEEDED, or FAILED.", + "Recommendation is in claimed state. Recommendations content is immutable and cannot be updated by Google. CLAIMED recommendations can be marked as CLAIMED, SUCCEEDED, or FAILED.", + "Recommendation is in succeeded state. Recommendations content is immutable and cannot be updated by Google. SUCCEEDED recommendations can be marked as SUCCEEDED, or FAILED.", + "Recommendation is in failed state. Recommendations content is immutable and cannot be updated by Google. FAILED recommendations can be marked as SUCCEEDED, or FAILED.", + "Recommendation is in dismissed state. Recommendation content can be updated by Google. DISMISSED recommendations can be marked as ACTIVE." + ], + "type": "string" + }, + "recommender": { + "description": "Required. Name of recommendation. Examples: organizations/1234/locations/us-central1/recommenders/google.cloudsql.instance.PerformanceRecommender/recommendations/9876", + "type": "string" + }, + "recommenderId": { + "description": "Required. ID of recommender. Examples: \"google.cloudsql.instance.PerformanceRecommender\"", + "type": "string" + }, + "recommenderSubtype": { + "description": "Required. Contains an identifier for a subtype of recommendations produced for the same recommender. Subtype is a function of content and impact, meaning a new subtype might be added when significant changes to `content` or `primary_impact.category` are introduced. See the Recommenders section to see a list of subtypes for a given Recommender. Examples: For recommender = \"google.cloudsql.instance.PerformanceRecommender\", recommender_subtype can be \"MYSQL_HIGH_NUMBER_OF_OPEN_TABLES_BEST_PRACTICE\"/\"POSTGRES_HIGH_TRANSACTION_ID_UTILIZATION_BEST_PRACTICE\"", + "type": "string" + }, + "resourceName": { + "description": "Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel", + "type": "string" + }, + "signalType": { + "description": "Required. Type of signal, for example, `SIGNAL_TYPE_IDLE`, `SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES`, etc.", + "enum": [ + "SIGNAL_TYPE_UNSPECIFIED", + "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER", + "SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS", + "SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_ZONES", + "SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_REGIONS", + "SIGNAL_TYPE_NO_PROMOTABLE_REPLICA", + "SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY", + "SIGNAL_TYPE_SHORT_BACKUP_RETENTION", + "SIGNAL_TYPE_LAST_BACKUP_FAILED", + "SIGNAL_TYPE_LAST_BACKUP_OLD", + "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0", + "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_3", + "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2", + "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1", + "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0", + "SIGNAL_TYPE_VIOLATES_NIST_800_53", + "SIGNAL_TYPE_VIOLATES_ISO_27001", + "SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1", + "SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING", + "SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED", + "SIGNAL_TYPE_VERBOSE_ERROR_LOGGING", + "SIGNAL_TYPE_QUERY_LOCK_WAITS_NOT_LOGGED", + "SIGNAL_TYPE_LOGGING_MOST_ERRORS", + "SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS", + "SIGNAL_TYPE_MINIMAL_ERROR_LOGGING", + "SIGNAL_TYPE_QUERY_STATISTICS_LOGGED", + "SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME", + "SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PARSER_STATISTICS", + "SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PLANNER_STATISTICS", + "SIGNAL_TYPE_NOT_LOGGING_ONLY_DDL_STATEMENTS", + "SIGNAL_TYPE_LOGGING_QUERY_STATISTICS", + "SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES", + "SIGNAL_TYPE_CONNECTION_MAX_NOT_CONFIGURED", + "SIGNAL_TYPE_USER_OPTIONS_CONFIGURED", + "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", + "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", + "SIGNAL_TYPE_NO_ROOT_PASSWORD", + "SIGNAL_TYPE_WEAK_ROOT_PASSWORD", + "SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED", + "SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED", + "SIGNAL_TYPE_EXPOSED_BY_OWNERSHIP_CHAINING", + "SIGNAL_TYPE_EXPOSED_TO_EXTERNAL_SCRIPTS", + "SIGNAL_TYPE_EXPOSED_TO_LOCAL_DATA_LOADS", + "SIGNAL_TYPE_CONNECTION_ATTEMPTS_NOT_LOGGED", + "SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED", + "SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO", + "SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS", + "SIGNAL_TYPE_DATABASE_NAMES_EXPOSED", + "SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED", + "SIGNAL_TYPE_PUBLIC_IP_ENABLED", + "SIGNAL_TYPE_IDLE", + "SIGNAL_TYPE_OVERPROVISIONED", + "SIGNAL_TYPE_HIGH_NUMBER_OF_OPEN_TABLES", + "SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES", + "SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION", + "SIGNAL_TYPE_UNDERPROVISIONED", + "SIGNAL_TYPE_OUT_OF_DISK", + "SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY", + "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", + "SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS", + "SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP" + ], + "enumDeprecated": [ + false, + false, + false, + true, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enumDescriptions": [ + "Unspecified.", + "Represents if a resource is protected by automatic failover. Checks for resources that are configured to have redundancy within a region that enables automatic failover.", + "Represents if a group is replicating across regions. Checks for resources that are configured to have redundancy, and ongoing replication, across regions.", + "Represents if the resource is available in multiple zones or not.", + "Represents if a resource is available in multiple regions.", + "Represents if a resource has a promotable replica.", + "Represents if a resource has an automated backup policy.", + "Represents if a resources has a short backup retention period.", + "Represents if the last backup of a resource failed.", + "Represents if the last backup of a resource is older than some threshold value.", + "Represents if a resource violates CIS GCP Foundation 2.0.", + "Represents if a resource violates CIS GCP Foundation 1.3.", + "Represents if a resource violates CIS GCP Foundation 1.2.", + "Represents if a resource violates CIS GCP Foundation 1.1.", + "Represents if a resource violates CIS GCP Foundation 1.0.", + "Represents if a resource violates NIST 800-53.", + "Represents if a resource violates ISO-27001.", + "Represents if a resource violates PCI-DSS v3.2.1.", + "Represents if log_checkpoints database flag for a Cloud SQL for PostgreSQL instance is not set to on.", + "Represents if the log_duration database flag for a Cloud SQL for PostgreSQL instance is not set to on.", + "Represents if the log_error_verbosity database flag for a Cloud SQL for PostgreSQL instance is not set to default or stricter (default or terse).", + "Represents if the log_lock_waits database flag for a Cloud SQL for PostgreSQL instance is not set to on.", + "Represents if the log_min_error_statement database flag for a Cloud SQL for PostgreSQL instance is not set appropriately.", + "Represents if the log_min_error_statement database flag for a Cloud SQL for PostgreSQL instance does not have an appropriate severity level.", + "Represents if the log_min_messages database flag for a Cloud SQL for PostgreSQL instance is not set to warning or another recommended value.", + "Represents if the databaseFlags property of instance metadata for the log_executor_status field is set to on.", + "Represents if the log_hostname database flag for a Cloud SQL for PostgreSQL instance is not set to off.", + "Represents if the log_parser_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", + "Represents if the log_planner_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", + "Represents if the log_statement database flag for a Cloud SQL for PostgreSQL instance is not set to DDL (all data definition statements).", + "Represents if the log_statement_stats database flag for a Cloud SQL for PostgreSQL instance is not set to off.", + "Represents if the log_temp_files database flag for a Cloud SQL for PostgreSQL instance is not set to \"0\". (NOTE: 0 = ON)", + "Represents if the user connections database flag for a Cloud SQL for SQL Server instance is configured.", + "Represents if the user options database flag for Cloud SQL SQL Server instance is configured or not.", + "Represents if a resource is exposed to public access.", + "Represents if a resources requires all incoming connections to use SSL or not.", + "Represents if a Cloud SQL database has a password configured for the root account or not.", + "Represents if a Cloud SQL database has a weak password configured for the root account.", + "Represents if a SQL database instance is not encrypted with customer-managed encryption keys (CMEK).", + "Represents if The contained database authentication database flag for a Cloud SQL for SQL Server instance is not set to off.", + "Represents if the cross_db_ownership_chaining database flag for a Cloud SQL for SQL Server instance is not set to off.", + "Represents if he external scripts enabled database flag for a Cloud SQL for SQL Server instance is not set to off.", + "Represents if the local_infile database flag for a Cloud SQL for MySQL instance is not set to off.", + "Represents if the log_connections database flag for a Cloud SQL for PostgreSQL instance is not set to on.", + "Represents if the log_disconnections database flag for a Cloud SQL for PostgreSQL instance is not set to on.", + "Represents if the log_min_duration_statement database flag for a Cloud SQL for PostgreSQL instance is not set to -1.", + "Represents if the remote access database flag for a Cloud SQL for SQL Server instance is not set to off.", + "Represents if the skip_show_database database flag for a Cloud SQL for MySQL instance is not set to on.", + "Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL Server instance is not set to on.", + "Represents if public IP is enabled.", + "Represents Idle instance helps to reduce costs.", + "Represents instances that are unnecessarily large for given workload.", + "Represents high number of concurrently opened tables.", + "Represents high table count close to SLA limit.", + "Represents high number of unvacuumed transactions", + "Represents need for more CPU and/or memory", + "Represents out of disk.", + "Represents server certificate is near expiry.", + "Represents database auditing is disabled.", + "Represents not restricted to authorized networks.", + "Represents violate org policy restrict public ip." + ], + "type": "string" + } + }, + "type": "object" + }, + "StorageDatabasecenterPartnerapiV1mainEntitlement": { + "description": "Proto representing the access that a user has to a specific feature/service. NextId: 3.", + "id": "StorageDatabasecenterPartnerapiV1mainEntitlement", + "properties": { + "entitlementState": { + "description": "The current state of user's accessibility to a feature/benefit.", + "enum": [ + "ENTITLEMENT_STATE_UNSPECIFIED", + "ENTITLED", + "REVOKED" + ], + "enumDescriptions": [ + "", + "User is entitled to a feature/benefit, but whether it has been successfully provisioned is decided by provisioning state.", + "User is entitled to a feature/benefit, but it was requested to be revoked. Whether the revoke has been successful is decided by provisioning state." + ], + "type": "string" + }, + "type": { + "description": "An enum that represents the type of this entitlement.", + "enum": [ + "ENTITLEMENT_TYPE_UNSPECIFIED", + "DUET_AI" + ], + "enumDescriptions": [ + "", + "The root entitlement representing Duet AI package ownership." + ], + "type": "string" + } + }, + "type": "object" + }, "StorageDatabasecenterPartnerapiV1mainOperationError": { "description": "An error that occurred during a backup creation operation.", "id": "StorageDatabasecenterPartnerapiV1mainOperationError", @@ -3743,6 +4141,8 @@ "NATIVE", "ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT", "ENGINE_CLOUD_SPANNER_WITH_GOOGLESQL_DIALECT", + "ENGINE_MEMORYSTORE_FOR_REDIS", + "ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER", "ENGINE_OTHER" ], "enumDeprecated": [ @@ -3757,6 +4157,8 @@ true, false, false, + false, + false, false ], "enumDescriptions": [ @@ -3771,6 +4173,8 @@ "Native database binary running as engine in instance.", "Cloud Spanner with PostgreSQL dialect.", "Cloud Spanner with Google SQL dialect.", + "Memorystore with Redis dialect.", + "Memorystore with Redis cluster dialect.", "Other refers to rest of other database engine. This is to be when engine is known, but it is not present in this enum." ], "type": "string" @@ -3786,6 +4190,7 @@ "PRODUCT_TYPE_SPANNER", "PRODUCT_TYPE_ON_PREM", "ON_PREM", + "PRODUCT_TYPE_MEMORYSTORE", "PRODUCT_TYPE_OTHER" ], "enumDeprecated": [ @@ -3797,6 +4202,7 @@ false, false, true, + false, false ], "enumDescriptions": [ @@ -3808,6 +4214,7 @@ "Spanner product area in GCP", "On premises database product.", "On premises database product.", + "Memorystore product area in GCP", "Other refers to rest of other product type. This is to be when product type is known, but it is not present in this enum." ], "type": "string" diff --git a/alloydb/v1beta/alloydb-gen.go b/alloydb/v1beta/alloydb-gen.go index 0010772629e..0faadb03c03 100644 --- a/alloydb/v1beta/alloydb-gen.go +++ b/alloydb/v1beta/alloydb-gen.go @@ -807,6 +807,10 @@ type ConnectionInfo struct { // issuer-to-root order according to RFC 5246. PemCertificateChain []string `json:"pemCertificateChain,omitempty"` + // PscDnsName: Output only. The DNS name to use with PSC for the + // Instance. + PscDnsName string `json:"pscDnsName,omitempty"` + // PublicIpAddress: Output only. The public IP addresses for the // Instance. This is available ONLY when enable_public_ip is set. This // is the connection endpoint for an end-user application. @@ -1490,6 +1494,10 @@ type Instance struct { // including the standby for a PRIMARY instance. Nodes []*Node `json:"nodes,omitempty"` + // PscInstanceConfig: Optional. The configuration for Private Service + // Connect (PSC) for the instance. + PscInstanceConfig *PscInstanceConfig `json:"pscInstanceConfig,omitempty"` + // PublicIpAddress: Output only. The public IP addresses for the // Instance. This is available ONLY when enable_public_ip is set. This // is the connection endpoint for an end-user application. @@ -2227,6 +2235,110 @@ func (s *PromoteClusterRequest) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// PscInstanceConfig: PscInstanceConfig contains PSC related +// configuration at an instance level. +type PscInstanceConfig struct { + // AllowedConsumerNetworks: Optional. List of consumer networks that are + // allowed to create PSC endpoints to service-attachments to this + // instance. + AllowedConsumerNetworks []string `json:"allowedConsumerNetworks,omitempty"` + + // AllowedConsumerProjects: Optional. List of consumer projects that are + // allowed to create PSC endpoints to service-attachments to this + // instance. + AllowedConsumerProjects []string `json:"allowedConsumerProjects,omitempty"` + + // OutgoingServiceAttachmentLinks: Optional. List of service attachments + // that this instance has created endpoints to connect with. Currently, + // only a single outgoing service attachment is supported per instance. + OutgoingServiceAttachmentLinks []string `json:"outgoingServiceAttachmentLinks,omitempty"` + + // PscEnabled: Optional. Whether PSC connectivity is enabled for this + // instance. This is populated by referencing the value from the parent + // cluster. + PscEnabled bool `json:"pscEnabled,omitempty"` + + // PscInterfaceConfigs: Optional. Configurations for setting up PSC + // interfaces attached to the instance which are used for outbound + // connectivity. Only primary instances can have PSC interface attached. + // All the VMs created for the primary instance will share the same + // configurations. Currently we only support 0 or 1 PSC interface. + PscInterfaceConfigs []*PscInterfaceConfig `json:"pscInterfaceConfigs,omitempty"` + + // ServiceAttachmentLink: Output only. The service attachment created + // when Private Service Connect (PSC) is enabled for the instance. The + // name of the resource will be in the format of + // projects//regions//serviceAttachments/ + ServiceAttachmentLink string `json:"serviceAttachmentLink,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowedConsumerNetworks") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "AllowedConsumerNetworks") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *PscInstanceConfig) MarshalJSON() ([]byte, error) { + type NoMethod PscInstanceConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// PscInterfaceConfig: Configuration for setting up a PSC interface. +// This information needs to be provided by the customer. PSC interfaces +// will be created and added to VMs via SLM (adding a network interface +// will require recreating the VM). For HA instances this will be done +// via LDTM. +type PscInterfaceConfig struct { + // ConsumerEndpointIps: A list of endpoints in the consumer VPC the + // interface might initiate outbound connections to. This list has to be + // provided when the PSC interface is created. + ConsumerEndpointIps []string `json:"consumerEndpointIps,omitempty"` + + // NetworkAttachment: The NetworkAttachment resource created in the + // consumer VPC to which the PSC interface will be linked, in the form + // of: + // "projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${N + // ETWORK_ATTACHMENT_NAME}". NetworkAttachment has to be provided when + // the PSC interface is created. + NetworkAttachment string `json:"networkAttachment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConsumerEndpointIps") + // to unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ConsumerEndpointIps") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *PscInterfaceConfig) MarshalJSON() ([]byte, error) { + type NoMethod PscInterfaceConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // QuantityBasedExpiry: A backup's position in a quantity-based // retention queue, of backups with the same source cluster and type, // with length, retention, specified by the backup's retention policy. @@ -2857,10 +2969,14 @@ type StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed struct { // "OBSERVABILITY_DATA" - Database resource monitoring data // "SECURITY_FINDING_DATA" - Database resource security health signal // data + // "RECOMMENDATION_SIGNAL_DATA" - Database resource recommendation + // signal data FeedType string `json:"feedType,omitempty"` - // ResourceHealthSignalData: More feed data would be added in subsequent + // RecommendationSignalData: More feed data would be added in subsequent // CLs + RecommendationSignalData *StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData `json:"recommendationSignalData,omitempty"` + ResourceHealthSignalData *StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData `json:"resourceHealthSignalData,omitempty"` // ResourceId: Primary key associated with the Resource. resource_id is @@ -3106,6 +3222,27 @@ type StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData struc // instance is not set to on. // "SIGNAL_TYPE_PUBLIC_IP_ENABLED" - Represents if public IP is // enabled. + // "SIGNAL_TYPE_IDLE" - Represents Idle instance helps to reduce + // costs. + // "SIGNAL_TYPE_OVERPROVISIONED" - Represents instances that are + // unnecessarily large for given workload. + // "SIGNAL_TYPE_HIGH_NUMBER_OF_OPEN_TABLES" - Represents high number + // of concurrently opened tables. + // "SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES" - Represents high table count + // close to SLA limit. + // "SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION" - Represents high + // number of unvacuumed transactions + // "SIGNAL_TYPE_UNDERPROVISIONED" - Represents need for more CPU + // and/or memory + // "SIGNAL_TYPE_OUT_OF_DISK" - Represents out of disk. + // "SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY" - Represents server + // certificate is near expiry. + // "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED" - Represents database + // auditing is disabled. + // "SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS" - Represents not + // restricted to authorized networks. + // "SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP" - Represents + // violate org policy restrict public ip. SignalType string `json:"signalType,omitempty"` // Possible values: @@ -3168,7 +3305,8 @@ type StorageDatabasecenterPartnerapiV1mainDatabaseResourceId struct { ProviderDescription string `json:"providerDescription,omitempty"` // ResourceType: Required. The type of resource this ID is identifying. - // Ex alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, + // Ex redis.googleapis.com/Instance, redis.googleapis.com/Cluster, + // alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, // spanner.googleapis.com/Instance REQUIRED Please refer // go/condor-common-datamodel ResourceType string `json:"resourceType,omitempty"` @@ -3232,6 +3370,9 @@ type StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata struct { // CustomMetadata: Any custom metadata associated with the resource CustomMetadata *StorageDatabasecenterPartnerapiV1mainCustomMetadataData `json:"customMetadata,omitempty"` + // Entitlements: Entitlements associated with the resource + Entitlements []*StorageDatabasecenterPartnerapiV1mainEntitlement `json:"entitlements,omitempty"` + // ExpectedState: The state that the instance is expected to be in. For // example, an instance state can transition to UNHEALTHY due to wrong // patch update, while the expected state will remain at the HEALTHY. @@ -3325,6 +3466,291 @@ func (s *StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata) MarshalJ return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSig +// nalData: Common model for database resource recommendation signal +// data. +type StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData struct { + // AdditionalMetadata: Required. Any other additional metadata specific + // to recommendation + AdditionalMetadata googleapi.RawMessage `json:"additionalMetadata,omitempty"` + + // LastRefreshTime: Required. last time recommendationw as refreshed + LastRefreshTime string `json:"lastRefreshTime,omitempty"` + + // RecommendationState: Required. Recommendation state + // + // Possible values: + // "UNSPECIFIED" + // "ACTIVE" - Recommendation is active and can be applied. ACTIVE + // recommendations can be marked as CLAIMED, SUCCEEDED, or FAILED. + // "CLAIMED" - Recommendation is in claimed state. Recommendations + // content is immutable and cannot be updated by Google. CLAIMED + // recommendations can be marked as CLAIMED, SUCCEEDED, or FAILED. + // "SUCCEEDED" - Recommendation is in succeeded state. Recommendations + // content is immutable and cannot be updated by Google. SUCCEEDED + // recommendations can be marked as SUCCEEDED, or FAILED. + // "FAILED" - Recommendation is in failed state. Recommendations + // content is immutable and cannot be updated by Google. FAILED + // recommendations can be marked as SUCCEEDED, or FAILED. + // "DISMISSED" - Recommendation is in dismissed state. Recommendation + // content can be updated by Google. DISMISSED recommendations can be + // marked as ACTIVE. + RecommendationState string `json:"recommendationState,omitempty"` + + // Recommender: Required. Name of recommendation. Examples: + // organizations/1234/locations/us-central1/recommenders/google.cloudsql. + // instance.PerformanceRecommender/recommendations/9876 + Recommender string `json:"recommender,omitempty"` + + // RecommenderId: Required. ID of recommender. Examples: + // "google.cloudsql.instance.PerformanceRecommender" + RecommenderId string `json:"recommenderId,omitempty"` + + // RecommenderSubtype: Required. Contains an identifier for a subtype of + // recommendations produced for the same recommender. Subtype is a + // function of content and impact, meaning a new subtype might be added + // when significant changes to `content` or `primary_impact.category` + // are introduced. See the Recommenders section to see a list of + // subtypes for a given Recommender. Examples: For recommender = + // "google.cloudsql.instance.PerformanceRecommender", + // recommender_subtype can be + // "MYSQL_HIGH_NUMBER_OF_OPEN_TABLES_BEST_PRACTICE"/"POSTGRES_HIGH_TRANSA + // CTION_ID_UTILIZATION_BEST_PRACTICE" + RecommenderSubtype string `json:"recommenderSubtype,omitempty"` + + // ResourceName: Required. Database resource name associated with the + // signal. Resource name to follow CAIS resource_name format as noted + // here go/condor-common-datamodel + ResourceName string `json:"resourceName,omitempty"` + + // SignalType: Required. Type of signal, for example, + // `SIGNAL_TYPE_IDLE`, `SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES`, etc. + // + // Possible values: + // "SIGNAL_TYPE_UNSPECIFIED" - Unspecified. + // "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER" - Represents if a + // resource is protected by automatic failover. Checks for resources + // that are configured to have redundancy within a region that enables + // automatic failover. + // "SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS" - Represents if + // a group is replicating across regions. Checks for resources that are + // configured to have redundancy, and ongoing replication, across + // regions. + // "SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_ZONES" - Represents if the + // resource is available in multiple zones or not. + // "SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_REGIONS" - Represents if a + // resource is available in multiple regions. + // "SIGNAL_TYPE_NO_PROMOTABLE_REPLICA" - Represents if a resource has + // a promotable replica. + // "SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY" - Represents if a resource + // has an automated backup policy. + // "SIGNAL_TYPE_SHORT_BACKUP_RETENTION" - Represents if a resources + // has a short backup retention period. + // "SIGNAL_TYPE_LAST_BACKUP_FAILED" - Represents if the last backup of + // a resource failed. + // "SIGNAL_TYPE_LAST_BACKUP_OLD" - Represents if the last backup of a + // resource is older than some threshold value. + // "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0" - Represents if a + // resource violates CIS GCP Foundation 2.0. + // "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_3" - Represents if a + // resource violates CIS GCP Foundation 1.3. + // "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2" - Represents if a + // resource violates CIS GCP Foundation 1.2. + // "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1" - Represents if a + // resource violates CIS GCP Foundation 1.1. + // "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0" - Represents if a + // resource violates CIS GCP Foundation 1.0. + // "SIGNAL_TYPE_VIOLATES_NIST_800_53" - Represents if a resource + // violates NIST 800-53. + // "SIGNAL_TYPE_VIOLATES_ISO_27001" - Represents if a resource + // violates ISO-27001. + // "SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1" - Represents if a resource + // violates PCI-DSS v3.2.1. + // "SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING" - Represents + // if log_checkpoints database flag for a Cloud SQL for PostgreSQL + // instance is not set to on. + // "SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED" - Represents if the + // log_duration database flag for a Cloud SQL for PostgreSQL instance is + // not set to on. + // "SIGNAL_TYPE_VERBOSE_ERROR_LOGGING" - Represents if the + // log_error_verbosity database flag for a Cloud SQL for PostgreSQL + // instance is not set to default or stricter (default or terse). + // "SIGNAL_TYPE_QUERY_LOCK_WAITS_NOT_LOGGED" - Represents if the + // log_lock_waits database flag for a Cloud SQL for PostgreSQL instance + // is not set to on. + // "SIGNAL_TYPE_LOGGING_MOST_ERRORS" - Represents if the + // log_min_error_statement database flag for a Cloud SQL for PostgreSQL + // instance is not set appropriately. + // "SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS" - Represents if the + // log_min_error_statement database flag for a Cloud SQL for PostgreSQL + // instance does not have an appropriate severity level. + // "SIGNAL_TYPE_MINIMAL_ERROR_LOGGING" - Represents if the + // log_min_messages database flag for a Cloud SQL for PostgreSQL + // instance is not set to warning or another recommended value. + // "SIGNAL_TYPE_QUERY_STATISTICS_LOGGED" - Represents if the + // databaseFlags property of instance metadata for the + // log_executor_status field is set to on. + // "SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME" - Represents if + // the log_hostname database flag for a Cloud SQL for PostgreSQL + // instance is not set to off. + // "SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PARSER_STATISTICS" - Represents + // if the log_parser_stats database flag for a Cloud SQL for PostgreSQL + // instance is not set to off. + // "SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PLANNER_STATISTICS" - Represents + // if the log_planner_stats database flag for a Cloud SQL for PostgreSQL + // instance is not set to off. + // "SIGNAL_TYPE_NOT_LOGGING_ONLY_DDL_STATEMENTS" - Represents if the + // log_statement database flag for a Cloud SQL for PostgreSQL instance + // is not set to DDL (all data definition statements). + // "SIGNAL_TYPE_LOGGING_QUERY_STATISTICS" - Represents if the + // log_statement_stats database flag for a Cloud SQL for PostgreSQL + // instance is not set to off. + // "SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES" - Represents if the + // log_temp_files database flag for a Cloud SQL for PostgreSQL instance + // is not set to "0". (NOTE: 0 = ON) + // "SIGNAL_TYPE_CONNECTION_MAX_NOT_CONFIGURED" - Represents if the + // user connections database flag for a Cloud SQL for SQL Server + // instance is configured. + // "SIGNAL_TYPE_USER_OPTIONS_CONFIGURED" - Represents if the user + // options database flag for Cloud SQL SQL Server instance is configured + // or not. + // "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS" - Represents if a resource + // is exposed to public access. + // "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS" - Represents if a resources + // requires all incoming connections to use SSL or not. + // "SIGNAL_TYPE_NO_ROOT_PASSWORD" - Represents if a Cloud SQL database + // has a password configured for the root account or not. + // "SIGNAL_TYPE_WEAK_ROOT_PASSWORD" - Represents if a Cloud SQL + // database has a weak password configured for the root account. + // "SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED" - Represents if a + // SQL database instance is not encrypted with customer-managed + // encryption keys (CMEK). + // "SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED" - Represents if + // The contained database authentication database flag for a Cloud SQL + // for SQL Server instance is not set to off. + // "SIGNAL_TYPE_EXPOSED_BY_OWNERSHIP_CHAINING" - Represents if the + // cross_db_ownership_chaining database flag for a Cloud SQL for SQL + // Server instance is not set to off. + // "SIGNAL_TYPE_EXPOSED_TO_EXTERNAL_SCRIPTS" - Represents if he + // external scripts enabled database flag for a Cloud SQL for SQL Server + // instance is not set to off. + // "SIGNAL_TYPE_EXPOSED_TO_LOCAL_DATA_LOADS" - Represents if the + // local_infile database flag for a Cloud SQL for MySQL instance is not + // set to off. + // "SIGNAL_TYPE_CONNECTION_ATTEMPTS_NOT_LOGGED" - Represents if the + // log_connections database flag for a Cloud SQL for PostgreSQL instance + // is not set to on. + // "SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED" - Represents if the + // log_disconnections database flag for a Cloud SQL for PostgreSQL + // instance is not set to on. + // "SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO" - Represents if the + // log_min_duration_statement database flag for a Cloud SQL for + // PostgreSQL instance is not set to -1. + // "SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS" - Represents if the remote + // access database flag for a Cloud SQL for SQL Server instance is not + // set to off. + // "SIGNAL_TYPE_DATABASE_NAMES_EXPOSED" - Represents if the + // skip_show_database database flag for a Cloud SQL for MySQL instance + // is not set to on. + // "SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED" - Represents if the + // 3625 (trace flag) database flag for a Cloud SQL for SQL Server + // instance is not set to on. + // "SIGNAL_TYPE_PUBLIC_IP_ENABLED" - Represents if public IP is + // enabled. + // "SIGNAL_TYPE_IDLE" - Represents Idle instance helps to reduce + // costs. + // "SIGNAL_TYPE_OVERPROVISIONED" - Represents instances that are + // unnecessarily large for given workload. + // "SIGNAL_TYPE_HIGH_NUMBER_OF_OPEN_TABLES" - Represents high number + // of concurrently opened tables. + // "SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES" - Represents high table count + // close to SLA limit. + // "SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION" - Represents high + // number of unvacuumed transactions + // "SIGNAL_TYPE_UNDERPROVISIONED" - Represents need for more CPU + // and/or memory + // "SIGNAL_TYPE_OUT_OF_DISK" - Represents out of disk. + // "SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY" - Represents server + // certificate is near expiry. + // "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED" - Represents database + // auditing is disabled. + // "SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS" - Represents not + // restricted to authorized networks. + // "SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP" - Represents + // violate org policy restrict public ip. + 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 default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "AdditionalMetadata") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData) MarshalJSON() ([]byte, error) { + type NoMethod StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// StorageDatabasecenterPartnerapiV1mainEntitlement: Proto representing +// the access that a user has to a specific feature/service. NextId: 3. +type StorageDatabasecenterPartnerapiV1mainEntitlement struct { + // EntitlementState: The current state of user's accessibility to a + // feature/benefit. + // + // Possible values: + // "ENTITLEMENT_STATE_UNSPECIFIED" + // "ENTITLED" - User is entitled to a feature/benefit, but whether it + // has been successfully provisioned is decided by provisioning state. + // "REVOKED" - User is entitled to a feature/benefit, but it was + // requested to be revoked. Whether the revoke has been successful is + // decided by provisioning state. + EntitlementState string `json:"entitlementState,omitempty"` + + // Type: An enum that represents the type of this entitlement. + // + // Possible values: + // "ENTITLEMENT_TYPE_UNSPECIFIED" + // "DUET_AI" - The root entitlement representing Duet AI package + // ownership. + Type string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EntitlementState") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "EntitlementState") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *StorageDatabasecenterPartnerapiV1mainEntitlement) MarshalJSON() ([]byte, error) { + type NoMethod StorageDatabasecenterPartnerapiV1mainEntitlement + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // StorageDatabasecenterPartnerapiV1mainOperationError: An error that // occurred during a backup creation operation. type StorageDatabasecenterPartnerapiV1mainOperationError struct { @@ -3425,6 +3851,9 @@ type StorageDatabasecenterProtoCommonProduct struct { // PostgreSQL dialect. // "ENGINE_CLOUD_SPANNER_WITH_GOOGLESQL_DIALECT" - Cloud Spanner with // Google SQL dialect. + // "ENGINE_MEMORYSTORE_FOR_REDIS" - Memorystore with Redis dialect. + // "ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER" - Memorystore with Redis + // cluster dialect. // "ENGINE_OTHER" - Other refers to rest of other database engine. // This is to be when engine is known, but it is not present in this // enum. @@ -3443,6 +3872,7 @@ type StorageDatabasecenterProtoCommonProduct struct { // "PRODUCT_TYPE_SPANNER" - Spanner product area in GCP // "PRODUCT_TYPE_ON_PREM" - On premises database product. // "ON_PREM" - On premises database product. + // "PRODUCT_TYPE_MEMORYSTORE" - Memorystore product area in GCP // "PRODUCT_TYPE_OTHER" - Other refers to rest of other product type. // This is to be when product type is known, but it is not present in // this enum. diff --git a/analyticshub/v1/analyticshub-api.json b/analyticshub/v1/analyticshub-api.json index 24c162d56c0..87f84d59fba 100644 --- a/analyticshub/v1/analyticshub-api.json +++ b/analyticshub/v1/analyticshub-api.json @@ -1022,7 +1022,7 @@ } } }, - "revision": "20240122", + "revision": "20240219", "rootUrl": "https://analyticshub.googleapis.com/", "schemas": { "AuditConfig": { @@ -1167,7 +1167,18 @@ "DcrExchangeConfig": { "description": "Data Clean Room (DCR), used for privacy-safe and secured data sharing.", "id": "DcrExchangeConfig", - "properties": {}, + "properties": { + "singleLinkedDatasetPerCleanroom": { + "description": "Output only. If True, when subscribing to this DCR, it will create only one linked dataset containing all resources shared within the cleanroom. If False, when subscribing to this DCR, it will create 1 linked dataset per listing. This is not configurable, and by default, all new DCRs will have the restriction set to True.", + "readOnly": true, + "type": "boolean" + }, + "singleSelectedResourceSharingRestriction": { + "description": "Output only. If True, this DCR restricts the contributors to sharing only a single resource in a Listing. And no two resources should have the same IDs. So if a contributor adds a view with a conflicting name, the CreateListing API will reject the request. if False, the data contributor can publish an entire dataset (as before). This is not configurable, and by default, all new DCRs will have the restriction set to True.", + "readOnly": true, + "type": "boolean" + } + }, "type": "object" }, "DefaultExchangeConfig": { diff --git a/analyticshub/v1/analyticshub-gen.go b/analyticshub/v1/analyticshub-gen.go index 74f860794ad..22462162a83 100644 --- a/analyticshub/v1/analyticshub-gen.go +++ b/analyticshub/v1/analyticshub-gen.go @@ -607,6 +607,46 @@ func (s *DataProvider) MarshalJSON() ([]byte, error) { // DcrExchangeConfig: Data Clean Room (DCR), used for privacy-safe and // secured data sharing. type DcrExchangeConfig struct { + // SingleLinkedDatasetPerCleanroom: Output only. If True, when + // subscribing to this DCR, it will create only one linked dataset + // containing all resources shared within the cleanroom. If False, when + // subscribing to this DCR, it will create 1 linked dataset per listing. + // This is not configurable, and by default, all new DCRs will have the + // restriction set to True. + SingleLinkedDatasetPerCleanroom bool `json:"singleLinkedDatasetPerCleanroom,omitempty"` + + // SingleSelectedResourceSharingRestriction: Output only. If True, this + // DCR restricts the contributors to sharing only a single resource in a + // Listing. And no two resources should have the same IDs. So if a + // contributor adds a view with a conflicting name, the CreateListing + // API will reject the request. if False, the data contributor can + // publish an entire dataset (as before). This is not configurable, and + // by default, all new DCRs will have the restriction set to True. + SingleSelectedResourceSharingRestriction bool `json:"singleSelectedResourceSharingRestriction,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "SingleLinkedDatasetPerCleanroom") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. + // "SingleLinkedDatasetPerCleanroom") to include in API requests with + // the JSON null value. By default, fields with empty values are omitted + // from API requests. However, any field with an empty value appearing + // in NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *DcrExchangeConfig) MarshalJSON() ([]byte, error) { + type NoMethod DcrExchangeConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } // DefaultExchangeConfig: Default Analytics Hub data exchange, used for diff --git a/chat/v1/chat-api.json b/chat/v1/chat-api.json index 328646be747..729623c74e7 100644 --- a/chat/v1/chat-api.json +++ b/chat/v1/chat-api.json @@ -54,7 +54,7 @@ "baseUrl": "https://chat.googleapis.com/", "batchPath": "batch", "canonicalName": "Hangouts Chat", - "description": "Enables apps to fetch information and perform actions in Google Chat. Authentication is a prerequisite for using the Google Chat REST API.", + "description": "The Google Chat API lets you build Chat apps to integrate your services with Google Chat and manage Chat resources such as spaces, members, and messages.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/hangouts/chat", "fullyEncodeReservedExpansion": true, @@ -990,7 +990,7 @@ } } }, - "revision": "20240130", + "revision": "20240220", "rootUrl": "https://chat.googleapis.com/", "schemas": { "ActionParameter": { @@ -1393,7 +1393,7 @@ "additionalProperties": { "$ref": "Inputs" }, - "description": "A map containing the current values of the widgets in a card. The map keys are the string IDs assigned to each widget, and the values represent inputs to the widget. Depending on the input data type, a different object represents each input: For single-value widgets, `StringInput`. For multi-value widgets, an array of `StringInput` objects. For a date-time picker, a `DateTimeInput`. For a date-only picker, a `DateInput`. For a time-only picker, a `TimeInput`. Corresponds with the data entered by a user on a card in a [dialog](https://developers.google.com/chat/how-tos/dialogs).", + "description": "A map containing the values that a user inputs in a widget from a card or dialog. The map keys are the string IDs assigned to each widget, and the values represent inputs to the widget. For details, see [Process information inputted by users](https://developers.google.com/chat/ui/read-form-data).", "type": "object" }, "hostApp": { @@ -2890,24 +2890,24 @@ "type": "object" }, "Inputs": { - "description": "Types of data that users can enter on cards or dialogs. To learn how to process information from users, see [Read form data input by users on cards](https://developers.google.com/chat/ui/read-form-data).", + "description": "Types of data that users can [input on cards or dialogs](https://developers.google.com/chat/ui/read-form-data). The input type depends on the type of values that the widget accepts.", "id": "Inputs", "properties": { "dateInput": { "$ref": "DateInput", - "description": "Date input values." + "description": "Date input values from a [`DateTimePicker`](https://developers.google.com/chat/api/reference/rest/v1/cards#DateTimePicker) widget that only accepts date values." }, "dateTimeInput": { "$ref": "DateTimeInput", - "description": "Date and time input values." + "description": "Date and time input values from a [`DateTimePicker`](https://developers.google.com/chat/api/reference/rest/v1/cards#DateTimePicker) widget that accepts both a date and time." }, "stringInputs": { "$ref": "StringInputs", - "description": "Input parameter for regular widgets. For single-valued widgets, it is a single value list. For multi-valued widgets, such as checkbox, all the values are presented." + "description": "A list of strings that represent the values that the user inputs in a widget. If the widget only accepts one value, such as a [`TextInput`](https://developers.google.com/chat/api/reference/rest/v1/cards#TextInput) widget, the list contains one string object. If the widget accepts multiple values, such as a [`SelectionInput`](https://developers.google.com/chat/api/reference/rest/v1/cards#selectioninput) widget of checkboxes, the list contains a string object for each value that the user inputs or selects." }, "timeInput": { "$ref": "TimeInput", - "description": "Time input values." + "description": "Time input values from a [`DateTimePicker`](https://developers.google.com/chat/api/reference/rest/v1/cards#DateTimePicker) widget that only accepts time values." } }, "type": "object" @@ -3645,7 +3645,7 @@ "id": "StringInputs", "properties": { "value": { - "description": "An array of strings entered by the user.", + "description": "An list of strings entered by the user.", "items": { "type": "string" }, diff --git a/chat/v1/chat-gen.go b/chat/v1/chat-gen.go index 0bb032b5043..5d08554d1ec 100644 --- a/chat/v1/chat-gen.go +++ b/chat/v1/chat-gen.go @@ -1073,15 +1073,11 @@ func (s *Color) UnmarshalJSON(data []byte) error { // cards, like data entered in dialogs // (https://developers.google.com/chat/how-tos/dialogs). type CommonEventObject struct { - // FormInputs: A map containing the current values of the widgets in a - // card. The map keys are the string IDs assigned to each widget, and - // the values represent inputs to the widget. Depending on the input - // data type, a different object represents each input: For single-value - // widgets, `StringInput`. For multi-value widgets, an array of - // `StringInput` objects. For a date-time picker, a `DateTimeInput`. For - // a date-only picker, a `DateInput`. For a time-only picker, a - // `TimeInput`. Corresponds with the data entered by a user on a card in - // a dialog (https://developers.google.com/chat/how-tos/dialogs). + // FormInputs: A map containing the values that a user inputs in a + // widget from a card or dialog. The map keys are the string IDs + // assigned to each widget, and the values represent inputs to the + // widget. For details, see Process information inputted by users + // (https://developers.google.com/chat/ui/read-form-data). FormInputs map[string]Inputs `json:"formInputs,omitempty"` // HostApp: The hostApp enum which indicates the app the add-on is @@ -3776,23 +3772,34 @@ func (s *ImageButton) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Inputs: Types of data that users can enter on cards or dialogs. To -// learn how to process information from users, see Read form data input -// by users on cards -// (https://developers.google.com/chat/ui/read-form-data). +// Inputs: Types of data that users can input on cards or dialogs +// (https://developers.google.com/chat/ui/read-form-data). The input +// type depends on the type of values that the widget accepts. type Inputs struct { - // DateInput: Date input values. + // DateInput: Date input values from a `DateTimePicker` + // (https://developers.google.com/chat/api/reference/rest/v1/cards#DateTimePicker) + // widget that only accepts date values. DateInput *DateInput `json:"dateInput,omitempty"` - // DateTimeInput: Date and time input values. + // DateTimeInput: Date and time input values from a `DateTimePicker` + // (https://developers.google.com/chat/api/reference/rest/v1/cards#DateTimePicker) + // widget that accepts both a date and time. DateTimeInput *DateTimeInput `json:"dateTimeInput,omitempty"` - // StringInputs: Input parameter for regular widgets. For single-valued - // widgets, it is a single value list. For multi-valued widgets, such as - // checkbox, all the values are presented. + // StringInputs: A list of strings that represent the values that the + // user inputs in a widget. If the widget only accepts one value, such + // as a `TextInput` + // (https://developers.google.com/chat/api/reference/rest/v1/cards#TextInput) + // widget, the list contains one string object. If the widget accepts + // multiple values, such as a `SelectionInput` + // (https://developers.google.com/chat/api/reference/rest/v1/cards#selectioninput) + // widget of checkboxes, the list contains a string object for each + // value that the user inputs or selects. StringInputs *StringInputs `json:"stringInputs,omitempty"` - // TimeInput: Time input values. + // TimeInput: Time input values from a `DateTimePicker` + // (https://developers.google.com/chat/api/reference/rest/v1/cards#DateTimePicker) + // widget that only accepts time values. TimeInput *TimeInput `json:"timeInput,omitempty"` // ForceSendFields is a list of field names (e.g. "DateInput") to @@ -5005,7 +5012,7 @@ func (s *Status) MarshalJSON() ([]byte, error) { // widgets, it is a single value list. For multi-valued widgets, such as // checkbox, all the values are presented. type StringInputs struct { - // Value: An array of strings entered by the user. + // Value: An list of strings entered by the user. Value []string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Value") to diff --git a/paymentsresellersubscription/v1/paymentsresellersubscription-api.json b/paymentsresellersubscription/v1/paymentsresellersubscription-api.json index abff3ed38e5..60b5b9a485d 100644 --- a/paymentsresellersubscription/v1/paymentsresellersubscription-api.json +++ b/paymentsresellersubscription/v1/paymentsresellersubscription-api.json @@ -435,7 +435,7 @@ } } }, - "revision": "20240201", + "revision": "20240222", "rootUrl": "https://paymentsresellersubscription.googleapis.com/", "schemas": { "GoogleCloudPaymentsResellerSubscriptionV1Amount": { @@ -793,8 +793,7 @@ "description": "Optional. Details for a subscription line item with finite billing cycles. If unset, the line item will be charged indefinitely." }, "name": { - "description": "Output only. Response only. Resource name of the product. It will have the format of \"partners/{partner_id}/products/{product_id}\"", - "readOnly": true, + "description": "Identifier. Response only. Resource name of the product. It will have the format of \"partners/{partner_id}/products/{product_id}\"", "type": "string" }, "priceConfigs": { @@ -914,8 +913,7 @@ "description": "Optional. Specifies the introductory pricing details when the promotion_type is PROMOTION_TYPE_INTRODUCTORY_PRICING." }, "name": { - "description": "Output only. Response only. Resource name of the subscription promotion. It will have the format of \"partners/{partner_id}/promotion/{promotion_id}\"", - "readOnly": true, + "description": "Identifier. Response only. Resource name of the subscription promotion. It will have the format of \"partners/{partner_id}/promotion/{promotion_id}\"", "type": "string" }, "promotionType": { @@ -962,10 +960,11 @@ "id": "GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails", "properties": { "introductoryPricingSpecs": { - "description": "Specifies the introductory pricing periods.", + "description": "Output only. Specifies the introductory pricing periods.", "items": { "$ref": "GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec" }, + "readOnly": true, "type": "array" } }, @@ -1057,7 +1056,7 @@ "type": "array" }, "name": { - "description": "Optional. Resource name of the subscription. It will have the format of \"partners/{partner_id}/subscriptions/{subscription_id}\". This is available for authorizeAddon, but otherwise is response only.", + "description": "Identifier. Resource name of the subscription. It will have the format of \"partners/{partner_id}/subscriptions/{subscription_id}\". This is available for authorizeAddon, but otherwise is response only.", "type": "string" }, "partnerUserToken": { @@ -1156,7 +1155,7 @@ "id": "GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails", "properties": { "reason": { - "description": "The reason of the cancellation.", + "description": "Output only. The reason of the cancellation.", "enum": [ "CANCELLATION_REASON_UNSPECIFIED", "CANCELLATION_REASON_FRAUD", @@ -1183,6 +1182,7 @@ "Used for notification only, do not use in Cancel API. The subscription is cancelled by Google automatically since it is no longer valid.", "Other reason." ], + "readOnly": true, "type": "string" } }, @@ -1310,7 +1310,8 @@ "properties": { "servicePeriod": { "$ref": "GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod", - "description": "The service period of the ONE_TIME line item." + "description": "Output only. The service period of the ONE_TIME line item.", + "readOnly": true } }, "type": "object" @@ -1477,10 +1478,11 @@ "id": "SubscriptionLineItemBundleDetails", "properties": { "bundleElementDetails": { - "description": "The details for each element in the hard bundle.", + "description": "Output only. The details for each element in the hard bundle.", "items": { "$ref": "GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails" }, + "readOnly": true, "type": "array" } }, diff --git a/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go b/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go index 3d4b80913b5..e064655cf5f 100644 --- a/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go +++ b/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go @@ -880,7 +880,7 @@ type GoogleCloudPaymentsResellerSubscriptionV1Product struct { // charged indefinitely. FiniteBillingCycleDetails *GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails `json:"finiteBillingCycleDetails,omitempty"` - // Name: Output only. Response only. Resource name of the product. It + // Name: Identifier. Response only. Resource name of the product. It // will have the format of "partners/{partner_id}/products/{product_id}" Name string `json:"name,omitempty"` @@ -1054,7 +1054,7 @@ type GoogleCloudPaymentsResellerSubscriptionV1Promotion struct { // PROMOTION_TYPE_INTRODUCTORY_PRICING. IntroductoryPricingDetails *GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails `json:"introductoryPricingDetails,omitempty"` - // Name: Output only. Response only. Resource name of the subscription + // Name: Identifier. Response only. Resource name of the subscription // promotion. It will have the format of // "partners/{partner_id}/promotion/{promotion_id}" Name string `json:"name,omitempty"` @@ -1108,7 +1108,8 @@ func (s *GoogleCloudPaymentsResellerSubscriptionV1Promotion) MarshalJSON() ([]by // GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingD // etails: The details of a introductory pricing promotion. type GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails struct { - // IntroductoryPricingSpecs: Specifies the introductory pricing periods. + // IntroductoryPricingSpecs: Output only. Specifies the introductory + // pricing periods. IntroductoryPricingSpecs []*GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec `json:"introductoryPricingSpecs,omitempty"` // ForceSendFields is a list of field names (e.g. @@ -1253,7 +1254,7 @@ type GoogleCloudPaymentsResellerSubscriptionV1Subscription struct { // LineItems: Required. The line items of the subscription. LineItems []*GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem `json:"lineItems,omitempty"` - // Name: Optional. Resource name of the subscription. It will have the + // Name: Identifier. Resource name of the subscription. It will have the // format of "partners/{partner_id}/subscriptions/{subscription_id}". // This is available for authorizeAddon, but otherwise is response only. Name string `json:"name,omitempty"` @@ -1376,7 +1377,7 @@ func (s *GoogleCloudPaymentsResellerSubscriptionV1Subscription) MarshalJSON() ([ // GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetai // ls: Describes the details of a cancelled or cancelling subscription. type GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails struct { - // Reason: The reason of the cancellation. + // Reason: Output only. The reason of the cancellation. // // Possible values: // "CANCELLATION_REASON_UNSPECIFIED" - Reason is unspecified. @@ -1569,7 +1570,8 @@ func (s *GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDeta // GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRe // currenceDetails: Details for a ONE_TIME recurrence line item. type GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails struct { - // ServicePeriod: The service period of the ONE_TIME line item. + // ServicePeriod: Output only. The service period of the ONE_TIME line + // item. ServicePeriod *GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod `json:"servicePeriod,omitempty"` // ForceSendFields is a list of field names (e.g. "ServicePeriod") to @@ -1857,8 +1859,8 @@ func (s *ProductBundleDetails) MarshalJSON() ([]byte, error) { // SubscriptionLineItemBundleDetails: The bundle details for a line item // corresponding to a hard bundle. type SubscriptionLineItemBundleDetails struct { - // BundleElementDetails: The details for each element in the hard - // bundle. + // BundleElementDetails: Output only. The details for each element in + // the hard bundle. BundleElementDetails []*GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails `json:"bundleElementDetails,omitempty"` // ForceSendFields is a list of field names (e.g. diff --git a/redis/v1beta1/redis-api.json b/redis/v1beta1/redis-api.json index b0baf782c35..5185e8ee4bd 100644 --- a/redis/v1beta1/redis-api.json +++ b/redis/v1beta1/redis-api.json @@ -821,7 +821,7 @@ } } }, - "revision": "20240118", + "revision": "20240220", "rootUrl": "https://redis.googleapis.com/", "schemas": { "CertChain": { @@ -913,7 +913,7 @@ "type": "integer" }, "sizeGb": { - "description": "Output only. Redis memory size in GB for the entire cluster.", + "description": "Output only. Redis memory size in GB for the entire cluster rounded up to the next integer.", "format": "int32", "readOnly": true, "type": "integer" diff --git a/redis/v1beta1/redis-gen.go b/redis/v1beta1/redis-gen.go index 5f254d97065..797c96a3a71 100644 --- a/redis/v1beta1/redis-gen.go +++ b/redis/v1beta1/redis-gen.go @@ -321,7 +321,8 @@ type Cluster struct { // ShardCount: Required. Number of shards for the Redis cluster. ShardCount int64 `json:"shardCount,omitempty"` - // SizeGb: Output only. Redis memory size in GB for the entire cluster. + // SizeGb: Output only. Redis memory size in GB for the entire cluster + // rounded up to the next integer. SizeGb int64 `json:"sizeGb,omitempty"` // State: Output only. The current state of this cluster. Can be