# Google Cloud Support V2 API - Class Google::Cloud::Support::V2::UpdateCaseRequest (v1.9.0)

1.9.0 (latest) 1.8.0 1.7.1 1.6.0 1.5.1 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.4.0 0.3.2 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Support V2 API class Google::Cloud::Support::V2::UpdateCaseRequest.

The request message for the UpdateCase endpoint

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #case

    def case() -> ::Google::Cloud::Support::V2::Case

**Returns**

- ([::Google::Cloud::Support::V2::Case](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-support-v2/latest/Google-Cloud-Support-V2-Case)) --- Required. The case to update.

### #case=

    def case=(value) -> ::Google::Cloud::Support::V2::Case

**Parameter**

- **value** ([::Google::Cloud::Support::V2::Case](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-support-v2/latest/Google-Cloud-Support-V2-Case)) --- Required. The case to update.
**Returns**

- ([::Google::Cloud::Support::V2::Case](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-support-v2/latest/Google-Cloud-Support-V2-Case)) --- Required. The case to update.

### #update_mask

    def update_mask() -> ::Google::Protobuf::FieldMask

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-support-v2/latest/Google-Protobuf-FieldMask)) --- A list of attributes of the case that should be updated. Supported values are `priority`, `display_name`, and `subscriber_email_addresses`. If no fields are specified, all supported fields are updated.


  Be careful - 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.

### #update_mask=

    def update_mask=(value) -> ::Google::Protobuf::FieldMask

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-support-v2/latest/Google-Protobuf-FieldMask)) --- A list of attributes of the case that should be updated. Supported values are `priority`, `display_name`, and `subscriber_email_addresses`. If no fields are specified, all supported fields are updated.


  Be careful - 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**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-support-v2/latest/Google-Protobuf-FieldMask)) --- A list of attributes of the case that should be updated. Supported values are `priority`, `display_name`, and `subscriber_email_addresses`. If no fields are specified, all supported fields are updated.


  Be careful - 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.