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
- (::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
- value (::String) — If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
- (::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
- (::String) — Required. The IP or hostname of the source PostgreSQL database.
#host=
def host=(value) -> ::String
- value (::String) — Required. The IP or hostname of the source PostgreSQL database.
- (::String) — Required. The IP or hostname of the source PostgreSQL database.
#network_architecture
def network_architecture() -> ::Google::Cloud::CloudDMS::V1::NetworkArchitecture
- (::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
- (::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
- 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.
- (::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
- (::Boolean) — Output only. Indicates If this connection profile password is stored.
#port
def port() -> ::Integer
- (::Integer) — Required. The network port of the source PostgreSQL database.
#port=
def port=(value) -> ::Integer
- value (::Integer) — Required. The network port of the source PostgreSQL database.
- (::Integer) — Required. The network port of the source PostgreSQL database.
#private_service_connect_connectivity
def private_service_connect_connectivity() -> ::Google::Cloud::CloudDMS::V1::PrivateServiceConnectConnectivity
-
(::Google::Cloud::CloudDMS::V1::PrivateServiceConnectConnectivity) — Private service connect connectivity.
Note: The following fields are mutually exclusive:
private_service_connect_connectivity
,static_ip_connectivity
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#private_service_connect_connectivity=
def private_service_connect_connectivity=(value) -> ::Google::Cloud::CloudDMS::V1::PrivateServiceConnectConnectivity
-
value (::Google::Cloud::CloudDMS::V1::PrivateServiceConnectConnectivity) — Private service connect connectivity.
Note: The following fields are mutually exclusive:
private_service_connect_connectivity
,static_ip_connectivity
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::CloudDMS::V1::PrivateServiceConnectConnectivity) — Private service connect connectivity.
Note: The following fields are mutually exclusive:
private_service_connect_connectivity
,static_ip_connectivity
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#ssl
def ssl() -> ::Google::Cloud::CloudDMS::V1::SslConfig
- (::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
- value (::Google::Cloud::CloudDMS::V1::SslConfig) — SSL configuration for the destination to connect to the source database.
- (::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
-
(::Google::Cloud::CloudDMS::V1::StaticIpConnectivity) — Static ip connectivity data (default, no additional details needed).
Note: The following fields are mutually exclusive:
static_ip_connectivity
,private_service_connect_connectivity
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#static_ip_connectivity=
def static_ip_connectivity=(value) -> ::Google::Cloud::CloudDMS::V1::StaticIpConnectivity
-
value (::Google::Cloud::CloudDMS::V1::StaticIpConnectivity) — Static ip connectivity data (default, no additional details needed).
Note: The following fields are mutually exclusive:
static_ip_connectivity
,private_service_connect_connectivity
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::CloudDMS::V1::StaticIpConnectivity) — Static ip connectivity data (default, no additional details needed).
Note: The following fields are mutually exclusive:
static_ip_connectivity
,private_service_connect_connectivity
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#username
def username() -> ::String
- (::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
- 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.
- (::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.