Cloud IoT V1 API - Class Google::Cloud::Iot::V1::CreateDeviceRegistryRequest (v0.4.0)

Stay organized with collections Save and categorize content based on your preferences.

Reference documentation and code samples for the Cloud IoT V1 API class Google::Cloud::Iot::V1::CreateDeviceRegistryRequest.

Request for CreateDeviceRegistry.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#device_registry

def device_registry() -> ::Google::Cloud::Iot::V1::DeviceRegistry
Returns
  • (::Google::Cloud::Iot::V1::DeviceRegistry) — Required. The device registry. The field name must be empty. The server will generate that field from the device registry id provided and the parent field.

#device_registry=

def device_registry=(value) -> ::Google::Cloud::Iot::V1::DeviceRegistry
Parameter
  • value (::Google::Cloud::Iot::V1::DeviceRegistry) — Required. The device registry. The field name must be empty. The server will generate that field from the device registry id provided and the parent field.
Returns
  • (::Google::Cloud::Iot::V1::DeviceRegistry) — Required. The device registry. The field name must be empty. The server will generate that field from the device registry id provided and the parent field.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The project and cloud region where this device registry must be created. For example, projects/example-project/locations/us-central1.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The project and cloud region where this device registry must be created. For example, projects/example-project/locations/us-central1.
Returns
  • (::String) — Required. The project and cloud region where this device registry must be created. For example, projects/example-project/locations/us-central1.