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
- (::Array<::Google::Cloud::Sql::V1::SelectedObjects>) — Optional. A list of objects that the user selects for replication from an external source instance.
#selected_objects=
def selected_objects=(value) -> ::Array<::Google::Cloud::Sql::V1::SelectedObjects>
Parameter
- value (::Array<::Google::Cloud::Sql::V1::SelectedObjects>) — Optional. A list of objects that the user selects for replication from an external source instance.
Returns
- (::Array<::Google::Cloud::Sql::V1::SelectedObjects>) — Optional. A list of objects that the user selects for replication from an external source instance.
#source_instance
def source_instance() -> ::Google::Cloud::Sql::V1::InstanceReference
Returns
- (::Google::Cloud::Sql::V1::InstanceReference) — The reference to Cloud SQL instance if the source is Cloud SQL.
#source_instance=
def source_instance=(value) -> ::Google::Cloud::Sql::V1::InstanceReference
Parameter
- value (::Google::Cloud::Sql::V1::InstanceReference) — The reference to Cloud SQL instance if the source is Cloud SQL.
Returns
- (::Google::Cloud::Sql::V1::InstanceReference) — The reference to Cloud SQL instance if the source is Cloud SQL.
#ssl_option
def ssl_option() -> ::Google::Cloud::Sql::V1::OnPremisesConfiguration::SslOption
Returns
- (::Google::Cloud::Sql::V1::OnPremisesConfiguration::SslOption) — Optional. SSL option for replica connection to the on-premises source.
#ssl_option=
def ssl_option=(value) -> ::Google::Cloud::Sql::V1::OnPremisesConfiguration::SslOption
Parameter
- value (::Google::Cloud::Sql::V1::OnPremisesConfiguration::SslOption) — Optional. SSL option for replica connection to the on-premises source.
Returns
- (::Google::Cloud::Sql::V1::OnPremisesConfiguration::SslOption) — Optional. SSL option for replica connection to the on-premises source.
#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.