Skip to content

Commit

Permalink
feat: Automated regeneration of alloydb v1alpha client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Apr 28, 2024
1 parent f2b23f7 commit c5dc47f
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 6 deletions.
1 change: 1 addition & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20592,6 +20592,7 @@
"/alloydb:v1alpha/Status/message": message
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration": storage_databasecenter_partnerapi_v1main_availability_configuration
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration/availabilityType": availability_type
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration/crossRegionReplicaConfigured": cross_region_replica_configured
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration/externalReplicaConfigured": external_replica_configured
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration/promotableReplicaConfigured": promotable_replica_configured
"/alloydb:v1alpha/StorageDatabasecenterPartnerapiV1mainBackupConfiguration": storage_databasecenter_partnerapi_v1main_backup_configuration
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-alloydb_v1alpha/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-alloydb_v1alpha

### v0.13.0 (2024-04-28)

* Regenerated from discovery document revision 20240417

### v0.12.0 (2024-04-21)

* Regenerated from discovery document revision 20240410
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ class Cluster
attr_accessor :etag

# Cluster level configuration parameters related to the Gemini in Databases add-
# on. See go/prd-enable-duet-ai-databases for more details.
# on.
# Corresponds to the JSON property `geminiConfig`
# @return [Google::Apis::AlloydbV1alpha::GeminiClusterConfig]
attr_accessor :gemini_config
Expand Down Expand Up @@ -893,7 +893,7 @@ def update!(**args)
end

# Cluster level configuration parameters related to the Gemini in Databases add-
# on. See go/prd-enable-duet-ai-databases for more details.
# on.
class GeminiClusterConfig
include Google::Apis::Core::Hashable

Expand All @@ -917,7 +917,7 @@ def update!(**args)
end

# Instance level configuration parameters related to the Gemini in Databases add-
# on. See go/prd-enable-duet-ai-databases for more details.
# on.
class GeminiInstanceConfig
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -1164,7 +1164,7 @@ class Instance
attr_accessor :gce_zone

# Instance level configuration parameters related to the Gemini in Databases add-
# on. See go/prd-enable-duet-ai-databases for more details.
# on.
# Corresponds to the JSON property `geminiConfig`
# @return [Google::Apis::AlloydbV1alpha::GeminiInstanceConfig]
attr_accessor :gemini_config
Expand Down Expand Up @@ -2383,6 +2383,13 @@ class StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration
# @return [String]
attr_accessor :availability_type

# Checks for resources that are configured to have redundancy, and ongoing
# replication across regions
# Corresponds to the JSON property `crossRegionReplicaConfigured`
# @return [Boolean]
attr_accessor :cross_region_replica_configured
alias_method :cross_region_replica_configured?, :cross_region_replica_configured

#
# Corresponds to the JSON property `externalReplicaConfigured`
# @return [Boolean]
Expand All @@ -2402,6 +2409,7 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@availability_type = args[:availability_type] if args.key?(:availability_type)
@cross_region_replica_configured = args[:cross_region_replica_configured] if args.key?(:cross_region_replica_configured)
@external_replica_configured = args[:external_replica_configured] if args.key?(:external_replica_configured)
@promotable_replica_configured = args[:promotable_replica_configured] if args.key?(:promotable_replica_configured)
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module AlloydbV1alpha
# Version of the google-apis-alloydb_v1alpha gem
GEM_VERSION = "0.12.0"
GEM_VERSION = "0.13.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.14.0"

# Revision of the discovery document this client was generated from
REVISION = "20240410"
REVISION = "20240417"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,7 @@ class StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :availability_type, as: 'availabilityType'
property :cross_region_replica_configured, as: 'crossRegionReplicaConfigured'
property :external_replica_configured, as: 'externalReplicaConfigured'
property :promotable_replica_configured, as: 'promotableReplicaConfigured'
end
Expand Down

0 comments on commit c5dc47f

Please sign in to comment.