google-apis-alloydb_v1 0.48.0 → 0.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c22b5427f7ed888870b1e7b8c8bd2eb2d21e766c3aecf4c301d378c2aa4c0f89
4
- data.tar.gz: 14213029751584a95d7d4784b06f00cf4e6fdde42828438192310666ea18169b
3
+ metadata.gz: 603b69d6ad7c60be23e102602fb6cfc76c6b2cef83d71d9222ac524768175c9f
4
+ data.tar.gz: 8c31870c531234a146ba3220137ee1ddff57cc06dd2a3c6ea26275ebfad3c063
5
5
  SHA512:
6
- metadata.gz: 53b52c677e1e66a7b9ef2dad56474a130bceee7a1e47067ad4ce7ba012b9c31e771f9a880937624992e8a74c2d220b9dd81fab57c30ebc15383461ff96d2bb5d
7
- data.tar.gz: 2c36e8b3bb0a26503d6b976d8e9757ca19221aec3d1bab14aaab98d369379c056ef1c526df982d69d3322d08096299b8101a44026c13422ebfc1213b40584cea
6
+ metadata.gz: 2e238fd18eb26c64dd5a85d29440b3c41d96802eb61b870202189a08675396b6aa78ef07c2d9fc70e548b933f593f999845d02545d107be695668584682cf950
7
+ data.tar.gz: e4558bff0adf4f63fb39a4bc782cccb64f55d779addb31902ebdaefcc052ab1b71a8f436b4dd17c2b5c6e479baef3630b82f2332efc1fa4a606a02773933b836
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-alloydb_v1
2
2
 
3
+ ### v0.50.0 (2025-11-16)
4
+
5
+ * Regenerated from discovery document revision 20251106
6
+
7
+ ### v0.49.0 (2025-11-02)
8
+
9
+ * Regenerated from discovery document revision 20251023
10
+
3
11
  ### v0.48.0 (2025-10-12)
4
12
 
5
13
  * Regenerated from discovery document revision 20251001
@@ -652,6 +652,11 @@ module Google
652
652
  # @return [String]
653
653
  attr_accessor :database_version
654
654
 
655
+ # Configuration for Dataplex integration.
656
+ # Corresponds to the JSON property `dataplexConfig`
657
+ # @return [Google::Apis::AlloydbV1::DataplexConfig]
658
+ attr_accessor :dataplex_config
659
+
655
660
  # Output only. Delete time stamp
656
661
  # Corresponds to the JSON property `deleteTime`
657
662
  # @return [String]
@@ -703,6 +708,12 @@ module Google
703
708
  # @return [Google::Apis::AlloydbV1::MaintenanceUpdatePolicy]
704
709
  attr_accessor :maintenance_update_policy
705
710
 
711
+ # Input only. Policy to use to automatically select the maintenance version to
712
+ # which to update the cluster's instances.
713
+ # Corresponds to the JSON property `maintenanceVersionSelectionPolicy`
714
+ # @return [String]
715
+ attr_accessor :maintenance_version_selection_policy
716
+
706
717
  # Subset of the source instance configuration that is available when reading the
707
718
  # cluster resource.
708
719
  # Corresponds to the JSON property `migrationSource`
@@ -821,6 +832,7 @@ module Google
821
832
  @continuous_backup_info = args[:continuous_backup_info] if args.key?(:continuous_backup_info)
822
833
  @create_time = args[:create_time] if args.key?(:create_time)
823
834
  @database_version = args[:database_version] if args.key?(:database_version)
835
+ @dataplex_config = args[:dataplex_config] if args.key?(:dataplex_config)
824
836
  @delete_time = args[:delete_time] if args.key?(:delete_time)
825
837
  @display_name = args[:display_name] if args.key?(:display_name)
826
838
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
@@ -830,6 +842,7 @@ module Google
830
842
  @labels = args[:labels] if args.key?(:labels)
831
843
  @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
