Module Google::Cloud::Iot::V1::DeviceManager::Paths (v0.3.5)

Path helper methods for the DeviceManager API.

Methods

#device_path

def device_path(project:, location:, registry:, device:) -> ::String

Create a fully-qualified Device resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/registries/{registry}/devices/{device}

Parameters
  • project (String)
  • location (String)
  • registry (String)
  • device (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#location_path

def location_path(project:, location:) -> ::String

Create a fully-qualified Location resource string.

The resource will be in the following format:

projects/{project}/locations/{location}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#registry_path

def registry_path(project:, location:, registry:) -> ::String

Create a fully-qualified Registry resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/registries/{registry}

Parameters
  • project (String)
  • location (String)
  • registry (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)