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
- (::Array<::Google::Cloud::CloudQuotas::V1::QuotaSafetyCheck>) — The list of quota safety checks to be ignored.
#ignore_safety_checks=
def ignore_safety_checks=(value) -> ::Array<::Google::Cloud::CloudQuotas::V1::QuotaSafetyCheck>
Parameter
- value (::Array<::Google::Cloud::CloudQuotas::V1::QuotaSafetyCheck>) — The list of quota safety checks to be ignored.
Returns
- (::Array<::Google::Cloud::CloudQuotas::V1::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::V1::QuotaPreference
Returns
- (::Google::Cloud::CloudQuotas::V1::QuotaPreference) — Required. The resource being created
#quota_preference=
def quota_preference=(value) -> ::Google::Cloud::CloudQuotas::V1::QuotaPreference
Parameter
- value (::Google::Cloud::CloudQuotas::V1::QuotaPreference) — Required. The resource being created
Returns
- (::Google::Cloud::CloudQuotas::V1::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.