832
844
  @maintenance_update_policy = args[:maintenance_update_policy] if args.key?(:maintenance_update_policy)
845
+ @maintenance_version_selection_policy = args[:maintenance_version_selection_policy] if args.key?(:maintenance_version_selection_policy)
833
846
  @migration_source = args[:migration_source] if args.key?(:migration_source)
834
847
  @name = args[:name] if args.key?(:name)
835
848
  @network = args[:network] if args.key?(:network)
@@ -1178,6 +1191,28 @@ module Google
1178
1191
  end
1179
1192
  end
1180
1193
 
1194
+ # Configuration for Dataplex integration.
1195
+ class DataplexConfig
1196
+ include Google::Apis::Core::Hashable
1197
+
1198
+ # Dataplex is enabled by default for resources such as clusters and instances.
1199
+ # This flag controls the integration of AlloyDB PG resources (like databases,
1200
+ # schemas, and tables) with Dataplex."
1201
+ # Corresponds to the JSON property `enabled`
1202
+ # @return [Boolean]
1203
+ attr_accessor :enabled
1204
+ alias_method :enabled?, :enabled
1205
+
1206
+ def initialize(**args)
1207
+ update!(**args)
1208
+ end
1209
+
1210
+ # Update properties of this object
1211
+ def update!(**args)
1212
+ @enabled = args[:enabled] if args.key?(:enabled)
1213
+ end
1214
+ end
1215
+
1181
1216
  # DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not
1182
1217
  # be scheduled to start within this deny period. The start_date must be less
1183
1218
  # than the end_date.
@@ -1780,6 +1815,13 @@ module Google
1780
1815
  # @return [Google::Apis::AlloydbV1::MachineConfig]
1781
1816
  attr_accessor :machine_config
1782
1817
 
1818
+ # Output only. Maintenance version of the instance, for example: POSTGRES_15.
1819
+ # 2025_07_15.04_00. Output only. Update this field via the parent cluster's
1820
+ # maintenance_version field(s).
1821
+ # Corresponds to the JSON property `maintenanceVersionName`
1822
+ # @return [String]
1823
+ attr_accessor :maintenance_version_name
1824
+
1783
1825
  # Output only. The name of the instance resource with the format: * projects/`
1784
1826
  # project`/locations/`region`/clusters/`cluster_id`/instances/`instance_id`
1785
1827
  # where the cluster and instance ID segments should satisfy the regex expression
@@ -1895,6 +1937,7 @@ module Google
1895
1937
  @ip_address = args[:ip_address] if args.key?(:ip_address)
1896
1938
  @labels = args[:labels] if args.key?(:labels)
1897
1939
  @machine_config = args[:machine_config] if args.key?(:machine_config)
1940
+ @maintenance_version_name = args[:maintenance_version_name] if args.key?(:maintenance_version_name)
1898
1941
  @name = args[:name] if args.key?(:name)
1899
1942
  @network_config = args[:network_config] if args.key?(:network_config)
1900
1943
  @nodes = args[:nodes] if args.key?(:nodes)
@@ -3724,7 +3767,7 @@ module Google
3724
3767
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
3725
3768
  attr_accessor :resource_id
3726
3769
 
3727
- # Common model for database resource instance metadata. Next ID: 29
3770
+ # Common model for database resource instance metadata. Next ID: 30
3728
3771
  # Corresponds to the JSON property `resourceMetadata`
3729
3772
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
3730
3773
  attr_accessor :resource_metadata
@@ -3922,7 +3965,7 @@ module Google
3922
3965
  end
3923
3966
  end
3924
3967
 
3925
- # Common model for database resource instance metadata. Next ID: 29
3968
+ # Common model for database resource instance metadata. Next ID: 30
3926
3969
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
3927
3970
  include Google::Apis::Core::Hashable
3928
3971
 
@@ -3999,6 +4042,12 @@ module Google
3999
4042
  # @return [String]
4000
4043
  attr_accessor :instance_type
