Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::PrivateConnection.
The PrivateConnection resource is used to establish private connectivity with the customer's network.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The create time of the resource.
#display_name
def display_name() -> ::String
- (::String) — The private connection display name.
#display_name=
def display_name=(value) -> ::String
- value (::String) — The private connection display name.
- (::String) — The private connection display name.
#error
def error() -> ::Google::Rpc::Status
- (::Google::Rpc::Status) — Output only. The error details in case of state FAILED.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
-
(::Google::Protobuf::Map{::String => ::String}) — The resource labels for private connections 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}
-
value (::Google::Protobuf::Map{::String => ::String}) — The resource labels for private connections 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" }
.
-
(::Google::Protobuf::Map{::String => ::String}) — The resource labels for private connections 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" }
.
#name
def name() -> ::String
- (::String) — The name of the resource.
#name=
def name=(value) -> ::String
- value (::String) — The name of the resource.
- (::String) — The name of the resource.
#state
def state() -> ::Google::Cloud::CloudDMS::V1::PrivateConnection::State
- (::Google::Cloud::CloudDMS::V1::PrivateConnection::State) — Output only. The state of the private connection.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The last update time of the resource.
#vpc_peering_config
def vpc_peering_config() -> ::Google::Cloud::CloudDMS::V1::VpcPeeringConfig
- (::Google::Cloud::CloudDMS::V1::VpcPeeringConfig) — VPC peering configuration.
#vpc_peering_config=
def vpc_peering_config=(value) -> ::Google::Cloud::CloudDMS::V1::VpcPeeringConfig
- value (::Google::Cloud::CloudDMS::V1::VpcPeeringConfig) — VPC peering configuration.
- (::Google::Cloud::CloudDMS::V1::VpcPeeringConfig) — VPC peering configuration.