Skip to content

Commit e76f09a

Browse files
feat: Automated regeneration of alloydb v1 client (#24752)
Auto-created at 2025-10-26 10:45:15 +0000 using the toys pull request generator.
1 parent 07f645f commit e76f09a

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
@@ -25110,6 +25110,7 @@
2511025110
"/alloydb:v1/Cluster/continuousBackupInfo": continuous_backup_info
2511125111
"/alloydb:v1/Cluster/createTime": create_time
2511225112
"/alloydb:v1/Cluster/databaseVersion": database_version
25113+
"/alloydb:v1/Cluster/dataplexConfig": dataplex_config
2511325114
"/alloydb:v1/Cluster/deleteTime": delete_time
2511425115
"/alloydb:v1/Cluster/displayName": display_name
2511525116
"/alloydb:v1/Cluster/encryptionConfig": encryption_config
@@ -25183,6 +25184,8 @@
2518325184
"/alloydb:v1/CsvImportOptions/fieldDelimiter": field_delimiter
2518425185
"/alloydb:v1/CsvImportOptions/quoteCharacter": quote_character
2518525186
"/alloydb:v1/CsvImportOptions/table": table
25187+
"/alloydb:v1/DataplexConfig": dataplex_config
25188+
"/alloydb:v1/DataplexConfig/enabled": enabled
2518625189
"/alloydb:v1/DenyMaintenancePeriod": deny_maintenance_period
2518725190
"/alloydb:v1/DenyMaintenancePeriod/endDate": end_date
2518825191
"/alloydb:v1/DenyMaintenancePeriod/startDate": start_date

generated/google-apis-alloydb_v1/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_v1
22

3+
### v0.49.0 (2025-10-26)
4+
5+
* Regenerated from discovery document revision 20251016
6+
37
### v0.48.0 (2025-10-12)
48

59
* Regenerated from discovery document revision 20251001

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,11 @@ class Cluster
652652
# @return [String]
653653
attr_accessor :database_version
654654

655+
# Configuration for Dataplex integration.
656+
# Corresponds to the JSON property `dataplexConfig`
657+
# @return [Google::Apis::AlloydbV1::DataplexConfig]
658+
attr_accessor :dataplex_config
659+
655660
# Output only. Delete time stamp
656661
# Corresponds to the JSON property `deleteTime`
657662
# @return [String]
@@ -821,6 +826,7 @@ def update!(**args)
821826
@continuous_backup_info = args[:continuous_backup_info] if args.key?(:continuous_backup_info)
822827
@create_time = args[:create_time] if args.key?(:create_time)
823828
@database_version = args[:database_version] if args.key?(:database_version)
829+
@dataplex_config = args[:dataplex_config] if args.key?(:dataplex_config)
824830
@delete_time = args[:delete_time] if args.key?(:delete_time)
825831
@display_name = args[:display_name] if args.key?(:display_name)
826832
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
@@ -1178,6 +1184,28 @@ def update!(**args)
11781184
end
11791185
end
11801186

1187+
# Configuration for Dataplex integration.
1188+
class DataplexConfig
1189+
include Google::Apis::Core::Hashable
1190+
1191+
# Dataplex is enabled by default for resources such as clusters and instances.
1192+
# This flag controls the integration of AlloyDB PG resources (like databases,
1193+
# schemas, and tables) with Dataplex."
1194+
# Corresponds to the JSON property `enabled`
1195+
# @return [Boolean]
1196+
attr_accessor :enabled
1197+
alias_method :enabled?, :enabled
1198+
1199+
def initialize(**args)
1200+
update!(**args)
1201+
end
1202+
1203+
# Update properties of this object
1204+
def update!(**args)
1205+
@enabled = args[:enabled] if args.key?(:enabled)
1206+
end
1207+
end
1208+
11811209
# DenyMaintenancePeriod definition. Excepting emergencies, maintenance will not
11821210
# be scheduled to start within this deny period. The start_date must be less
11831211
# than the end_date.

generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/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 AlloydbV1
1818
# Version of the google-apis-alloydb_v1 gem
19-
GEM_VERSION = "0.48.0"
19+
GEM_VERSION = "0.49.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 = "20251001"
25+
REVISION = "20251016"
2626
end
2727
end
2828
end

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
148148
include Google::Apis::Core::JsonObjectSupport
149149
end
150150

151+
class DataplexConfig
152+
class Representation < Google::Apis::Core::JsonRepresentation; end
153+
154+
include Google::Apis::Core::JsonObjectSupport
155+
end
156+
151157
class DenyMaintenancePeriod
152158
class Representation < Google::Apis::Core::JsonRepresentation; end
153159

@@ -883,6 +889,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
883889

884890
property :create_time, as: 'createTime'
885891
property :database_version, as: 'databaseVersion'
892+
property :dataplex_config, as: 'dataplexConfig', class: Google::Apis::AlloydbV1::DataplexConfig, decorator: Google::Apis::AlloydbV1::DataplexConfig::Representation
893+
886894
property :delete_time, as: 'deleteTime'
887895
property :display_name, as: 'displayName'
888896
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::AlloydbV1::EncryptionConfig, decorator: Google::Apis::AlloydbV1::EncryptionConfig::Representation
@@ -1006,6 +1014,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
10061014
end
10071015
end
10081016

1017+
class DataplexConfig
1018+
# @private
1019+
class Representation < Google::Apis::Core::JsonRepresentation
1020+
property :enabled, as: 'enabled'
1021+
end
1022+
end
1023+
10091024
class DenyMaintenancePeriod
10101025
# @private
10111026
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)