Google Cloud Ces V1 Client - Class AppVersion (0.1.0)

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

In Customer Engagement Suite (CES), an app version is a snapshot of the app at a specific point in time. It is immutable and cannot be modified once created.

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

Namespace

Google \ Cloud \ Ces \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. The unique identifier of the app version. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}

↳ display_name string

Optional. The display name of the app version.

↳ description string

Optional. The description of the app version.

↳ creator string

Output only. Email of the user who created the app version.

↳ create_time Google\Protobuf\Timestamp

Output only. Timestamp when the app version was created.

↳ snapshot AppSnapshot

Output only. The snapshot of the app when the version is created.

↳ etag string

Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.

getName

Identifier. The unique identifier of the app version.

Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}

Returns
Type Description
string

setName

Identifier. The unique identifier of the app version.

Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Optional. The display name of the app version.

Returns
Type Description
string

setDisplayName

Optional. The display name of the app version.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Optional. The description of the app version.

Returns
Type Description
string

setDescription

Optional. The description of the app version.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreator

Output only. Email of the user who created the app version.

Returns
Type Description
string

setCreator

Output only. Email of the user who created the app version.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. Timestamp when the app version was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Timestamp when the app version was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getSnapshot

Output only. The snapshot of the app when the version is created.

Returns
Type Description
AppSnapshot|null

hasSnapshot

clearSnapshot

setSnapshot

Output only. The snapshot of the app when the version is created.

Parameter
Name Description
var AppSnapshot
Returns
Type Description
$this

getEtag

Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.

Returns
Type Description
string

setEtag

Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.

Parameter
Name Description
var string
Returns
Type Description
$this