class Google::Apis::SqladminV1beta4::OnPremisesConfiguration
On-premises instance configuration.
Attributes
PEM representation of the trusted CA's x509 certificate. Corresponds to the JSON property `caCertificate` @return [String]
PEM representation of the replica's x509 certificate. Corresponds to the JSON property `clientCertificate` @return [String]
PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate. Corresponds to the JSON property `clientKey` @return [String]
The dump file to create the Cloud SQL replica. Corresponds to the JSON property `dumpFilePath` @return [String]
The host and port of the on-premises instance in host:port format Corresponds to the JSON property `hostPort` @return [String]
This is always `sql#onPremisesConfiguration`. Corresponds to the JSON property `kind` @return [String]
The password for connecting to on-premises instance. Corresponds to the JSON property `password` @return [String]
Reference to another Cloud SQL instance. Corresponds to the JSON property `sourceInstance` @return [Google::Apis::SqladminV1beta4::InstanceReference]
The username for connecting to on-premises instance. Corresponds to the JSON property `username` @return [String]
Public Class Methods
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 2303 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 2308 def update!(**args) @ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate) @client_certificate = args[:client_certificate] if args.key?(:client_certificate) @client_key = args[:client_key] if args.key?(:client_key) @dump_file_path = args[:dump_file_path] if args.key?(:dump_file_path) @host_port = args[:host_port] if args.key?(:host_port) @kind = args[:kind] if args.key?(:kind) @password = args[:password] if args.key?(:password) @source_instance = args[:source_instance] if args.key?(:source_instance) @username = args[:username] if args.key?(:username) end