Google Cloud Support V2 Client - Class UpdateCaseRequest (0.1.2)

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
NameDescription
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
TypeDescription
Google\Cloud\Support\V2\PBCase|null

hasCase

clearCase

setCase

Required. The case object to update.

Parameter
NameDescription
var Google\Cloud\Support\V2\PBCase
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\Support\V2\UpdateCaseRequest