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 \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ case |
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 |
getCase
Required. The case object to update.
Returns | |
---|---|
Type | Description |
PBCase|null |
hasCase
clearCase
setCase
Required. The case object to update.
Parameter | |
---|---|
Name | Description |
var |
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 |
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 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 |
Returns | |
---|---|
Type | Description |
UpdateCaseRequest |