Skip to content

Commit ce748f0

Browse files
feat: Automated regeneration of alloydb v1beta client
1 parent d872bb6 commit ce748f0

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
@@ -26788,6 +26788,7 @@
2678826788
"/alloydb:v1beta/Cluster/continuousBackupInfo": continuous_backup_info
2678926789
"/alloydb:v1beta/Cluster/createTime": create_time
2679026790
"/alloydb:v1beta/Cluster/databaseVersion": database_version
26791+
"/alloydb:v1beta/Cluster/dataplexConfig": dataplex_config
2679126792
"/alloydb:v1beta/Cluster/deleteTime": delete_time
2679226793
"/alloydb:v1beta/Cluster/displayName": display_name
2679326794
"/alloydb:v1beta/Cluster/encryptionConfig": encryption_config
@@ -26879,6 +26880,8 @@
2687926880
"/alloydb:v1beta/CsvImportOptions/fieldDelimiter": field_delimiter
2688026881
"/alloydb:v1beta/CsvImportOptions/quoteCharacter": quote_character
2688126882
"/alloydb:v1beta/CsvImportOptions/table": table
26883+
"/alloydb:v1beta/DataplexConfig": dataplex_config
26884+
"/alloydb:v1beta/DataplexConfig/enabled": enabled
2688226885
"/alloydb:v1beta/DenyMaintenancePeriod": deny_maintenance_period
2688326886
"/alloydb:v1beta/DenyMaintenancePeriod/endDate": end_date
2688426887
"/alloydb:v1beta/DenyMaintenancePeriod/startDate": start_date

generated/google-apis-alloydb_v1beta/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_v1beta
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_v1beta/lib/google/apis/alloydb_v1beta/classes.rb

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,11 @@ class Cluster
665665
# @return [String]
666666
attr_accessor :database_version
667667

668+
# Configuration for Dataplex integration.
669+
# Corresponds to the JSON property `dataplexConfig`
670+
# @return [Google::Apis::AlloydbV1beta::DataplexConfig]
671+
attr_accessor :dataplex_config
672+
668673
# Output only. Delete time stamp
669674
# Corresponds to the JSON property `deleteTime`
670675
# @return [String]
@@ -852,6 +857,7 @@ def update!(**args)
852857
@continuous_backup_info = args[:continuous_backup_info] if args.key?(:continuous_backup_info)
853858
@create_time = args[:create_time] if args.key?(:create_time)
854859
@database_version = args[:database_version] if args.key?(:database_version)
860+
@dataplex_config = args[:dataplex_config] if args.key?(:dataplex_config)
855861
@delete_time = args[:delete_time] if args.key?(:delete_time)
856862
@display_name = args[:display_name] if args.key?(:display_name)
857863
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
@@ -1329,6 +1335,28 @@ def update!(**args)
13291335
end
13301336
end
13311337

1338+
# Configuration for Dataplex integration.
1339+
class DataplexConfig
1340+
include Google::Apis::Core::Hashable
1341+
1342+
# Dataplex is enabled by default for resources such as clusters and instances.
1343+
# This flag controls the integration of AlloyDB PG resources (like databases,
1344+
# schemas, and tables) with Dataplex."
1345+
# Corresponds to the JSON property `enabled`
1346+
# @return [Boolean]
1347+
attr_accessor :enabled
1348+
alias_method :enabled?, :enabled
1349+
1350+
def initialize(**args)
1351+
update!(**args)
1352+
end
1353+
1354+
# Update properties of this object
1355+
def update!(**args)
1356+
@enabled = args[:enabled] if args.key?(:enabled)
1357+
end
1358+
end
1359+
13321360
# DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not
13331361
# be scheduled to start within this deny period. The start_date must be less
13341362
# than the end_date.

generated/google-apis-alloydb_v1beta/lib/google/apis/alloydb_v1beta/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 AlloydbV1beta
1818
# Version of the google-apis-alloydb_v1beta 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_v1beta/lib/google/apis/alloydb_v1beta/representations.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
154154
include Google::Apis::Core::JsonObjectSupport
155155
end
156156

157+
class DataplexConfig
158+
class Representation < Google::Apis::Core::JsonRepresentation; end
159+
160+
include Google::Apis::Core::JsonObjectSupport
161+
end
162+
157163
class DenyMaintenancePeriod
158164
class Representation < Google::Apis::Core::JsonRepresentation; end
159165

@@ -917,6 +923,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
917923

918924
property :create_time, as: 'createTime'
919925
property :database_version, as: 'databaseVersion'
926+
property :dataplex_config, as: 'dataplexConfig', class: Google::Apis::AlloydbV1beta::DataplexConfig, decorator: Google::Apis::AlloydbV1beta::DataplexConfig::Representation
927+
920928
property :delete_time, as: 'deleteTime'
921929
property :display_name, as: 'displayName'
922930
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::AlloydbV1beta::EncryptionConfig, decorator: Google::Apis::AlloydbV1beta::EncryptionConfig::Representation
@@ -1063,6 +1071,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
10631071
end
10641072
end
10651073

1074+
class DataplexConfig
1075+
# @private
1076+
class Representation < Google::Apis::Core::JsonRepresentation
1077+
property :enabled, as: 'enabled'
1078+
end
1079+
end
1080+
10661081
class DenyMaintenancePeriod
10671082
# @private
10681083
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)