# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/iot/v1/device_manager.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/iot/v1/resources_pb' require 'google/iam/v1/iam_policy_pb' require 'google/iam/v1/policy_pb' require 'google/protobuf/empty_pb' require 'google/protobuf/field_mask_pb' require 'google/rpc/status_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/iot/v1/device_manager.proto", :syntax => :proto3) do add_message "google.cloud.iot.v1.CreateDeviceRegistryRequest" do optional :parent, :string, 1 optional :device_registry, :message, 2, "google.cloud.iot.v1.DeviceRegistry" end add_message "google.cloud.iot.v1.GetDeviceRegistryRequest" do optional :name, :string, 1 end add_message "google.cloud.iot.v1.DeleteDeviceRegistryRequest" do optional :name, :string, 1 end add_message "google.cloud.iot.v1.UpdateDeviceRegistryRequest" do optional :device_registry, :message, 1, "google.cloud.iot.v1.DeviceRegistry" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end add_message "google.cloud.iot.v1.ListDeviceRegistriesRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 end add_message "google.cloud.iot.v1.ListDeviceRegistriesResponse" do repeated :device_registries, :message, 1, "google.cloud.iot.v1.DeviceRegistry" optional :next_page_token, :string, 2 end add_message "google.cloud.iot.v1.CreateDeviceRequest" do optional :parent, :string, 1 optional :device, :message, 2, "google.cloud.iot.v1.Device" end add_message "google.cloud.iot.v1.GetDeviceRequest" do optional :name, :string, 1 optional :field_mask, :message, 2, "google.protobuf.FieldMask" end add_message "google.cloud.iot.v1.UpdateDeviceRequest" do optional :device, :message, 2, "google.cloud.iot.v1.Device" optional :update_mask, :message, 3, "google.protobuf.FieldMask" end add_message "google.cloud.iot.v1.DeleteDeviceRequest" do optional :name, :string, 1 end add_message "google.cloud.iot.v1.ListDevicesRequest" do optional :parent, :string, 1 repeated :device_num_ids, :uint64, 2 repeated :device_ids, :string, 3 optional :field_mask, :message, 4, "google.protobuf.FieldMask" optional :gateway_list_options, :message, 6, "google.cloud.iot.v1.GatewayListOptions" optional :page_size, :int32, 100 optional :page_token, :string, 101 end add_message "google.cloud.iot.v1.GatewayListOptions" do oneof :filter do optional :gateway_type, :enum, 1, "google.cloud.iot.v1.GatewayType" optional :associations_gateway_id, :string, 2 optional :associations_device_id, :string, 3 end end add_message "google.cloud.iot.v1.ListDevicesResponse" do repeated :devices, :message, 1, "google.cloud.iot.v1.Device" optional :next_page_token, :string, 2 end add_message "google.cloud.iot.v1.ModifyCloudToDeviceConfigRequest" do optional :name, :string, 1 optional :version_to_update, :int64, 2 optional :binary_data, :bytes, 3 end add_message "google.cloud.iot.v1.ListDeviceConfigVersionsRequest" do optional :name, :string, 1 optional :num_versions, :int32, 2 end add_message "google.cloud.iot.v1.ListDeviceConfigVersionsResponse" do repeated :device_configs, :message, 1, "google.cloud.iot.v1.DeviceConfig" end add_message "google.cloud.iot.v1.ListDeviceStatesRequest" do optional :name, :string, 1 optional :num_states, :int32, 2 end add_message "google.cloud.iot.v1.ListDeviceStatesResponse" do repeated :device_states, :message, 1, "google.cloud.iot.v1.DeviceState" end add_message "google.cloud.iot.v1.SendCommandToDeviceRequest" do optional :name, :string, 1 optional :binary_data, :bytes, 2 optional :subfolder, :string, 3 end add_message "google.cloud.iot.v1.SendCommandToDeviceResponse" do end add_message "google.cloud.iot.v1.BindDeviceToGatewayRequest" do optional :parent, :string, 1 optional :gateway_id, :string, 2 optional :device_id, :string, 3 end add_message "google.cloud.iot.v1.BindDeviceToGatewayResponse" do end add_message "google.cloud.iot.v1.UnbindDeviceFromGatewayRequest" do optional :parent, :string, 1 optional :gateway_id, :string, 2 optional :device_id, :string, 3 end add_message "google.cloud.iot.v1.UnbindDeviceFromGatewayResponse" do end end end module Google module Cloud module Iot module V1 CreateDeviceRegistryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.CreateDeviceRegistryRequest").msgclass GetDeviceRegistryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.GetDeviceRegistryRequest").msgclass DeleteDeviceRegistryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.DeleteDeviceRegistryRequest").msgclass UpdateDeviceRegistryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.UpdateDeviceRegistryRequest").msgclass ListDeviceRegistriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.ListDeviceRegistriesRequest").msgclass ListDeviceRegistriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.ListDeviceRegistriesResponse").msgclass CreateDeviceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.CreateDeviceRequest").msgclass GetDeviceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.GetDeviceRequest").msgclass UpdateDeviceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.UpdateDeviceRequest").msgclass DeleteDeviceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.DeleteDeviceRequest").msgclass ListDevicesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.ListDevicesRequest").msgclass GatewayListOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.GatewayListOptions").msgclass ListDevicesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.ListDevicesResponse").msgclass ModifyCloudToDeviceConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.ModifyCloudToDeviceConfigRequest").msgclass ListDeviceConfigVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.ListDeviceConfigVersionsRequest").msgclass ListDeviceConfigVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.ListDeviceConfigVersionsResponse").msgclass ListDeviceStatesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.ListDeviceStatesRequest").msgclass ListDeviceStatesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.ListDeviceStatesResponse").msgclass SendCommandToDeviceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.SendCommandToDeviceRequest").msgclass SendCommandToDeviceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.SendCommandToDeviceResponse").msgclass BindDeviceToGatewayRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.BindDeviceToGatewayRequest").msgclass BindDeviceToGatewayResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.BindDeviceToGatewayResponse").msgclass UnbindDeviceFromGatewayRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.UnbindDeviceFromGatewayRequest").msgclass UnbindDeviceFromGatewayResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.iot.v1.UnbindDeviceFromGatewayResponse").msgclass end end end end