diff --git a/api_names_out.yaml b/api_names_out.yaml index b65d3e162..78adfe097 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -141730,7 +141730,9 @@ "/sqladmin:v1beta4/DatabaseInstance/replicaNames": replica_names "/sqladmin:v1beta4/DatabaseInstance/replicaNames/replica_name": replica_name "/sqladmin:v1beta4/DatabaseInstance/rootPassword": root_password +"/sqladmin:v1beta4/DatabaseInstance/satisfiesPzs": satisfies_pzs "/sqladmin:v1beta4/DatabaseInstance/scheduledMaintenance": scheduled_maintenance +"/sqladmin:v1beta4/DatabaseInstance/secondaryGceZone": secondary_gce_zone "/sqladmin:v1beta4/DatabaseInstance/selfLink": self_link "/sqladmin:v1beta4/DatabaseInstance/serverCaCert": server_ca_cert "/sqladmin:v1beta4/DatabaseInstance/serviceAccountEmailAddress": service_account_email_address @@ -141859,6 +141861,7 @@ "/sqladmin:v1beta4/LocationPreference": location_preference "/sqladmin:v1beta4/LocationPreference/followGaeApplication": follow_gae_application "/sqladmin:v1beta4/LocationPreference/kind": kind +"/sqladmin:v1beta4/LocationPreference/secondaryZone": secondary_zone "/sqladmin:v1beta4/LocationPreference/zone": zone "/sqladmin:v1beta4/MaintenanceDenyPeriod": maintenance_deny_period "/sqladmin:v1beta4/MaintenanceDenyPeriod/endDate": end_date diff --git a/generated/google/apis/sqladmin_v1beta4.rb b/generated/google/apis/sqladmin_v1beta4.rb index 843ec26cf..3c9b2786b 100644 --- a/generated/google/apis/sqladmin_v1beta4.rb +++ b/generated/google/apis/sqladmin_v1beta4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-sql/ module SqladminV1beta4 VERSION = 'V1beta4' - REVISION = '20201007' + REVISION = '20201022' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/sqladmin_v1beta4/classes.rb b/generated/google/apis/sqladmin_v1beta4/classes.rb index b7d0b0f18..22a13d6fd 100644 --- a/generated/google/apis/sqladmin_v1beta4/classes.rb +++ b/generated/google/apis/sqladmin_v1beta4/classes.rb @@ -641,11 +641,26 @@ module Google # @return [String] attr_accessor :root_password + # The status indicating if instance satisfies physical zone separation. Reserved + # for future use. + # Corresponds to the JSON property `satisfiesPzs` + # @return [Boolean] + attr_accessor :satisfies_pzs + alias_method :satisfies_pzs?, :satisfies_pzs + # Any scheduled maintenancce for this instance. # Corresponds to the JSON property `scheduledMaintenance` # @return [Google::Apis::SqladminV1beta4::SqlScheduledMaintenance] attr_accessor :scheduled_maintenance + # The Compute Engine zone that the failover instance is currently serving from + # for a regional instance. This value could be different from the zone that was + # specified when the instance was created if the instance has failed over to its + # secondary/failover zone. Reserved for future use. + # Corresponds to the JSON property `secondaryGceZone` + # @return [String] + attr_accessor :secondary_gce_zone + # The URI of this resource. # Corresponds to the JSON property `selfLink` # @return [String] @@ -712,7 +727,9 @@ module Google @replica_configuration = args[:replica_configuration] if args.key?(:replica_configuration) @replica_names = args[:replica_names] if args.key?(:replica_names) @root_password = args[:root_password] if args.key?(:root_password) + @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs) @scheduled_maintenance = args[:scheduled_maintenance] if args.key?(:scheduled_maintenance) + @secondary_gce_zone = args[:secondary_gce_zone] if args.key?(:secondary_gce_zone) @self_link = args[:self_link] if args.key?(:self_link) @server_ca_cert = args[:server_ca_cert] if args.key?(:server_ca_cert) @service_account_email_address = args[:service_account_email_address] if args.key?(:service_account_email_address) @@ -1724,6 +1741,12 @@ module Google # @return [String] attr_accessor :kind + # The preferred Compute Engine zone for the secondary/failover (for example: us- + # central1-a, us-central1-b, etc.). Reserved for future use. + # Corresponds to the JSON property `secondaryZone` + # @return [String] + attr_accessor :secondary_zone + # The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, # etc.). # Corresponds to the JSON property `zone` @@ -1738,6 +1761,7 @@ module Google def update!(**args) @follow_gae_application = args[:follow_gae_application] if args.key?(:follow_gae_application) @kind = args[:kind] if args.key?(:kind) + @secondary_zone = args[:secondary_zone] if args.key?(:secondary_zone) @zone = args[:zone] if args.key?(:zone) end end @@ -2269,7 +2293,7 @@ module Google # @return [String] attr_accessor :activation_policy - # Active Directory configuration, for now relevant only for SQL Server + # Active Directory configuration, relevant only for Cloud SQL for SQL Server. # Corresponds to the JSON property `activeDirectoryConfig` # @return [Google::Apis::SqladminV1beta4::SqlActiveDirectoryConfig] attr_accessor :active_directory_config @@ -2438,16 +2462,16 @@ module Google end end - # Active Directory configuration, for now relevant only for SQL Server + # Active Directory configuration, relevant only for Cloud SQL for SQL Server. class SqlActiveDirectoryConfig include Google::Apis::Core::Hashable - # Domain name + # The name of the domain (e.g., mydomain.com). # Corresponds to the JSON property `domain` # @return [String] attr_accessor :domain - # This will be always sql#activeDirectoryConfig. + # This is always sql#activeDirectoryConfig. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind diff --git a/generated/google/apis/sqladmin_v1beta4/representations.rb b/generated/google/apis/sqladmin_v1beta4/representations.rb index 9b68f3c81..ec56141c7 100644 --- a/generated/google/apis/sqladmin_v1beta4/representations.rb +++ b/generated/google/apis/sqladmin_v1beta4/representations.rb @@ -613,8 +613,10 @@ module Google collection :replica_names, as: 'replicaNames' property :root_password, as: 'rootPassword' + property :satisfies_pzs, as: 'satisfiesPzs' property :scheduled_maintenance, as: 'scheduledMaintenance', class: Google::Apis::SqladminV1beta4::SqlScheduledMaintenance, decorator: Google::Apis::SqladminV1beta4::SqlScheduledMaintenance::Representation + property :secondary_gce_zone, as: 'secondaryGceZone' property :self_link, as: 'selfLink' property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation @@ -923,6 +925,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :follow_gae_application, as: 'followGaeApplication' property :kind, as: 'kind' + property :secondary_zone, as: 'secondaryZone' property :zone, as: 'zone' end end diff --git a/generated/google/apis/sqladmin_v1beta4/synth.metadata b/generated/google/apis/sqladmin_v1beta4/synth.metadata index 429012f74..7ee91b7ad 100644 --- a/generated/google/apis/sqladmin_v1beta4/synth.metadata +++ b/generated/google/apis/sqladmin_v1beta4/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "c98c719bbab68d0890524d53f8b629d7858af9c2" + "sha": "4d5b98ffca7eaf905a28939051f53ff2881aaf64" } } ]