# BigQuery Data QnA V1alpha API - Class Google::Cloud::DataQnA::V1alpha::CreateQuestionRequest (v0.13.0)

0.13.0 (latest) 0.12.0 0.11.1 0.10.0 0.9.1 0.8.0 0.7.2 0.6.2 0.5.0 0.4.0 0.3.0 0.2.6 Reference documentation and code samples for the BigQuery Data QnA V1alpha API class Google::Cloud::DataQnA::V1alpha::CreateQuestionRequest.

Request to create a question resource.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The name of the project this data source reference belongs to. Example: `projects/foo/locations/bar`

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the project this data source reference belongs to. Example: `projects/foo/locations/bar`
**Returns**

- (::String) --- Required. The name of the project this data source reference belongs to. Example: `projects/foo/locations/bar`

### #question

    def question() -> ::Google::Cloud::DataQnA::V1alpha::Question

**Returns**

- ([::Google::Cloud::DataQnA::V1alpha::Question](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataqna-v1alpha/latest/Google-Cloud-DataQnA-V1alpha-Question)) --- Required. The question to create.

### #question=

    def question=(value) -> ::Google::Cloud::DataQnA::V1alpha::Question

**Parameter**

- **value** ([::Google::Cloud::DataQnA::V1alpha::Question](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataqna-v1alpha/latest/Google-Cloud-DataQnA-V1alpha-Question)) --- Required. The question to create.
**Returns**

- ([::Google::Cloud::DataQnA::V1alpha::Question](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataqna-v1alpha/latest/Google-Cloud-DataQnA-V1alpha-Question)) --- Required. The question to create.