4001
4044
 
4045
+ # Optional. Whether deletion protection is enabled for this resource.
4046
+ # Corresponds to the JSON property `isDeletionProtectionEnabled`
4047
+ # @return [Boolean]
4048
+ attr_accessor :is_deletion_protection_enabled
4049
+ alias_method :is_deletion_protection_enabled?, :is_deletion_protection_enabled
4050
+
4002
4051
  # The resource location. REQUIRED
4003
4052
  # Corresponds to the JSON property `location`
4004
4053
  # @return [String]
@@ -4096,6 +4145,7 @@ module Google
4096
4145
  @gcbdr_configuration = args[:gcbdr_configuration] if args.key?(:gcbdr_configuration)
4097
4146
  @id = args[:id] if args.key?(:id)
4098
4147
  @instance_type = args[:instance_type] if args.key?(:instance_type)
4148
+ @is_deletion_protection_enabled = args[:is_deletion_protection_enabled] if args.key?(:is_deletion_protection_enabled)
4099
4149
  @location = args[:location] if args.key?(:location)
4100
4150
  @machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
4101
4151
  @maintenance_info = args[:maintenance_info] if args.key?(:maintenance_info)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlloydbV1
18
18
  # Version of the google-apis-alloydb_v1 gem
19
- GEM_VERSION = "0.48.0"
19
+ GEM_VERSION = "0.50.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251001"
25
+ REVISION = "20251106"
26
26
  end
27
27
  end
28
28
  end
@@ -148,6 +148,12 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class DataplexConfig
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
151
157
  class DenyMaintenancePeriod
152
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
159
 
@@ -883,6 +889,8 @@ module Google
883
889
 
884
890
  property :create_time, as: 'createTime'
885
891
  property :database_version, as: 'databaseVersion'
892
+ property :dataplex_config, as: 'dataplexConfig', class: Google::Apis::AlloydbV1::DataplexConfig, decorator: Google::Apis::AlloydbV1::DataplexConfig::Representation
893
+
886
894
  property :delete_time, as: 'deleteTime'
887
895
  property :display_name, as: 'displayName'
888
896
  property :encryption_config, as: 'encryptionConfig', class: Google::Apis::AlloydbV1::EncryptionConfig, decorator: Google::Apis::AlloydbV1::EncryptionConfig::Representation
@@ -897,6 +905,7 @@ module Google
897
905
 
898
906
  property :maintenance_update_policy, as: 'maintenanceUpdatePolicy', class: Google::Apis::AlloydbV1::MaintenanceUpdatePolicy, decorator: Google::Apis::AlloydbV1::MaintenanceUpdatePolicy::Representation
899
907
 
908
+ property :maintenance_version_selection_policy, as: 'maintenanceVersionSelectionPolicy'
900
909
  property :migration_source, as: 'migrationSource', class: Google::Apis::AlloydbV1::MigrationSource, decorator: Google::Apis::AlloydbV1::MigrationSource::Representation
901
910
 
902
911
  property :name, as: 'name'
@@ -1006,6 +1015,13 @@ module Google
1006
1015
  end
1007
1016
  end
1008
1017
 
1018
+ class DataplexConfig
1019
+ # @private
1020
+ class Representation < Google::Apis::Core::JsonRepresentation
1021
+ property :enabled, as: 'enabled'
1022
+ end
1023
+ end
1024
+
1009
1025
  class DenyMaintenancePeriod
1010
1026
  # @private
1011
1027
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1164,6 +1180,7 @@ module Google
1164
1180
  hash :labels, as: 'labels'
1165
1181
  property :machine_config, as: 'machineConfig', class: Google::Apis::AlloydbV1::MachineConfig, decorator: Google::Apis::AlloydbV1::MachineConfig::Representation
1166
1182
 
1183
+ property :maintenance_version_name, as: 'maintenanceVersionName'
1167
1184
  property :name, as: 'name'
