# Google Cloud Support V2 API - Class Google::Cloud::Support::V2::CreateCaseRequest (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::CreateCaseRequest.

The request message for the CreateCase 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 be created.

### #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 be created.
**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 be created.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The name of the parent under which the case should be created.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the parent under which the case should be created.
**Returns**

- (::String) --- Required. The name of the parent under which the case should be created.