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.
1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 1191 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.
1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 1191 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.
1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 1191 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" }
.
1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 1191 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.
1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 1191 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.
1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 1191 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.
1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 1191 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.
1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 1191 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 |