class Google::Cloud::AssuredWorkloads::V1::AssuredWorkloadsService::Client::Configuration::Rpcs
Configuration
RPC class for the AssuredWorkloadsService
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.
Attributes
create_workload[R]
RPC-specific configuration for ‘create_workload` @return [::Gapic::Config::Method]
delete_workload[R]
RPC-specific configuration for ‘delete_workload` @return [::Gapic::Config::Method]
get_workload[R]
RPC-specific configuration for ‘get_workload` @return [::Gapic::Config::Method]
list_workloads[R]
RPC-specific configuration for ‘list_workloads` @return [::Gapic::Config::Method]
update_workload[R]
RPC-specific configuration for ‘update_workload` @return [::Gapic::Config::Method]
Public Class Methods
new(parent_rpcs = nil) { |self| ... }
click to toggle source
@private
# File lib/google/cloud/assured_workloads/v1/assured_workloads_service/client.rb, line 801 def initialize parent_rpcs = nil create_workload_config = parent_rpcs.create_workload if parent_rpcs.respond_to? :create_workload @create_workload = ::Gapic::Config::Method.new create_workload_config update_workload_config = parent_rpcs.update_workload if parent_rpcs.respond_to? :update_workload @update_workload = ::Gapic::Config::Method.new update_workload_config delete_workload_config = parent_rpcs.delete_workload if parent_rpcs.respond_to? :delete_workload @delete_workload = ::Gapic::Config::Method.new delete_workload_config get_workload_config = parent_rpcs.get_workload if parent_rpcs.respond_to? :get_workload @get_workload = ::Gapic::Config::Method.new get_workload_config list_workloads_config = parent_rpcs.list_workloads if parent_rpcs.respond_to? :list_workloads @list_workloads = ::Gapic::Config::Method.new list_workloads_config yield self if block_given? end