diff --git a/api_names_out.yaml b/api_names_out.yaml index 9e5324d3d29..13bdc63e81f 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -277895,6 +277895,7 @@ "/redis:v1/DatabaseResourceMetadata/creationTime": creation_time "/redis:v1/DatabaseResourceMetadata/currentState": current_state "/redis:v1/DatabaseResourceMetadata/customMetadata": custom_metadata +"/redis:v1/DatabaseResourceMetadata/edition": edition "/redis:v1/DatabaseResourceMetadata/entitlements": entitlements "/redis:v1/DatabaseResourceMetadata/entitlements/entitlement": entitlement "/redis:v1/DatabaseResourceMetadata/expectedState": expected_state @@ -277903,6 +277904,7 @@ "/redis:v1/DatabaseResourceMetadata/location": location "/redis:v1/DatabaseResourceMetadata/machineConfiguration": machine_configuration "/redis:v1/DatabaseResourceMetadata/primaryResourceId": primary_resource_id +"/redis:v1/DatabaseResourceMetadata/primaryResourceLocation": primary_resource_location "/redis:v1/DatabaseResourceMetadata/product": product "/redis:v1/DatabaseResourceMetadata/resourceContainer": resource_container "/redis:v1/DatabaseResourceMetadata/resourceName": resource_name @@ -278115,6 +278117,7 @@ "/redis:v1/MachineConfiguration": machine_configuration "/redis:v1/MachineConfiguration/cpuCount": cpu_count "/redis:v1/MachineConfiguration/memorySizeInBytes": memory_size_in_bytes +"/redis:v1/MachineConfiguration/shardCount": shard_count "/redis:v1/MaintenancePolicy": maintenance_policy "/redis:v1/MaintenancePolicy/createTime": create_time "/redis:v1/MaintenancePolicy/description": description @@ -278186,6 +278189,7 @@ "/redis:v1/PscConnection/network": network "/redis:v1/PscConnection/projectId": project_id "/redis:v1/PscConnection/pscConnectionId": psc_connection_id +"/redis:v1/PscConnection/serviceAttachment": service_attachment "/redis:v1/RDBConfig": rdb_config "/redis:v1/RDBConfig/rdbSnapshotPeriod": rdb_snapshot_period "/redis:v1/RDBConfig/rdbSnapshotStartTime": rdb_snapshot_start_time @@ -278209,6 +278213,7 @@ "/redis:v1/RescheduleMaintenanceRequest/rescheduleType": reschedule_type "/redis:v1/RescheduleMaintenanceRequest/scheduleTime": schedule_time "/redis:v1/RetentionSettings": retention_settings +"/redis:v1/RetentionSettings/durationBasedRetention": duration_based_retention "/redis:v1/RetentionSettings/quantityBasedRetention": quantity_based_retention "/redis:v1/RetentionSettings/retentionUnit": retention_unit "/redis:v1/RetentionSettings/timeBasedRetention": time_based_retention diff --git a/generated/google-apis-redis_v1/CHANGELOG.md b/generated/google-apis-redis_v1/CHANGELOG.md index 2d9cebfe022..acc12923893 100644 --- a/generated/google-apis-redis_v1/CHANGELOG.md +++ b/generated/google-apis-redis_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-redis_v1 +### v0.61.0 (2024-09-29) + +* Regenerated from discovery document revision 20240924 + ### v0.60.0 (2024-09-08) * Regenerated from discovery document revision 20240904 diff --git a/generated/google-apis-redis_v1/lib/google/apis/redis_v1/classes.rb b/generated/google-apis-redis_v1/lib/google/apis/redis_v1/classes.rb index 8933dee89b3..b6ddfb8f971 100644 --- a/generated/google-apis-redis_v1/lib/google/apis/redis_v1/classes.rb +++ b/generated/google-apis-redis_v1/lib/google/apis/redis_v1/classes.rb @@ -395,8 +395,8 @@ class Cluster # @return [Array] attr_accessor :psc_configs - # Output only. PSC connections for discovery of the cluster topology and - # accessing the cluster. + # Output only. The list of PSC connections that are auto-created through service + # connectivity automation. # Corresponds to the JSON property `pscConnections` # @return [Array] attr_accessor :psc_connections @@ -525,12 +525,6 @@ class ClusterMaintenanceSchedule # @return [String] attr_accessor :end_time - # Output only. The deadline that the maintenance schedule start time can not go - # beyond, including reschedule. - # Corresponds to the JSON property `scheduleDeadlineTime` - # @return [String] - attr_accessor :schedule_deadline_time - # Output only. The start time of any upcoming scheduled maintenance for this # instance. # Corresponds to the JSON property `startTime` @@ -544,7 +538,6 @@ def initialize(**args) # Update properties of this object def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) - @schedule_deadline_time = args[:schedule_deadline_time] if args.key?(:schedule_deadline_time) @start_time = args[:start_time] if args.key?(:start_time) end end @@ -589,11 +582,6 @@ class ClusterWeeklyMaintenanceWindow # @return [String] attr_accessor :day - # Duration of the time window. - # Corresponds to the JSON property `duration` - # @return [String] - attr_accessor :duration - # Represents a time of day. The date and time zone are either not significant or # are specified elsewhere. An API may choose to allow leap seconds. Related # types are google.type.Date and `google.protobuf.Timestamp`. @@ -608,7 +596,6 @@ def initialize(**args) # Update properties of this object def update!(**args) @day = args[:day] if args.key?(:day) - @duration = args[:duration] if args.key?(:duration) @start_time = args[:start_time] if args.key?(:start_time) end end @@ -742,7 +729,7 @@ class DatabaseResourceFeed # @return [Google::Apis::RedisV1::DatabaseResourceId] attr_accessor :resource_id - # Common model for database resource instance metadata. Next ID: 21 + # Common model for database resource instance metadata. Next ID: 23 # Corresponds to the JSON property `resourceMetadata` # @return [Google::Apis::RedisV1::DatabaseResourceMetadata] attr_accessor :resource_metadata @@ -917,7 +904,7 @@ def update!(**args) end end - # Common model for database resource instance metadata. Next ID: 21 + # Common model for database resource instance metadata. Next ID: 23 class DatabaseResourceMetadata include Google::Apis::Core::Hashable @@ -954,6 +941,13 @@ class DatabaseResourceMetadata # @return [Google::Apis::RedisV1::CustomMetadataData] attr_accessor :custom_metadata + # Optional. Edition represents whether the instance is ENTERPRISE or + # ENTERPRISE_PLUS. This information is core to Cloud SQL only and is used to + # identify the edition of the instance. + # Corresponds to the JSON property `edition` + # @return [String] + attr_accessor :edition + # Entitlements associated with the resource # Corresponds to the JSON property `entitlements` # @return [Array] @@ -992,6 +986,12 @@ class DatabaseResourceMetadata # @return [Google::Apis::RedisV1::DatabaseResourceId] attr_accessor :primary_resource_id + # Primary resource location. REQUIRED if the immediate parent exists when first + # time resource is getting ingested, otherwise optional. + # Corresponds to the JSON property `primaryResourceLocation` + # @return [String] + attr_accessor :primary_resource_location + # Product specification for Condor resources. # Corresponds to the JSON property `product` # @return [Google::Apis::RedisV1::Product] @@ -1044,6 +1044,7 @@ def update!(**args) @creation_time = args[:creation_time] if args.key?(:creation_time) @current_state = args[:current_state] if args.key?(:current_state) @custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata) + @edition = args[:edition] if args.key?(:edition) @entitlements = args[:entitlements] if args.key?(:entitlements) @expected_state = args[:expected_state] if args.key?(:expected_state) @id = args[:id] if args.key?(:id) @@ -1051,6 +1052,7 @@ def update!(**args) @location = args[:location] if args.key?(:location) @machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration) @primary_resource_id = args[:primary_resource_id] if args.key?(:primary_resource_id) + @primary_resource_location = args[:primary_resource_location] if args.key?(:primary_resource_location) @product = args[:product] if args.key?(:product) @resource_container = args[:resource_container] if args.key?(:resource_container) @resource_name = args[:resource_name] if args.key?(:resource_name) @@ -2150,6 +2152,11 @@ class MachineConfiguration # @return [Fixnum] attr_accessor :memory_size_in_bytes + # Optional. Number of shards (if applicable). + # Corresponds to the JSON property `shardCount` + # @return [Fixnum] + attr_accessor :shard_count + def initialize(**args) update!(**args) end @@ -2158,6 +2165,7 @@ def initialize(**args) def update!(**args) @cpu_count = args[:cpu_count] if args.key?(:cpu_count) @memory_size_in_bytes = args[:memory_size_in_bytes] if args.key?(:memory_size_in_bytes) + @shard_count = args[:shard_count] if args.key?(:shard_count) end end @@ -2658,35 +2666,42 @@ def update!(**args) class PscConnection include Google::Apis::Core::Hashable - # Output only. The IP allocated on the consumer network for the PSC forwarding - # rule. + # Required. The IP allocated on the consumer network for the PSC forwarding rule. # Corresponds to the JSON property `address` # @return [String] attr_accessor :address - # Output only. The URI of the consumer side forwarding rule. Example: projects/` + # Required. The URI of the consumer side forwarding rule. Example: projects/` # projectNumOrId`/regions/us-east1/forwardingRules/`resourceId`. # Corresponds to the JSON property `forwardingRule` # @return [String] attr_accessor :forwarding_rule - # The consumer network where the IP address resides, in the form of projects/` - # project_id`/global/networks/`network_id`. + # Required. The consumer network where the IP address resides, in the form of + # projects/`project_id`/global/networks/`network_id`. # Corresponds to the JSON property `network` # @return [String] attr_accessor :network - # Output only. The consumer project_id where the forwarding rule is created from. + # Optional. Project ID of the consumer project where the forwarding rule is + # created in. # Corresponds to the JSON property `projectId` # @return [String] attr_accessor :project_id - # Output only. The PSC connection id of the forwarding rule connected to the + # Required. The PSC connection id of the forwarding rule connected to the # service attachment. # Corresponds to the JSON property `pscConnectionId` # @return [String] attr_accessor :psc_connection_id + # 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`. + # Corresponds to the JSON property `serviceAttachment` + # @return [String] + attr_accessor :service_attachment + def initialize(**args) update!(**args) end @@ -2698,6 +2713,7 @@ def update!(**args) @network = args[:network] if args.key?(:network) @project_id = args[:project_id] if args.key?(:project_id) @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id) + @service_attachment = args[:service_attachment] if args.key?(:service_attachment) end end @@ -2893,6 +2909,11 @@ def update!(**args) class RetentionSettings include Google::Apis::Core::Hashable + # Duration based retention period i.e. 172800 seconds (2 days) + # Corresponds to the JSON property `durationBasedRetention` + # @return [String] + attr_accessor :duration_based_retention + # # Corresponds to the JSON property `quantityBasedRetention` # @return [Fixnum] @@ -2914,6 +2935,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @duration_based_retention = args[:duration_based_retention] if args.key?(:duration_based_retention) @quantity_based_retention = args[:quantity_based_retention] if args.key?(:quantity_based_retention) @retention_unit = args[:retention_unit] if args.key?(:retention_unit) @time_based_retention = args[:time_based_retention] if args.key?(:time_based_retention) diff --git a/generated/google-apis-redis_v1/lib/google/apis/redis_v1/gem_version.rb b/generated/google-apis-redis_v1/lib/google/apis/redis_v1/gem_version.rb index 38db000f894..7dde578532d 100644 --- a/generated/google-apis-redis_v1/lib/google/apis/redis_v1/gem_version.rb +++ b/generated/google-apis-redis_v1/lib/google/apis/redis_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module RedisV1 # Version of the google-apis-redis_v1 gem - GEM_VERSION = "0.60.0" + GEM_VERSION = "0.61.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.15.1" # Revision of the discovery document this client was generated from - REVISION = "20240904" + REVISION = "20240924" end end end diff --git a/generated/google-apis-redis_v1/lib/google/apis/redis_v1/representations.rb b/generated/google-apis-redis_v1/lib/google/apis/redis_v1/representations.rb index 4189c1c5b6c..90e0bcf7448 100644 --- a/generated/google-apis-redis_v1/lib/google/apis/redis_v1/representations.rb +++ b/generated/google-apis-redis_v1/lib/google/apis/redis_v1/representations.rb @@ -682,7 +682,6 @@ class ClusterMaintenanceSchedule # @private class Representation < Google::Apis::Core::JsonRepresentation property :end_time, as: 'endTime' - property :schedule_deadline_time, as: 'scheduleDeadlineTime' property :start_time, as: 'startTime' end end @@ -702,7 +701,6 @@ class ClusterWeeklyMaintenanceWindow # @private class Representation < Google::Apis::Core::JsonRepresentation property :day, as: 'day' - property :duration, as: 'duration' property :start_time, as: 'startTime', class: Google::Apis::RedisV1::TimeOfDay, decorator: Google::Apis::RedisV1::TimeOfDay::Representation end @@ -800,6 +798,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :current_state, as: 'currentState' property :custom_metadata, as: 'customMetadata', class: Google::Apis::RedisV1::CustomMetadataData, decorator: Google::Apis::RedisV1::CustomMetadataData::Representation + property :edition, as: 'edition' collection :entitlements, as: 'entitlements', class: Google::Apis::RedisV1::Entitlement, decorator: Google::Apis::RedisV1::Entitlement::Representation property :expected_state, as: 'expectedState' @@ -811,6 +810,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :primary_resource_id, as: 'primaryResourceId', class: Google::Apis::RedisV1::DatabaseResourceId, decorator: Google::Apis::RedisV1::DatabaseResourceId::Representation + property :primary_resource_location, as: 'primaryResourceLocation' property :product, as: 'product', class: Google::Apis::RedisV1::Product, decorator: Google::Apis::RedisV1::Product::Representation property :resource_container, as: 'resourceContainer' @@ -1114,6 +1114,7 @@ class MachineConfiguration class Representation < Google::Apis::Core::JsonRepresentation property :cpu_count, as: 'cpuCount' property :memory_size_in_bytes, :numeric_string => true, as: 'memorySizeInBytes' + property :shard_count, as: 'shardCount' end end @@ -1259,6 +1260,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :network, as: 'network' property :project_id, as: 'projectId' property :psc_connection_id, as: 'pscConnectionId' + property :service_attachment, as: 'serviceAttachment' end end @@ -1322,6 +1324,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class RetentionSettings # @private class Representation < Google::Apis::Core::JsonRepresentation + property :duration_based_retention, as: 'durationBasedRetention' property :quantity_based_retention, as: 'quantityBasedRetention' property :retention_unit, as: 'retentionUnit' property :time_based_retention, as: 'timeBasedRetention'