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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/iot/v1/device_manager/client.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#bind_device_to_gateway::Gapic::Config::Method (readonly)

RPC-specific configuration for bind_device_to_gateway

Returns:

  • (::Gapic::Config::Method)


2259
2260
2261
# File 'lib/google/cloud/iot/v1/device_manager/client.rb', line 2259

def bind_device_to_gateway
  @bind_device_to_gateway
end

#create_device::Gapic::Config::Method (readonly)

RPC-specific configuration for create_device

Returns:

  • (::Gapic::Config::Method)


2199
2200
2201
# File 'lib/google/cloud/iot/v1/device_manager/client.rb', line 2199

def create_device
  @create_device
end

#create_device_registry::Gapic::Config::Method (readonly)

RPC-specific configuration for create_device_registry

Returns:

  • (::Gapic::Config::Method)


2174
2175
2176
# File 'lib/google/cloud/iot/v1/device_manager/client.rb', line 2174

def create_device_registry
  @create_device_registry
end

#delete_device::Gapic::Config::Method (readonly)

RPC-specific configuration for delete_device

Returns:

  • (::Gapic::Config::Method)


2214
2215
2216
# File 'lib/google/cloud/iot/v1/device_manager/client.rb', line 2214

def delete_device
  @delete_device
end

#delete_device_registry::Gapic::Config::Method (readonly)

RPC-specific configuration for delete_device_registry

Returns:

  • (::Gapic::Config::Method)


2189
2190
2191
# File 'lib/google/cloud/iot/v1/device_manager/client.rb', line 2189

def delete_device_registry
  @delete_device_registry
end

#get_device::Gapic::Config::Method (readonly)

RPC-specific configuration for get_device

Returns:

  • (::Gapic::Config::Method)


2204
2205
2206
# File 'lib/google/cloud/iot/v1/device_manager/client.rb', line 2204

def get_device
  @get_device
end

#get_device_registry::Gapic::Config::Method (readonly)

RPC-specific configuration for get_device_registry

Returns:

  • (::Gapic::Config::Method)


2179
2180
2181
# File 'lib/google/cloud/iot/v1/device_manager/client.rb', line 2179

def get_device_registry
  @get_device_registry
end

#get_iam_policy::Gapic::Config::Method (readonly)

RPC-specific configuration for get_iam_policy

Returns:

  • (::Gapic::Config::Method)


2244
2245
2246
# File 'lib/google/cloud/iot/v1/device_manager/client.rb', line 2244

def get_iam_policy
  @get_iam_policy
end

#list_device_config_versions::Gapic::Config::Method (readonly)

RPC-specific configuration for list_device_config_versions

Returns:

  • (::Gapic::Config::Method)


2229
2230
2231
# File 'lib/google/cloud/iot/v1/device_manager/client.rb', line 2229

def list_device_config_versions
  @list_device_config_versions
end

#list_device_registries::Gapic::Config::Method (readonly)

RPC-specific configuration for list_device_registries

Returns:

  • (::Gapic::Config::Method)


2194
2195
2196
# File 'lib/google/cloud/iot/v1/device_manager/client.rb', line 2194

def list_device_registries
  @list_device_registries
end

#list_device_states::Gapic::Config::Method (readonly)

RPC-specific configuration for list_device_states

Returns:

  • (::Gapic::Config::Method)


2234
2235
2236
# File 'lib/google/cloud/iot/v1/device_manager/client.rb', line 2234

def list_device_states
  @list_device_states
end

#list_devices::Gapic::Config::Method (readonly)

RPC-specific configuration for list_devices

Returns:

  • (::Gapic::Config::Method)


2219
2220
2221
# File 'lib/google/cloud/iot/v1/device_manager/client.rb', line 2219

def list_devices
  @list_devices
end

#modify_cloud_to_device_config::Gapic::Config::Method (readonly)

RPC-specific configuration for modify_cloud_to_device_config

Returns:

  • (::Gapic::Config::Method)


2224
2225
2226
# File 'lib/google/cloud/iot/v1/device_manager/client.rb', line 2224

def modify_cloud_to_device_config
  @modify_cloud_to_device_config
end

#send_command_to_device::Gapic::Config::Method (readonly)

RPC-specific configuration for send_command_to_device

Returns:

  • (::Gapic::Config::Method)


2254
2255
2256
# File 'lib/google/cloud/iot/v1/device_manager/client.rb', line 2254

def send_command_to_device
  @send_command_to_device
end

#set_iam_policy::Gapic::Config::Method (readonly)

RPC-specific configuration for set_iam_policy

Returns:

  • (::Gapic::Config::Method)


2239
2240
2241
# File 'lib/google/cloud/iot/v1/device_manager/client.rb', line 2239

def set_iam_policy
  @set_iam_policy
end

#test_iam_permissions::Gapic::Config::Method (readonly)

RPC-specific configuration for test_iam_permissions

Returns:

  • (::Gapic::Config::Method)


2249
2250
2251
# File 'lib/google/cloud/iot/v1/device_manager/client.rb', line 2249

def test_iam_permissions
  @test_iam_permissions
end

#unbind_device_from_gateway::Gapic::Config::Method (readonly)

RPC-specific configuration for unbind_device_from_gateway

Returns:

  • (::Gapic::Config::Method)


2264
2265
2266
# File 'lib/google/cloud/iot/v1/device_manager/client.rb', line 2264

def unbind_device_from_gateway
  @unbind_device_from_gateway
end

#update_device::Gapic::Config::Method (readonly)

RPC-specific configuration for update_device

Returns:

  • (::Gapic::Config::Method)


2209
2210
2211
# File 'lib/google/cloud/iot/v1/device_manager/client.rb', line 2209

def update_device
  @update_device
end

#update_device_registry::Gapic::Config::Method (readonly)

RPC-specific configuration for update_device_registry

Returns:

  • (::Gapic::Config::Method)


2184
2185
2186
# File 'lib/google/cloud/iot/v1/device_manager/client.rb', line 2184

def update_device_registry
  @update_device_registry
end