Reference documentation and code samples for the Cloud Quotas V1 API class Google::Cloud::CloudQuotas::V1::CloudQuotas::Rest::ServiceStub.
REST service stub for the CloudQuotas service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_quota_preference
def create_quota_preference(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudQuotas::V1::QuotaPreference
Baseline implementation for the create_quota_preference REST call
- request_pb (::Google::Cloud::CloudQuotas::V1::CreateQuotaPreferenceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::CloudQuotas::V1::QuotaPreference)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudQuotas::V1::QuotaPreference) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_quota_info
def get_quota_info(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudQuotas::V1::QuotaInfo
Baseline implementation for the get_quota_info REST call
- request_pb (::Google::Cloud::CloudQuotas::V1::GetQuotaInfoRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::CloudQuotas::V1::QuotaInfo)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudQuotas::V1::QuotaInfo) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_quota_preference
def get_quota_preference(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudQuotas::V1::QuotaPreference
Baseline implementation for the get_quota_preference REST call
- request_pb (::Google::Cloud::CloudQuotas::V1::GetQuotaPreferenceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::CloudQuotas::V1::QuotaPreference)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudQuotas::V1::QuotaPreference) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_quota_infos
def list_quota_infos(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudQuotas::V1::ListQuotaInfosResponse
Baseline implementation for the list_quota_infos REST call
- request_pb (::Google::Cloud::CloudQuotas::V1::ListQuotaInfosRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::CloudQuotas::V1::ListQuotaInfosResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudQuotas::V1::ListQuotaInfosResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_quota_preferences
def list_quota_preferences(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudQuotas::V1::ListQuotaPreferencesResponse
Baseline implementation for the list_quota_preferences REST call
- request_pb (::Google::Cloud::CloudQuotas::V1::ListQuotaPreferencesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::CloudQuotas::V1::ListQuotaPreferencesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudQuotas::V1::ListQuotaPreferencesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_quota_preference
def update_quota_preference(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudQuotas::V1::QuotaPreference
Baseline implementation for the update_quota_preference REST call
- request_pb (::Google::Cloud::CloudQuotas::V1::UpdateQuotaPreferenceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::CloudQuotas::V1::QuotaPreference)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudQuotas::V1::QuotaPreference) — A result object deserialized from the server's reply
- (::ArgumentError)