Cloud SQL Admin V1 API - Class Google::Cloud::Sql::V1::OnPremisesConfiguration (v0.1.0)

Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::OnPremisesConfiguration.

On-premises instance configuration.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#ca_certificate

def ca_certificate() -> ::String
Returns
  • (::String) — PEM representation of the trusted CA's x509 certificate.

#ca_certificate=

def ca_certificate=(value) -> ::String
Parameter
  • value (::String) — PEM representation of the trusted CA's x509 certificate.
Returns
  • (::String) — PEM representation of the trusted CA's x509 certificate.

#client_certificate

def client_certificate() -> ::String
Returns
  • (::String) — PEM representation of the replica's x509 certificate.

#client_certificate=

def client_certificate=(value) -> ::String
Parameter
  • value (::String) — PEM representation of the replica's x509 certificate.
Returns
  • (::String) — PEM representation of the replica's x509 certificate.

#client_key

def client_key() -> ::String
Returns
  • (::String) — PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate.

#client_key=

def client_key=(value) -> ::String
Parameter
  • value (::String) — PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate.
Returns
  • (::String) — PEM representation of the replica's private key. The corresponding public key is encoded in the client's certificate.

#dump_file_path

def dump_file_path() -> ::String
Returns
  • (::String) — The dump file to create the Cloud SQL replica.

#dump_file_path=

def dump_file_path=(value) -> ::String
Parameter
  • value (::String) — The dump file to create the Cloud SQL replica.
Returns
  • (::String) — The dump file to create the Cloud SQL replica.

#host_port

def host_port() -> ::String
Returns
  • (::String) — The host and port of the on-premises instance in host:port format

#host_port=

def host_port=(value) -> ::String
Parameter
  • value (::String) — The host and port of the on-premises instance in host:port format
Returns
  • (::String) — The host and port of the on-premises instance in host:port format

#kind

def kind() -> ::String
Returns
  • (::String) — This is always sql#onPremisesConfiguration.

#kind=

def kind=(value) -> ::String
Parameter
  • value (::String) — This is always sql#onPremisesConfiguration.
Returns
  • (::String) — This is always sql#onPremisesConfiguration.

#password

def password() -> ::String
Returns
  • (::String) — The password for connecting to on-premises instance.

#password=

def password=(value) -> ::String
Parameter
  • value (::String) — The password for connecting to on-premises instance.
Returns
  • (::String) — The password for connecting to on-premises instance.

#selected_objects

def selected_objects() -> ::Array<::Google::Cloud::Sql::V1::SelectedObjects>
Returns

#selected_objects=

def selected_objects=(value) -> ::Array<::Google::Cloud::Sql::V1::SelectedObjects>
Parameter
Returns

#source_instance

def source_instance() -> ::Google::Cloud::Sql::V1::InstanceReference
Returns

#source_instance=

def source_instance=(value) -> ::Google::Cloud::Sql::V1::InstanceReference
Parameter
Returns

#ssl_option

def ssl_option() -> ::Google::Cloud::Sql::V1::OnPremisesConfiguration::SslOption
Returns

#ssl_option=

def ssl_option=(value) -> ::Google::Cloud::Sql::V1::OnPremisesConfiguration::SslOption
Parameter
Returns

#username

def username() -> ::String
Returns
  • (::String) — The username for connecting to on-premises instance.

#username=

def username=(value) -> ::String
Parameter
  • value (::String) — The username for connecting to on-premises instance.
Returns
  • (::String) — The username for connecting to on-premises instance.