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
- (::Google::Cloud::CloudDMS::V1::NetworkArchitecture) — Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.
#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
- (::Google::Cloud::CloudDMS::V1::PrivateServiceConnectConnectivity) — Private service connect connectivity.
#private_service_connect_connectivity=
def private_service_connect_connectivity=(value) -> ::Google::Cloud::CloudDMS::V1::PrivateServiceConnectConnectivity
Parameter
- value (::Google::Cloud::CloudDMS::V1::PrivateServiceConnectConnectivity) — Private service connect connectivity.
Returns
- (::Google::Cloud::CloudDMS::V1::PrivateServiceConnectConnectivity) — Private service connect connectivity.
#ssl
def ssl() -> ::Google::Cloud::CloudDMS::V1::SslConfig
Returns
- (::Google::Cloud::CloudDMS::V1::SslConfig) — SSL configuration for the destination to connect to the source database.
#ssl=
def ssl=(value) -> ::Google::Cloud::CloudDMS::V1::SslConfig
Parameter
- value (::Google::Cloud::CloudDMS::V1::SslConfig) — SSL configuration for the destination to connect to the source database.
Returns
- (::Google::Cloud::CloudDMS::V1::SslConfig) — SSL configuration for the destination to connect to the source database.
#static_ip_connectivity
def static_ip_connectivity() -> ::Google::Cloud::CloudDMS::V1::StaticIpConnectivity
Returns
- (::Google::Cloud::CloudDMS::V1::StaticIpConnectivity) — Static ip connectivity data (default, no additional details needed).
#static_ip_connectivity=
def static_ip_connectivity=(value) -> ::Google::Cloud::CloudDMS::V1::StaticIpConnectivity
Parameter
- value (::Google::Cloud::CloudDMS::V1::StaticIpConnectivity) — Static ip connectivity data (default, no additional details needed).
Returns
- (::Google::Cloud::CloudDMS::V1::StaticIpConnectivity) — Static ip connectivity data (default, no additional details needed).
#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.