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

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

Message for creating a connection.

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

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource in which to create a connection.

↳ connection_id string

Required. The ID of the connection to create.

↳ connection Connection

Required. The connection to create.

getParent

Required. The parent resource in which to create a connection.

Returns
Type Description
string

setParent

Required. The parent resource in which to create a connection.

Parameter
Name Description
var string
Returns
Type Description
$this

getConnectionId

Required. The ID of the connection to create.

Returns
Type Description
string

setConnectionId

Required. The ID of the connection to create.

Parameter
Name Description
var string
Returns
Type Description
$this

getConnection

Required. The connection to create.

Returns
Type Description
Connection|null

hasConnection

clearConnection

setConnection

Required. The connection to create.

Parameter
Name Description
var Connection
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource in which to create a connection. Please see DesignCenterClient::componentName() for help formatting this field.

connection Connection

Required. The connection to create.

connectionId string

Required. The ID of the connection to create.

Returns
Type Description
CreateConnectionRequest