Reference documentation and code samples for the Google Cloud Datastream V1 Client class PrivateConnection.
The PrivateConnection resource is used to establish private connectivity between Datastream and a customer's network.
Generated from protobuf message google.cloud.datastream.v1.PrivateConnection
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The resource's name.
↳ create_time
↳ update_time
↳ labels
↳ display_name
string
Required. Display name.
↳ state
int
Output only. The state of the Private Connection.
↳ error
Google\Cloud\Datastream\V1\Error
Output only. In case of error, the details of the error in a user-friendly format.
↳ vpc_peering_config
getName
Output only. The resource's name.
string
setName
Output only. The resource's name.
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 update time of the resource.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The update time of the resource.
$this
getLabels
Labels.
setLabels
Labels.
$this
getDisplayName
Required. Display name.
string
setDisplayName
Required. 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. In case of error, the details of the error in a user-friendly format.
hasError
clearError
setError
Output only. In case of error, the details of the error in a user-friendly format.
$this
getVpcPeeringConfig
VPC Peering Config.
hasVpcPeeringConfig
clearVpcPeeringConfig
setVpcPeeringConfig
VPC Peering Config.
$this