Reference documentation and code samples for the Google Cloud Dms V1 Client class PrivateConnection.
The PrivateConnection resource is used to establish private connectivity with the customer's network.
Generated from protobuf message google.cloud.clouddms.v1.PrivateConnection
Namespace
Google \ Cloud \ CloudDms \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The name of the resource.
↳ create_time
↳ update_time
↳ labels
array| Google\Protobuf\Internal\MapField
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" }
.
↳ display_name
string
The private connection display name.
↳ state
int
Output only. The state of the private connection.
↳ error
↳ vpc_peering_config
getName
The name of the resource.
string
setName
The name of the resource.
var
string
$this
getCreateTime
Output only. The create time of the resource.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The create time of the resource.
$this
getUpdateTime
Output only. The last update time of the resource.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The last update time of the resource.
$this
getLabels
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" }
.
setLabels
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" }
.
$this
getDisplayName
The private connection display name.
string
setDisplayName
The private connection display name.
var
string
$this
getState
Output only. The state of the private connection.
int
setState
Output only. The state of the private connection.
var
int
$this
getError
Output only. The error details in case of state FAILED.
hasError
clearError
setError
Output only. The error details in case of state FAILED.
$this
getVpcPeeringConfig
VPC peering configuration.
hasVpcPeeringConfig
setVpcPeeringConfig
VPC peering configuration.
$this
getConnectivity
string