1168
1185
  property :network_config, as: 'networkConfig', class: Google::Apis::AlloydbV1::InstanceNetworkConfig, decorator: Google::Apis::AlloydbV1::InstanceNetworkConfig::Representation
1169
1186
 
@@ -1746,6 +1763,7 @@ module Google
1746
1763
  property :id, as: 'id', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1747
1764
 
1748
1765
  property :instance_type, as: 'instanceType'
1766
+ property :is_deletion_protection_enabled, as: 'isDeletionProtectionEnabled'
1749
1767
  property :location, as: 'location'
1750
1768
  property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration::Representation
1751
1769
 
@@ -95,8 +95,8 @@ module Google
95
95
  # @param [String] name
96
96
  # The resource that owns the locations collection, if applicable.
97
97
  # @param [Array<String>, String] extra_location_types
98
- # Optional. Unless explicitly documented otherwise, don't use this unsupported
99
- # field which is primarily intended for internal usage.
98
+ # Optional. Do not use this field. It is unsupported and is ignored unless
99
+ # explicitly documented otherwise. This is primarily for internal usage.
100
100
  # @param [String] filter
101
101
  # A filter to narrow down results to a preferred subset. The filtering language
102
102
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -245,6 +245,8 @@ module Google
245
245
  # Gets details of a single Backup.
246
246
  # @param [String] name
247
247
  # Required. Name of the resource
248
+ # @param [String] view
249
+ # Optional. The view of the backup to return.
248
250
  # @param [String] fields
249
251
  # Selector specifying which fields to include in a partial response.
250
252
  # @param [String] quota_user
@@ -262,11 +264,12 @@ module Google
262
264
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
263
265
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
264
266
  # @raise [Google::Apis::AuthorizationError] Authorization is required
265
- def get_project_location_backup(name, fields: nil, quota_user: nil, options: nil, &block)
267
+ def get_project_location_backup(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
266
268
  command = make_simple_command(:get, 'v1/{+name}', options)
267
269
  command.response_representation = Google::Apis::AlloydbV1::Backup::Representation
268
270
  command.response_class = Google::Apis::AlloydbV1::Backup
269
271
  command.params['name'] = name unless name.nil?
272
+ command.query['view'] = view unless view.nil?
270
273
  command.query['fields'] = fields unless fields.nil?
271
274
  command.query['quotaUser'] = quota_user unless quota_user.nil?
272
275
  execute_or_queue_command(command, &block)
@@ -284,6 +287,8 @@ module Google
284
287
  # unspecified, server will pick an appropriate default.
285
288
  # @param [String] page_token
286
289
  # A token identifying a page of results the server should return.
290
+ # @param [String] view
291
+ # Optional. The view of the backup to return.
287
292
  # @param [String] fields
288
293
  # Selector specifying which fields to include in a partial response.
289
294
  # @param [String] quota_user
@@ -301,7 +306,7 @@ module Google
301
306
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
302
307
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
303
308
  # @raise [Google::Apis::AuthorizationError] Authorization is required
304
- def list_project_location_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
309
+ def list_project_location_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
305
310
  command = make_simple_command(:get, 'v1/{+parent}/backups', options)
306
311
  command.response_representation = Google::Apis::AlloydbV1::ListBackupsResponse::Representation
307
312
  command.response_class = Google::Apis::AlloydbV1::ListBackupsResponse
@@ -310,6 +315,7 @@ module Google
310
315
  command.query['orderBy'] = order_by unless order_by.nil?
311
316
  command.query['pageSize'] = page_size unless page_size.nil?
312
317
  command.query['pageToken'] = page_token unless page_token.nil?
318
+ command.query['view'] = view unless view.nil?
313
319
  command.query['fields'] = fields unless fields.nil?
314
320
  command.query['quotaUser'] = quota_user unless quota_user.nil?
315
321
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.0
4
+ version: 0.50.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.48.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.50.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1
62
62
  rdoc_options: []
63
63
  require_paths: