Google Cloud Datastream V1 Client - Class PrivateConnection (1.3.0)

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

Namespace

Google \ Cloud \ Datastream \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Output only. The resource's name.

↳ create_time
Google\Protobuf\Timestamp

Output only. The create time of the resource.

↳ update_time
Google\Protobuf\Timestamp

Output only. The update time of the resource.

↳ 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.

Returns
Type
Description
string

setName

Output only. The resource's name.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCreateTime

Output only. The create time of the resource.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. The create time of the resource.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateTime

Output only. The update time of the resource.

Returns
Type
Description

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The update time of the resource.

Parameter
Name
Description
Returns
Type
Description
$this

getLabels

Labels.

Returns
Type
Description

setLabels

Labels.

Parameter
Name
Description
Returns
Type
Description
$this

getDisplayName

Required. Display name.

Returns
Type
Description
string

setDisplayName

Required. Display name.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getState

Output only. The state of the Private Connection.

Returns
Type
Description
int

setState

Output only. The state of the Private Connection.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getError

Output only. In case of error, the details of the error in a user-friendly format.

Returns
Type
Description

hasError

clearError

setError

Output only. In case of error, the details of the error in a user-friendly format.

Parameter
Name
Description
Returns
Type
Description
$this

getVpcPeeringConfig

VPC Peering Config.

Returns
Type
Description

hasVpcPeeringConfig

clearVpcPeeringConfig

setVpcPeeringConfig

VPC Peering Config.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: