class Google::Apis::SqladminV1beta4::ConnectSettings
Connect settings retrieval response.
Attributes
SECOND_GEN: Cloud SQL database instance. EXTERNAL: A database server that is not managed by Google
. This property is read-only; use the tier property in the settings object to determine the database type. Corresponds to the JSON property `backendType` @return [String]
The database engine type and version. The databaseVersion field cannot be changed after instance creation. MySQL instances: MYSQL_8_0, MYSQL_5_7 (default), or MYSQL_5_6. PostgreSQL instances: POSTGRES_9_6, ** POSTGRES_10**, POSTGRES_11 or POSTGRES_12 (default). SQL Server instances: SQLSERVER_2017_STANDARD (default), SQLSERVER_2017_ENTERPRISE , SQLSERVER_2017_EXPRESS, or SQLSERVER_2017_WEB. Corresponds to the JSON property `databaseVersion` @return [String]
The assigned IP addresses for the instance. Corresponds to the JSON property `ipAddresses` @return [Array<Google::Apis::SqladminV1beta4::IpMapping>]
This is always `sql#connectSettings`. Corresponds to the JSON property `kind` @return [String]
The cloud region for the instance. e.g. us-central1, europe-west1. The region cannot be changed after instance creation. Corresponds to the JSON property `region` @return [String]
SslCerts Resource Corresponds to the JSON property `serverCaCert` @return [Google::Apis::SqladminV1beta4::SslCert]
Public Class Methods
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 486 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 491 def update!(**args) @backend_type = args[:backend_type] if args.key?(:backend_type) @database_version = args[:database_version] if args.key?(:database_version) @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses) @kind = args[:kind] if args.key?(:kind) @region = args[:region] if args.key?(:region) @server_ca_cert = args[:server_ca_cert] if args.key?(:server_ca_cert) end