Class: Google::Cloud::ServiceUsage::V1::ServiceUsage::Rest::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::ServiceUsage::V1::ServiceUsage::Rest::Client::Configuration::Rpcs
- 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
-
#batch_enable_services ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
batch_enable_services
. -
#batch_get_services ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
batch_get_services
. -
#disable_service ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
disable_service
. -
#enable_service ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
enable_service
. -
#get_service ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_service
. -
#list_services ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_services
.
Instance Attribute Details
#batch_enable_services ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for batch_enable_services
927 928 929 |
# File 'lib/google/cloud/service_usage/v1/service_usage/rest/client.rb', line 927 def batch_enable_services @batch_enable_services end |
#batch_get_services ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for batch_get_services
932 933 934 |
# File 'lib/google/cloud/service_usage/v1/service_usage/rest/client.rb', line 932 def batch_get_services @batch_get_services end |
#disable_service ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for disable_service
912 913 914 |
# File 'lib/google/cloud/service_usage/v1/service_usage/rest/client.rb', line 912 def disable_service @disable_service end |
#enable_service ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for enable_service
907 908 909 |
# File 'lib/google/cloud/service_usage/v1/service_usage/rest/client.rb', line 907 def enable_service @enable_service end |
#get_service ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_service
917 918 919 |
# File 'lib/google/cloud/service_usage/v1/service_usage/rest/client.rb', line 917 def get_service @get_service end |
#list_services ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_services
922 923 924 |
# File 'lib/google/cloud/service_usage/v1/service_usage/rest/client.rb', line 922 def list_services @list_services end |