class Google::Cloud::Monitoring::V3::GroupService::Client::Configuration::Rpcs
Configuration
RPC class for the GroupService
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_group[R]
RPC-specific configuration for `create_group` @return [::Gapic::Config::Method]
delete_group[R]
RPC-specific configuration for `delete_group` @return [::Gapic::Config::Method]
get_group[R]
RPC-specific configuration for `get_group` @return [::Gapic::Config::Method]
list_group_members[R]
RPC-specific configuration for `list_group_members` @return [::Gapic::Config::Method]
list_groups[R]
RPC-specific configuration for `list_groups` @return [::Gapic::Config::Method]
update_group[R]
RPC-specific configuration for `update_group` @return [::Gapic::Config::Method]
Public Class Methods
new(parent_rpcs = nil) { |self| ... }
click to toggle source
@private
# File lib/google/cloud/monitoring/v3/group_service/client.rb, line 837 def initialize parent_rpcs = nil list_groups_config = parent_rpcs.list_groups if parent_rpcs.respond_to? :list_groups @list_groups = ::Gapic::Config::Method.new list_groups_config get_group_config = parent_rpcs.get_group if parent_rpcs.respond_to? :get_group @get_group = ::Gapic::Config::Method.new get_group_config create_group_config = parent_rpcs.create_group if parent_rpcs.respond_to? :create_group @create_group = ::Gapic::Config::Method.new create_group_config update_group_config = parent_rpcs.update_group if parent_rpcs.respond_to? :update_group @update_group = ::Gapic::Config::Method.new update_group_config delete_group_config = parent_rpcs.delete_group if parent_rpcs.respond_to? :delete_group @delete_group = ::Gapic::Config::Method.new delete_group_config list_group_members_config = parent_rpcs.list_group_members if parent_rpcs.respond_to? :list_group_members @list_group_members = ::Gapic::Config::Method.new list_group_members_config yield self if block_given? end