Google Cloud Ces V1 Client - Class CreateAppVersionRequest (0.2.0)

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

Request message for AgentService.CreateAppVersion

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

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 app version in.

↳ app_version_id
string

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

↳ app_version
AppVersion

Required. The app version to create.

getParent

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

Returns
Type
Description
string

setParent

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAppVersionId

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

Returns
Type
Description
string

setAppVersionId

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAppVersion

Required. The app version to create.

Returns
Type
Description
AppVersion |null

hasAppVersion

clearAppVersion

setAppVersion

Required. The app version to create.

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
parent
string

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

appVersion
AppVersion

Required. The app version to create.

appVersionId
string

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

Returns
Type
Description

static::buildFromParentAppVersion

Parameters
Name
Description
parent
string

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

appVersion
AppVersion

Required. The app version to create.

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