Google Cloud Support V2 Client - Class UpdateCaseRequest (0.2.5)

Reference documentation and code samples for the Google Cloud Support V2 Client class UpdateCaseRequest.

The request message for the UpdateCase endpoint

Generated from protobuf message google.cloud.support.v2.UpdateCaseRequest

Namespace

Google \ Cloud \ Support \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ case Google\Cloud\Support\V2\PBCase

Required. The case object to update.

↳ update_mask Google\Protobuf\FieldMask

A list of attributes of the case object that should be updated as part of this request. Supported values are priority, display_name, and subscriber_email_addresses. If no fields are specified, all supported fields are updated. WARNING: If you do not provide a field mask, then you might accidentally clear some fields. For example, if you leave the field mask empty and do not provide a value for subscriber_email_addresses, then subscriber_email_addresses is updated to empty.

getCase

Required. The case object to update.

Returns
Type Description
Google\Cloud\Support\V2\PBCase|null

hasCase

clearCase

setCase

Required. The case object to update.

Parameter
Name Description
var Google\Cloud\Support\V2\PBCase
Returns
Type Description
$this

getUpdateMask

A list of attributes of the case object that should be updated as part of this request. Supported values are priority, display_name, and subscriber_email_addresses. If no fields are specified, all supported fields are updated.

WARNING: If you do not provide a field mask, then you might accidentally clear some fields. For example, if you leave the field mask empty and do not provide a value for subscriber_email_addresses, then subscriber_email_addresses is updated to empty.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

A list of attributes of the case object that should be updated as part of this request. Supported values are priority, display_name, and subscriber_email_addresses. If no fields are specified, all supported fields are updated.

WARNING: If you do not provide a field mask, then you might accidentally clear some fields. For example, if you leave the field mask empty and do not provide a value for subscriber_email_addresses, then subscriber_email_addresses is updated to empty.

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

static::build

Parameters
Name Description
case Google\Cloud\Support\V2\PBCase

Required. The case object to update.

updateMask Google\Protobuf\FieldMask

A list of attributes of the case object that should be updated as part of this request. Supported values are priority, display_name, and subscriber_email_addresses. If no fields are specified, all supported fields are updated.

WARNING: If you do not provide a field mask, then you might accidentally clear some fields. For example, if you leave the field mask empty and do not provide a value for subscriber_email_addresses, then subscriber_email_addresses is updated to empty.

Returns
Type Description
Google\Cloud\Support\V2\UpdateCaseRequest