Cloud Quotas V1 API - Class Google::Cloud::CloudQuotas::V1::CloudQuotas::Rest::ServiceStub (v0.2.0)

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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)