Google Cloud Ces V1 Client - Class CreateAppRequest (0.2.0)

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

Request message for AgentService.CreateApp .

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

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 location to create an app in.

↳ app_id
string

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

↳ app
App

Required. The app to create.

getParent

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

Returns
Type
Description
string

setParent

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAppId

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

Returns
Type
Description
string

setAppId

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getApp

Required. The app to create.

Returns
Type
Description
App |null

hasApp

clearApp

setApp

Required. The app to create.

Parameter
Name
Description
var
App
Returns
Type
Description
$this

static::build

Parameters
Name
Description
parent
string

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

app
App

Required. The app to create.

appId
string

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

Returns
Type
Description

static::buildFromParentApp

Parameters
Name
Description
parent
string

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

app
App

Required. The app to create.

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