generated/google-apis-serviceconsumermanagement_v1beta1/lib/google/apis/serviceconsumermanagement_v1beta1/service.rb
# Retrieves a summary of all quota information about this consumer that is
# visible to the service producer, for each quota metric defined by the service.
# Each metric includes information about all of its defined limits. Each limit
# includes the limit configuration (quota unit, preciseness, default value), the
# current effective limit value, and all of the overrides applied to the limit.
# @param [String] parent
#   Parent of the quotas resource. An example parent would be: `services/
#   serviceconsumermanagement.googleapis.com/projects/123`
# @param [Fixnum] page_size
#   Requested size of the next page of data.
# @param [String] page_token
#   Token identifying which result to start with; returned by a previous list call.
# @param [String] view
#   Specifies the level of detail for quota information in the response.
# @param [String] fields
#   Selector specifying which fields to include in a partial response.
# @param [String] quota_user
#   Available to use for quota purposes for server-side applications. Can be any
#   arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
#   Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ListConsumerQuotaMetricsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ListConsumerQuotaMetricsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
Retrieves a summary of all quota information about this consumer that is
visible to the service producer, for each quota metric defined by the service.
Each metric includes information about all of its defined limits. Each limit
includes the limit configuration (quota unit, preciseness, default value), the
current effective limit value, and all of the overrides applied to the limit.
Retrieves a summary of all quota information about this consumer that is visible to the service producer for each quota metric defined by the service . Each metric includes information about all of its defined limits . Each limit includes the limit configuration ( quota unit preciseness default value ) the current effective limit value and all of the overrides applied to the limit .
def list_service_consumer_quota_metrics(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:get, 'v1beta1/{+parent}/consumerQuotaMetrics', options)
          command.response_representation = Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ListConsumerQuotaMetricsResponse::Representation
          command.response_class = Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ListConsumerQuotaMetricsResponse
          command.params['parent'] = parent unless parent.nil?
          command.query['pageSize'] = page_size unless page_size.nil?
          command.query['pageToken'] = page_token unless page_token.nil?
          command.query['view'] = view unless view.nil?
          command.query['fields'] = fields unless fields.nil?
          command.query['quotaUser'] = quota_user unless quota_user.nil?
          execute_or_queue_command(command, &block)
        end
def list_service_consumer_quota_metrics ( parent , page_size : nil , page_token : nil , view : nil , fields : nil , quota_user : nil , options : nil , & block ) command = make_simple_command ( :get , 'v1beta1/{+parent}/consumerQuotaMetrics' , options ) command . response_representation = Google :: Apis :: ServiceconsumermanagementV1beta1 :: V1Beta1ListConsumerQuotaMetricsResponse :: Representation command . response_class = Google :: Apis :: ServiceconsumermanagementV1beta1 :: V1Beta1ListConsumerQuotaMetricsResponse command . params [ 'parent' ] = parent unless parent . nil? command . query [ 'pageSize' ] = page_size unless page_size . nil? command . query [ 'pageToken' ] = page_token unless page_token . nil? command . query [ 'view' ] = view unless view . nil? command . query [ 'fields' ] = fields unless fields . nil? command . query [ 'quotaUser' ] = quota_user unless quota_user . nil? execute_or_queue_command ( command , & block ) end
Retrieves a summary of all quota information about this consumer that is
visible to the service producer, for each quota metric defined by the service.
Retrieves a summary of all quota information about this consumer that is visible to the service producer for each quota metric defined by the service .
None
Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ListConsumerQuotaMetricsResponse
[Google::Apis::ServerError] An error occurred on the server and the request can be retried
[ Google :: Apis :: ServerError ] An error occurred on the server and the request can be retried
[Google::Apis::ClientError] The request is invalid and should not be retried without modification
[ Google :: Apis :: ClientError ] The request is invalid and should not be retried without modification
[Google::Apis::AuthorizationError] Authorization is required
[ Google :: Apis :: AuthorizationError ] Authorization is required
parent
page_size
page_token
view
fields
quota_user
options
block
options Request-specific options
options Request - specific options
]
Result & error if block supplied
Result & error if block supplied
result
parsed result object
parsed result object
err
error object if request failed
error object if request failed