Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::PostgreSqlConnectionProfile (v1.0.1)

Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::PostgreSqlConnectionProfile.

Specifies connection parameters required specifically for PostgreSQL databases.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cloud_sql_id

def cloud_sql_id() -> ::String
Returns
  • (::String) — If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

#cloud_sql_id=

def cloud_sql_id=(value) -> ::String
Parameter
  • value (::String) — If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
Returns
  • (::String) — If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

#host

def host() -> ::String
Returns
  • (::String) — Required. The IP or hostname of the source PostgreSQL database.

#host=

def host=(value) -> ::String
Parameter
  • value (::String) — Required. The IP or hostname of the source PostgreSQL database.
Returns
  • (::String) — Required. The IP or hostname of the source PostgreSQL database.

#network_architecture

def network_architecture() -> ::Google::Cloud::CloudDMS::V1::NetworkArchitecture
Returns

#password

def password() -> ::String
Returns
  • (::String) — Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

#password=

def password=(value) -> ::String
Parameter
  • value (::String) — Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
Returns
  • (::String) — Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

#password_set

def password_set() -> ::Boolean
Returns
  • (::Boolean) — Output only. Indicates If this connection profile password is stored.

#port

def port() -> ::Integer
Returns
  • (::Integer) — Required. The network port of the source PostgreSQL database.

#port=

def port=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The network port of the source PostgreSQL database.
Returns
  • (::Integer) — Required. The network port of the source PostgreSQL database.

#private_service_connect_connectivity

def private_service_connect_connectivity() -> ::Google::Cloud::CloudDMS::V1::PrivateServiceConnectConnectivity
Returns

#private_service_connect_connectivity=

def private_service_connect_connectivity=(value) -> ::Google::Cloud::CloudDMS::V1::PrivateServiceConnectConnectivity
Parameter
Returns

#ssl

def ssl() -> ::Google::Cloud::CloudDMS::V1::SslConfig
Returns

#ssl=

def ssl=(value) -> ::Google::Cloud::CloudDMS::V1::SslConfig
Parameter
Returns

#static_ip_connectivity

def static_ip_connectivity() -> ::Google::Cloud::CloudDMS::V1::StaticIpConnectivity
Returns

#static_ip_connectivity=

def static_ip_connectivity=(value) -> ::Google::Cloud::CloudDMS::V1::StaticIpConnectivity
Parameter
Returns

#username

def username() -> ::String
Returns
  • (::String) — Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

#username=

def username=(value) -> ::String
Parameter
  • value (::String) — Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
Returns
  • (::String) — Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.