Google Cloud Ces V1 Client - Class CreateToolsetRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class CreateToolsetRequest.

Request message for AgentService.CreateToolset.

Generated from protobuf message google.cloud.ces.v1.CreateToolsetRequest

Namespace

Google \ Cloud \ Ces \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the app to create a toolset in.

↳ toolset_id string

Optional. The ID to use for the toolset, which will become the final component of the toolset's resource name. If not provided, a unique ID will be automatically assigned for the toolset.

↳ toolset Toolset

Required. The toolset to create.

getParent

Required. The resource name of the app to create a toolset in.

Returns
Type Description
string

setParent

Required. The resource name of the app to create a toolset in.

Parameter
Name Description
var string
Returns
Type Description
$this

getToolsetId

Optional. The ID to use for the toolset, which will become the final component of the toolset's resource name. If not provided, a unique ID will be automatically assigned for the toolset.

Returns
Type Description
string

setToolsetId

Optional. The ID to use for the toolset, which will become the final component of the toolset's resource name. If not provided, a unique ID will be automatically assigned for the toolset.

Parameter
Name Description
var string
Returns
Type Description
$this

getToolset

Required. The toolset to create.

Returns
Type Description
Toolset|null

hasToolset

clearToolset

setToolset

Required. The toolset to create.

Parameter
Name Description
var Toolset
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The resource name of the app to create a toolset in. Please see AgentServiceClient::appName() for help formatting this field.

toolset Toolset

Required. The toolset to create.

toolsetId string

Optional. The ID to use for the toolset, which will become the final component of the toolset's resource name. If not provided, a unique ID will be automatically assigned for the toolset.

Returns
Type Description
CreateToolsetRequest

static::buildFromParentToolset

Parameters
Name Description
parent string

Required. The resource name of the app to create a toolset in. Please see AgentServiceClient::appName() for help formatting this field.

toolset Toolset

Required. The toolset to create.

Returns
Type Description
CreateToolsetRequest