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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/service_usage/v1/service_usage/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 gRPC 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)


987
988
989
# File 'lib/google/cloud/service_usage/v1/service_usage/client.rb', line 987

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)


992
993
994
# File 'lib/google/cloud/service_usage/v1/service_usage/client.rb', line 992

def batch_get_services
  @batch_get_services
end

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

RPC-specific configuration for disable_service

Returns:

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


972
973
974
# File 'lib/google/cloud/service_usage/v1/service_usage/client.rb', line 972

def disable_service
  @disable_service
end

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

RPC-specific configuration for enable_service

Returns:

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


967
968
969
# File 'lib/google/cloud/service_usage/v1/service_usage/client.rb', line 967

def enable_service
  @enable_service
end

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

RPC-specific configuration for get_service

Returns:

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


977
978
979
# File 'lib/google/cloud/service_usage/v1/service_usage/client.rb', line 977

def get_service
  @get_service
end

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

RPC-specific configuration for list_services

Returns:

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


982
983
984
# File 'lib/google/cloud/service_usage/v1/service_usage/client.rb', line 982

def list_services
  @list_services
end