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)


918
919
920
# File 'lib/google/cloud/service_usage/v1/service_usage/rest/client.rb', line 918

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)


923
924
925
# File 'lib/google/cloud/service_usage/v1/service_usage/rest/client.rb', line 923

def batch_get_services
  @batch_get_services
end

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

RPC-specific configuration for disable_service

Returns:

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


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

def disable_service
  @disable_service
end

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

RPC-specific configuration for enable_service

Returns:

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


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

def enable_service
  @enable_service
end

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

RPC-specific configuration for get_service

Returns:

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


908
909
910
# File 'lib/google/cloud/service_usage/v1/service_usage/rest/client.rb', line 908

def get_service
  @get_service
end

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

RPC-specific configuration for list_services

Returns:

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


913
914
915
# File 'lib/google/cloud/service_usage/v1/service_usage/rest/client.rb', line 913

def list_services
  @list_services
end