Class: Google::Cloud::CloudDMS::V1::PrivateConnection
- Inherits:
-
Object
- Object
- Google::Cloud::CloudDMS::V1::PrivateConnection
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb
Overview
The PrivateConnection resource is used to establish private connectivity with the customer's network.
Defined Under Namespace
Modules: State Classes: LabelsEntry
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#display_name ⇒ ::String
The private connection display name.
-
#error ⇒ ::Google::Rpc::Status
readonly
Output only.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
The resource labels for private connections to use to annotate any related underlying resources such as Compute Engine VMs.
-
#name ⇒ ::String
The name of the resource.
-
#state ⇒ ::Google::Cloud::CloudDMS::V1::PrivateConnection::State
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#vpc_peering_config ⇒ ::Google::Cloud::CloudDMS::V1::VpcPeeringConfig
VPC peering configuration.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The create time of the resource.
1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 1225 class PrivateConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Private Connection state. module State STATE_UNSPECIFIED = 0 # The private connection is in creation state - creating resources. CREATING = 1 # The private connection has been created with all of its resources. CREATED = 2 # The private connection creation has failed. FAILED = 3 # The private connection is being deleted. DELETING = 4 # Delete request has failed, resource is in invalid state. FAILED_TO_DELETE = 5 # The private connection has been deleted. DELETED = 6 end end |
#display_name ⇒ ::String
Returns The private connection display name.
1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 1225 class PrivateConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Private Connection state. module State STATE_UNSPECIFIED = 0 # The private connection is in creation state - creating resources. CREATING = 1 # The private connection has been created with all of its resources. CREATED = 2 # The private connection creation has failed. FAILED = 3 # The private connection is being deleted. DELETING = 4 # Delete request has failed, resource is in invalid state. FAILED_TO_DELETE = 5 # The private connection has been deleted. DELETED = 6 end end |
#error ⇒ ::Google::Rpc::Status (readonly)
Returns Output only. The error details in case of state FAILED.
1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 1225 class PrivateConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Private Connection state. module State STATE_UNSPECIFIED = 0 # The private connection is in creation state - creating resources. CREATING = 1 # The private connection has been created with all of its resources. CREATED = 2 # The private connection creation has failed. FAILED = 3 # The private connection is being deleted. DELETING = 4 # Delete request has failed, resource is in invalid state. FAILED_TO_DELETE = 5 # The private connection has been deleted. DELETED = 6 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns 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" }.
1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 1225 class PrivateConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Private Connection state. module State STATE_UNSPECIFIED = 0 # The private connection is in creation state - creating resources. CREATING = 1 # The private connection has been created with all of its resources. CREATED = 2 # The private connection creation has failed. FAILED = 3 # The private connection is being deleted. DELETING = 4 # Delete request has failed, resource is in invalid state. FAILED_TO_DELETE = 5 # The private connection has been deleted. DELETED = 6 end end |
#name ⇒ ::String
Returns The name of the resource.
1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 1225 class PrivateConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Private Connection state. module State STATE_UNSPECIFIED = 0 # The private connection is in creation state - creating resources. CREATING = 1 # The private connection has been created with all of its resources. CREATED = 2 # The private connection creation has failed. FAILED = 3 # The private connection is being deleted. DELETING = 4 # Delete request has failed, resource is in invalid state. FAILED_TO_DELETE = 5 # The private connection has been deleted. DELETED = 6 end end |
#state ⇒ ::Google::Cloud::CloudDMS::V1::PrivateConnection::State (readonly)
Returns Output only. The state of the private connection.
1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 1225 class PrivateConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Private Connection state. module State STATE_UNSPECIFIED = 0 # The private connection is in creation state - creating resources. CREATING = 1 # The private connection has been created with all of its resources. CREATED = 2 # The private connection creation has failed. FAILED = 3 # The private connection is being deleted. DELETING = 4 # Delete request has failed, resource is in invalid state. FAILED_TO_DELETE = 5 # The private connection has been deleted. DELETED = 6 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The last update time of the resource.
1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 1225 class PrivateConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Private Connection state. module State STATE_UNSPECIFIED = 0 # The private connection is in creation state - creating resources. CREATING = 1 # The private connection has been created with all of its resources. CREATED = 2 # The private connection creation has failed. FAILED = 3 # The private connection is being deleted. DELETING = 4 # Delete request has failed, resource is in invalid state. FAILED_TO_DELETE = 5 # The private connection has been deleted. DELETED = 6 end end |
#vpc_peering_config ⇒ ::Google::Cloud::CloudDMS::V1::VpcPeeringConfig
Returns VPC peering configuration.
1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 1225 class PrivateConnection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Private Connection state. module State STATE_UNSPECIFIED = 0 # The private connection is in creation state - creating resources. CREATING = 1 # The private connection has been created with all of its resources. CREATED = 2 # The private connection creation has failed. FAILED = 3 # The private connection is being deleted. DELETING = 4 # Delete request has failed, resource is in invalid state. FAILED_TO_DELETE = 5 # The private connection has been deleted. DELETED = 6 end end |