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

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

Overview

Configuration RPC class for the ServiceUsage 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

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

RPC-specific configuration for batch_enable_services

Returns:

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


951
952
953
# File 'lib/google/cloud/service_usage/v1/service_usage/rest/client.rb', line 951

def batch_enable_services
  @batch_enable_services
end

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

RPC-specific configuration for batch_get_services

Returns:

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


956
957
958
# File 'lib/google/cloud/service_usage/v1/service_usage/rest/client.rb', line 956

def batch_get_services
  @batch_get_services
end

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

RPC-specific configuration for disable_service

Returns:

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


936
937
938
# File 'lib/google/cloud/service_usage/v1/service_usage/rest/client.rb', line 936

def disable_service
  @disable_service
end

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

RPC-specific configuration for enable_service

Returns:

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


931
932
933
# File 'lib/google/cloud/service_usage/v1/service_usage/rest/client.rb', line 931

def enable_service
  @enable_service
end

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

RPC-specific configuration for get_service

Returns:

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


941
942
943
# File 'lib/google/cloud/service_usage/v1/service_usage/rest/client.rb', line 941

def get_service
  @get_service
end

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

RPC-specific configuration for list_services

Returns:

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


946
947
948
# File 'lib/google/cloud/service_usage/v1/service_usage/rest/client.rb', line 946

def list_services
  @list_services
end