Cloud Quotas V1 API - Class Google::Cloud::CloudQuotas::V1::CreateQuotaPreferenceRequest (v1.1.0)

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

#ignore_safety_checks=

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

#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::V1::QuotaPreference
Returns

#quota_preference=

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

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