class Google::Cloud::Iot::V1::DeviceManager::Client::Configuration::Rpcs

Configuration RPC class for the DeviceManager 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

bind_device_to_gateway[R]

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

create_device[R]

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

create_device_registry[R]

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

delete_device[R]

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

delete_device_registry[R]

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

get_device[R]

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

get_device_registry[R]

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

get_iam_policy[R]

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

list_device_config_versions[R]

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

list_device_registries[R]

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

list_device_states[R]

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

list_devices[R]

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

modify_cloud_to_device_config[R]

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

send_command_to_device[R]

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

set_iam_policy[R]

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

test_iam_permissions[R]

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

unbind_device_from_gateway[R]

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

update_device[R]

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

update_device_registry[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/iot/v1/device_manager/client.rb, line 1896
def initialize parent_rpcs = nil
  create_device_registry_config = parent_rpcs.create_device_registry if parent_rpcs.respond_to? :create_device_registry
  @create_device_registry = ::Gapic::Config::Method.new create_device_registry_config
  get_device_registry_config = parent_rpcs.get_device_registry if parent_rpcs.respond_to? :get_device_registry
  @get_device_registry = ::Gapic::Config::Method.new get_device_registry_config
  update_device_registry_config = parent_rpcs.update_device_registry if parent_rpcs.respond_to? :update_device_registry
  @update_device_registry = ::Gapic::Config::Method.new update_device_registry_config
  delete_device_registry_config = parent_rpcs.delete_device_registry if parent_rpcs.respond_to? :delete_device_registry
  @delete_device_registry = ::Gapic::Config::Method.new delete_device_registry_config
  list_device_registries_config = parent_rpcs.list_device_registries if parent_rpcs.respond_to? :list_device_registries
  @list_device_registries = ::Gapic::Config::Method.new list_device_registries_config
  create_device_config = parent_rpcs.create_device if parent_rpcs.respond_to? :create_device
  @create_device = ::Gapic::Config::Method.new create_device_config
  get_device_config = parent_rpcs.get_device if parent_rpcs.respond_to? :get_device
  @get_device = ::Gapic::Config::Method.new get_device_config
  update_device_config = parent_rpcs.update_device if parent_rpcs.respond_to? :update_device
  @update_device = ::Gapic::Config::Method.new update_device_config
  delete_device_config = parent_rpcs.delete_device if parent_rpcs.respond_to? :delete_device
  @delete_device = ::Gapic::Config::Method.new delete_device_config
  list_devices_config = parent_rpcs.list_devices if parent_rpcs.respond_to? :list_devices
  @list_devices = ::Gapic::Config::Method.new list_devices_config
  modify_cloud_to_device_config_config = parent_rpcs.modify_cloud_to_device_config if parent_rpcs.respond_to? :modify_cloud_to_device_config
  @modify_cloud_to_device_config = ::Gapic::Config::Method.new modify_cloud_to_device_config_config
  list_device_config_versions_config = parent_rpcs.list_device_config_versions if parent_rpcs.respond_to? :list_device_config_versions
  @list_device_config_versions = ::Gapic::Config::Method.new list_device_config_versions_config
  list_device_states_config = parent_rpcs.list_device_states if parent_rpcs.respond_to? :list_device_states
  @list_device_states = ::Gapic::Config::Method.new list_device_states_config
  set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy
  @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config
  get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy
  @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config
  test_iam_permissions_config = parent_rpcs.test_iam_permissions if parent_rpcs.respond_to? :test_iam_permissions
  @test_iam_permissions = ::Gapic::Config::Method.new test_iam_permissions_config
  send_command_to_device_config = parent_rpcs.send_command_to_device if parent_rpcs.respond_to? :send_command_to_device
  @send_command_to_device = ::Gapic::Config::Method.new send_command_to_device_config
  bind_device_to_gateway_config = parent_rpcs.bind_device_to_gateway if parent_rpcs.respond_to? :bind_device_to_gateway
  @bind_device_to_gateway = ::Gapic::Config::Method.new bind_device_to_gateway_config
  unbind_device_from_gateway_config = parent_rpcs.unbind_device_from_gateway if parent_rpcs.respond_to? :unbind_device_from_gateway
  @unbind_device_from_gateway = ::Gapic::Config::Method.new unbind_device_from_gateway_config

  yield self if block_given?
end