# Cloud Quotas V1BETA API - Class Google::Cloud::CloudQuotas::V1beta::CreateQuotaPreferenceRequest (v0.9.0)

0.9.0 (latest) 0.8.0 0.7.0 0.6.2 0.5.0 0.4.0 0.3.2 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Quotas V1BETA API class Google::Cloud::CloudQuotas::V1beta::CreateQuotaPreferenceRequest.

Message for creating a QuotaPreference

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #ignore_safety_checks

    def ignore_safety_checks() -> ::Array<::Google::Cloud::CloudQuotas::V1beta::QuotaSafetyCheck>

**Returns**

- (::Array\<[::Google::Cloud::CloudQuotas::V1beta::QuotaSafetyCheck](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_quotas-v1beta/latest/Google-Cloud-CloudQuotas-V1beta-QuotaSafetyCheck)\>) --- The list of quota safety checks to be ignored.

### #ignore_safety_checks=

    def ignore_safety_checks=(value) -> ::Array<::Google::Cloud::CloudQuotas::V1beta::QuotaSafetyCheck>

**Parameter**

- **value** (::Array\<[::Google::Cloud::CloudQuotas::V1beta::QuotaSafetyCheck](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_quotas-v1beta/latest/Google-Cloud-CloudQuotas-V1beta-QuotaSafetyCheck)\>) --- The list of quota safety checks to be ignored.
**Returns**

- (::Array\<[::Google::Cloud::CloudQuotas::V1beta::QuotaSafetyCheck](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_quotas-v1beta/latest/Google-Cloud-CloudQuotas-V1beta-QuotaSafetyCheck)\>) --- The list of quota safety checks to be ignored.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. Value for parent.

  Example:
  `projects/123/locations/global`

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Value for parent.


  Example:
  `projects/123/locations/global`
**Returns**

- (::String) --- Required. Value for parent.

  Example:
  `projects/123/locations/global`

### #quota_preference

    def quota_preference() -> ::Google::Cloud::CloudQuotas::V1beta::QuotaPreference

**Returns**

- ([::Google::Cloud::CloudQuotas::V1beta::QuotaPreference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_quotas-v1beta/latest/Google-Cloud-CloudQuotas-V1beta-QuotaPreference)) --- Required. The resource being created

### #quota_preference=

    def quota_preference=(value) -> ::Google::Cloud::CloudQuotas::V1beta::QuotaPreference

**Parameter**

- **value** ([::Google::Cloud::CloudQuotas::V1beta::QuotaPreference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_quotas-v1beta/latest/Google-Cloud-CloudQuotas-V1beta-QuotaPreference)) --- Required. The resource being created
**Returns**

- ([::Google::Cloud::CloudQuotas::V1beta::QuotaPreference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_quotas-v1beta/latest/Google-Cloud-CloudQuotas-V1beta-QuotaPreference)) --- Required. The resource being created

### #quota_preference_id

    def quota_preference_id() -> ::String

**Returns**

- (::String) --- Optional. Id of the requesting object, must be unique under its parent. If client does not set this field, the service will generate one.

### #quota_preference_id=

    def quota_preference_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Id of the requesting object, must be unique under its parent. If client does not set this field, the service will generate one.
**Returns**

- (::String) --- Optional. Id of the requesting object, must be unique under its parent. If client does not set this field, the service will generate one.