class Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client::Configuration::Rpcs

Configuration RPC class for the DashboardsService 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_dashboard[R]

RPC-specific configuration for `create_dashboard` @return [::Gapic::Config::Method]

delete_dashboard[R]

RPC-specific configuration for `delete_dashboard` @return [::Gapic::Config::Method]

get_dashboard[R]

RPC-specific configuration for `get_dashboard` @return [::Gapic::Config::Method]

list_dashboards[R]

RPC-specific configuration for `list_dashboards` @return [::Gapic::Config::Method]

update_dashboard[R]

RPC-specific configuration for `update_dashboard` @return [::Gapic::Config::Method]

Public Class Methods

new(parent_rpcs = nil) { |self| ... } click to toggle source

@private

# File lib/google/cloud/monitoring/dashboard/v1/dashboards_service/client.rb, line 707
def initialize parent_rpcs = nil
  create_dashboard_config = parent_rpcs.create_dashboard if parent_rpcs.respond_to? :create_dashboard
  @create_dashboard = ::Gapic::Config::Method.new create_dashboard_config
  list_dashboards_config = parent_rpcs.list_dashboards if parent_rpcs.respond_to? :list_dashboards
  @list_dashboards = ::Gapic::Config::Method.new list_dashboards_config
  get_dashboard_config = parent_rpcs.get_dashboard if parent_rpcs.respond_to? :get_dashboard
  @get_dashboard = ::Gapic::Config::Method.new get_dashboard_config
  delete_dashboard_config = parent_rpcs.delete_dashboard if parent_rpcs.respond_to? :delete_dashboard
  @delete_dashboard = ::Gapic::Config::Method.new delete_dashboard_config
  update_dashboard_config = parent_rpcs.update_dashboard if parent_rpcs.respond_to? :update_dashboard
  @update_dashboard = ::Gapic::Config::Method.new update_dashboard_config

  yield self if block_given?
end