Skip to content

Commit 904f354

Browse files
feat: Automated regeneration of alloydb v1alpha client (#24743)
Auto-created at 2025-10-26 10:29:20 +0000 using the toys pull request generator.
1 parent 0ef57fb commit 904f354

File tree

5 files changed

+52
-2
lines changed

5 files changed

+52
-2
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25994,6 +25994,7 @@
2599425994
"/alloydb:v1alpha/Cluster/continuousBackupInfo": continuous_backup_info
2599525995
"/alloydb:v1alpha/Cluster/createTime": create_time
2599625996
"/alloydb:v1alpha/Cluster/databaseVersion": database_version
25997+
"/alloydb:v1alpha/Cluster/dataplexConfig": dataplex_config
2599725998
"/alloydb:v1alpha/Cluster/deleteTime": delete_time
2599825999
"/alloydb:v1alpha/Cluster/displayName": display_name
2599926000
"/alloydb:v1alpha/Cluster/encryptionConfig": encryption_config
@@ -26086,6 +26087,8 @@
2608626087
"/alloydb:v1alpha/CsvImportOptions/fieldDelimiter": field_delimiter
2608726088
"/alloydb:v1alpha/CsvImportOptions/quoteCharacter": quote_character
2608826089
"/alloydb:v1alpha/CsvImportOptions/table": table
26090+
"/alloydb:v1alpha/DataplexConfig": dataplex_config
26091+
"/alloydb:v1alpha/DataplexConfig/enabled": enabled
2608926092
"/alloydb:v1alpha/DenyMaintenancePeriod": deny_maintenance_period
2609026093
"/alloydb:v1alpha/DenyMaintenancePeriod/endDate": end_date
2609126094
"/alloydb:v1alpha/DenyMaintenancePeriod/startDate": start_date

generated/google-apis-alloydb_v1alpha/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-alloydb_v1alpha
22

3+
### v0.40.0 (2025-10-26)
4+
5+
* Regenerated from discovery document revision 20251016
6+
37
### v0.39.0 (2025-10-19)
48

59
* Regenerated from discovery document revision 20251009

generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/classes.rb

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,11 @@ class Cluster
685685
# @return [String]
686686
attr_accessor :database_version
687687

688+
# Configuration for Dataplex integration.
689+
# Corresponds to the JSON property `dataplexConfig`
690+
# @return [Google::Apis::AlloydbV1alpha::DataplexConfig]
691+
attr_accessor :dataplex_config
692+
688693
# Output only. Delete time stamp
689694
# Corresponds to the JSON property `deleteTime`
690695
# @return [String]
@@ -878,6 +883,7 @@ def update!(**args)
878883
@continuous_backup_info = args[:continuous_backup_info] if args.key?(:continuous_backup_info)
879884
@create_time = args[:create_time] if args.key?(:create_time)
880885
@database_version = args[:database_version] if args.key?(:database_version)
886+
@dataplex_config = args[:dataplex_config] if args.key?(:dataplex_config)
881887
@delete_time = args[:delete_time] if args.key?(:delete_time)
882888
@display_name = args[:display_name] if args.key?(:display_name)
883889
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
@@ -1356,6 +1362,28 @@ def update!(**args)
13561362
end
13571363
end
13581364

1365+
# Configuration for Dataplex integration.
1366+
class DataplexConfig
1367+
include Google::Apis::Core::Hashable
1368+
1369+
# Dataplex is enabled by default for resources such as clusters and instances.
1370+
# This flag controls the integration of AlloyDB PG resources (like databases,
1371+
# schemas, and tables) with Dataplex."
1372+
# Corresponds to the JSON property `enabled`
1373+
# @return [Boolean]
1374+
attr_accessor :enabled
1375+
alias_method :enabled?, :enabled
1376+
1377+
def initialize(**args)
1378+
update!(**args)
1379+
end
1380+
1381+
# Update properties of this object
1382+
def update!(**args)
1383+
@enabled = args[:enabled] if args.key?(:enabled)
1384+
end
1385+
end
1386+
13591387
# DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not
13601388
# be scheduled to start within this deny period. The start_date must be less
13611389
# than the end_date.

generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AlloydbV1alpha
1818
# Version of the google-apis-alloydb_v1alpha gem
19-
GEM_VERSION = "0.39.0"
19+
GEM_VERSION = "0.40.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20251009"
25+
REVISION = "20251016"
2626
end
2727
end
2828
end

generated/google-apis-alloydb_v1alpha/lib/google/apis/alloydb_v1alpha/representations.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
160160
include Google::Apis::Core::JsonObjectSupport
161161
end
162162

163+
class DataplexConfig
164+
class Representation < Google::Apis::Core::JsonRepresentation; end
165+
166+
include Google::Apis::Core::JsonObjectSupport
167+
end
168+
163169
class DenyMaintenancePeriod
164170
class Representation < Google::Apis::Core::JsonRepresentation; end
165171

@@ -930,6 +936,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
930936

931937
property :create_time, as: 'createTime'
932938
property :database_version, as: 'databaseVersion'
939+
property :dataplex_config, as: 'dataplexConfig', class: Google::Apis::AlloydbV1alpha::DataplexConfig, decorator: Google::Apis::AlloydbV1alpha::DataplexConfig::Representation
940+
933941
property :delete_time, as: 'deleteTime'
934942
property :display_name, as: 'displayName'
935943
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::AlloydbV1alpha::EncryptionConfig, decorator: Google::Apis::AlloydbV1alpha::EncryptionConfig::Representation
@@ -1077,6 +1085,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
10771085
end
10781086
end
10791087

1088+
class DataplexConfig
1089+
# @private
1090+
class Representation < Google::Apis::Core::JsonRepresentation
1091+
property :enabled, as: 'enabled'
1092+
end
1093+
end
1094+
10801095
class DenyMaintenancePeriod
10811096
# @private
10821097
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)