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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/iot/v1/device_manager/rest/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 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)


2099
2100
2101
# File 'lib/google/cloud/iot/v1/device_manager/rest/client.rb', line 2099

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)


2039
2040
2041
# File 'lib/google/cloud/iot/v1/device_manager/rest/client.rb', line 2039

def create_device
  @create_device
end

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

RPC-specific configuration for create_device_registry

Returns:

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


2014
2015
2016
# File 'lib/google/cloud/iot/v1/device_manager/rest/client.rb', line 2014

def create_device_registry
  @create_device_registry
end

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

RPC-specific configuration for delete_device

Returns:

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


2054
2055
2056
# File 'lib/google/cloud/iot/v1/device_manager/rest/client.rb', line 2054

def delete_device
  @delete_device
end

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

RPC-specific configuration for delete_device_registry

Returns:

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


2029
2030
2031
# File 'lib/google/cloud/iot/v1/device_manager/rest/client.rb', line 2029

def delete_device_registry
  @delete_device_registry
end

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

RPC-specific configuration for get_device

Returns:

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


2044
2045
2046
# File 'lib/google/cloud/iot/v1/device_manager/rest/client.rb', line 2044

def get_device
  @get_device
end

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

RPC-specific configuration for get_device_registry

Returns:

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


2019
2020
2021
# File 'lib/google/cloud/iot/v1/device_manager/rest/client.rb', line 2019

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)


2084
2085
2086
# File 'lib/google/cloud/iot/v1/device_manager/rest/client.rb', line 2084

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)


2069
2070
2071
# File 'lib/google/cloud/iot/v1/device_manager/rest/client.rb', line 2069

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)


2034
2035
2036
# File 'lib/google/cloud/iot/v1/device_manager/rest/client.rb', line 2034

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)


2074
2075
2076
# File 'lib/google/cloud/iot/v1/device_manager/rest/client.rb', line 2074

def list_device_states
  @list_device_states
end

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

RPC-specific configuration for list_devices

Returns:

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


2059
2060
2061
# File 'lib/google/cloud/iot/v1/device_manager/rest/client.rb', line 2059

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)


2064
2065
2066
# File 'lib/google/cloud/iot/v1/device_manager/rest/client.rb', line 2064

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)


2094
2095
2096
# File 'lib/google/cloud/iot/v1/device_manager/rest/client.rb', line 2094

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)


2079
2080
2081
# File 'lib/google/cloud/iot/v1/device_manager/rest/client.rb', line 2079

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)


2089
2090
2091
# File 'lib/google/cloud/iot/v1/device_manager/rest/client.rb', line 2089

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)


2104
2105
2106
# File 'lib/google/cloud/iot/v1/device_manager/rest/client.rb', line 2104

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)


2049
2050
2051
# File 'lib/google/cloud/iot/v1/device_manager/rest/client.rb', line 2049

def update_device
  @update_device
end

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

RPC-specific configuration for update_device_registry

Returns:

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


2024
2025
2026
# File 'lib/google/cloud/iot/v1/device_manager/rest/client.rb', line 2024

def update_device_registry
  @update_device_registry
end