Class: Google::Cloud::CloudQuotas::V1::CloudQuotas::Rest::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/cloud_quotas/v1/cloud_quotas/rest/client.rb

Overview

Configuration RPC class for the CloudQuotas API.

Includes fields providing the configuration for each RPC in this service. Each configuration object is of type Gapic::Config::Method and includes the following configuration fields:

  • timeout (type: Numeric) - The call timeout in seconds
  • metadata (type: Hash{Symbol=>String}) - Additional headers
  • retry_policy (*type:*Hash`) - The retry policy. The policy fields include the following keys:
    • :initial_delay (type: Numeric) - The initial delay in seconds.
    • :max_delay (type: Numeric) - The max delay in seconds.
    • :multiplier (type: Numeric) - The incremental backoff multiplier.
    • :retry_codes (type: Array<String>) - The error codes that should trigger a retry.

Instance Attribute Summary collapse

Instance Attribute Details

#create_quota_preference::Gapic::Config::Method (readonly)

RPC-specific configuration for create_quota_preference

Returns:

  • (::Gapic::Config::Method)


898
899
900
# File 'lib/google/cloud/cloud_quotas/v1/cloud_quotas/rest/client.rb', line 898

def create_quota_preference
  @create_quota_preference
end

#get_quota_info::Gapic::Config::Method (readonly)

RPC-specific configuration for get_quota_info

Returns:

  • (::Gapic::Config::Method)


883
884
885
# File 'lib/google/cloud/cloud_quotas/v1/cloud_quotas/rest/client.rb', line 883

def get_quota_info
  @get_quota_info
end

#get_quota_preference::Gapic::Config::Method (readonly)

RPC-specific configuration for get_quota_preference

Returns:

  • (::Gapic::Config::Method)


893
894
895
# File 'lib/google/cloud/cloud_quotas/v1/cloud_quotas/rest/client.rb', line 893

def get_quota_preference
  @get_quota_preference
end

#list_quota_infos::Gapic::Config::Method (readonly)

RPC-specific configuration for list_quota_infos

Returns:

  • (::Gapic::Config::Method)


878
879
880
# File 'lib/google/cloud/cloud_quotas/v1/cloud_quotas/rest/client.rb', line 878

def list_quota_infos
  @list_quota_infos
end

#list_quota_preferences::Gapic::Config::Method (readonly)

RPC-specific configuration for list_quota_preferences

Returns:

  • (::Gapic::Config::Method)


888
889
890
# File 'lib/google/cloud/cloud_quotas/v1/cloud_quotas/rest/client.rb', line 888

def list_quota_preferences
  @list_quota_preferences
end

#update_quota_preference::Gapic::Config::Method (readonly)

RPC-specific configuration for update_quota_preference

Returns:

  • (::Gapic::Config::Method)


903
904
905
# File 'lib/google/cloud/cloud_quotas/v1/cloud_quotas/rest/client.rb', line 903

def update_quota_preference
  @update_quota_preference
end