Google Cloud Ces V1 Client - Class CreateExampleRequest (0.2.0)

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

Request message for AgentService.CreateExample .

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

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 an example in.

↳ example_id
string

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

↳ example
Example

Required. The example to create.

getParent

Required. The resource name of the app to create an example in.

Returns
Type
Description
string

setParent

Required. The resource name of the app to create an example in.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getExampleId

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

Returns
Type
Description
string

setExampleId

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getExample

Required. The example to create.

Returns
Type
Description
Example |null

hasExample

clearExample

setExample

Required. The example to create.

Parameter
Name
Description
var
Returns
Type
Description
$this

static::build

Parameters
Name
Description
parent
string

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

example
Example

Required. The example to create.

exampleId
string

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

Returns
Type
Description

static::buildFromParentExample

Parameters
Name
Description
parent
string

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

example
Example

Required. The example to create.

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: