Cloud Quotas V1 API - Class Google::Cloud::CloudQuotas::V1::UpdateQuotaPreferenceRequest (v0.3.3)

Reference documentation and code samples for the Cloud Quotas V1 API class Google::Cloud::CloudQuotas::V1::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::V1::QuotaSafetyCheck>
Returns

#ignore_safety_checks=

def ignore_safety_checks=(value) -> ::Array<::Google::Cloud::CloudQuotas::V1::QuotaSafetyCheck>
Parameter
Returns

#quota_preference

def quota_preference() -> ::Google::Cloud::CloudQuotas::V1::QuotaPreference
Returns

#quota_preference=

def quota_preference=(value) -> ::Google::Cloud::CloudQuotas::V1::QuotaPreference
Parameter
Returns

#update_mask

def update_mask() -> ::Google::Protobuf::FieldMask
Returns
  • (::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) — 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) — 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.