Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::ConnectionProfile.
A connection profile definition.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cloudsql
def cloudsql() -> ::Google::Cloud::CloudDMS::V1::CloudSqlConnectionProfile
Returns
- (::Google::Cloud::CloudDMS::V1::CloudSqlConnectionProfile) — A CloudSQL database connection profile.
#cloudsql=
def cloudsql=(value) -> ::Google::Cloud::CloudDMS::V1::CloudSqlConnectionProfile
Parameter
- value (::Google::Cloud::CloudDMS::V1::CloudSqlConnectionProfile) — A CloudSQL database connection profile.
Returns
- (::Google::Cloud::CloudDMS::V1::CloudSqlConnectionProfile) — A CloudSQL database connection profile.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
#display_name
def display_name() -> ::String
Returns
- (::String) — The connection profile display name.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — The connection profile display name.
Returns
- (::String) — The connection profile display name.
#error
def error() -> ::Google::Rpc::Status
Returns
- (::Google::Rpc::Status) — Output only. The error details in case of state FAILED.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
-
(::Google::Protobuf::Map{::String => ::String}) — The resource labels for connection profile to use to annotate any related
underlying resources such as Compute Engine VMs. An object containing a
list of "key": "value" pairs.
Example:
{ "name": "wrench", "mass": "1.3kg", "count": "3" }
.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
-
value (::Google::Protobuf::Map{::String => ::String}) — The resource labels for connection profile to use to annotate any related
underlying resources such as Compute Engine VMs. An object containing a
list of "key": "value" pairs.
Example:
{ "name": "wrench", "mass": "1.3kg", "count": "3" }
.
Returns
-
(::Google::Protobuf::Map{::String => ::String}) — The resource labels for connection profile to use to annotate any related
underlying resources such as Compute Engine VMs. An object containing a
list of "key": "value" pairs.
Example:
{ "name": "wrench", "mass": "1.3kg", "count": "3" }
.
#mysql
def mysql() -> ::Google::Cloud::CloudDMS::V1::MySqlConnectionProfile
Returns
- (::Google::Cloud::CloudDMS::V1::MySqlConnectionProfile) — A MySQL database connection profile.
#mysql=
def mysql=(value) -> ::Google::Cloud::CloudDMS::V1::MySqlConnectionProfile
Parameter
- value (::Google::Cloud::CloudDMS::V1::MySqlConnectionProfile) — A MySQL database connection profile.
Returns
- (::Google::Cloud::CloudDMS::V1::MySqlConnectionProfile) — A MySQL database connection profile.
#name
def name() -> ::String
Returns
- (::String) — The name of this connection profile resource in the form of projects/{project}/locations/{location}/instances/{instance}.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The name of this connection profile resource in the form of projects/{project}/locations/{location}/instances/{instance}.
Returns
- (::String) — The name of this connection profile resource in the form of projects/{project}/locations/{location}/instances/{instance}.
#postgresql
def postgresql() -> ::Google::Cloud::CloudDMS::V1::PostgreSqlConnectionProfile
Returns
- (::Google::Cloud::CloudDMS::V1::PostgreSqlConnectionProfile) — A PostgreSQL database connection profile.
#postgresql=
def postgresql=(value) -> ::Google::Cloud::CloudDMS::V1::PostgreSqlConnectionProfile
Parameter
- value (::Google::Cloud::CloudDMS::V1::PostgreSqlConnectionProfile) — A PostgreSQL database connection profile.
Returns
- (::Google::Cloud::CloudDMS::V1::PostgreSqlConnectionProfile) — A PostgreSQL database connection profile.
#provider
def provider() -> ::Google::Cloud::CloudDMS::V1::DatabaseProvider
Returns
- (::Google::Cloud::CloudDMS::V1::DatabaseProvider) — The database provider.
#provider=
def provider=(value) -> ::Google::Cloud::CloudDMS::V1::DatabaseProvider
Parameter
- value (::Google::Cloud::CloudDMS::V1::DatabaseProvider) — The database provider.
Returns
- (::Google::Cloud::CloudDMS::V1::DatabaseProvider) — The database provider.
#state
def state() -> ::Google::Cloud::CloudDMS::V1::ConnectionProfile::State
Returns
- (::Google::Cloud::CloudDMS::V1::ConnectionProfile::State) — The current connection profile state (e.g. DRAFT, READY, or FAILED).
#state=
def state=(value) -> ::Google::Cloud::CloudDMS::V1::ConnectionProfile::State
Parameter
- value (::Google::Cloud::CloudDMS::V1::ConnectionProfile::State) — The current connection profile state (e.g. DRAFT, READY, or FAILED).
Returns
- (::Google::Cloud::CloudDMS::V1::ConnectionProfile::State) — The current connection profile state (e.g. DRAFT, READY, or FAILED).
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".