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

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

Message for creating a component.

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

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 the component.

↳ component_id string

Required. The ID of the component to create.

↳ component Component

Required. The component to create.

getParent

Required. The parent resource in which to create the component.

Returns
Type Description
string

setParent

Required. The parent resource in which to create the component.

Parameter
Name Description
var string
Returns
Type Description
$this

getComponentId

Required. The ID of the component to create.

Returns
Type Description
string

setComponentId

Required. The ID of the component to create.

Parameter
Name Description
var string
Returns
Type Description
$this

getComponent

Required. The component to create.

Returns
Type Description
Component|null

hasComponent

clearComponent

setComponent

Required. The component to create.

Parameter
Name Description
var Component
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource in which to create the component. Please see DesignCenterClient::applicationTemplateName() for help formatting this field.

component Component

Required. The component to create.

componentId string

Required. The ID of the component to create.

Returns
Type Description
CreateComponentRequest