# reCAPTCHA Enterprise V1beta1 API - Class Google::Cloud::RecaptchaEnterprise::V1beta1::CreateAssessmentRequest (v0.21.0)

0.21.0 (latest) 0.20.0 0.19.1 0.18.0 0.17.3 0.16.1 0.15.2 0.14.0 0.13.0 0.12.2 0.11.0 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.5 Reference documentation and code samples for the reCAPTCHA Enterprise V1beta1 API class Google::Cloud::RecaptchaEnterprise::V1beta1::CreateAssessmentRequest.

The create assessment request message.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #assessment

    def assessment() -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment

**Returns**

- ([::Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1beta1/latest/Google-Cloud-RecaptchaEnterprise-V1beta1-Assessment)) --- Required. The assessment details.

### #assessment=

    def assessment=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment

**Parameter**

- **value** ([::Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1beta1/latest/Google-Cloud-RecaptchaEnterprise-V1beta1-Assessment)) --- Required. The assessment details.
**Returns**

- ([::Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1beta1/latest/Google-Cloud-RecaptchaEnterprise-V1beta1-Assessment)) --- Required. The assessment details.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The name of the project in which the assessment is created, in the format `projects/{project_number}`.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the project in which the assessment is created, in the format `projects/{project_number}`.
**Returns**

- (::String) --- Required. The name of the project in which the assessment is created, in the format `projects/{project_number}`.