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

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

Message for deleting a component.

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

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The component name.

↳ force bool

Optional. If set to true, the component's children are also deleted. If false, the component is only deleted if it has no children.

getName

Required. The component name.

Returns
Type Description
string

setName

Required. The component name.

Parameter
Name Description
var string
Returns
Type Description
$this

getForce

Optional. If set to true, the component's children are also deleted. If false, the component is only deleted if it has no children.

Returns
Type Description
bool

setForce

Optional. If set to true, the component's children are also deleted. If false, the component is only deleted if it has no children.

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The component name. Please see DesignCenterClient::componentName() for help formatting this field.

Returns
Type Description
DeleteComponentRequest