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

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

Message for deleting a space.

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

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The space name.

↳ force bool

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

getName

Required. The space name.

Returns
Type Description
string

setName

Required. The space name.

Parameter
Name Description
var string
Returns
Type Description
$this

getForce

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

Returns
Type Description
bool

setForce

Optional. If set to true, the space's children are also deleted. If false, the space 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 space name. Please see DesignCenterClient::spaceName() for help formatting this field.

Returns
Type Description
DeleteSpaceRequest