# Cloud Quotas V1BETA API - Class Google::Cloud::CloudQuotas::V1beta::UpdateQuotaPreferenceRequest (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::UpdateQuotaPreferenceRequest.

Message for updating a QuotaPreference

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #allow_missing

    def allow_missing() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. If set to true, and the quota preference is not found, a new one will be created. In this situation, `update_mask` is ignored.

### #allow_missing=

    def allow_missing=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. If set to true, and the quota preference is not found, a new one will be created. In this situation, `update_mask` is ignored.
**Returns**

- (::Boolean) --- Optional. If set to true, and the quota preference is not found, a new one will be created. In this situation, `update_mask` is ignored.

### #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.

### #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 updated

### #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 updated
**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 updated

### #update_mask

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

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_quotas-v1beta/latest/Google-Protobuf-FieldMask)) --- Optional. Field mask is used to specify the fields to be overwritten in the QuotaPreference resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

### #update_mask=

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

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_quotas-v1beta/latest/Google-Protobuf-FieldMask)) --- Optional. Field mask is used to specify the fields to be overwritten in the QuotaPreference resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_quotas-v1beta/latest/Google-Protobuf-FieldMask)) --- Optional. Field mask is used to specify the fields to be overwritten in the QuotaPreference resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

### #validate_only

    def validate_only() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. If set to true, validate the request, but do not actually update. Note that a request being valid does not mean that the request is guaranteed to be fulfilled.

### #validate_only=

    def validate_only=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. If set to true, validate the request, but do not actually update. Note that a request being valid does not mean that the request is guaranteed to be fulfilled.
**Returns**

- (::Boolean) --- Optional. If set to true, validate the request, but do not actually update. Note that a request being valid does not mean that the request is guaranteed to be fulfilled.