Google Cloud Design Center V1 Client - Class Connection (0.1.0)

Reference documentation and code samples for the Google Cloud Design Center V1 Client class Connection.

Connection resource.

Generated from protobuf message google.cloud.designcenter.v1.Connection

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. The connection name.

↳ destination_component_uri string

Required. The destination component URI used to generate the connection. Format is projects/$project/locations/$location/spaces/$space/applicationTemplates/$application_template/components/$component

↳ create_time Google\Protobuf\Timestamp

Output only. The connection creation timestamp.

↳ update_time Google\Protobuf\Timestamp

Output only. The connection update timestamp.

↳ source_component_parameters array<Parameter>

Optional. The parameters of the connection associated with the source component.

↳ destination_component_parameters array<Parameter>

Optional. The parameters of the connection associated with the destination component.

↳ dependency_type int

Output only. The type of the connection (data or logical).

getName

Identifier. The connection name.

Returns
Type Description
string

setName

Identifier. The connection name.

Parameter
Name Description
var string
Returns
Type Description
$this

getDestinationComponentUri

Required. The destination component URI used to generate the connection.

Format is projects/$project/locations/$location/spaces/$space/applicationTemplates/$application_template/components/$component

Returns
Type Description
string

setDestinationComponentUri

Required. The destination component URI used to generate the connection.

Format is projects/$project/locations/$location/spaces/$space/applicationTemplates/$application_template/components/$component

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. The connection creation timestamp.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The connection creation timestamp.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. The connection update timestamp.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The connection update timestamp.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getSourceComponentParameters

Optional. The parameters of the connection associated with the source component.

Returns
Type Description
Google\Protobuf\RepeatedField<Parameter>

setSourceComponentParameters

Optional. The parameters of the connection associated with the source component.

Parameter
Name Description
var array<Parameter>
Returns
Type Description
$this

getDestinationComponentParameters

Optional. The parameters of the connection associated with the destination component.

Returns
Type Description
Google\Protobuf\RepeatedField<Parameter>

setDestinationComponentParameters

Optional. The parameters of the connection associated with the destination component.

Parameter
Name Description
var array<Parameter>
Returns
Type Description
$this

getDependencyType

Output only. The type of the connection (data or logical).

Returns
Type Description
int Enum of type ConnectionDependencyType.

setDependencyType

Output only. The type of the connection (data or logical).

Parameter
Name Description
var int

Enum of type ConnectionDependencyType.

Returns
Type Description
$this