Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDeviceDataServiceServer(s grpc.ServiceRegistrar, srv DeviceDataServiceServer)
- func RegisterDeviceServiceServer(s grpc.ServiceRegistrar, srv DeviceServiceServer)
- func RegisterRegistryDataServiceServer(s grpc.ServiceRegistrar, srv RegistryDataServiceServer)
- func RegisterRegistryServiceServer(s grpc.ServiceRegistrar, srv RegistryServiceServer)
- type AddDataStreamExportMetadata
- func (*AddDataStreamExportMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *AddDataStreamExportMetadata) GetDataStreamExportId() string
- func (x *AddDataStreamExportMetadata) GetRegistryId() string
- func (*AddDataStreamExportMetadata) ProtoMessage()
- func (x *AddDataStreamExportMetadata) ProtoReflect() protoreflect.Message
- func (x *AddDataStreamExportMetadata) Reset()
- func (m *AddDataStreamExportMetadata) SetDataStreamExportId(v string)
- func (m *AddDataStreamExportMetadata) SetRegistryId(v string)
- func (x *AddDataStreamExportMetadata) String() string
- type AddDataStreamExportRequest
- func (*AddDataStreamExportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDataStreamExportRequest) GetDatabase() string
- func (x *AddDataStreamExportRequest) GetMqttTopicFilter() string
- func (x *AddDataStreamExportRequest) GetName() string
- func (x *AddDataStreamExportRequest) GetRegistryId() string
- func (x *AddDataStreamExportRequest) GetServiceAccountId() string
- func (x *AddDataStreamExportRequest) GetStream() string
- func (*AddDataStreamExportRequest) ProtoMessage()
- func (x *AddDataStreamExportRequest) ProtoReflect() protoreflect.Message
- func (x *AddDataStreamExportRequest) Reset()
- func (m *AddDataStreamExportRequest) SetDatabase(v string)
- func (m *AddDataStreamExportRequest) SetMqttTopicFilter(v string)
- func (m *AddDataStreamExportRequest) SetName(v string)
- func (m *AddDataStreamExportRequest) SetRegistryId(v string)
- func (m *AddDataStreamExportRequest) SetServiceAccountId(v string)
- func (m *AddDataStreamExportRequest) SetStream(v string)
- func (x *AddDataStreamExportRequest) String() string
- type AddDeviceCertificateMetadata
- func (*AddDeviceCertificateMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *AddDeviceCertificateMetadata) GetDeviceId() string
- func (x *AddDeviceCertificateMetadata) GetFingerprint() string
- func (*AddDeviceCertificateMetadata) ProtoMessage()
- func (x *AddDeviceCertificateMetadata) ProtoReflect() protoreflect.Message
- func (x *AddDeviceCertificateMetadata) Reset()
- func (m *AddDeviceCertificateMetadata) SetDeviceId(v string)
- func (m *AddDeviceCertificateMetadata) SetFingerprint(v string)
- func (x *AddDeviceCertificateMetadata) String() string
- type AddDeviceCertificateRequest
- func (*AddDeviceCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDeviceCertificateRequest) GetCertificateData() string
- func (x *AddDeviceCertificateRequest) GetDeviceId() string
- func (*AddDeviceCertificateRequest) ProtoMessage()
- func (x *AddDeviceCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *AddDeviceCertificateRequest) Reset()
- func (m *AddDeviceCertificateRequest) SetCertificateData(v string)
- func (m *AddDeviceCertificateRequest) SetDeviceId(v string)
- func (x *AddDeviceCertificateRequest) String() string
- type AddDevicePasswordMetadata
- func (*AddDevicePasswordMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *AddDevicePasswordMetadata) GetDeviceId() string
- func (x *AddDevicePasswordMetadata) GetPasswordId() string
- func (*AddDevicePasswordMetadata) ProtoMessage()
- func (x *AddDevicePasswordMetadata) ProtoReflect() protoreflect.Message
- func (x *AddDevicePasswordMetadata) Reset()
- func (m *AddDevicePasswordMetadata) SetDeviceId(v string)
- func (m *AddDevicePasswordMetadata) SetPasswordId(v string)
- func (x *AddDevicePasswordMetadata) String() string
- type AddDevicePasswordRequest
- func (*AddDevicePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDevicePasswordRequest) GetDeviceId() string
- func (x *AddDevicePasswordRequest) GetPassword() string
- func (*AddDevicePasswordRequest) ProtoMessage()
- func (x *AddDevicePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *AddDevicePasswordRequest) Reset()
- func (m *AddDevicePasswordRequest) SetDeviceId(v string)
- func (m *AddDevicePasswordRequest) SetPassword(v string)
- func (x *AddDevicePasswordRequest) String() string
- type AddRegistryCertificateMetadata
- func (*AddRegistryCertificateMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *AddRegistryCertificateMetadata) GetFingerprint() string
- func (x *AddRegistryCertificateMetadata) GetRegistryId() string
- func (*AddRegistryCertificateMetadata) ProtoMessage()
- func (x *AddRegistryCertificateMetadata) ProtoReflect() protoreflect.Message
- func (x *AddRegistryCertificateMetadata) Reset()
- func (m *AddRegistryCertificateMetadata) SetFingerprint(v string)
- func (m *AddRegistryCertificateMetadata) SetRegistryId(v string)
- func (x *AddRegistryCertificateMetadata) String() string
- type AddRegistryCertificateRequest
- func (*AddRegistryCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddRegistryCertificateRequest) GetCertificateData() string
- func (x *AddRegistryCertificateRequest) GetRegistryId() string
- func (*AddRegistryCertificateRequest) ProtoMessage()
- func (x *AddRegistryCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *AddRegistryCertificateRequest) Reset()
- func (m *AddRegistryCertificateRequest) SetCertificateData(v string)
- func (m *AddRegistryCertificateRequest) SetRegistryId(v string)
- func (x *AddRegistryCertificateRequest) String() string
- type AddRegistryPasswordMetadata
- func (*AddRegistryPasswordMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *AddRegistryPasswordMetadata) GetPasswordId() string
- func (x *AddRegistryPasswordMetadata) GetRegistryId() string
- func (*AddRegistryPasswordMetadata) ProtoMessage()
- func (x *AddRegistryPasswordMetadata) ProtoReflect() protoreflect.Message
- func (x *AddRegistryPasswordMetadata) Reset()
- func (m *AddRegistryPasswordMetadata) SetPasswordId(v string)
- func (m *AddRegistryPasswordMetadata) SetRegistryId(v string)
- func (x *AddRegistryPasswordMetadata) String() string
- type AddRegistryPasswordRequest
- func (*AddRegistryPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddRegistryPasswordRequest) GetPassword() string
- func (x *AddRegistryPasswordRequest) GetRegistryId() string
- func (*AddRegistryPasswordRequest) ProtoMessage()
- func (x *AddRegistryPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *AddRegistryPasswordRequest) Reset()
- func (m *AddRegistryPasswordRequest) SetPassword(v string)
- func (m *AddRegistryPasswordRequest) SetRegistryId(v string)
- func (x *AddRegistryPasswordRequest) String() string
- type CreateDeviceMetadata
- func (*CreateDeviceMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeviceMetadata) GetDeviceId() string
- func (*CreateDeviceMetadata) ProtoMessage()
- func (x *CreateDeviceMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateDeviceMetadata) Reset()
- func (m *CreateDeviceMetadata) SetDeviceId(v string)
- func (x *CreateDeviceMetadata) String() string
- type CreateDeviceRequest
- func (*CreateDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeviceRequest) GetCertificates() []*CreateDeviceRequest_Certificate
- func (x *CreateDeviceRequest) GetDescription() string
- func (x *CreateDeviceRequest) GetName() string
- func (x *CreateDeviceRequest) GetPassword() string
- func (x *CreateDeviceRequest) GetRegistryId() string
- func (x *CreateDeviceRequest) GetTopicAliases() map[string]string
- func (*CreateDeviceRequest) ProtoMessage()
- func (x *CreateDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDeviceRequest) Reset()
- func (m *CreateDeviceRequest) SetCertificates(v []*CreateDeviceRequest_Certificate)
- func (m *CreateDeviceRequest) SetDescription(v string)
- func (m *CreateDeviceRequest) SetName(v string)
- func (m *CreateDeviceRequest) SetPassword(v string)
- func (m *CreateDeviceRequest) SetRegistryId(v string)
- func (m *CreateDeviceRequest) SetTopicAliases(v map[string]string)
- func (x *CreateDeviceRequest) String() string
- type CreateDeviceRequest_Certificate
- func (*CreateDeviceRequest_Certificate) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeviceRequest_Certificate) GetCertificateData() string
- func (*CreateDeviceRequest_Certificate) ProtoMessage()
- func (x *CreateDeviceRequest_Certificate) ProtoReflect() protoreflect.Message
- func (x *CreateDeviceRequest_Certificate) Reset()
- func (m *CreateDeviceRequest_Certificate) SetCertificateData(v string)
- func (x *CreateDeviceRequest_Certificate) String() string
- type CreateRegistryMetadata
- func (*CreateRegistryMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRegistryMetadata) GetRegistryId() string
- func (*CreateRegistryMetadata) ProtoMessage()
- func (x *CreateRegistryMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateRegistryMetadata) Reset()
- func (m *CreateRegistryMetadata) SetRegistryId(v string)
- func (x *CreateRegistryMetadata) String() string
- type CreateRegistryRequest
- func (*CreateRegistryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRegistryRequest) GetCertificates() []*CreateRegistryRequest_Certificate
- func (x *CreateRegistryRequest) GetDescription() string
- func (x *CreateRegistryRequest) GetFolderId() string
- func (x *CreateRegistryRequest) GetLabels() map[string]string
- func (x *CreateRegistryRequest) GetLogOptions() *LogOptions
- func (x *CreateRegistryRequest) GetName() string
- func (x *CreateRegistryRequest) GetPassword() string
- func (*CreateRegistryRequest) ProtoMessage()
- func (x *CreateRegistryRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRegistryRequest) Reset()
- func (m *CreateRegistryRequest) SetCertificates(v []*CreateRegistryRequest_Certificate)
- func (m *CreateRegistryRequest) SetDescription(v string)
- func (m *CreateRegistryRequest) SetFolderId(v string)
- func (m *CreateRegistryRequest) SetLabels(v map[string]string)
- func (m *CreateRegistryRequest) SetLogOptions(v *LogOptions)
- func (m *CreateRegistryRequest) SetName(v string)
- func (m *CreateRegistryRequest) SetPassword(v string)
- func (x *CreateRegistryRequest) String() string
- type CreateRegistryRequest_Certificate
- func (*CreateRegistryRequest_Certificate) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRegistryRequest_Certificate) GetCertificateData() string
- func (*CreateRegistryRequest_Certificate) ProtoMessage()
- func (x *CreateRegistryRequest_Certificate) ProtoReflect() protoreflect.Message
- func (x *CreateRegistryRequest_Certificate) Reset()
- func (m *CreateRegistryRequest_Certificate) SetCertificateData(v string)
- func (x *CreateRegistryRequest_Certificate) String() string
- type DataStreamExport
- func (*DataStreamExport) Descriptor() ([]byte, []int)deprecated
- func (x *DataStreamExport) GetCreatedAt() *timestamppb.Timestamp
- func (x *DataStreamExport) GetDatabase() string
- func (x *DataStreamExport) GetId() string
- func (x *DataStreamExport) GetMqttTopicFilter() string
- func (x *DataStreamExport) GetName() string
- func (x *DataStreamExport) GetRegistryId() string
- func (x *DataStreamExport) GetServiceAccountId() string
- func (x *DataStreamExport) GetStream() string
- func (*DataStreamExport) ProtoMessage()
- func (x *DataStreamExport) ProtoReflect() protoreflect.Message
- func (x *DataStreamExport) Reset()
- func (m *DataStreamExport) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *DataStreamExport) SetDatabase(v string)
- func (m *DataStreamExport) SetId(v string)
- func (m *DataStreamExport) SetMqttTopicFilter(v string)
- func (m *DataStreamExport) SetName(v string)
- func (m *DataStreamExport) SetRegistryId(v string)
- func (m *DataStreamExport) SetServiceAccountId(v string)
- func (m *DataStreamExport) SetStream(v string)
- func (x *DataStreamExport) String() string
- type DeleteDataStreamExportMetadata
- func (*DeleteDataStreamExportMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDataStreamExportMetadata) GetDataStreamExportId() string
- func (x *DeleteDataStreamExportMetadata) GetRegistryId() string
- func (*DeleteDataStreamExportMetadata) ProtoMessage()
- func (x *DeleteDataStreamExportMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteDataStreamExportMetadata) Reset()
- func (m *DeleteDataStreamExportMetadata) SetDataStreamExportId(v string)
- func (m *DeleteDataStreamExportMetadata) SetRegistryId(v string)
- func (x *DeleteDataStreamExportMetadata) String() string
- type DeleteDataStreamExportRequest
- func (*DeleteDataStreamExportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDataStreamExportRequest) GetDataStreamExportId() string
- func (x *DeleteDataStreamExportRequest) GetRegistryId() string
- func (*DeleteDataStreamExportRequest) ProtoMessage()
- func (x *DeleteDataStreamExportRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDataStreamExportRequest) Reset()
- func (m *DeleteDataStreamExportRequest) SetDataStreamExportId(v string)
- func (m *DeleteDataStreamExportRequest) SetRegistryId(v string)
- func (x *DeleteDataStreamExportRequest) String() string
- type DeleteDeviceCertificateMetadata
- func (*DeleteDeviceCertificateMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDeviceCertificateMetadata) GetDeviceId() string
- func (x *DeleteDeviceCertificateMetadata) GetFingerprint() string
- func (*DeleteDeviceCertificateMetadata) ProtoMessage()
- func (x *DeleteDeviceCertificateMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteDeviceCertificateMetadata) Reset()
- func (m *DeleteDeviceCertificateMetadata) SetDeviceId(v string)
- func (m *DeleteDeviceCertificateMetadata) SetFingerprint(v string)
- func (x *DeleteDeviceCertificateMetadata) String() string
- type DeleteDeviceCertificateRequest
- func (*DeleteDeviceCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDeviceCertificateRequest) GetDeviceId() string
- func (x *DeleteDeviceCertificateRequest) GetFingerprint() string
- func (*DeleteDeviceCertificateRequest) ProtoMessage()
- func (x *DeleteDeviceCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDeviceCertificateRequest) Reset()
- func (m *DeleteDeviceCertificateRequest) SetDeviceId(v string)
- func (m *DeleteDeviceCertificateRequest) SetFingerprint(v string)
- func (x *DeleteDeviceCertificateRequest) String() string
- type DeleteDeviceMetadata
- func (*DeleteDeviceMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDeviceMetadata) GetDeviceId() string
- func (*DeleteDeviceMetadata) ProtoMessage()
- func (x *DeleteDeviceMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteDeviceMetadata) Reset()
- func (m *DeleteDeviceMetadata) SetDeviceId(v string)
- func (x *DeleteDeviceMetadata) String() string
- type DeleteDevicePasswordMetadata
- func (*DeleteDevicePasswordMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDevicePasswordMetadata) GetDeviceId() string
- func (x *DeleteDevicePasswordMetadata) GetPasswordId() string
- func (*DeleteDevicePasswordMetadata) ProtoMessage()
- func (x *DeleteDevicePasswordMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteDevicePasswordMetadata) Reset()
- func (m *DeleteDevicePasswordMetadata) SetDeviceId(v string)
- func (m *DeleteDevicePasswordMetadata) SetPasswordId(v string)
- func (x *DeleteDevicePasswordMetadata) String() string
- type DeleteDevicePasswordRequest
- func (*DeleteDevicePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDevicePasswordRequest) GetDeviceId() string
- func (x *DeleteDevicePasswordRequest) GetPasswordId() string
- func (*DeleteDevicePasswordRequest) ProtoMessage()
- func (x *DeleteDevicePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDevicePasswordRequest) Reset()
- func (m *DeleteDevicePasswordRequest) SetDeviceId(v string)
- func (m *DeleteDevicePasswordRequest) SetPasswordId(v string)
- func (x *DeleteDevicePasswordRequest) String() string
- type DeleteDeviceRequest
- func (*DeleteDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDeviceRequest) GetDeviceId() string
- func (*DeleteDeviceRequest) ProtoMessage()
- func (x *DeleteDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDeviceRequest) Reset()
- func (m *DeleteDeviceRequest) SetDeviceId(v string)
- func (x *DeleteDeviceRequest) String() string
- type DeleteRegistryCertificateMetadata
- func (*DeleteRegistryCertificateMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRegistryCertificateMetadata) GetFingerprint() string
- func (x *DeleteRegistryCertificateMetadata) GetRegistryId() string
- func (*DeleteRegistryCertificateMetadata) ProtoMessage()
- func (x *DeleteRegistryCertificateMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteRegistryCertificateMetadata) Reset()
- func (m *DeleteRegistryCertificateMetadata) SetFingerprint(v string)
- func (m *DeleteRegistryCertificateMetadata) SetRegistryId(v string)
- func (x *DeleteRegistryCertificateMetadata) String() string
- type DeleteRegistryCertificateRequest
- func (*DeleteRegistryCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRegistryCertificateRequest) GetFingerprint() string
- func (x *DeleteRegistryCertificateRequest) GetRegistryId() string
- func (*DeleteRegistryCertificateRequest) ProtoMessage()
- func (x *DeleteRegistryCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRegistryCertificateRequest) Reset()
- func (m *DeleteRegistryCertificateRequest) SetFingerprint(v string)
- func (m *DeleteRegistryCertificateRequest) SetRegistryId(v string)
- func (x *DeleteRegistryCertificateRequest) String() string
- type DeleteRegistryMetadata
- func (*DeleteRegistryMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRegistryMetadata) GetRegistryId() string
- func (*DeleteRegistryMetadata) ProtoMessage()
- func (x *DeleteRegistryMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteRegistryMetadata) Reset()
- func (m *DeleteRegistryMetadata) SetRegistryId(v string)
- func (x *DeleteRegistryMetadata) String() string
- type DeleteRegistryPasswordMetadata
- func (*DeleteRegistryPasswordMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRegistryPasswordMetadata) GetPasswordId() string
- func (x *DeleteRegistryPasswordMetadata) GetRegistryId() string
- func (*DeleteRegistryPasswordMetadata) ProtoMessage()
- func (x *DeleteRegistryPasswordMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteRegistryPasswordMetadata) Reset()
- func (m *DeleteRegistryPasswordMetadata) SetPasswordId(v string)
- func (m *DeleteRegistryPasswordMetadata) SetRegistryId(v string)
- func (x *DeleteRegistryPasswordMetadata) String() string
- type DeleteRegistryPasswordRequest
- func (*DeleteRegistryPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRegistryPasswordRequest) GetPasswordId() string
- func (x *DeleteRegistryPasswordRequest) GetRegistryId() string
- func (*DeleteRegistryPasswordRequest) ProtoMessage()
- func (x *DeleteRegistryPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRegistryPasswordRequest) Reset()
- func (m *DeleteRegistryPasswordRequest) SetPasswordId(v string)
- func (m *DeleteRegistryPasswordRequest) SetRegistryId(v string)
- func (x *DeleteRegistryPasswordRequest) String() string
- type DeleteRegistryRequest
- func (*DeleteRegistryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRegistryRequest) GetRegistryId() string
- func (*DeleteRegistryRequest) ProtoMessage()
- func (x *DeleteRegistryRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRegistryRequest) Reset()
- func (m *DeleteRegistryRequest) SetRegistryId(v string)
- func (x *DeleteRegistryRequest) String() string
- type Device
- func (*Device) Descriptor() ([]byte, []int)deprecated
- func (x *Device) GetCreatedAt() *timestamppb.Timestamp
- func (x *Device) GetDescription() string
- func (x *Device) GetId() string
- func (x *Device) GetMonitoringData() *DeviceMonitoringData
- func (x *Device) GetName() string
- func (x *Device) GetRegistryId() string
- func (x *Device) GetStatus() Device_Status
- func (x *Device) GetTopicAliases() map[string]string
- func (*Device) ProtoMessage()
- func (x *Device) ProtoReflect() protoreflect.Message
- func (x *Device) Reset()
- func (m *Device) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Device) SetDescription(v string)
- func (m *Device) SetId(v string)
- func (m *Device) SetMonitoringData(v *DeviceMonitoringData)
- func (m *Device) SetName(v string)
- func (m *Device) SetRegistryId(v string)
- func (m *Device) SetStatus(v Device_Status)
- func (m *Device) SetTopicAliases(v map[string]string)
- func (x *Device) String() string
- type DeviceAlias
- func (*DeviceAlias) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceAlias) GetAlias() string
- func (x *DeviceAlias) GetDeviceId() string
- func (x *DeviceAlias) GetTopicPrefix() string
- func (*DeviceAlias) ProtoMessage()
- func (x *DeviceAlias) ProtoReflect() protoreflect.Message
- func (x *DeviceAlias) Reset()
- func (m *DeviceAlias) SetAlias(v string)
- func (m *DeviceAlias) SetDeviceId(v string)
- func (m *DeviceAlias) SetTopicPrefix(v string)
- func (x *DeviceAlias) String() string
- type DeviceCertificate
- func (*DeviceCertificate) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceCertificate) GetCertificateData() string
- func (x *DeviceCertificate) GetCreatedAt() *timestamppb.Timestamp
- func (x *DeviceCertificate) GetDeviceId() string
- func (x *DeviceCertificate) GetFingerprint() string
- func (*DeviceCertificate) ProtoMessage()
- func (x *DeviceCertificate) ProtoReflect() protoreflect.Message
- func (x *DeviceCertificate) Reset()
- func (m *DeviceCertificate) SetCertificateData(v string)
- func (m *DeviceCertificate) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *DeviceCertificate) SetDeviceId(v string)
- func (m *DeviceCertificate) SetFingerprint(v string)
- func (x *DeviceCertificate) String() string
- type DeviceDataServiceClient
- type DeviceDataServiceServer
- type DeviceMonitoringData
- func (*DeviceMonitoringData) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceMonitoringData) GetLastAuthIp() string
- func (x *DeviceMonitoringData) GetLastAuthTime() *timestamppb.Timestamp
- func (x *DeviceMonitoringData) GetLastOnlineTime() *timestamppb.Timestamp
- func (x *DeviceMonitoringData) GetLastPubActivityTime() *timestamppb.Timestamp
- func (x *DeviceMonitoringData) GetLastSubActivityTime() *timestamppb.Timestamp
- func (*DeviceMonitoringData) ProtoMessage()
- func (x *DeviceMonitoringData) ProtoReflect() protoreflect.Message
- func (x *DeviceMonitoringData) Reset()
- func (m *DeviceMonitoringData) SetLastAuthIp(v string)
- func (m *DeviceMonitoringData) SetLastAuthTime(v *timestamppb.Timestamp)
- func (m *DeviceMonitoringData) SetLastOnlineTime(v *timestamppb.Timestamp)
- func (m *DeviceMonitoringData) SetLastPubActivityTime(v *timestamppb.Timestamp)
- func (m *DeviceMonitoringData) SetLastSubActivityTime(v *timestamppb.Timestamp)
- func (x *DeviceMonitoringData) String() string
- type DevicePassword
- func (*DevicePassword) Descriptor() ([]byte, []int)deprecated
- func (x *DevicePassword) GetCreatedAt() *timestamppb.Timestamp
- func (x *DevicePassword) GetDeviceId() string
- func (x *DevicePassword) GetId() string
- func (*DevicePassword) ProtoMessage()
- func (x *DevicePassword) ProtoReflect() protoreflect.Message
- func (x *DevicePassword) Reset()
- func (m *DevicePassword) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *DevicePassword) SetDeviceId(v string)
- func (m *DevicePassword) SetId(v string)
- func (x *DevicePassword) String() string
- type DeviceServiceClient
- type DeviceServiceServer
- type DeviceView
- type Device_Status
- func (Device_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Device_Status) Enum() *Device_Status
- func (Device_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Device_Status) Number() protoreflect.EnumNumber
- func (x Device_Status) String() string
- func (Device_Status) Type() protoreflect.EnumType
- type DisableRegistryMetadata
- func (*DisableRegistryMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DisableRegistryMetadata) GetRegistryId() string
- func (*DisableRegistryMetadata) ProtoMessage()
- func (x *DisableRegistryMetadata) ProtoReflect() protoreflect.Message
- func (x *DisableRegistryMetadata) Reset()
- func (m *DisableRegistryMetadata) SetRegistryId(v string)
- func (x *DisableRegistryMetadata) String() string
- type DisableRegistryRequest
- func (*DisableRegistryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DisableRegistryRequest) GetRegistryId() string
- func (*DisableRegistryRequest) ProtoMessage()
- func (x *DisableRegistryRequest) ProtoReflect() protoreflect.Message
- func (x *DisableRegistryRequest) Reset()
- func (m *DisableRegistryRequest) SetRegistryId(v string)
- func (x *DisableRegistryRequest) String() string
- type EnableRegistryMetadata
- func (*EnableRegistryMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *EnableRegistryMetadata) GetRegistryId() string
- func (*EnableRegistryMetadata) ProtoMessage()
- func (x *EnableRegistryMetadata) ProtoReflect() protoreflect.Message
- func (x *EnableRegistryMetadata) Reset()
- func (m *EnableRegistryMetadata) SetRegistryId(v string)
- func (x *EnableRegistryMetadata) String() string
- type EnableRegistryRequest
- func (*EnableRegistryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnableRegistryRequest) GetRegistryId() string
- func (*EnableRegistryRequest) ProtoMessage()
- func (x *EnableRegistryRequest) ProtoReflect() protoreflect.Message
- func (x *EnableRegistryRequest) Reset()
- func (m *EnableRegistryRequest) SetRegistryId(v string)
- func (x *EnableRegistryRequest) String() string
- type GetByNameDeviceRequest
- func (*GetByNameDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetByNameDeviceRequest) GetDeviceName() string
- func (x *GetByNameDeviceRequest) GetDeviceView() DeviceView
- func (x *GetByNameDeviceRequest) GetRegistryId() string
- func (*GetByNameDeviceRequest) ProtoMessage()
- func (x *GetByNameDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *GetByNameDeviceRequest) Reset()
- func (m *GetByNameDeviceRequest) SetDeviceName(v string)
- func (m *GetByNameDeviceRequest) SetDeviceView(v DeviceView)
- func (m *GetByNameDeviceRequest) SetRegistryId(v string)
- func (x *GetByNameDeviceRequest) String() string
- type GetByNameRegistryRequest
- func (*GetByNameRegistryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetByNameRegistryRequest) GetFolderId() string
- func (x *GetByNameRegistryRequest) GetRegistryName() string
- func (*GetByNameRegistryRequest) ProtoMessage()
- func (x *GetByNameRegistryRequest) ProtoReflect() protoreflect.Message
- func (x *GetByNameRegistryRequest) Reset()
- func (m *GetByNameRegistryRequest) SetFolderId(v string)
- func (m *GetByNameRegistryRequest) SetRegistryName(v string)
- func (x *GetByNameRegistryRequest) String() string
- type GetDeviceRequest
- func (*GetDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeviceRequest) GetDeviceId() string
- func (x *GetDeviceRequest) GetDeviceView() DeviceView
- func (*GetDeviceRequest) ProtoMessage()
- func (x *GetDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeviceRequest) Reset()
- func (m *GetDeviceRequest) SetDeviceId(v string)
- func (m *GetDeviceRequest) SetDeviceView(v DeviceView)
- func (x *GetDeviceRequest) String() string
- type GetRegistryRequest
- func (*GetRegistryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRegistryRequest) GetRegistryId() string
- func (*GetRegistryRequest) ProtoMessage()
- func (x *GetRegistryRequest) ProtoReflect() protoreflect.Message
- func (x *GetRegistryRequest) Reset()
- func (m *GetRegistryRequest) SetRegistryId(v string)
- func (x *GetRegistryRequest) String() string
- type ListDataStreamExportsRequest
- func (*ListDataStreamExportsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDataStreamExportsRequest) GetRegistryId() string
- func (*ListDataStreamExportsRequest) ProtoMessage()
- func (x *ListDataStreamExportsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDataStreamExportsRequest) Reset()
- func (m *ListDataStreamExportsRequest) SetRegistryId(v string)
- func (x *ListDataStreamExportsRequest) String() string
- type ListDataStreamExportsResponse
- func (*ListDataStreamExportsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDataStreamExportsResponse) GetDataStreamExports() []*DataStreamExport
- func (*ListDataStreamExportsResponse) ProtoMessage()
- func (x *ListDataStreamExportsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDataStreamExportsResponse) Reset()
- func (m *ListDataStreamExportsResponse) SetDataStreamExports(v []*DataStreamExport)
- func (x *ListDataStreamExportsResponse) String() string
- type ListDeviceCertificatesRequest
- func (*ListDeviceCertificatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeviceCertificatesRequest) GetDeviceId() string
- func (*ListDeviceCertificatesRequest) ProtoMessage()
- func (x *ListDeviceCertificatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListDeviceCertificatesRequest) Reset()
- func (m *ListDeviceCertificatesRequest) SetDeviceId(v string)
- func (x *ListDeviceCertificatesRequest) String() string
- type ListDeviceCertificatesResponse
- func (*ListDeviceCertificatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeviceCertificatesResponse) GetCertificates() []*DeviceCertificate
- func (*ListDeviceCertificatesResponse) ProtoMessage()
- func (x *ListDeviceCertificatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDeviceCertificatesResponse) Reset()
- func (m *ListDeviceCertificatesResponse) SetCertificates(v []*DeviceCertificate)
- func (x *ListDeviceCertificatesResponse) String() string
- type ListDeviceOperationsRequest
- func (*ListDeviceOperationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeviceOperationsRequest) GetDeviceId() string
- func (x *ListDeviceOperationsRequest) GetFilter() string
- func (x *ListDeviceOperationsRequest) GetPageSize() int64
- func (x *ListDeviceOperationsRequest) GetPageToken() string
- func (*ListDeviceOperationsRequest) ProtoMessage()
- func (x *ListDeviceOperationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDeviceOperationsRequest) Reset()
- func (m *ListDeviceOperationsRequest) SetDeviceId(v string)
- func (m *ListDeviceOperationsRequest) SetFilter(v string)
- func (m *ListDeviceOperationsRequest) SetPageSize(v int64)
- func (m *ListDeviceOperationsRequest) SetPageToken(v string)
- func (x *ListDeviceOperationsRequest) String() string
- type ListDeviceOperationsResponse
- func (*ListDeviceOperationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeviceOperationsResponse) GetNextPageToken() string
- func (x *ListDeviceOperationsResponse) GetOperations() []*operation.Operation
- func (*ListDeviceOperationsResponse) ProtoMessage()
- func (x *ListDeviceOperationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDeviceOperationsResponse) Reset()
- func (m *ListDeviceOperationsResponse) SetNextPageToken(v string)
- func (m *ListDeviceOperationsResponse) SetOperations(v []*operation.Operation)
- func (x *ListDeviceOperationsResponse) String() string
- type ListDevicePasswordsRequest
- func (*ListDevicePasswordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDevicePasswordsRequest) GetDeviceId() string
- func (*ListDevicePasswordsRequest) ProtoMessage()
- func (x *ListDevicePasswordsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDevicePasswordsRequest) Reset()
- func (m *ListDevicePasswordsRequest) SetDeviceId(v string)
- func (x *ListDevicePasswordsRequest) String() string
- type ListDevicePasswordsResponse
- func (*ListDevicePasswordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDevicePasswordsResponse) GetPasswords() []*DevicePassword
- func (*ListDevicePasswordsResponse) ProtoMessage()
- func (x *ListDevicePasswordsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDevicePasswordsResponse) Reset()
- func (m *ListDevicePasswordsResponse) SetPasswords(v []*DevicePassword)
- func (x *ListDevicePasswordsResponse) String() string
- type ListDeviceTopicAliasesRequest
- func (*ListDeviceTopicAliasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeviceTopicAliasesRequest) GetPageSize() int64
- func (x *ListDeviceTopicAliasesRequest) GetPageToken() string
- func (x *ListDeviceTopicAliasesRequest) GetRegistryId() string
- func (*ListDeviceTopicAliasesRequest) ProtoMessage()
- func (x *ListDeviceTopicAliasesRequest) ProtoReflect() protoreflect.Message
- func (x *ListDeviceTopicAliasesRequest) Reset()
- func (m *ListDeviceTopicAliasesRequest) SetPageSize(v int64)
- func (m *ListDeviceTopicAliasesRequest) SetPageToken(v string)
- func (m *ListDeviceTopicAliasesRequest) SetRegistryId(v string)
- func (x *ListDeviceTopicAliasesRequest) String() string
- type ListDeviceTopicAliasesResponse
- func (*ListDeviceTopicAliasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeviceTopicAliasesResponse) GetAliases() []*DeviceAlias
- func (x *ListDeviceTopicAliasesResponse) GetNextPageToken() string
- func (*ListDeviceTopicAliasesResponse) ProtoMessage()
- func (x *ListDeviceTopicAliasesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDeviceTopicAliasesResponse) Reset()
- func (m *ListDeviceTopicAliasesResponse) SetAliases(v []*DeviceAlias)
- func (m *ListDeviceTopicAliasesResponse) SetNextPageToken(v string)
- func (x *ListDeviceTopicAliasesResponse) String() string
- type ListDevicesRequest
- func (*ListDevicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDevicesRequest) GetDeviceView() DeviceView
- func (x *ListDevicesRequest) GetFolderId() string
- func (m *ListDevicesRequest) GetId() isListDevicesRequest_Id
- func (x *ListDevicesRequest) GetPageSize() int64
- func (x *ListDevicesRequest) GetPageToken() string
- func (x *ListDevicesRequest) GetRegistryId() string
- func (*ListDevicesRequest) ProtoMessage()
- func (x *ListDevicesRequest) ProtoReflect() protoreflect.Message
- func (x *ListDevicesRequest) Reset()
- func (m *ListDevicesRequest) SetDeviceView(v DeviceView)
- func (m *ListDevicesRequest) SetFolderId(v string)
- func (m *ListDevicesRequest) SetId(v ListDevicesRequest_Id)
- func (m *ListDevicesRequest) SetPageSize(v int64)
- func (m *ListDevicesRequest) SetPageToken(v string)
- func (m *ListDevicesRequest) SetRegistryId(v string)
- func (x *ListDevicesRequest) String() string
- type ListDevicesRequest_FolderId
- type ListDevicesRequest_Id
- type ListDevicesRequest_RegistryId
- type ListDevicesResponse
- func (*ListDevicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDevicesResponse) GetDevices() []*Device
- func (x *ListDevicesResponse) GetNextPageToken() string
- func (*ListDevicesResponse) ProtoMessage()
- func (x *ListDevicesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDevicesResponse) Reset()
- func (m *ListDevicesResponse) SetDevices(v []*Device)
- func (m *ListDevicesResponse) SetNextPageToken(v string)
- func (x *ListDevicesResponse) String() string
- type ListRegistriesRequest
- func (*ListRegistriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegistriesRequest) GetFolderId() string
- func (x *ListRegistriesRequest) GetPageSize() int64
- func (x *ListRegistriesRequest) GetPageToken() string
- func (*ListRegistriesRequest) ProtoMessage()
- func (x *ListRegistriesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRegistriesRequest) Reset()
- func (m *ListRegistriesRequest) SetFolderId(v string)
- func (m *ListRegistriesRequest) SetPageSize(v int64)
- func (m *ListRegistriesRequest) SetPageToken(v string)
- func (x *ListRegistriesRequest) String() string
- type ListRegistriesResponse
- func (*ListRegistriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegistriesResponse) GetNextPageToken() string
- func (x *ListRegistriesResponse) GetRegistries() []*Registry
- func (*ListRegistriesResponse) ProtoMessage()
- func (x *ListRegistriesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRegistriesResponse) Reset()
- func (m *ListRegistriesResponse) SetNextPageToken(v string)
- func (m *ListRegistriesResponse) SetRegistries(v []*Registry)
- func (x *ListRegistriesResponse) String() string
- type ListRegistryCertificatesRequest
- func (*ListRegistryCertificatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegistryCertificatesRequest) GetRegistryId() string
- func (*ListRegistryCertificatesRequest) ProtoMessage()
- func (x *ListRegistryCertificatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRegistryCertificatesRequest) Reset()
- func (m *ListRegistryCertificatesRequest) SetRegistryId(v string)
- func (x *ListRegistryCertificatesRequest) String() string
- type ListRegistryCertificatesResponse
- func (*ListRegistryCertificatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegistryCertificatesResponse) GetCertificates() []*RegistryCertificate
- func (*ListRegistryCertificatesResponse) ProtoMessage()
- func (x *ListRegistryCertificatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRegistryCertificatesResponse) Reset()
- func (m *ListRegistryCertificatesResponse) SetCertificates(v []*RegistryCertificate)
- func (x *ListRegistryCertificatesResponse) String() string
- type ListRegistryOperationsRequest
- func (*ListRegistryOperationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegistryOperationsRequest) GetFilter() string
- func (x *ListRegistryOperationsRequest) GetPageSize() int64
- func (x *ListRegistryOperationsRequest) GetPageToken() string
- func (x *ListRegistryOperationsRequest) GetRegistryId() string
- func (*ListRegistryOperationsRequest) ProtoMessage()
- func (x *ListRegistryOperationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRegistryOperationsRequest) Reset()
- func (m *ListRegistryOperationsRequest) SetFilter(v string)
- func (m *ListRegistryOperationsRequest) SetPageSize(v int64)
- func (m *ListRegistryOperationsRequest) SetPageToken(v string)
- func (m *ListRegistryOperationsRequest) SetRegistryId(v string)
- func (x *ListRegistryOperationsRequest) String() string
- type ListRegistryOperationsResponse
- func (*ListRegistryOperationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegistryOperationsResponse) GetNextPageToken() string
- func (x *ListRegistryOperationsResponse) GetOperations() []*operation.Operation
- func (*ListRegistryOperationsResponse) ProtoMessage()
- func (x *ListRegistryOperationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRegistryOperationsResponse) Reset()
- func (m *ListRegistryOperationsResponse) SetNextPageToken(v string)
- func (m *ListRegistryOperationsResponse) SetOperations(v []*operation.Operation)
- func (x *ListRegistryOperationsResponse) String() string
- type ListRegistryPasswordsRequest
- func (*ListRegistryPasswordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegistryPasswordsRequest) GetRegistryId() string
- func (*ListRegistryPasswordsRequest) ProtoMessage()
- func (x *ListRegistryPasswordsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRegistryPasswordsRequest) Reset()
- func (m *ListRegistryPasswordsRequest) SetRegistryId(v string)
- func (x *ListRegistryPasswordsRequest) String() string
- type ListRegistryPasswordsResponse
- func (*ListRegistryPasswordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegistryPasswordsResponse) GetPasswords() []*RegistryPassword
- func (*ListRegistryPasswordsResponse) ProtoMessage()
- func (x *ListRegistryPasswordsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRegistryPasswordsResponse) Reset()
- func (m *ListRegistryPasswordsResponse) SetPasswords(v []*RegistryPassword)
- func (x *ListRegistryPasswordsResponse) String() string
- type LogOptions
- func (*LogOptions) Descriptor() ([]byte, []int)deprecated
- func (m *LogOptions) GetDestination() isLogOptions_Destination
- func (x *LogOptions) GetDisabled() bool
- func (x *LogOptions) GetFolderId() string
- func (x *LogOptions) GetLogGroupId() string
- func (x *LogOptions) GetMinLevel() v1.LogLevel_Level
- func (*LogOptions) ProtoMessage()
- func (x *LogOptions) ProtoReflect() protoreflect.Message
- func (x *LogOptions) Reset()
- func (m *LogOptions) SetDestination(v LogOptions_Destination)
- func (m *LogOptions) SetDisabled(v bool)
- func (m *LogOptions) SetFolderId(v string)
- func (m *LogOptions) SetLogGroupId(v string)
- func (m *LogOptions) SetMinLevel(v v1.LogLevel_Level)
- func (x *LogOptions) String() string
- type LogOptions_Destination
- type LogOptions_FolderId
- type LogOptions_LogGroupId
- type PublishDeviceDataRequest
- func (*PublishDeviceDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishDeviceDataRequest) GetData() []byte
- func (x *PublishDeviceDataRequest) GetDeviceId() string
- func (x *PublishDeviceDataRequest) GetTopic() string
- func (*PublishDeviceDataRequest) ProtoMessage()
- func (x *PublishDeviceDataRequest) ProtoReflect() protoreflect.Message
- func (x *PublishDeviceDataRequest) Reset()
- func (m *PublishDeviceDataRequest) SetData(v []byte)
- func (m *PublishDeviceDataRequest) SetDeviceId(v string)
- func (m *PublishDeviceDataRequest) SetTopic(v string)
- func (x *PublishDeviceDataRequest) String() string
- type PublishDeviceDataResponse
- type PublishRegistryDataRequest
- func (*PublishRegistryDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishRegistryDataRequest) GetData() []byte
- func (x *PublishRegistryDataRequest) GetRegistryId() string
- func (x *PublishRegistryDataRequest) GetTopic() string
- func (*PublishRegistryDataRequest) ProtoMessage()
- func (x *PublishRegistryDataRequest) ProtoReflect() protoreflect.Message
- func (x *PublishRegistryDataRequest) Reset()
- func (m *PublishRegistryDataRequest) SetData(v []byte)
- func (m *PublishRegistryDataRequest) SetRegistryId(v string)
- func (m *PublishRegistryDataRequest) SetTopic(v string)
- func (x *PublishRegistryDataRequest) String() string
- type PublishRegistryDataResponse
- type Registry
- func (*Registry) Descriptor() ([]byte, []int)deprecated
- func (x *Registry) GetCreatedAt() *timestamppb.Timestamp
- func (x *Registry) GetDescription() string
- func (x *Registry) GetFolderId() string
- func (x *Registry) GetId() string
- func (x *Registry) GetLabels() map[string]string
- func (x *Registry) GetLogGroupId() string
- func (x *Registry) GetLogOptions() *LogOptions
- func (x *Registry) GetName() string
- func (x *Registry) GetStatus() Registry_Status
- func (*Registry) ProtoMessage()
- func (x *Registry) ProtoReflect() protoreflect.Message
- func (x *Registry) Reset()
- func (m *Registry) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Registry) SetDescription(v string)
- func (m *Registry) SetFolderId(v string)
- func (m *Registry) SetId(v string)
- func (m *Registry) SetLabels(v map[string]string)
- func (m *Registry) SetLogGroupId(v string)
- func (m *Registry) SetLogOptions(v *LogOptions)
- func (m *Registry) SetName(v string)
- func (m *Registry) SetStatus(v Registry_Status)
- func (x *Registry) String() string
- type RegistryCertificate
- func (*RegistryCertificate) Descriptor() ([]byte, []int)deprecated
- func (x *RegistryCertificate) GetCertificateData() string
- func (x *RegistryCertificate) GetCreatedAt() *timestamppb.Timestamp
- func (x *RegistryCertificate) GetFingerprint() string
- func (x *RegistryCertificate) GetRegistryId() string
- func (*RegistryCertificate) ProtoMessage()
- func (x *RegistryCertificate) ProtoReflect() protoreflect.Message
- func (x *RegistryCertificate) Reset()
- func (m *RegistryCertificate) SetCertificateData(v string)
- func (m *RegistryCertificate) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *RegistryCertificate) SetFingerprint(v string)
- func (m *RegistryCertificate) SetRegistryId(v string)
- func (x *RegistryCertificate) String() string
- type RegistryDataServiceClient
- type RegistryDataServiceServer
- type RegistryPassword
- func (*RegistryPassword) Descriptor() ([]byte, []int)deprecated
- func (x *RegistryPassword) GetCreatedAt() *timestamppb.Timestamp
- func (x *RegistryPassword) GetId() string
- func (x *RegistryPassword) GetRegistryId() string
- func (*RegistryPassword) ProtoMessage()
- func (x *RegistryPassword) ProtoReflect() protoreflect.Message
- func (x *RegistryPassword) Reset()
- func (m *RegistryPassword) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *RegistryPassword) SetId(v string)
- func (m *RegistryPassword) SetRegistryId(v string)
- func (x *RegistryPassword) String() string
- type RegistryServiceClient
- type RegistryServiceServer
- type Registry_Status
- func (Registry_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Registry_Status) Enum() *Registry_Status
- func (Registry_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Registry_Status) Number() protoreflect.EnumNumber
- func (x Registry_Status) String() string
- func (Registry_Status) Type() protoreflect.EnumType
- type UnimplementedDeviceDataServiceServer
- type UnimplementedDeviceServiceServer
- func (UnimplementedDeviceServiceServer) AddCertificate(context.Context, *AddDeviceCertificateRequest) (*operation.Operation, error)
- func (UnimplementedDeviceServiceServer) AddPassword(context.Context, *AddDevicePasswordRequest) (*operation.Operation, error)
- func (UnimplementedDeviceServiceServer) Create(context.Context, *CreateDeviceRequest) (*operation.Operation, error)
- func (UnimplementedDeviceServiceServer) Delete(context.Context, *DeleteDeviceRequest) (*operation.Operation, error)
- func (UnimplementedDeviceServiceServer) DeleteCertificate(context.Context, *DeleteDeviceCertificateRequest) (*operation.Operation, error)
- func (UnimplementedDeviceServiceServer) DeletePassword(context.Context, *DeleteDevicePasswordRequest) (*operation.Operation, error)
- func (UnimplementedDeviceServiceServer) Get(context.Context, *GetDeviceRequest) (*Device, error)
- func (UnimplementedDeviceServiceServer) GetByName(context.Context, *GetByNameDeviceRequest) (*Device, error)
- func (UnimplementedDeviceServiceServer) List(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error)
- func (UnimplementedDeviceServiceServer) ListCertificates(context.Context, *ListDeviceCertificatesRequest) (*ListDeviceCertificatesResponse, error)
- func (UnimplementedDeviceServiceServer) ListOperations(context.Context, *ListDeviceOperationsRequest) (*ListDeviceOperationsResponse, error)
- func (UnimplementedDeviceServiceServer) ListPasswords(context.Context, *ListDevicePasswordsRequest) (*ListDevicePasswordsResponse, error)
- func (UnimplementedDeviceServiceServer) Update(context.Context, *UpdateDeviceRequest) (*operation.Operation, error)
- type UnimplementedRegistryDataServiceServer
- type UnimplementedRegistryServiceServer
- func (UnimplementedRegistryServiceServer) AddCertificate(context.Context, *AddRegistryCertificateRequest) (*operation.Operation, error)
- func (UnimplementedRegistryServiceServer) AddDataStreamExport(context.Context, *AddDataStreamExportRequest) (*operation.Operation, error)
- func (UnimplementedRegistryServiceServer) AddPassword(context.Context, *AddRegistryPasswordRequest) (*operation.Operation, error)
- func (UnimplementedRegistryServiceServer) Create(context.Context, *CreateRegistryRequest) (*operation.Operation, error)
- func (UnimplementedRegistryServiceServer) Delete(context.Context, *DeleteRegistryRequest) (*operation.Operation, error)
- func (UnimplementedRegistryServiceServer) DeleteCertificate(context.Context, *DeleteRegistryCertificateRequest) (*operation.Operation, error)
- func (UnimplementedRegistryServiceServer) DeleteDataStreamExport(context.Context, *DeleteDataStreamExportRequest) (*operation.Operation, error)
- func (UnimplementedRegistryServiceServer) DeletePassword(context.Context, *DeleteRegistryPasswordRequest) (*operation.Operation, error)
- func (UnimplementedRegistryServiceServer) Disable(context.Context, *DisableRegistryRequest) (*operation.Operation, error)
- func (UnimplementedRegistryServiceServer) Enable(context.Context, *EnableRegistryRequest) (*operation.Operation, error)
- func (UnimplementedRegistryServiceServer) Get(context.Context, *GetRegistryRequest) (*Registry, error)
- func (UnimplementedRegistryServiceServer) GetByName(context.Context, *GetByNameRegistryRequest) (*Registry, error)
- func (UnimplementedRegistryServiceServer) List(context.Context, *ListRegistriesRequest) (*ListRegistriesResponse, error)
- func (UnimplementedRegistryServiceServer) ListCertificates(context.Context, *ListRegistryCertificatesRequest) (*ListRegistryCertificatesResponse, error)
- func (UnimplementedRegistryServiceServer) ListDataStreamExports(context.Context, *ListDataStreamExportsRequest) (*ListDataStreamExportsResponse, error)
- func (UnimplementedRegistryServiceServer) ListDeviceTopicAliases(context.Context, *ListDeviceTopicAliasesRequest) (*ListDeviceTopicAliasesResponse, error)
- func (UnimplementedRegistryServiceServer) ListOperations(context.Context, *ListRegistryOperationsRequest) (*ListRegistryOperationsResponse, error)
- func (UnimplementedRegistryServiceServer) ListPasswords(context.Context, *ListRegistryPasswordsRequest) (*ListRegistryPasswordsResponse, error)
- func (UnimplementedRegistryServiceServer) Update(context.Context, *UpdateRegistryRequest) (*operation.Operation, error)
- type UnsafeDeviceDataServiceServer
- type UnsafeDeviceServiceServer
- type UnsafeRegistryDataServiceServer
- type UnsafeRegistryServiceServer
- type UpdateDeviceMetadata
- func (*UpdateDeviceMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDeviceMetadata) GetDeviceId() string
- func (*UpdateDeviceMetadata) ProtoMessage()
- func (x *UpdateDeviceMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateDeviceMetadata) Reset()
- func (m *UpdateDeviceMetadata) SetDeviceId(v string)
- func (x *UpdateDeviceMetadata) String() string
- type UpdateDeviceRequest
- func (*UpdateDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDeviceRequest) GetDescription() string
- func (x *UpdateDeviceRequest) GetDeviceId() string
- func (x *UpdateDeviceRequest) GetName() string
- func (x *UpdateDeviceRequest) GetTopicAliases() map[string]string
- func (x *UpdateDeviceRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateDeviceRequest) ProtoMessage()
- func (x *UpdateDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDeviceRequest) Reset()
- func (m *UpdateDeviceRequest) SetDescription(v string)
- func (m *UpdateDeviceRequest) SetDeviceId(v string)
- func (m *UpdateDeviceRequest) SetName(v string)
- func (m *UpdateDeviceRequest) SetTopicAliases(v map[string]string)
- func (m *UpdateDeviceRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateDeviceRequest) String() string
- type UpdateRegistryMetadata
- func (*UpdateRegistryMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRegistryMetadata) GetRegistryId() string
- func (*UpdateRegistryMetadata) ProtoMessage()
- func (x *UpdateRegistryMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateRegistryMetadata) Reset()
- func (m *UpdateRegistryMetadata) SetRegistryId(v string)
- func (x *UpdateRegistryMetadata) String() string
- type UpdateRegistryRequest
- func (*UpdateRegistryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRegistryRequest) GetDescription() string
- func (x *UpdateRegistryRequest) GetLabels() map[string]string
- func (x *UpdateRegistryRequest) GetLogOptions() *LogOptions
- func (x *UpdateRegistryRequest) GetName() string
- func (x *UpdateRegistryRequest) GetRegistryId() string
- func (x *UpdateRegistryRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateRegistryRequest) ProtoMessage()
- func (x *UpdateRegistryRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRegistryRequest) Reset()
- func (m *UpdateRegistryRequest) SetDescription(v string)
- func (m *UpdateRegistryRequest) SetLabels(v map[string]string)
- func (m *UpdateRegistryRequest) SetLogOptions(v *LogOptions)
- func (m *UpdateRegistryRequest) SetName(v string)
- func (m *UpdateRegistryRequest) SetRegistryId(v string)
- func (m *UpdateRegistryRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateRegistryRequest) String() string
Constants ¶
const ( DeviceService_Get_FullMethodName = "/yandex.cloud.iot.devices.v1.DeviceService/Get" DeviceService_GetByName_FullMethodName = "/yandex.cloud.iot.devices.v1.DeviceService/GetByName" DeviceService_List_FullMethodName = "/yandex.cloud.iot.devices.v1.DeviceService/List" DeviceService_Create_FullMethodName = "/yandex.cloud.iot.devices.v1.DeviceService/Create" DeviceService_Update_FullMethodName = "/yandex.cloud.iot.devices.v1.DeviceService/Update" DeviceService_Delete_FullMethodName = "/yandex.cloud.iot.devices.v1.DeviceService/Delete" DeviceService_ListCertificates_FullMethodName = "/yandex.cloud.iot.devices.v1.DeviceService/ListCertificates" DeviceService_AddCertificate_FullMethodName = "/yandex.cloud.iot.devices.v1.DeviceService/AddCertificate" DeviceService_DeleteCertificate_FullMethodName = "/yandex.cloud.iot.devices.v1.DeviceService/DeleteCertificate" DeviceService_ListPasswords_FullMethodName = "/yandex.cloud.iot.devices.v1.DeviceService/ListPasswords" DeviceService_AddPassword_FullMethodName = "/yandex.cloud.iot.devices.v1.DeviceService/AddPassword" DeviceService_DeletePassword_FullMethodName = "/yandex.cloud.iot.devices.v1.DeviceService/DeletePassword" DeviceService_ListOperations_FullMethodName = "/yandex.cloud.iot.devices.v1.DeviceService/ListOperations" )
const ( RegistryService_Get_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryService/Get" RegistryService_GetByName_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryService/GetByName" RegistryService_List_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryService/List" RegistryService_Create_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryService/Create" RegistryService_Update_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryService/Update" RegistryService_Delete_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryService/Delete" RegistryService_ListCertificates_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryService/ListCertificates" RegistryService_AddCertificate_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryService/AddCertificate" RegistryService_DeleteCertificate_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryService/DeleteCertificate" RegistryService_ListPasswords_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryService/ListPasswords" RegistryService_AddPassword_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryService/AddPassword" RegistryService_DeletePassword_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryService/DeletePassword" RegistryService_ListDeviceTopicAliases_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryService/ListDeviceTopicAliases" RegistryService_ListDataStreamExports_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryService/ListDataStreamExports" RegistryService_AddDataStreamExport_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryService/AddDataStreamExport" RegistryService_DeleteDataStreamExport_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryService/DeleteDataStreamExport" RegistryService_ListOperations_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryService/ListOperations" RegistryService_Disable_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryService/Disable" RegistryService_Enable_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryService/Enable" )
const (
DeviceDataService_Publish_FullMethodName = "/yandex.cloud.iot.devices.v1.DeviceDataService/Publish"
)
const (
RegistryDataService_Publish_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryDataService/Publish"
)
Variables ¶
var ( DeviceView_name = map[int32]string{ 0: "BASIC", 1: "FULL", } DeviceView_value = map[string]int32{ "BASIC": 0, "FULL": 1, } )
Enum value maps for DeviceView.
var ( Device_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "DELETING", } Device_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "DELETING": 3, } )
Enum value maps for Device_Status.
var ( Registry_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "DELETING", 4: "DISABLED", } Registry_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "DELETING": 3, "DISABLED": 4, } )
Enum value maps for Registry_Status.
var DeviceDataService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.iot.devices.v1.DeviceDataService", HandlerType: (*DeviceDataServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Publish", Handler: _DeviceDataService_Publish_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/iot/devices/v1/device_data_service.proto", }
DeviceDataService_ServiceDesc is the grpc.ServiceDesc for DeviceDataService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DeviceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.iot.devices.v1.DeviceService", HandlerType: (*DeviceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _DeviceService_Get_Handler, }, { MethodName: "GetByName", Handler: _DeviceService_GetByName_Handler, }, { MethodName: "List", Handler: _DeviceService_List_Handler, }, { MethodName: "Create", Handler: _DeviceService_Create_Handler, }, { MethodName: "Update", Handler: _DeviceService_Update_Handler, }, { MethodName: "Delete", Handler: _DeviceService_Delete_Handler, }, { MethodName: "ListCertificates", Handler: _DeviceService_ListCertificates_Handler, }, { MethodName: "AddCertificate", Handler: _DeviceService_AddCertificate_Handler, }, { MethodName: "DeleteCertificate", Handler: _DeviceService_DeleteCertificate_Handler, }, { MethodName: "ListPasswords", Handler: _DeviceService_ListPasswords_Handler, }, { MethodName: "AddPassword", Handler: _DeviceService_AddPassword_Handler, }, { MethodName: "DeletePassword", Handler: _DeviceService_DeletePassword_Handler, }, { MethodName: "ListOperations", Handler: _DeviceService_ListOperations_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/iot/devices/v1/device_service.proto", }
DeviceService_ServiceDesc is the grpc.ServiceDesc for DeviceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_yandex_cloud_iot_devices_v1_device_data_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_iot_devices_v1_device_proto protoreflect.FileDescriptor
var File_yandex_cloud_iot_devices_v1_device_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_iot_devices_v1_registry_data_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_iot_devices_v1_registry_proto protoreflect.FileDescriptor
var File_yandex_cloud_iot_devices_v1_registry_service_proto protoreflect.FileDescriptor
var RegistryDataService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.iot.devices.v1.RegistryDataService", HandlerType: (*RegistryDataServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Publish", Handler: _RegistryDataService_Publish_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/iot/devices/v1/registry_data_service.proto", }
RegistryDataService_ServiceDesc is the grpc.ServiceDesc for RegistryDataService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RegistryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.iot.devices.v1.RegistryService", HandlerType: (*RegistryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _RegistryService_Get_Handler, }, { MethodName: "GetByName", Handler: _RegistryService_GetByName_Handler, }, { MethodName: "List", Handler: _RegistryService_List_Handler, }, { MethodName: "Create", Handler: _RegistryService_Create_Handler, }, { MethodName: "Update", Handler: _RegistryService_Update_Handler, }, { MethodName: "Delete", Handler: _RegistryService_Delete_Handler, }, { MethodName: "ListCertificates", Handler: _RegistryService_ListCertificates_Handler, }, { MethodName: "AddCertificate", Handler: _RegistryService_AddCertificate_Handler, }, { MethodName: "DeleteCertificate", Handler: _RegistryService_DeleteCertificate_Handler, }, { MethodName: "ListPasswords", Handler: _RegistryService_ListPasswords_Handler, }, { MethodName: "AddPassword", Handler: _RegistryService_AddPassword_Handler, }, { MethodName: "DeletePassword", Handler: _RegistryService_DeletePassword_Handler, }, { MethodName: "ListDeviceTopicAliases", Handler: _RegistryService_ListDeviceTopicAliases_Handler, }, { MethodName: "ListDataStreamExports", Handler: _RegistryService_ListDataStreamExports_Handler, }, { MethodName: "AddDataStreamExport", Handler: _RegistryService_AddDataStreamExport_Handler, }, { MethodName: "DeleteDataStreamExport", Handler: _RegistryService_DeleteDataStreamExport_Handler, }, { MethodName: "ListOperations", Handler: _RegistryService_ListOperations_Handler, }, { MethodName: "Disable", Handler: _RegistryService_Disable_Handler, }, { MethodName: "Enable", Handler: _RegistryService_Enable_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/iot/devices/v1/registry_service.proto", }
RegistryService_ServiceDesc is the grpc.ServiceDesc for RegistryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterDeviceDataServiceServer ¶
func RegisterDeviceDataServiceServer(s grpc.ServiceRegistrar, srv DeviceDataServiceServer)
func RegisterDeviceServiceServer ¶
func RegisterDeviceServiceServer(s grpc.ServiceRegistrar, srv DeviceServiceServer)
func RegisterRegistryDataServiceServer ¶
func RegisterRegistryDataServiceServer(s grpc.ServiceRegistrar, srv RegistryDataServiceServer)
func RegisterRegistryServiceServer ¶
func RegisterRegistryServiceServer(s grpc.ServiceRegistrar, srv RegistryServiceServer)
Types ¶
type AddDataStreamExportMetadata ¶
type AddDataStreamExportMetadata struct { // ID of the registry for which the YDS export was added. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // ID of the added YDS export. DataStreamExportId string `protobuf:"bytes,2,opt,name=data_stream_export_id,json=dataStreamExportId,proto3" json:"data_stream_export_id,omitempty"` // contains filtered or unexported fields }
func (*AddDataStreamExportMetadata) Descriptor
deprecated
func (*AddDataStreamExportMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AddDataStreamExportMetadata.ProtoReflect.Descriptor instead.
func (*AddDataStreamExportMetadata) GetDataStreamExportId ¶
func (x *AddDataStreamExportMetadata) GetDataStreamExportId() string
func (*AddDataStreamExportMetadata) GetRegistryId ¶
func (x *AddDataStreamExportMetadata) GetRegistryId() string
func (*AddDataStreamExportMetadata) ProtoMessage ¶
func (*AddDataStreamExportMetadata) ProtoMessage()
func (*AddDataStreamExportMetadata) ProtoReflect ¶
func (x *AddDataStreamExportMetadata) ProtoReflect() protoreflect.Message
func (*AddDataStreamExportMetadata) Reset ¶
func (x *AddDataStreamExportMetadata) Reset()
func (*AddDataStreamExportMetadata) SetDataStreamExportId ¶
func (m *AddDataStreamExportMetadata) SetDataStreamExportId(v string)
func (*AddDataStreamExportMetadata) SetRegistryId ¶
func (m *AddDataStreamExportMetadata) SetRegistryId(v string)
func (*AddDataStreamExportMetadata) String ¶
func (x *AddDataStreamExportMetadata) String() string
type AddDataStreamExportRequest ¶
type AddDataStreamExportRequest struct { // Name of the YDS export. The name must be unique within the folder. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // ID of the registry to add a YDS export for. // // To get a registry ID make a [RegistryService.List] request. RegistryId string `protobuf:"bytes,2,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // MQTT topic whose messages export to YDS. MqttTopicFilter string `protobuf:"bytes,4,opt,name=mqtt_topic_filter,json=mqttTopicFilter,proto3" json:"mqtt_topic_filter,omitempty"` // YDS database. Database string `protobuf:"bytes,5,opt,name=database,proto3" json:"database,omitempty"` // YDS stream name. Stream string `protobuf:"bytes,6,opt,name=stream,proto3" json:"stream,omitempty"` // ID of the service account which has permission to write to data stream. ServiceAccountId string `protobuf:"bytes,7,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // contains filtered or unexported fields }
func (*AddDataStreamExportRequest) Descriptor
deprecated
func (*AddDataStreamExportRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDataStreamExportRequest.ProtoReflect.Descriptor instead.
func (*AddDataStreamExportRequest) GetDatabase ¶
func (x *AddDataStreamExportRequest) GetDatabase() string
func (*AddDataStreamExportRequest) GetMqttTopicFilter ¶
func (x *AddDataStreamExportRequest) GetMqttTopicFilter() string
func (*AddDataStreamExportRequest) GetName ¶
func (x *AddDataStreamExportRequest) GetName() string
func (*AddDataStreamExportRequest) GetRegistryId ¶
func (x *AddDataStreamExportRequest) GetRegistryId() string
func (*AddDataStreamExportRequest) GetServiceAccountId ¶
func (x *AddDataStreamExportRequest) GetServiceAccountId() string
func (*AddDataStreamExportRequest) GetStream ¶
func (x *AddDataStreamExportRequest) GetStream() string
func (*AddDataStreamExportRequest) ProtoMessage ¶
func (*AddDataStreamExportRequest) ProtoMessage()
func (*AddDataStreamExportRequest) ProtoReflect ¶
func (x *AddDataStreamExportRequest) ProtoReflect() protoreflect.Message
func (*AddDataStreamExportRequest) Reset ¶
func (x *AddDataStreamExportRequest) Reset()
func (*AddDataStreamExportRequest) SetDatabase ¶
func (m *AddDataStreamExportRequest) SetDatabase(v string)
func (*AddDataStreamExportRequest) SetMqttTopicFilter ¶
func (m *AddDataStreamExportRequest) SetMqttTopicFilter(v string)
func (*AddDataStreamExportRequest) SetName ¶
func (m *AddDataStreamExportRequest) SetName(v string)
func (*AddDataStreamExportRequest) SetRegistryId ¶
func (m *AddDataStreamExportRequest) SetRegistryId(v string)
func (*AddDataStreamExportRequest) SetServiceAccountId ¶
func (m *AddDataStreamExportRequest) SetServiceAccountId(v string)
func (*AddDataStreamExportRequest) SetStream ¶
func (m *AddDataStreamExportRequest) SetStream(v string)
func (*AddDataStreamExportRequest) String ¶
func (x *AddDataStreamExportRequest) String() string
type AddDeviceCertificateMetadata ¶
type AddDeviceCertificateMetadata struct { // ID of the device certificate that is being added. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // Fingerprint of the certificate that is being added. Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // contains filtered or unexported fields }
func (*AddDeviceCertificateMetadata) Descriptor
deprecated
func (*AddDeviceCertificateMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AddDeviceCertificateMetadata.ProtoReflect.Descriptor instead.
func (*AddDeviceCertificateMetadata) GetDeviceId ¶
func (x *AddDeviceCertificateMetadata) GetDeviceId() string
func (*AddDeviceCertificateMetadata) GetFingerprint ¶
func (x *AddDeviceCertificateMetadata) GetFingerprint() string
func (*AddDeviceCertificateMetadata) ProtoMessage ¶
func (*AddDeviceCertificateMetadata) ProtoMessage()
func (*AddDeviceCertificateMetadata) ProtoReflect ¶
func (x *AddDeviceCertificateMetadata) ProtoReflect() protoreflect.Message
func (*AddDeviceCertificateMetadata) Reset ¶
func (x *AddDeviceCertificateMetadata) Reset()
func (*AddDeviceCertificateMetadata) SetDeviceId ¶
func (m *AddDeviceCertificateMetadata) SetDeviceId(v string)
func (*AddDeviceCertificateMetadata) SetFingerprint ¶
func (m *AddDeviceCertificateMetadata) SetFingerprint(v string)
func (*AddDeviceCertificateMetadata) String ¶
func (x *AddDeviceCertificateMetadata) String() string
type AddDeviceCertificateRequest ¶
type AddDeviceCertificateRequest struct { // ID of the device for which the certificate is being added. // // To get a device ID make a [DeviceService.List] request. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // Public part of the certificate. CertificateData string `protobuf:"bytes,3,opt,name=certificate_data,json=certificateData,proto3" json:"certificate_data,omitempty"` // contains filtered or unexported fields }
func (*AddDeviceCertificateRequest) Descriptor
deprecated
func (*AddDeviceCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDeviceCertificateRequest.ProtoReflect.Descriptor instead.
func (*AddDeviceCertificateRequest) GetCertificateData ¶
func (x *AddDeviceCertificateRequest) GetCertificateData() string
func (*AddDeviceCertificateRequest) GetDeviceId ¶
func (x *AddDeviceCertificateRequest) GetDeviceId() string
func (*AddDeviceCertificateRequest) ProtoMessage ¶
func (*AddDeviceCertificateRequest) ProtoMessage()
func (*AddDeviceCertificateRequest) ProtoReflect ¶
func (x *AddDeviceCertificateRequest) ProtoReflect() protoreflect.Message
func (*AddDeviceCertificateRequest) Reset ¶
func (x *AddDeviceCertificateRequest) Reset()
func (*AddDeviceCertificateRequest) SetCertificateData ¶
func (m *AddDeviceCertificateRequest) SetCertificateData(v string)
func (*AddDeviceCertificateRequest) SetDeviceId ¶
func (m *AddDeviceCertificateRequest) SetDeviceId(v string)
func (*AddDeviceCertificateRequest) String ¶
func (x *AddDeviceCertificateRequest) String() string
type AddDevicePasswordMetadata ¶
type AddDevicePasswordMetadata struct { // ID of the device for which the password is being added. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // ID of the password that is being added. PasswordId string `protobuf:"bytes,2,opt,name=password_id,json=passwordId,proto3" json:"password_id,omitempty"` // contains filtered or unexported fields }
func (*AddDevicePasswordMetadata) Descriptor
deprecated
func (*AddDevicePasswordMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AddDevicePasswordMetadata.ProtoReflect.Descriptor instead.
func (*AddDevicePasswordMetadata) GetDeviceId ¶
func (x *AddDevicePasswordMetadata) GetDeviceId() string
func (*AddDevicePasswordMetadata) GetPasswordId ¶
func (x *AddDevicePasswordMetadata) GetPasswordId() string
func (*AddDevicePasswordMetadata) ProtoMessage ¶
func (*AddDevicePasswordMetadata) ProtoMessage()
func (*AddDevicePasswordMetadata) ProtoReflect ¶
func (x *AddDevicePasswordMetadata) ProtoReflect() protoreflect.Message
func (*AddDevicePasswordMetadata) Reset ¶
func (x *AddDevicePasswordMetadata) Reset()
func (*AddDevicePasswordMetadata) SetDeviceId ¶
func (m *AddDevicePasswordMetadata) SetDeviceId(v string)
func (*AddDevicePasswordMetadata) SetPasswordId ¶
func (m *AddDevicePasswordMetadata) SetPasswordId(v string)
func (*AddDevicePasswordMetadata) String ¶
func (x *AddDevicePasswordMetadata) String() string
type AddDevicePasswordRequest ¶
type AddDevicePasswordRequest struct { // ID of the device to add a password for. // // To get a device ID make a [DeviceService.List] request. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // Passwords for the device. // // The password must contain at least three character categories among the following: upper case latin, lower case latin, numbers and special symbols. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*AddDevicePasswordRequest) Descriptor
deprecated
func (*AddDevicePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDevicePasswordRequest.ProtoReflect.Descriptor instead.
func (*AddDevicePasswordRequest) GetDeviceId ¶
func (x *AddDevicePasswordRequest) GetDeviceId() string
func (*AddDevicePasswordRequest) GetPassword ¶
func (x *AddDevicePasswordRequest) GetPassword() string
func (*AddDevicePasswordRequest) ProtoMessage ¶
func (*AddDevicePasswordRequest) ProtoMessage()
func (*AddDevicePasswordRequest) ProtoReflect ¶
func (x *AddDevicePasswordRequest) ProtoReflect() protoreflect.Message
func (*AddDevicePasswordRequest) Reset ¶
func (x *AddDevicePasswordRequest) Reset()
func (*AddDevicePasswordRequest) SetDeviceId ¶
func (m *AddDevicePasswordRequest) SetDeviceId(v string)
func (*AddDevicePasswordRequest) SetPassword ¶
func (m *AddDevicePasswordRequest) SetPassword(v string)
func (*AddDevicePasswordRequest) String ¶
func (x *AddDevicePasswordRequest) String() string
type AddRegistryCertificateMetadata ¶
type AddRegistryCertificateMetadata struct { // ID of the registry certificate that is being added. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // Fingerprint of the certificate that is being added. Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // contains filtered or unexported fields }
func (*AddRegistryCertificateMetadata) Descriptor
deprecated
func (*AddRegistryCertificateMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AddRegistryCertificateMetadata.ProtoReflect.Descriptor instead.
func (*AddRegistryCertificateMetadata) GetFingerprint ¶
func (x *AddRegistryCertificateMetadata) GetFingerprint() string
func (*AddRegistryCertificateMetadata) GetRegistryId ¶
func (x *AddRegistryCertificateMetadata) GetRegistryId() string
func (*AddRegistryCertificateMetadata) ProtoMessage ¶
func (*AddRegistryCertificateMetadata) ProtoMessage()
func (*AddRegistryCertificateMetadata) ProtoReflect ¶
func (x *AddRegistryCertificateMetadata) ProtoReflect() protoreflect.Message
func (*AddRegistryCertificateMetadata) Reset ¶
func (x *AddRegistryCertificateMetadata) Reset()
func (*AddRegistryCertificateMetadata) SetFingerprint ¶
func (m *AddRegistryCertificateMetadata) SetFingerprint(v string)
func (*AddRegistryCertificateMetadata) SetRegistryId ¶
func (m *AddRegistryCertificateMetadata) SetRegistryId(v string)
func (*AddRegistryCertificateMetadata) String ¶
func (x *AddRegistryCertificateMetadata) String() string
type AddRegistryCertificateRequest ¶
type AddRegistryCertificateRequest struct { // ID of the registry for which the certificate is being added. // // To get a registry ID make a [RegistryService.List] request. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // Public part of the certificate that is being added. CertificateData string `protobuf:"bytes,3,opt,name=certificate_data,json=certificateData,proto3" json:"certificate_data,omitempty"` // contains filtered or unexported fields }
func (*AddRegistryCertificateRequest) Descriptor
deprecated
func (*AddRegistryCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddRegistryCertificateRequest.ProtoReflect.Descriptor instead.
func (*AddRegistryCertificateRequest) GetCertificateData ¶
func (x *AddRegistryCertificateRequest) GetCertificateData() string
func (*AddRegistryCertificateRequest) GetRegistryId ¶
func (x *AddRegistryCertificateRequest) GetRegistryId() string
func (*AddRegistryCertificateRequest) ProtoMessage ¶
func (*AddRegistryCertificateRequest) ProtoMessage()
func (*AddRegistryCertificateRequest) ProtoReflect ¶
func (x *AddRegistryCertificateRequest) ProtoReflect() protoreflect.Message
func (*AddRegistryCertificateRequest) Reset ¶
func (x *AddRegistryCertificateRequest) Reset()
func (*AddRegistryCertificateRequest) SetCertificateData ¶
func (m *AddRegistryCertificateRequest) SetCertificateData(v string)
func (*AddRegistryCertificateRequest) SetRegistryId ¶
func (m *AddRegistryCertificateRequest) SetRegistryId(v string)
func (*AddRegistryCertificateRequest) String ¶
func (x *AddRegistryCertificateRequest) String() string
type AddRegistryPasswordMetadata ¶
type AddRegistryPasswordMetadata struct { // ID of the registry for which the password is being added. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // ID of a password that is being added. PasswordId string `protobuf:"bytes,2,opt,name=password_id,json=passwordId,proto3" json:"password_id,omitempty"` // contains filtered or unexported fields }
func (*AddRegistryPasswordMetadata) Descriptor
deprecated
func (*AddRegistryPasswordMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AddRegistryPasswordMetadata.ProtoReflect.Descriptor instead.
func (*AddRegistryPasswordMetadata) GetPasswordId ¶
func (x *AddRegistryPasswordMetadata) GetPasswordId() string
func (*AddRegistryPasswordMetadata) GetRegistryId ¶
func (x *AddRegistryPasswordMetadata) GetRegistryId() string
func (*AddRegistryPasswordMetadata) ProtoMessage ¶
func (*AddRegistryPasswordMetadata) ProtoMessage()
func (*AddRegistryPasswordMetadata) ProtoReflect ¶
func (x *AddRegistryPasswordMetadata) ProtoReflect() protoreflect.Message
func (*AddRegistryPasswordMetadata) Reset ¶
func (x *AddRegistryPasswordMetadata) Reset()
func (*AddRegistryPasswordMetadata) SetPasswordId ¶
func (m *AddRegistryPasswordMetadata) SetPasswordId(v string)
func (*AddRegistryPasswordMetadata) SetRegistryId ¶
func (m *AddRegistryPasswordMetadata) SetRegistryId(v string)
func (*AddRegistryPasswordMetadata) String ¶
func (x *AddRegistryPasswordMetadata) String() string
type AddRegistryPasswordRequest ¶
type AddRegistryPasswordRequest struct { // ID of the registry to add a password for. // // To get a registry ID make a [RegistryService.List] request. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // Passwords for the registry. // // The password must contain at least three character categories among the following: upper case latin, lower case latin, numbers and special symbols. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*AddRegistryPasswordRequest) Descriptor
deprecated
func (*AddRegistryPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddRegistryPasswordRequest.ProtoReflect.Descriptor instead.
func (*AddRegistryPasswordRequest) GetPassword ¶
func (x *AddRegistryPasswordRequest) GetPassword() string
func (*AddRegistryPasswordRequest) GetRegistryId ¶
func (x *AddRegistryPasswordRequest) GetRegistryId() string
func (*AddRegistryPasswordRequest) ProtoMessage ¶
func (*AddRegistryPasswordRequest) ProtoMessage()
func (*AddRegistryPasswordRequest) ProtoReflect ¶
func (x *AddRegistryPasswordRequest) ProtoReflect() protoreflect.Message
func (*AddRegistryPasswordRequest) Reset ¶
func (x *AddRegistryPasswordRequest) Reset()
func (*AddRegistryPasswordRequest) SetPassword ¶
func (m *AddRegistryPasswordRequest) SetPassword(v string)
func (*AddRegistryPasswordRequest) SetRegistryId ¶
func (m *AddRegistryPasswordRequest) SetRegistryId(v string)
func (*AddRegistryPasswordRequest) String ¶
func (x *AddRegistryPasswordRequest) String() string
type CreateDeviceMetadata ¶
type CreateDeviceMetadata struct { // ID of the device that is being created. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // contains filtered or unexported fields }
func (*CreateDeviceMetadata) Descriptor
deprecated
func (*CreateDeviceMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeviceMetadata.ProtoReflect.Descriptor instead.
func (*CreateDeviceMetadata) GetDeviceId ¶
func (x *CreateDeviceMetadata) GetDeviceId() string
func (*CreateDeviceMetadata) ProtoMessage ¶
func (*CreateDeviceMetadata) ProtoMessage()
func (*CreateDeviceMetadata) ProtoReflect ¶
func (x *CreateDeviceMetadata) ProtoReflect() protoreflect.Message
func (*CreateDeviceMetadata) Reset ¶
func (x *CreateDeviceMetadata) Reset()
func (*CreateDeviceMetadata) SetDeviceId ¶
func (m *CreateDeviceMetadata) SetDeviceId(v string)
func (*CreateDeviceMetadata) String ¶
func (x *CreateDeviceMetadata) String() string
type CreateDeviceRequest ¶
type CreateDeviceRequest struct { // ID of the registry to create a device in. // // To get a registry ID, make a [yandex.cloud.iot.devices.v1.RegistryService.List] request. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // Name of the device. The name must be unique within the registry. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description of the device. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Device certificate. Certificates []*CreateDeviceRequest_Certificate `protobuf:"bytes,4,rep,name=certificates,proto3" json:"certificates,omitempty"` // Alias of a device topic. // // Alias is an alternate name of a device topic assigned by the user. Map alias to canonical topic name prefix, e.g. `my/custom/alias` match to `$device/{id}/events`. TopicAliases map[string]string `` /* 185-byte string literal not displayed */ // Device password. // // The password must contain at least three character categories among the following: upper case latin, lower case latin, numbers and special symbols. Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*CreateDeviceRequest) Descriptor
deprecated
func (*CreateDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeviceRequest.ProtoReflect.Descriptor instead.
func (*CreateDeviceRequest) GetCertificates ¶
func (x *CreateDeviceRequest) GetCertificates() []*CreateDeviceRequest_Certificate
func (*CreateDeviceRequest) GetDescription ¶
func (x *CreateDeviceRequest) GetDescription() string
func (*CreateDeviceRequest) GetName ¶
func (x *CreateDeviceRequest) GetName() string
func (*CreateDeviceRequest) GetPassword ¶
func (x *CreateDeviceRequest) GetPassword() string
func (*CreateDeviceRequest) GetRegistryId ¶
func (x *CreateDeviceRequest) GetRegistryId() string
func (*CreateDeviceRequest) GetTopicAliases ¶
func (x *CreateDeviceRequest) GetTopicAliases() map[string]string
func (*CreateDeviceRequest) ProtoMessage ¶
func (*CreateDeviceRequest) ProtoMessage()
func (*CreateDeviceRequest) ProtoReflect ¶
func (x *CreateDeviceRequest) ProtoReflect() protoreflect.Message
func (*CreateDeviceRequest) Reset ¶
func (x *CreateDeviceRequest) Reset()
func (*CreateDeviceRequest) SetCertificates ¶
func (m *CreateDeviceRequest) SetCertificates(v []*CreateDeviceRequest_Certificate)
func (*CreateDeviceRequest) SetDescription ¶
func (m *CreateDeviceRequest) SetDescription(v string)
func (*CreateDeviceRequest) SetName ¶
func (m *CreateDeviceRequest) SetName(v string)
func (*CreateDeviceRequest) SetPassword ¶
func (m *CreateDeviceRequest) SetPassword(v string)
func (*CreateDeviceRequest) SetRegistryId ¶
func (m *CreateDeviceRequest) SetRegistryId(v string)
func (*CreateDeviceRequest) SetTopicAliases ¶
func (m *CreateDeviceRequest) SetTopicAliases(v map[string]string)
func (*CreateDeviceRequest) String ¶
func (x *CreateDeviceRequest) String() string
type CreateDeviceRequest_Certificate ¶
type CreateDeviceRequest_Certificate struct { // Public part of the device certificate. CertificateData string `protobuf:"bytes,1,opt,name=certificate_data,json=certificateData,proto3" json:"certificate_data,omitempty"` // contains filtered or unexported fields }
Specification of a device certificate.
func (*CreateDeviceRequest_Certificate) Descriptor
deprecated
func (*CreateDeviceRequest_Certificate) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeviceRequest_Certificate.ProtoReflect.Descriptor instead.
func (*CreateDeviceRequest_Certificate) GetCertificateData ¶
func (x *CreateDeviceRequest_Certificate) GetCertificateData() string
func (*CreateDeviceRequest_Certificate) ProtoMessage ¶
func (*CreateDeviceRequest_Certificate) ProtoMessage()
func (*CreateDeviceRequest_Certificate) ProtoReflect ¶
func (x *CreateDeviceRequest_Certificate) ProtoReflect() protoreflect.Message
func (*CreateDeviceRequest_Certificate) Reset ¶
func (x *CreateDeviceRequest_Certificate) Reset()
func (*CreateDeviceRequest_Certificate) SetCertificateData ¶
func (m *CreateDeviceRequest_Certificate) SetCertificateData(v string)
func (*CreateDeviceRequest_Certificate) String ¶
func (x *CreateDeviceRequest_Certificate) String() string
type CreateRegistryMetadata ¶
type CreateRegistryMetadata struct { // ID of the registry that is being created. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*CreateRegistryMetadata) Descriptor
deprecated
func (*CreateRegistryMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateRegistryMetadata.ProtoReflect.Descriptor instead.
func (*CreateRegistryMetadata) GetRegistryId ¶
func (x *CreateRegistryMetadata) GetRegistryId() string
func (*CreateRegistryMetadata) ProtoMessage ¶
func (*CreateRegistryMetadata) ProtoMessage()
func (*CreateRegistryMetadata) ProtoReflect ¶
func (x *CreateRegistryMetadata) ProtoReflect() protoreflect.Message
func (*CreateRegistryMetadata) Reset ¶
func (x *CreateRegistryMetadata) Reset()
func (*CreateRegistryMetadata) SetRegistryId ¶
func (m *CreateRegistryMetadata) SetRegistryId(v string)
func (*CreateRegistryMetadata) String ¶
func (x *CreateRegistryMetadata) String() string
type CreateRegistryRequest ¶
type CreateRegistryRequest struct { // ID of the folder to create a registry in. // // To get a folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Name of the registry. The name must be unique within the folder. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description of the registry. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Resource labels as `key:value` pairs. Labels map[string]string `` /* 153-byte string literal not displayed */ // Registry certificates. Certificates []*CreateRegistryRequest_Certificate `protobuf:"bytes,5,rep,name=certificates,proto3" json:"certificates,omitempty"` // Registry passwords. // // The password must contain at least three character categories among the following: upper case latin, lower case latin, numbers and special symbols. Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"` // Options for logging registry events LogOptions *LogOptions `protobuf:"bytes,7,opt,name=log_options,json=logOptions,proto3" json:"log_options,omitempty"` // contains filtered or unexported fields }
func (*CreateRegistryRequest) Descriptor
deprecated
func (*CreateRegistryRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRegistryRequest.ProtoReflect.Descriptor instead.
func (*CreateRegistryRequest) GetCertificates ¶
func (x *CreateRegistryRequest) GetCertificates() []*CreateRegistryRequest_Certificate
func (*CreateRegistryRequest) GetDescription ¶
func (x *CreateRegistryRequest) GetDescription() string
func (*CreateRegistryRequest) GetFolderId ¶
func (x *CreateRegistryRequest) GetFolderId() string
func (*CreateRegistryRequest) GetLabels ¶
func (x *CreateRegistryRequest) GetLabels() map[string]string
func (*CreateRegistryRequest) GetLogOptions ¶
func (x *CreateRegistryRequest) GetLogOptions() *LogOptions
func (*CreateRegistryRequest) GetName ¶
func (x *CreateRegistryRequest) GetName() string
func (*CreateRegistryRequest) GetPassword ¶
func (x *CreateRegistryRequest) GetPassword() string
func (*CreateRegistryRequest) ProtoMessage ¶
func (*CreateRegistryRequest) ProtoMessage()
func (*CreateRegistryRequest) ProtoReflect ¶
func (x *CreateRegistryRequest) ProtoReflect() protoreflect.Message
func (*CreateRegistryRequest) Reset ¶
func (x *CreateRegistryRequest) Reset()
func (*CreateRegistryRequest) SetCertificates ¶
func (m *CreateRegistryRequest) SetCertificates(v []*CreateRegistryRequest_Certificate)
func (*CreateRegistryRequest) SetDescription ¶
func (m *CreateRegistryRequest) SetDescription(v string)
func (*CreateRegistryRequest) SetFolderId ¶
func (m *CreateRegistryRequest) SetFolderId(v string)
func (*CreateRegistryRequest) SetLabels ¶
func (m *CreateRegistryRequest) SetLabels(v map[string]string)
func (*CreateRegistryRequest) SetLogOptions ¶
func (m *CreateRegistryRequest) SetLogOptions(v *LogOptions)
func (*CreateRegistryRequest) SetName ¶
func (m *CreateRegistryRequest) SetName(v string)
func (*CreateRegistryRequest) SetPassword ¶
func (m *CreateRegistryRequest) SetPassword(v string)
func (*CreateRegistryRequest) String ¶
func (x *CreateRegistryRequest) String() string
type CreateRegistryRequest_Certificate ¶
type CreateRegistryRequest_Certificate struct { // Public part of the registry certificate. CertificateData string `protobuf:"bytes,1,opt,name=certificate_data,json=certificateData,proto3" json:"certificate_data,omitempty"` // contains filtered or unexported fields }
Specification of a registry certificate.
func (*CreateRegistryRequest_Certificate) Descriptor
deprecated
func (*CreateRegistryRequest_Certificate) Descriptor() ([]byte, []int)
Deprecated: Use CreateRegistryRequest_Certificate.ProtoReflect.Descriptor instead.
func (*CreateRegistryRequest_Certificate) GetCertificateData ¶
func (x *CreateRegistryRequest_Certificate) GetCertificateData() string
func (*CreateRegistryRequest_Certificate) ProtoMessage ¶
func (*CreateRegistryRequest_Certificate) ProtoMessage()
func (*CreateRegistryRequest_Certificate) ProtoReflect ¶
func (x *CreateRegistryRequest_Certificate) ProtoReflect() protoreflect.Message
func (*CreateRegistryRequest_Certificate) Reset ¶
func (x *CreateRegistryRequest_Certificate) Reset()
func (*CreateRegistryRequest_Certificate) SetCertificateData ¶
func (m *CreateRegistryRequest_Certificate) SetCertificateData(v string)
func (*CreateRegistryRequest_Certificate) String ¶
func (x *CreateRegistryRequest_Certificate) String() string
type DataStreamExport ¶
type DataStreamExport struct { // ID of the YDS export. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name of the YDS export. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // ID of the registry that the YDS export belongs to. RegistryId string `protobuf:"bytes,3,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // MQTT topic whose messages export to YDS. MqttTopicFilter string `protobuf:"bytes,4,opt,name=mqtt_topic_filter,json=mqttTopicFilter,proto3" json:"mqtt_topic_filter,omitempty"` // YDS database. Database string `protobuf:"bytes,5,opt,name=database,proto3" json:"database,omitempty"` // YDS stream name. Stream string `protobuf:"bytes,6,opt,name=stream,proto3" json:"stream,omitempty"` // ID of the service account which has permission to write to data stream. ServiceAccountId string `protobuf:"bytes,7,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
A Yandex Data Streams export.
func (*DataStreamExport) Descriptor
deprecated
func (*DataStreamExport) Descriptor() ([]byte, []int)
Deprecated: Use DataStreamExport.ProtoReflect.Descriptor instead.
func (*DataStreamExport) GetCreatedAt ¶
func (x *DataStreamExport) GetCreatedAt() *timestamppb.Timestamp
func (*DataStreamExport) GetDatabase ¶
func (x *DataStreamExport) GetDatabase() string
func (*DataStreamExport) GetId ¶
func (x *DataStreamExport) GetId() string
func (*DataStreamExport) GetMqttTopicFilter ¶
func (x *DataStreamExport) GetMqttTopicFilter() string
func (*DataStreamExport) GetName ¶
func (x *DataStreamExport) GetName() string
func (*DataStreamExport) GetRegistryId ¶
func (x *DataStreamExport) GetRegistryId() string
func (*DataStreamExport) GetServiceAccountId ¶
func (x *DataStreamExport) GetServiceAccountId() string
func (*DataStreamExport) GetStream ¶
func (x *DataStreamExport) GetStream() string
func (*DataStreamExport) ProtoMessage ¶
func (*DataStreamExport) ProtoMessage()
func (*DataStreamExport) ProtoReflect ¶
func (x *DataStreamExport) ProtoReflect() protoreflect.Message
func (*DataStreamExport) Reset ¶
func (x *DataStreamExport) Reset()
func (*DataStreamExport) SetCreatedAt ¶
func (m *DataStreamExport) SetCreatedAt(v *timestamppb.Timestamp)
func (*DataStreamExport) SetDatabase ¶
func (m *DataStreamExport) SetDatabase(v string)
func (*DataStreamExport) SetId ¶
func (m *DataStreamExport) SetId(v string)
func (*DataStreamExport) SetMqttTopicFilter ¶
func (m *DataStreamExport) SetMqttTopicFilter(v string)
func (*DataStreamExport) SetName ¶
func (m *DataStreamExport) SetName(v string)
func (*DataStreamExport) SetRegistryId ¶
func (m *DataStreamExport) SetRegistryId(v string)
func (*DataStreamExport) SetServiceAccountId ¶
func (m *DataStreamExport) SetServiceAccountId(v string)
func (*DataStreamExport) SetStream ¶
func (m *DataStreamExport) SetStream(v string)
func (*DataStreamExport) String ¶
func (x *DataStreamExport) String() string
type DeleteDataStreamExportMetadata ¶
type DeleteDataStreamExportMetadata struct { // ID of a registry for which the YDS export was deleted. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // ID of the deleted YDS export. DataStreamExportId string `protobuf:"bytes,2,opt,name=data_stream_export_id,json=dataStreamExportId,proto3" json:"data_stream_export_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDataStreamExportMetadata) Descriptor
deprecated
func (*DeleteDataStreamExportMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDataStreamExportMetadata.ProtoReflect.Descriptor instead.
func (*DeleteDataStreamExportMetadata) GetDataStreamExportId ¶
func (x *DeleteDataStreamExportMetadata) GetDataStreamExportId() string
func (*DeleteDataStreamExportMetadata) GetRegistryId ¶
func (x *DeleteDataStreamExportMetadata) GetRegistryId() string
func (*DeleteDataStreamExportMetadata) ProtoMessage ¶
func (*DeleteDataStreamExportMetadata) ProtoMessage()
func (*DeleteDataStreamExportMetadata) ProtoReflect ¶
func (x *DeleteDataStreamExportMetadata) ProtoReflect() protoreflect.Message
func (*DeleteDataStreamExportMetadata) Reset ¶
func (x *DeleteDataStreamExportMetadata) Reset()
func (*DeleteDataStreamExportMetadata) SetDataStreamExportId ¶
func (m *DeleteDataStreamExportMetadata) SetDataStreamExportId(v string)
func (*DeleteDataStreamExportMetadata) SetRegistryId ¶
func (m *DeleteDataStreamExportMetadata) SetRegistryId(v string)
func (*DeleteDataStreamExportMetadata) String ¶
func (x *DeleteDataStreamExportMetadata) String() string
type DeleteDataStreamExportRequest ¶
type DeleteDataStreamExportRequest struct { // ID of a registry for which the YDS export is being deleted. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // ID of the YDS export to delete. DataStreamExportId string `protobuf:"bytes,2,opt,name=data_stream_export_id,json=dataStreamExportId,proto3" json:"data_stream_export_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDataStreamExportRequest) Descriptor
deprecated
func (*DeleteDataStreamExportRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDataStreamExportRequest.ProtoReflect.Descriptor instead.
func (*DeleteDataStreamExportRequest) GetDataStreamExportId ¶
func (x *DeleteDataStreamExportRequest) GetDataStreamExportId() string
func (*DeleteDataStreamExportRequest) GetRegistryId ¶
func (x *DeleteDataStreamExportRequest) GetRegistryId() string
func (*DeleteDataStreamExportRequest) ProtoMessage ¶
func (*DeleteDataStreamExportRequest) ProtoMessage()
func (*DeleteDataStreamExportRequest) ProtoReflect ¶
func (x *DeleteDataStreamExportRequest) ProtoReflect() protoreflect.Message
func (*DeleteDataStreamExportRequest) Reset ¶
func (x *DeleteDataStreamExportRequest) Reset()
func (*DeleteDataStreamExportRequest) SetDataStreamExportId ¶
func (m *DeleteDataStreamExportRequest) SetDataStreamExportId(v string)
func (*DeleteDataStreamExportRequest) SetRegistryId ¶
func (m *DeleteDataStreamExportRequest) SetRegistryId(v string)
func (*DeleteDataStreamExportRequest) String ¶
func (x *DeleteDataStreamExportRequest) String() string
type DeleteDeviceCertificateMetadata ¶
type DeleteDeviceCertificateMetadata struct { // ID of the device certificate that is being deleted. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // Fingerprint of the certificate that is being deleted. Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // contains filtered or unexported fields }
func (*DeleteDeviceCertificateMetadata) Descriptor
deprecated
func (*DeleteDeviceCertificateMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeviceCertificateMetadata.ProtoReflect.Descriptor instead.
func (*DeleteDeviceCertificateMetadata) GetDeviceId ¶
func (x *DeleteDeviceCertificateMetadata) GetDeviceId() string
func (*DeleteDeviceCertificateMetadata) GetFingerprint ¶
func (x *DeleteDeviceCertificateMetadata) GetFingerprint() string
func (*DeleteDeviceCertificateMetadata) ProtoMessage ¶
func (*DeleteDeviceCertificateMetadata) ProtoMessage()
func (*DeleteDeviceCertificateMetadata) ProtoReflect ¶
func (x *DeleteDeviceCertificateMetadata) ProtoReflect() protoreflect.Message
func (*DeleteDeviceCertificateMetadata) Reset ¶
func (x *DeleteDeviceCertificateMetadata) Reset()
func (*DeleteDeviceCertificateMetadata) SetDeviceId ¶
func (m *DeleteDeviceCertificateMetadata) SetDeviceId(v string)
func (*DeleteDeviceCertificateMetadata) SetFingerprint ¶
func (m *DeleteDeviceCertificateMetadata) SetFingerprint(v string)
func (*DeleteDeviceCertificateMetadata) String ¶
func (x *DeleteDeviceCertificateMetadata) String() string
type DeleteDeviceCertificateRequest ¶
type DeleteDeviceCertificateRequest struct { // ID of the device to delete a certificate for. // // To get a device ID make a [DeviceService.List] request. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // Fingerprint of the certificate to delete. Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // contains filtered or unexported fields }
func (*DeleteDeviceCertificateRequest) Descriptor
deprecated
func (*DeleteDeviceCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeviceCertificateRequest.ProtoReflect.Descriptor instead.
func (*DeleteDeviceCertificateRequest) GetDeviceId ¶
func (x *DeleteDeviceCertificateRequest) GetDeviceId() string
func (*DeleteDeviceCertificateRequest) GetFingerprint ¶
func (x *DeleteDeviceCertificateRequest) GetFingerprint() string
func (*DeleteDeviceCertificateRequest) ProtoMessage ¶
func (*DeleteDeviceCertificateRequest) ProtoMessage()
func (*DeleteDeviceCertificateRequest) ProtoReflect ¶
func (x *DeleteDeviceCertificateRequest) ProtoReflect() protoreflect.Message
func (*DeleteDeviceCertificateRequest) Reset ¶
func (x *DeleteDeviceCertificateRequest) Reset()
func (*DeleteDeviceCertificateRequest) SetDeviceId ¶
func (m *DeleteDeviceCertificateRequest) SetDeviceId(v string)
func (*DeleteDeviceCertificateRequest) SetFingerprint ¶
func (m *DeleteDeviceCertificateRequest) SetFingerprint(v string)
func (*DeleteDeviceCertificateRequest) String ¶
func (x *DeleteDeviceCertificateRequest) String() string
type DeleteDeviceMetadata ¶
type DeleteDeviceMetadata struct { // ID of the device that is being deleted. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDeviceMetadata) Descriptor
deprecated
func (*DeleteDeviceMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeviceMetadata.ProtoReflect.Descriptor instead.
func (*DeleteDeviceMetadata) GetDeviceId ¶
func (x *DeleteDeviceMetadata) GetDeviceId() string
func (*DeleteDeviceMetadata) ProtoMessage ¶
func (*DeleteDeviceMetadata) ProtoMessage()
func (*DeleteDeviceMetadata) ProtoReflect ¶
func (x *DeleteDeviceMetadata) ProtoReflect() protoreflect.Message
func (*DeleteDeviceMetadata) Reset ¶
func (x *DeleteDeviceMetadata) Reset()
func (*DeleteDeviceMetadata) SetDeviceId ¶
func (m *DeleteDeviceMetadata) SetDeviceId(v string)
func (*DeleteDeviceMetadata) String ¶
func (x *DeleteDeviceMetadata) String() string
type DeleteDevicePasswordMetadata ¶
type DeleteDevicePasswordMetadata struct { // ID of the device for which the password is being deleted. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // ID of the password that is being deleted. PasswordId string `protobuf:"bytes,2,opt,name=password_id,json=passwordId,proto3" json:"password_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDevicePasswordMetadata) Descriptor
deprecated
func (*DeleteDevicePasswordMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDevicePasswordMetadata.ProtoReflect.Descriptor instead.
func (*DeleteDevicePasswordMetadata) GetDeviceId ¶
func (x *DeleteDevicePasswordMetadata) GetDeviceId() string
func (*DeleteDevicePasswordMetadata) GetPasswordId ¶
func (x *DeleteDevicePasswordMetadata) GetPasswordId() string
func (*DeleteDevicePasswordMetadata) ProtoMessage ¶
func (*DeleteDevicePasswordMetadata) ProtoMessage()
func (*DeleteDevicePasswordMetadata) ProtoReflect ¶
func (x *DeleteDevicePasswordMetadata) ProtoReflect() protoreflect.Message
func (*DeleteDevicePasswordMetadata) Reset ¶
func (x *DeleteDevicePasswordMetadata) Reset()
func (*DeleteDevicePasswordMetadata) SetDeviceId ¶
func (m *DeleteDevicePasswordMetadata) SetDeviceId(v string)
func (*DeleteDevicePasswordMetadata) SetPasswordId ¶
func (m *DeleteDevicePasswordMetadata) SetPasswordId(v string)
func (*DeleteDevicePasswordMetadata) String ¶
func (x *DeleteDevicePasswordMetadata) String() string
type DeleteDevicePasswordRequest ¶
type DeleteDevicePasswordRequest struct { // ID of the device to delete a password for. // // To get a device ID make a [DeviceService.List] request. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // ID of the password to delete. // // To get a password ID make a [DeviceService.ListPasswords] request. PasswordId string `protobuf:"bytes,2,opt,name=password_id,json=passwordId,proto3" json:"password_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDevicePasswordRequest) Descriptor
deprecated
func (*DeleteDevicePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDevicePasswordRequest.ProtoReflect.Descriptor instead.
func (*DeleteDevicePasswordRequest) GetDeviceId ¶
func (x *DeleteDevicePasswordRequest) GetDeviceId() string
func (*DeleteDevicePasswordRequest) GetPasswordId ¶
func (x *DeleteDevicePasswordRequest) GetPasswordId() string
func (*DeleteDevicePasswordRequest) ProtoMessage ¶
func (*DeleteDevicePasswordRequest) ProtoMessage()
func (*DeleteDevicePasswordRequest) ProtoReflect ¶
func (x *DeleteDevicePasswordRequest) ProtoReflect() protoreflect.Message
func (*DeleteDevicePasswordRequest) Reset ¶
func (x *DeleteDevicePasswordRequest) Reset()
func (*DeleteDevicePasswordRequest) SetDeviceId ¶
func (m *DeleteDevicePasswordRequest) SetDeviceId(v string)
func (*DeleteDevicePasswordRequest) SetPasswordId ¶
func (m *DeleteDevicePasswordRequest) SetPasswordId(v string)
func (*DeleteDevicePasswordRequest) String ¶
func (x *DeleteDevicePasswordRequest) String() string
type DeleteDeviceRequest ¶
type DeleteDeviceRequest struct { // ID of the device to delete. // // To get a device ID make a [DeviceService.List] request. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDeviceRequest) Descriptor
deprecated
func (*DeleteDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeviceRequest.ProtoReflect.Descriptor instead.
func (*DeleteDeviceRequest) GetDeviceId ¶
func (x *DeleteDeviceRequest) GetDeviceId() string
func (*DeleteDeviceRequest) ProtoMessage ¶
func (*DeleteDeviceRequest) ProtoMessage()
func (*DeleteDeviceRequest) ProtoReflect ¶
func (x *DeleteDeviceRequest) ProtoReflect() protoreflect.Message
func (*DeleteDeviceRequest) Reset ¶
func (x *DeleteDeviceRequest) Reset()
func (*DeleteDeviceRequest) SetDeviceId ¶
func (m *DeleteDeviceRequest) SetDeviceId(v string)
func (*DeleteDeviceRequest) String ¶
func (x *DeleteDeviceRequest) String() string
type DeleteRegistryCertificateMetadata ¶
type DeleteRegistryCertificateMetadata struct { // ID of a registry for which the certificate is being delete. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // Fingerprint of the certificate to deleted. Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // contains filtered or unexported fields }
func (*DeleteRegistryCertificateMetadata) Descriptor
deprecated
func (*DeleteRegistryCertificateMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRegistryCertificateMetadata.ProtoReflect.Descriptor instead.
func (*DeleteRegistryCertificateMetadata) GetFingerprint ¶
func (x *DeleteRegistryCertificateMetadata) GetFingerprint() string
func (*DeleteRegistryCertificateMetadata) GetRegistryId ¶
func (x *DeleteRegistryCertificateMetadata) GetRegistryId() string
func (*DeleteRegistryCertificateMetadata) ProtoMessage ¶
func (*DeleteRegistryCertificateMetadata) ProtoMessage()
func (*DeleteRegistryCertificateMetadata) ProtoReflect ¶
func (x *DeleteRegistryCertificateMetadata) ProtoReflect() protoreflect.Message
func (*DeleteRegistryCertificateMetadata) Reset ¶
func (x *DeleteRegistryCertificateMetadata) Reset()
func (*DeleteRegistryCertificateMetadata) SetFingerprint ¶
func (m *DeleteRegistryCertificateMetadata) SetFingerprint(v string)
func (*DeleteRegistryCertificateMetadata) SetRegistryId ¶
func (m *DeleteRegistryCertificateMetadata) SetRegistryId(v string)
func (*DeleteRegistryCertificateMetadata) String ¶
func (x *DeleteRegistryCertificateMetadata) String() string
type DeleteRegistryCertificateRequest ¶
type DeleteRegistryCertificateRequest struct { // ID of the registry to delete a certificate for. // // To get a registry ID make a [RegistryService.List] request. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // Fingerprint of the certificate that is being deleted. Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // contains filtered or unexported fields }
func (*DeleteRegistryCertificateRequest) Descriptor
deprecated
func (*DeleteRegistryCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRegistryCertificateRequest.ProtoReflect.Descriptor instead.
func (*DeleteRegistryCertificateRequest) GetFingerprint ¶
func (x *DeleteRegistryCertificateRequest) GetFingerprint() string
func (*DeleteRegistryCertificateRequest) GetRegistryId ¶
func (x *DeleteRegistryCertificateRequest) GetRegistryId() string
func (*DeleteRegistryCertificateRequest) ProtoMessage ¶
func (*DeleteRegistryCertificateRequest) ProtoMessage()
func (*DeleteRegistryCertificateRequest) ProtoReflect ¶
func (x *DeleteRegistryCertificateRequest) ProtoReflect() protoreflect.Message
func (*DeleteRegistryCertificateRequest) Reset ¶
func (x *DeleteRegistryCertificateRequest) Reset()
func (*DeleteRegistryCertificateRequest) SetFingerprint ¶
func (m *DeleteRegistryCertificateRequest) SetFingerprint(v string)
func (*DeleteRegistryCertificateRequest) SetRegistryId ¶
func (m *DeleteRegistryCertificateRequest) SetRegistryId(v string)
func (*DeleteRegistryCertificateRequest) String ¶
func (x *DeleteRegistryCertificateRequest) String() string
type DeleteRegistryMetadata ¶
type DeleteRegistryMetadata struct { // ID of the registry that is being deleted. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRegistryMetadata) Descriptor
deprecated
func (*DeleteRegistryMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRegistryMetadata.ProtoReflect.Descriptor instead.
func (*DeleteRegistryMetadata) GetRegistryId ¶
func (x *DeleteRegistryMetadata) GetRegistryId() string
func (*DeleteRegistryMetadata) ProtoMessage ¶
func (*DeleteRegistryMetadata) ProtoMessage()
func (*DeleteRegistryMetadata) ProtoReflect ¶
func (x *DeleteRegistryMetadata) ProtoReflect() protoreflect.Message
func (*DeleteRegistryMetadata) Reset ¶
func (x *DeleteRegistryMetadata) Reset()
func (*DeleteRegistryMetadata) SetRegistryId ¶
func (m *DeleteRegistryMetadata) SetRegistryId(v string)
func (*DeleteRegistryMetadata) String ¶
func (x *DeleteRegistryMetadata) String() string
type DeleteRegistryPasswordMetadata ¶
type DeleteRegistryPasswordMetadata struct { // ID of a registry for which the password is being delete. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // ID of the password to delete. // // To get a password ID make a [RegistryService.ListPasswords] request. PasswordId string `protobuf:"bytes,2,opt,name=password_id,json=passwordId,proto3" json:"password_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRegistryPasswordMetadata) Descriptor
deprecated
func (*DeleteRegistryPasswordMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRegistryPasswordMetadata.ProtoReflect.Descriptor instead.
func (*DeleteRegistryPasswordMetadata) GetPasswordId ¶
func (x *DeleteRegistryPasswordMetadata) GetPasswordId() string
func (*DeleteRegistryPasswordMetadata) GetRegistryId ¶
func (x *DeleteRegistryPasswordMetadata) GetRegistryId() string
func (*DeleteRegistryPasswordMetadata) ProtoMessage ¶
func (*DeleteRegistryPasswordMetadata) ProtoMessage()
func (*DeleteRegistryPasswordMetadata) ProtoReflect ¶
func (x *DeleteRegistryPasswordMetadata) ProtoReflect() protoreflect.Message
func (*DeleteRegistryPasswordMetadata) Reset ¶
func (x *DeleteRegistryPasswordMetadata) Reset()
func (*DeleteRegistryPasswordMetadata) SetPasswordId ¶
func (m *DeleteRegistryPasswordMetadata) SetPasswordId(v string)
func (*DeleteRegistryPasswordMetadata) SetRegistryId ¶
func (m *DeleteRegistryPasswordMetadata) SetRegistryId(v string)
func (*DeleteRegistryPasswordMetadata) String ¶
func (x *DeleteRegistryPasswordMetadata) String() string
type DeleteRegistryPasswordRequest ¶
type DeleteRegistryPasswordRequest struct { // ID of the registry to delete a password for. // // To get a registry ID make a [DeviceService.List] request. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // ID of the password to delete. // // To get a password ID make a [RegistryService.ListPasswords] request. PasswordId string `protobuf:"bytes,2,opt,name=password_id,json=passwordId,proto3" json:"password_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRegistryPasswordRequest) Descriptor
deprecated
func (*DeleteRegistryPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRegistryPasswordRequest.ProtoReflect.Descriptor instead.
func (*DeleteRegistryPasswordRequest) GetPasswordId ¶
func (x *DeleteRegistryPasswordRequest) GetPasswordId() string
func (*DeleteRegistryPasswordRequest) GetRegistryId ¶
func (x *DeleteRegistryPasswordRequest) GetRegistryId() string
func (*DeleteRegistryPasswordRequest) ProtoMessage ¶
func (*DeleteRegistryPasswordRequest) ProtoMessage()
func (*DeleteRegistryPasswordRequest) ProtoReflect ¶
func (x *DeleteRegistryPasswordRequest) ProtoReflect() protoreflect.Message
func (*DeleteRegistryPasswordRequest) Reset ¶
func (x *DeleteRegistryPasswordRequest) Reset()
func (*DeleteRegistryPasswordRequest) SetPasswordId ¶
func (m *DeleteRegistryPasswordRequest) SetPasswordId(v string)
func (*DeleteRegistryPasswordRequest) SetRegistryId ¶
func (m *DeleteRegistryPasswordRequest) SetRegistryId(v string)
func (*DeleteRegistryPasswordRequest) String ¶
func (x *DeleteRegistryPasswordRequest) String() string
type DeleteRegistryRequest ¶
type DeleteRegistryRequest struct { // ID of the registry to delete. // // To get a registry ID make a [RegistryService.List] request. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRegistryRequest) Descriptor
deprecated
func (*DeleteRegistryRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRegistryRequest.ProtoReflect.Descriptor instead.
func (*DeleteRegistryRequest) GetRegistryId ¶
func (x *DeleteRegistryRequest) GetRegistryId() string
func (*DeleteRegistryRequest) ProtoMessage ¶
func (*DeleteRegistryRequest) ProtoMessage()
func (*DeleteRegistryRequest) ProtoReflect ¶
func (x *DeleteRegistryRequest) ProtoReflect() protoreflect.Message
func (*DeleteRegistryRequest) Reset ¶
func (x *DeleteRegistryRequest) Reset()
func (*DeleteRegistryRequest) SetRegistryId ¶
func (m *DeleteRegistryRequest) SetRegistryId(v string)
func (*DeleteRegistryRequest) String ¶
func (x *DeleteRegistryRequest) String() string
type Device ¶
type Device struct { // ID of the device. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the registry that the device belongs to. RegistryId string `protobuf:"bytes,2,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Name of the device. The name is unique within the registry. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Description of the device. 0-256 characters long. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Alias of a device topic. // // Alias is an alternate name of a device topic assigned by the user. Map alias to canonical topic name prefix, e.g. `my/custom/alias` match to `$device/abcdef/events`. TopicAliases map[string]string `` /* 185-byte string literal not displayed */ // Status of the device. Status Device_Status `protobuf:"varint,7,opt,name=status,proto3,enum=yandex.cloud.iot.devices.v1.Device_Status" json:"status,omitempty"` // Device monitoring data, returns if FULL view specified. MonitoringData *DeviceMonitoringData `protobuf:"bytes,8,opt,name=monitoring_data,json=monitoringData,proto3" json:"monitoring_data,omitempty"` // contains filtered or unexported fields }
A device. For more information, see Device(/docs/iot-core/concepts/index#device).
func (*Device) Descriptor
deprecated
func (*Device) GetCreatedAt ¶
func (x *Device) GetCreatedAt() *timestamppb.Timestamp
func (*Device) GetDescription ¶
func (*Device) GetMonitoringData ¶
func (x *Device) GetMonitoringData() *DeviceMonitoringData
func (*Device) GetRegistryId ¶
func (*Device) GetStatus ¶
func (x *Device) GetStatus() Device_Status
func (*Device) GetTopicAliases ¶
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
func (*Device) ProtoReflect ¶
func (x *Device) ProtoReflect() protoreflect.Message
func (*Device) SetCreatedAt ¶
func (m *Device) SetCreatedAt(v *timestamppb.Timestamp)
func (*Device) SetDescription ¶
func (*Device) SetMonitoringData ¶
func (m *Device) SetMonitoringData(v *DeviceMonitoringData)
func (*Device) SetRegistryId ¶
func (*Device) SetStatus ¶
func (m *Device) SetStatus(v Device_Status)
func (*Device) SetTopicAliases ¶
type DeviceAlias ¶
type DeviceAlias struct { // ID of the device that the alias belongs to. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // Prefix of a canonical topic name to be aliased, e.g. `$devices/abcdef`. TopicPrefix string `protobuf:"bytes,2,opt,name=topic_prefix,json=topicPrefix,proto3" json:"topic_prefix,omitempty"` // Alias of a device topic. Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` // contains filtered or unexported fields }
A device topic alias.
Alias is an alternate name of a device topic assigned by the user. Map alias to canonical topic name prefix, e.g. `my/custom/alias` match to `$device/abcdef/events`. For more information, see [Using topic aliases](/docs/iot-core/concepts/topic#aliases).
func (*DeviceAlias) Descriptor
deprecated
func (*DeviceAlias) Descriptor() ([]byte, []int)
Deprecated: Use DeviceAlias.ProtoReflect.Descriptor instead.
func (*DeviceAlias) GetAlias ¶
func (x *DeviceAlias) GetAlias() string
func (*DeviceAlias) GetDeviceId ¶
func (x *DeviceAlias) GetDeviceId() string
func (*DeviceAlias) GetTopicPrefix ¶
func (x *DeviceAlias) GetTopicPrefix() string
func (*DeviceAlias) ProtoMessage ¶
func (*DeviceAlias) ProtoMessage()
func (*DeviceAlias) ProtoReflect ¶
func (x *DeviceAlias) ProtoReflect() protoreflect.Message
func (*DeviceAlias) Reset ¶
func (x *DeviceAlias) Reset()
func (*DeviceAlias) SetAlias ¶
func (m *DeviceAlias) SetAlias(v string)
func (*DeviceAlias) SetDeviceId ¶
func (m *DeviceAlias) SetDeviceId(v string)
func (*DeviceAlias) SetTopicPrefix ¶
func (m *DeviceAlias) SetTopicPrefix(v string)
func (*DeviceAlias) String ¶
func (x *DeviceAlias) String() string
type DeviceCertificate ¶
type DeviceCertificate struct { // ID of the device that the certificate belongs to. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // SHA256 hash of the certificate. Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // Public part of the certificate. CertificateData string `protobuf:"bytes,3,opt,name=certificate_data,json=certificateData,proto3" json:"certificate_data,omitempty"` // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
A device certificate. For more information, see [Managing device certificates](/docs/iot-core/operations/certificates/device-certificates).
func (*DeviceCertificate) Descriptor
deprecated
func (*DeviceCertificate) Descriptor() ([]byte, []int)
Deprecated: Use DeviceCertificate.ProtoReflect.Descriptor instead.
func (*DeviceCertificate) GetCertificateData ¶
func (x *DeviceCertificate) GetCertificateData() string
func (*DeviceCertificate) GetCreatedAt ¶
func (x *DeviceCertificate) GetCreatedAt() *timestamppb.Timestamp
func (*DeviceCertificate) GetDeviceId ¶
func (x *DeviceCertificate) GetDeviceId() string
func (*DeviceCertificate) GetFingerprint ¶
func (x *DeviceCertificate) GetFingerprint() string
func (*DeviceCertificate) ProtoMessage ¶
func (*DeviceCertificate) ProtoMessage()
func (*DeviceCertificate) ProtoReflect ¶
func (x *DeviceCertificate) ProtoReflect() protoreflect.Message
func (*DeviceCertificate) Reset ¶
func (x *DeviceCertificate) Reset()
func (*DeviceCertificate) SetCertificateData ¶
func (m *DeviceCertificate) SetCertificateData(v string)
func (*DeviceCertificate) SetCreatedAt ¶
func (m *DeviceCertificate) SetCreatedAt(v *timestamppb.Timestamp)
func (*DeviceCertificate) SetDeviceId ¶
func (m *DeviceCertificate) SetDeviceId(v string)
func (*DeviceCertificate) SetFingerprint ¶
func (m *DeviceCertificate) SetFingerprint(v string)
func (*DeviceCertificate) String ¶
func (x *DeviceCertificate) String() string
type DeviceDataServiceClient ¶
type DeviceDataServiceClient interface { // Publishes message on behalf of specified device Publish(ctx context.Context, in *PublishDeviceDataRequest, opts ...grpc.CallOption) (*PublishDeviceDataResponse, error) }
DeviceDataServiceClient is the client API for DeviceDataService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
A set of methods to work with IoT Core messages on behalf of device
func NewDeviceDataServiceClient ¶
func NewDeviceDataServiceClient(cc grpc.ClientConnInterface) DeviceDataServiceClient
type DeviceDataServiceServer ¶
type DeviceDataServiceServer interface { // Publishes message on behalf of specified device Publish(context.Context, *PublishDeviceDataRequest) (*PublishDeviceDataResponse, error) }
DeviceDataServiceServer is the server API for DeviceDataService service. All implementations should embed UnimplementedDeviceDataServiceServer for forward compatibility.
A set of methods to work with IoT Core messages on behalf of device
type DeviceMonitoringData ¶
type DeviceMonitoringData struct { LastAuthIp string `protobuf:"bytes,1,opt,name=last_auth_ip,json=lastAuthIp,proto3" json:"last_auth_ip,omitempty"` LastAuthTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_auth_time,json=lastAuthTime,proto3" json:"last_auth_time,omitempty"` LastPubActivityTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_pub_activity_time,json=lastPubActivityTime,proto3" json:"last_pub_activity_time,omitempty"` LastSubActivityTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_sub_activity_time,json=lastSubActivityTime,proto3" json:"last_sub_activity_time,omitempty"` LastOnlineTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_online_time,json=lastOnlineTime,proto3" json:"last_online_time,omitempty"` // contains filtered or unexported fields }
func (*DeviceMonitoringData) Descriptor
deprecated
func (*DeviceMonitoringData) Descriptor() ([]byte, []int)
Deprecated: Use DeviceMonitoringData.ProtoReflect.Descriptor instead.
func (*DeviceMonitoringData) GetLastAuthIp ¶
func (x *DeviceMonitoringData) GetLastAuthIp() string
func (*DeviceMonitoringData) GetLastAuthTime ¶
func (x *DeviceMonitoringData) GetLastAuthTime() *timestamppb.Timestamp
func (*DeviceMonitoringData) GetLastOnlineTime ¶
func (x *DeviceMonitoringData) GetLastOnlineTime() *timestamppb.Timestamp
func (*DeviceMonitoringData) GetLastPubActivityTime ¶
func (x *DeviceMonitoringData) GetLastPubActivityTime() *timestamppb.Timestamp
func (*DeviceMonitoringData) GetLastSubActivityTime ¶
func (x *DeviceMonitoringData) GetLastSubActivityTime() *timestamppb.Timestamp
func (*DeviceMonitoringData) ProtoMessage ¶
func (*DeviceMonitoringData) ProtoMessage()
func (*DeviceMonitoringData) ProtoReflect ¶
func (x *DeviceMonitoringData) ProtoReflect() protoreflect.Message
func (*DeviceMonitoringData) Reset ¶
func (x *DeviceMonitoringData) Reset()
func (*DeviceMonitoringData) SetLastAuthIp ¶
func (m *DeviceMonitoringData) SetLastAuthIp(v string)
func (*DeviceMonitoringData) SetLastAuthTime ¶
func (m *DeviceMonitoringData) SetLastAuthTime(v *timestamppb.Timestamp)
func (*DeviceMonitoringData) SetLastOnlineTime ¶
func (m *DeviceMonitoringData) SetLastOnlineTime(v *timestamppb.Timestamp)
func (*DeviceMonitoringData) SetLastPubActivityTime ¶
func (m *DeviceMonitoringData) SetLastPubActivityTime(v *timestamppb.Timestamp)
func (*DeviceMonitoringData) SetLastSubActivityTime ¶
func (m *DeviceMonitoringData) SetLastSubActivityTime(v *timestamppb.Timestamp)
func (*DeviceMonitoringData) String ¶
func (x *DeviceMonitoringData) String() string
type DevicePassword ¶
type DevicePassword struct { // ID of the device that the password belongs to. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // ID of the password. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
A device password.
func (*DevicePassword) Descriptor
deprecated
func (*DevicePassword) Descriptor() ([]byte, []int)
Deprecated: Use DevicePassword.ProtoReflect.Descriptor instead.
func (*DevicePassword) GetCreatedAt ¶
func (x *DevicePassword) GetCreatedAt() *timestamppb.Timestamp
func (*DevicePassword) GetDeviceId ¶
func (x *DevicePassword) GetDeviceId() string
func (*DevicePassword) GetId ¶
func (x *DevicePassword) GetId() string
func (*DevicePassword) ProtoMessage ¶
func (*DevicePassword) ProtoMessage()
func (*DevicePassword) ProtoReflect ¶
func (x *DevicePassword) ProtoReflect() protoreflect.Message
func (*DevicePassword) Reset ¶
func (x *DevicePassword) Reset()
func (*DevicePassword) SetCreatedAt ¶
func (m *DevicePassword) SetCreatedAt(v *timestamppb.Timestamp)
func (*DevicePassword) SetDeviceId ¶
func (m *DevicePassword) SetDeviceId(v string)
func (*DevicePassword) SetId ¶
func (m *DevicePassword) SetId(v string)
func (*DevicePassword) String ¶
func (x *DevicePassword) String() string
type DeviceServiceClient ¶
type DeviceServiceClient interface { // Returns the specified device. // // To get the list of available devices, make a [List] request. Get(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*Device, error) GetByName(ctx context.Context, in *GetByNameDeviceRequest, opts ...grpc.CallOption) (*Device, error) // Retrieves the list of devices in the specified registry. List(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error) // Creates a device in the specified registry. Create(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates the specified device. Update(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified device. Delete(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Retrieves the list of device certificates for the specified device. ListCertificates(ctx context.Context, in *ListDeviceCertificatesRequest, opts ...grpc.CallOption) (*ListDeviceCertificatesResponse, error) // Adds a certificate. AddCertificate(ctx context.Context, in *AddDeviceCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified device certificate. DeleteCertificate(ctx context.Context, in *DeleteDeviceCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Retrieves the list of passwords for the specified device. ListPasswords(ctx context.Context, in *ListDevicePasswordsRequest, opts ...grpc.CallOption) (*ListDevicePasswordsResponse, error) // Adds password for the specified device. AddPassword(ctx context.Context, in *AddDevicePasswordRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified password. DeletePassword(ctx context.Context, in *DeleteDevicePasswordRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Lists operations for the specified device. ListOperations(ctx context.Context, in *ListDeviceOperationsRequest, opts ...grpc.CallOption) (*ListDeviceOperationsResponse, error) }
DeviceServiceClient is the client API for DeviceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
A set of methods for managing devices.
func NewDeviceServiceClient ¶
func NewDeviceServiceClient(cc grpc.ClientConnInterface) DeviceServiceClient
type DeviceServiceServer ¶
type DeviceServiceServer interface { // Returns the specified device. // // To get the list of available devices, make a [List] request. Get(context.Context, *GetDeviceRequest) (*Device, error) GetByName(context.Context, *GetByNameDeviceRequest) (*Device, error) // Retrieves the list of devices in the specified registry. List(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error) // Creates a device in the specified registry. Create(context.Context, *CreateDeviceRequest) (*operation.Operation, error) // Updates the specified device. Update(context.Context, *UpdateDeviceRequest) (*operation.Operation, error) // Deletes the specified device. Delete(context.Context, *DeleteDeviceRequest) (*operation.Operation, error) // Retrieves the list of device certificates for the specified device. ListCertificates(context.Context, *ListDeviceCertificatesRequest) (*ListDeviceCertificatesResponse, error) // Adds a certificate. AddCertificate(context.Context, *AddDeviceCertificateRequest) (*operation.Operation, error) // Deletes the specified device certificate. DeleteCertificate(context.Context, *DeleteDeviceCertificateRequest) (*operation.Operation, error) // Retrieves the list of passwords for the specified device. ListPasswords(context.Context, *ListDevicePasswordsRequest) (*ListDevicePasswordsResponse, error) // Adds password for the specified device. AddPassword(context.Context, *AddDevicePasswordRequest) (*operation.Operation, error) // Deletes the specified password. DeletePassword(context.Context, *DeleteDevicePasswordRequest) (*operation.Operation, error) // Lists operations for the specified device. ListOperations(context.Context, *ListDeviceOperationsRequest) (*ListDeviceOperationsResponse, error) }
DeviceServiceServer is the server API for DeviceService service. All implementations should embed UnimplementedDeviceServiceServer for forward compatibility.
A set of methods for managing devices.
type DeviceView ¶
type DeviceView int32
const ( // Server responses without monitoring data. // The default value. DeviceView_BASIC DeviceView = 0 // Server responses with monitoring data. DeviceView_FULL DeviceView = 1 )
func (DeviceView) Descriptor ¶
func (DeviceView) Descriptor() protoreflect.EnumDescriptor
func (DeviceView) Enum ¶
func (x DeviceView) Enum() *DeviceView
func (DeviceView) EnumDescriptor
deprecated
func (DeviceView) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceView.Descriptor instead.
func (DeviceView) Number ¶
func (x DeviceView) Number() protoreflect.EnumNumber
func (DeviceView) String ¶
func (x DeviceView) String() string
func (DeviceView) Type ¶
func (DeviceView) Type() protoreflect.EnumType
type Device_Status ¶
type Device_Status int32
const ( Device_STATUS_UNSPECIFIED Device_Status = 0 // Device is being created. Device_CREATING Device_Status = 1 // Device is ready to use. Device_ACTIVE Device_Status = 2 // Device is being deleted. Device_DELETING Device_Status = 3 )
func (Device_Status) Descriptor ¶
func (Device_Status) Descriptor() protoreflect.EnumDescriptor
func (Device_Status) Enum ¶
func (x Device_Status) Enum() *Device_Status
func (Device_Status) EnumDescriptor
deprecated
func (Device_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Device_Status.Descriptor instead.
func (Device_Status) Number ¶
func (x Device_Status) Number() protoreflect.EnumNumber
func (Device_Status) String ¶
func (x Device_Status) String() string
func (Device_Status) Type ¶
func (Device_Status) Type() protoreflect.EnumType
type DisableRegistryMetadata ¶
type DisableRegistryMetadata struct { // ID of the registry that was disabled. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*DisableRegistryMetadata) Descriptor
deprecated
func (*DisableRegistryMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DisableRegistryMetadata.ProtoReflect.Descriptor instead.
func (*DisableRegistryMetadata) GetRegistryId ¶
func (x *DisableRegistryMetadata) GetRegistryId() string
func (*DisableRegistryMetadata) ProtoMessage ¶
func (*DisableRegistryMetadata) ProtoMessage()
func (*DisableRegistryMetadata) ProtoReflect ¶
func (x *DisableRegistryMetadata) ProtoReflect() protoreflect.Message
func (*DisableRegistryMetadata) Reset ¶
func (x *DisableRegistryMetadata) Reset()
func (*DisableRegistryMetadata) SetRegistryId ¶
func (m *DisableRegistryMetadata) SetRegistryId(v string)
func (*DisableRegistryMetadata) String ¶
func (x *DisableRegistryMetadata) String() string
type DisableRegistryRequest ¶
type DisableRegistryRequest struct { // ID of the registry to disable. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*DisableRegistryRequest) Descriptor
deprecated
func (*DisableRegistryRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisableRegistryRequest.ProtoReflect.Descriptor instead.
func (*DisableRegistryRequest) GetRegistryId ¶
func (x *DisableRegistryRequest) GetRegistryId() string
func (*DisableRegistryRequest) ProtoMessage ¶
func (*DisableRegistryRequest) ProtoMessage()
func (*DisableRegistryRequest) ProtoReflect ¶
func (x *DisableRegistryRequest) ProtoReflect() protoreflect.Message
func (*DisableRegistryRequest) Reset ¶
func (x *DisableRegistryRequest) Reset()
func (*DisableRegistryRequest) SetRegistryId ¶
func (m *DisableRegistryRequest) SetRegistryId(v string)
func (*DisableRegistryRequest) String ¶
func (x *DisableRegistryRequest) String() string
type EnableRegistryMetadata ¶
type EnableRegistryMetadata struct { // ID of the registry that was enabled. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*EnableRegistryMetadata) Descriptor
deprecated
func (*EnableRegistryMetadata) Descriptor() ([]byte, []int)
Deprecated: Use EnableRegistryMetadata.ProtoReflect.Descriptor instead.
func (*EnableRegistryMetadata) GetRegistryId ¶
func (x *EnableRegistryMetadata) GetRegistryId() string
func (*EnableRegistryMetadata) ProtoMessage ¶
func (*EnableRegistryMetadata) ProtoMessage()
func (*EnableRegistryMetadata) ProtoReflect ¶
func (x *EnableRegistryMetadata) ProtoReflect() protoreflect.Message
func (*EnableRegistryMetadata) Reset ¶
func (x *EnableRegistryMetadata) Reset()
func (*EnableRegistryMetadata) SetRegistryId ¶
func (m *EnableRegistryMetadata) SetRegistryId(v string)
func (*EnableRegistryMetadata) String ¶
func (x *EnableRegistryMetadata) String() string
type EnableRegistryRequest ¶
type EnableRegistryRequest struct { // ID of the registry to enable. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*EnableRegistryRequest) Descriptor
deprecated
func (*EnableRegistryRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnableRegistryRequest.ProtoReflect.Descriptor instead.
func (*EnableRegistryRequest) GetRegistryId ¶
func (x *EnableRegistryRequest) GetRegistryId() string
func (*EnableRegistryRequest) ProtoMessage ¶
func (*EnableRegistryRequest) ProtoMessage()
func (*EnableRegistryRequest) ProtoReflect ¶
func (x *EnableRegistryRequest) ProtoReflect() protoreflect.Message
func (*EnableRegistryRequest) Reset ¶
func (x *EnableRegistryRequest) Reset()
func (*EnableRegistryRequest) SetRegistryId ¶
func (m *EnableRegistryRequest) SetRegistryId(v string)
func (*EnableRegistryRequest) String ¶
func (x *EnableRegistryRequest) String() string
type GetByNameDeviceRequest ¶
type GetByNameDeviceRequest struct { // ID of the registry to get device. // // To get a registry ID make a [yandex.cloud.iot.devices.v1.RegistryService.List] request. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // Name of the device to return. // // To get a device name make a [DeviceService.List] request. DeviceName string `protobuf:"bytes,2,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` // Specifies which parts of the device resource should be returned // in the response. DeviceView DeviceView `` /* 136-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetByNameDeviceRequest) Descriptor
deprecated
func (*GetByNameDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetByNameDeviceRequest.ProtoReflect.Descriptor instead.
func (*GetByNameDeviceRequest) GetDeviceName ¶
func (x *GetByNameDeviceRequest) GetDeviceName() string
func (*GetByNameDeviceRequest) GetDeviceView ¶
func (x *GetByNameDeviceRequest) GetDeviceView() DeviceView
func (*GetByNameDeviceRequest) GetRegistryId ¶
func (x *GetByNameDeviceRequest) GetRegistryId() string
func (*GetByNameDeviceRequest) ProtoMessage ¶
func (*GetByNameDeviceRequest) ProtoMessage()
func (*GetByNameDeviceRequest) ProtoReflect ¶
func (x *GetByNameDeviceRequest) ProtoReflect() protoreflect.Message
func (*GetByNameDeviceRequest) Reset ¶
func (x *GetByNameDeviceRequest) Reset()
func (*GetByNameDeviceRequest) SetDeviceName ¶
func (m *GetByNameDeviceRequest) SetDeviceName(v string)
func (*GetByNameDeviceRequest) SetDeviceView ¶
func (m *GetByNameDeviceRequest) SetDeviceView(v DeviceView)
func (*GetByNameDeviceRequest) SetRegistryId ¶
func (m *GetByNameDeviceRequest) SetRegistryId(v string)
func (*GetByNameDeviceRequest) String ¶
func (x *GetByNameDeviceRequest) String() string
type GetByNameRegistryRequest ¶
type GetByNameRegistryRequest struct { // ID of the folder to list registries in. // // To get a folder ID make a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Name of the registry to return. // // To get a registry Name make a [RegistryService.List] request. RegistryName string `protobuf:"bytes,2,opt,name=registry_name,json=registryName,proto3" json:"registry_name,omitempty"` // contains filtered or unexported fields }
func (*GetByNameRegistryRequest) Descriptor
deprecated
func (*GetByNameRegistryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetByNameRegistryRequest.ProtoReflect.Descriptor instead.
func (*GetByNameRegistryRequest) GetFolderId ¶
func (x *GetByNameRegistryRequest) GetFolderId() string
func (*GetByNameRegistryRequest) GetRegistryName ¶
func (x *GetByNameRegistryRequest) GetRegistryName() string
func (*GetByNameRegistryRequest) ProtoMessage ¶
func (*GetByNameRegistryRequest) ProtoMessage()
func (*GetByNameRegistryRequest) ProtoReflect ¶
func (x *GetByNameRegistryRequest) ProtoReflect() protoreflect.Message
func (*GetByNameRegistryRequest) Reset ¶
func (x *GetByNameRegistryRequest) Reset()
func (*GetByNameRegistryRequest) SetFolderId ¶
func (m *GetByNameRegistryRequest) SetFolderId(v string)
func (*GetByNameRegistryRequest) SetRegistryName ¶
func (m *GetByNameRegistryRequest) SetRegistryName(v string)
func (*GetByNameRegistryRequest) String ¶
func (x *GetByNameRegistryRequest) String() string
type GetDeviceRequest ¶
type GetDeviceRequest struct { // ID of the device to return. // // To get a device ID make a [DeviceService.List] request. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // Specifies which parts of the device resource should be returned // in the response. DeviceView DeviceView `` /* 136-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetDeviceRequest) Descriptor
deprecated
func (*GetDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeviceRequest.ProtoReflect.Descriptor instead.
func (*GetDeviceRequest) GetDeviceId ¶
func (x *GetDeviceRequest) GetDeviceId() string
func (*GetDeviceRequest) GetDeviceView ¶
func (x *GetDeviceRequest) GetDeviceView() DeviceView
func (*GetDeviceRequest) ProtoMessage ¶
func (*GetDeviceRequest) ProtoMessage()
func (*GetDeviceRequest) ProtoReflect ¶
func (x *GetDeviceRequest) ProtoReflect() protoreflect.Message
func (*GetDeviceRequest) Reset ¶
func (x *GetDeviceRequest) Reset()
func (*GetDeviceRequest) SetDeviceId ¶
func (m *GetDeviceRequest) SetDeviceId(v string)
func (*GetDeviceRequest) SetDeviceView ¶
func (m *GetDeviceRequest) SetDeviceView(v DeviceView)
func (*GetDeviceRequest) String ¶
func (x *GetDeviceRequest) String() string
type GetRegistryRequest ¶
type GetRegistryRequest struct { // ID of the registry to return. // // To get a registry ID make a [RegistryService.List] request. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*GetRegistryRequest) Descriptor
deprecated
func (*GetRegistryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRegistryRequest.ProtoReflect.Descriptor instead.
func (*GetRegistryRequest) GetRegistryId ¶
func (x *GetRegistryRequest) GetRegistryId() string
func (*GetRegistryRequest) ProtoMessage ¶
func (*GetRegistryRequest) ProtoMessage()
func (*GetRegistryRequest) ProtoReflect ¶
func (x *GetRegistryRequest) ProtoReflect() protoreflect.Message
func (*GetRegistryRequest) Reset ¶
func (x *GetRegistryRequest) Reset()
func (*GetRegistryRequest) SetRegistryId ¶
func (m *GetRegistryRequest) SetRegistryId(v string)
func (*GetRegistryRequest) String ¶
func (x *GetRegistryRequest) String() string
type ListDataStreamExportsRequest ¶
type ListDataStreamExportsRequest struct { // ID of the registry to list YDS exports in. // // To get a registry ID make a [RegistryService.List] request. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*ListDataStreamExportsRequest) Descriptor
deprecated
func (*ListDataStreamExportsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDataStreamExportsRequest.ProtoReflect.Descriptor instead.
func (*ListDataStreamExportsRequest) GetRegistryId ¶
func (x *ListDataStreamExportsRequest) GetRegistryId() string
func (*ListDataStreamExportsRequest) ProtoMessage ¶
func (*ListDataStreamExportsRequest) ProtoMessage()
func (*ListDataStreamExportsRequest) ProtoReflect ¶
func (x *ListDataStreamExportsRequest) ProtoReflect() protoreflect.Message
func (*ListDataStreamExportsRequest) Reset ¶
func (x *ListDataStreamExportsRequest) Reset()
func (*ListDataStreamExportsRequest) SetRegistryId ¶
func (m *ListDataStreamExportsRequest) SetRegistryId(v string)
func (*ListDataStreamExportsRequest) String ¶
func (x *ListDataStreamExportsRequest) String() string
type ListDataStreamExportsResponse ¶
type ListDataStreamExportsResponse struct { // List of YDS exports for the specified registry. DataStreamExports []*DataStreamExport `protobuf:"bytes,1,rep,name=data_stream_exports,json=dataStreamExports,proto3" json:"data_stream_exports,omitempty"` // contains filtered or unexported fields }
func (*ListDataStreamExportsResponse) Descriptor
deprecated
func (*ListDataStreamExportsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDataStreamExportsResponse.ProtoReflect.Descriptor instead.
func (*ListDataStreamExportsResponse) GetDataStreamExports ¶
func (x *ListDataStreamExportsResponse) GetDataStreamExports() []*DataStreamExport
func (*ListDataStreamExportsResponse) ProtoMessage ¶
func (*ListDataStreamExportsResponse) ProtoMessage()
func (*ListDataStreamExportsResponse) ProtoReflect ¶
func (x *ListDataStreamExportsResponse) ProtoReflect() protoreflect.Message
func (*ListDataStreamExportsResponse) Reset ¶
func (x *ListDataStreamExportsResponse) Reset()
func (*ListDataStreamExportsResponse) SetDataStreamExports ¶
func (m *ListDataStreamExportsResponse) SetDataStreamExports(v []*DataStreamExport)
func (*ListDataStreamExportsResponse) String ¶
func (x *ListDataStreamExportsResponse) String() string
type ListDeviceCertificatesRequest ¶
type ListDeviceCertificatesRequest struct { // ID of the device to list certificates for. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // contains filtered or unexported fields }
func (*ListDeviceCertificatesRequest) Descriptor
deprecated
func (*ListDeviceCertificatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDeviceCertificatesRequest.ProtoReflect.Descriptor instead.
func (*ListDeviceCertificatesRequest) GetDeviceId ¶
func (x *ListDeviceCertificatesRequest) GetDeviceId() string
func (*ListDeviceCertificatesRequest) ProtoMessage ¶
func (*ListDeviceCertificatesRequest) ProtoMessage()
func (*ListDeviceCertificatesRequest) ProtoReflect ¶
func (x *ListDeviceCertificatesRequest) ProtoReflect() protoreflect.Message
func (*ListDeviceCertificatesRequest) Reset ¶
func (x *ListDeviceCertificatesRequest) Reset()
func (*ListDeviceCertificatesRequest) SetDeviceId ¶
func (m *ListDeviceCertificatesRequest) SetDeviceId(v string)
func (*ListDeviceCertificatesRequest) String ¶
func (x *ListDeviceCertificatesRequest) String() string
type ListDeviceCertificatesResponse ¶
type ListDeviceCertificatesResponse struct { // List of certificates for the specified device. Certificates []*DeviceCertificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"` // contains filtered or unexported fields }
func (*ListDeviceCertificatesResponse) Descriptor
deprecated
func (*ListDeviceCertificatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDeviceCertificatesResponse.ProtoReflect.Descriptor instead.
func (*ListDeviceCertificatesResponse) GetCertificates ¶
func (x *ListDeviceCertificatesResponse) GetCertificates() []*DeviceCertificate
func (*ListDeviceCertificatesResponse) ProtoMessage ¶
func (*ListDeviceCertificatesResponse) ProtoMessage()
func (*ListDeviceCertificatesResponse) ProtoReflect ¶
func (x *ListDeviceCertificatesResponse) ProtoReflect() protoreflect.Message
func (*ListDeviceCertificatesResponse) Reset ¶
func (x *ListDeviceCertificatesResponse) Reset()
func (*ListDeviceCertificatesResponse) SetCertificates ¶
func (m *ListDeviceCertificatesResponse) SetCertificates(v []*DeviceCertificate)
func (*ListDeviceCertificatesResponse) String ¶
func (x *ListDeviceCertificatesResponse) String() string
type ListDeviceOperationsRequest ¶
type ListDeviceOperationsRequest struct { // ID of the device to list operations for. // // To get a device ID make a [DeviceService.List] request. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // The maximum number of results per page that should be returned. If the number of available // results is larger than `page_size`, the service returns a [ListDeviceOperationsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. // Default value: 100. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set `page_token` to the // [ListDeviceOperationsResponse.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // A filter expression that filters resources listed in the response. // Currently you can use filtering only on [Device.name] field. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListDeviceOperationsRequest) Descriptor
deprecated
func (*ListDeviceOperationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDeviceOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListDeviceOperationsRequest) GetDeviceId ¶
func (x *ListDeviceOperationsRequest) GetDeviceId() string
func (*ListDeviceOperationsRequest) GetFilter ¶
func (x *ListDeviceOperationsRequest) GetFilter() string
func (*ListDeviceOperationsRequest) GetPageSize ¶
func (x *ListDeviceOperationsRequest) GetPageSize() int64
func (*ListDeviceOperationsRequest) GetPageToken ¶
func (x *ListDeviceOperationsRequest) GetPageToken() string
func (*ListDeviceOperationsRequest) ProtoMessage ¶
func (*ListDeviceOperationsRequest) ProtoMessage()
func (*ListDeviceOperationsRequest) ProtoReflect ¶
func (x *ListDeviceOperationsRequest) ProtoReflect() protoreflect.Message
func (*ListDeviceOperationsRequest) Reset ¶
func (x *ListDeviceOperationsRequest) Reset()
func (*ListDeviceOperationsRequest) SetDeviceId ¶
func (m *ListDeviceOperationsRequest) SetDeviceId(v string)
func (*ListDeviceOperationsRequest) SetFilter ¶
func (m *ListDeviceOperationsRequest) SetFilter(v string)
func (*ListDeviceOperationsRequest) SetPageSize ¶
func (m *ListDeviceOperationsRequest) SetPageSize(v int64)
func (*ListDeviceOperationsRequest) SetPageToken ¶
func (m *ListDeviceOperationsRequest) SetPageToken(v string)
func (*ListDeviceOperationsRequest) String ¶
func (x *ListDeviceOperationsRequest) String() string
type ListDeviceOperationsResponse ¶
type ListDeviceOperationsResponse struct { // List of operations for the specified device certificate. Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` // Token for getting the next page of the list. If the number of results is greater than // the specified [ListDeviceOperationsRequest.page_size], use `next_page_token` as the value // for the [ListDeviceOperationsRequest.page_token] parameter in the next list request. // // Each subsequent page will have its own `next_page_token` to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListDeviceOperationsResponse) Descriptor
deprecated
func (*ListDeviceOperationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDeviceOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListDeviceOperationsResponse) GetNextPageToken ¶
func (x *ListDeviceOperationsResponse) GetNextPageToken() string
func (*ListDeviceOperationsResponse) GetOperations ¶
func (x *ListDeviceOperationsResponse) GetOperations() []*operation.Operation
func (*ListDeviceOperationsResponse) ProtoMessage ¶
func (*ListDeviceOperationsResponse) ProtoMessage()
func (*ListDeviceOperationsResponse) ProtoReflect ¶
func (x *ListDeviceOperationsResponse) ProtoReflect() protoreflect.Message
func (*ListDeviceOperationsResponse) Reset ¶
func (x *ListDeviceOperationsResponse) Reset()
func (*ListDeviceOperationsResponse) SetNextPageToken ¶
func (m *ListDeviceOperationsResponse) SetNextPageToken(v string)
func (*ListDeviceOperationsResponse) SetOperations ¶
func (m *ListDeviceOperationsResponse) SetOperations(v []*operation.Operation)
func (*ListDeviceOperationsResponse) String ¶
func (x *ListDeviceOperationsResponse) String() string
type ListDevicePasswordsRequest ¶
type ListDevicePasswordsRequest struct { // ID of the registry to list passwords in. // // To get a registry ID make a [RegistryService.List] request. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // contains filtered or unexported fields }
func (*ListDevicePasswordsRequest) Descriptor
deprecated
func (*ListDevicePasswordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDevicePasswordsRequest.ProtoReflect.Descriptor instead.
func (*ListDevicePasswordsRequest) GetDeviceId ¶
func (x *ListDevicePasswordsRequest) GetDeviceId() string
func (*ListDevicePasswordsRequest) ProtoMessage ¶
func (*ListDevicePasswordsRequest) ProtoMessage()
func (*ListDevicePasswordsRequest) ProtoReflect ¶
func (x *ListDevicePasswordsRequest) ProtoReflect() protoreflect.Message
func (*ListDevicePasswordsRequest) Reset ¶
func (x *ListDevicePasswordsRequest) Reset()
func (*ListDevicePasswordsRequest) SetDeviceId ¶
func (m *ListDevicePasswordsRequest) SetDeviceId(v string)
func (*ListDevicePasswordsRequest) String ¶
func (x *ListDevicePasswordsRequest) String() string
type ListDevicePasswordsResponse ¶
type ListDevicePasswordsResponse struct { // List of passwords for the specified device. Passwords []*DevicePassword `protobuf:"bytes,1,rep,name=passwords,proto3" json:"passwords,omitempty"` // contains filtered or unexported fields }
func (*ListDevicePasswordsResponse) Descriptor
deprecated
func (*ListDevicePasswordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDevicePasswordsResponse.ProtoReflect.Descriptor instead.
func (*ListDevicePasswordsResponse) GetPasswords ¶
func (x *ListDevicePasswordsResponse) GetPasswords() []*DevicePassword
func (*ListDevicePasswordsResponse) ProtoMessage ¶
func (*ListDevicePasswordsResponse) ProtoMessage()
func (*ListDevicePasswordsResponse) ProtoReflect ¶
func (x *ListDevicePasswordsResponse) ProtoReflect() protoreflect.Message
func (*ListDevicePasswordsResponse) Reset ¶
func (x *ListDevicePasswordsResponse) Reset()
func (*ListDevicePasswordsResponse) SetPasswords ¶
func (m *ListDevicePasswordsResponse) SetPasswords(v []*DevicePassword)
func (*ListDevicePasswordsResponse) String ¶
func (x *ListDevicePasswordsResponse) String() string
type ListDeviceTopicAliasesRequest ¶
type ListDeviceTopicAliasesRequest struct { // ID of the registry to list aliases for device topic. // // To get a registry ID make a [RegistryService.List] request. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // The maximum number of results per page that should be returned. If the number of available // results is larger than `page_size`, the service returns a [ListDeviceTopicAliasesResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. // Default value: 100. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set `page_token` to the // [ListDeviceTopicAliasesResponse.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListDeviceTopicAliasesRequest) Descriptor
deprecated
func (*ListDeviceTopicAliasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDeviceTopicAliasesRequest.ProtoReflect.Descriptor instead.
func (*ListDeviceTopicAliasesRequest) GetPageSize ¶
func (x *ListDeviceTopicAliasesRequest) GetPageSize() int64
func (*ListDeviceTopicAliasesRequest) GetPageToken ¶
func (x *ListDeviceTopicAliasesRequest) GetPageToken() string
func (*ListDeviceTopicAliasesRequest) GetRegistryId ¶
func (x *ListDeviceTopicAliasesRequest) GetRegistryId() string
func (*ListDeviceTopicAliasesRequest) ProtoMessage ¶
func (*ListDeviceTopicAliasesRequest) ProtoMessage()
func (*ListDeviceTopicAliasesRequest) ProtoReflect ¶
func (x *ListDeviceTopicAliasesRequest) ProtoReflect() protoreflect.Message
func (*ListDeviceTopicAliasesRequest) Reset ¶
func (x *ListDeviceTopicAliasesRequest) Reset()
func (*ListDeviceTopicAliasesRequest) SetPageSize ¶
func (m *ListDeviceTopicAliasesRequest) SetPageSize(v int64)
func (*ListDeviceTopicAliasesRequest) SetPageToken ¶
func (m *ListDeviceTopicAliasesRequest) SetPageToken(v string)
func (*ListDeviceTopicAliasesRequest) SetRegistryId ¶
func (m *ListDeviceTopicAliasesRequest) SetRegistryId(v string)
func (*ListDeviceTopicAliasesRequest) String ¶
func (x *ListDeviceTopicAliasesRequest) String() string
type ListDeviceTopicAliasesResponse ¶
type ListDeviceTopicAliasesResponse struct { // List of device aliases for the specified registry. Aliases []*DeviceAlias `protobuf:"bytes,1,rep,name=aliases,proto3" json:"aliases,omitempty"` // Token for getting the next page of the list. If the number of results is greater than // the specified [ListDeviceTopicAliasesRequest.page_size], use `next_page_token` as the value // for the [ListDeviceTopicAliasesRequest.page_token] parameter in the next list request. // // Each subsequent page will have its own `next_page_token` to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListDeviceTopicAliasesResponse) Descriptor
deprecated
func (*ListDeviceTopicAliasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDeviceTopicAliasesResponse.ProtoReflect.Descriptor instead.
func (*ListDeviceTopicAliasesResponse) GetAliases ¶
func (x *ListDeviceTopicAliasesResponse) GetAliases() []*DeviceAlias
func (*ListDeviceTopicAliasesResponse) GetNextPageToken ¶
func (x *ListDeviceTopicAliasesResponse) GetNextPageToken() string
func (*ListDeviceTopicAliasesResponse) ProtoMessage ¶
func (*ListDeviceTopicAliasesResponse) ProtoMessage()
func (*ListDeviceTopicAliasesResponse) ProtoReflect ¶
func (x *ListDeviceTopicAliasesResponse) ProtoReflect() protoreflect.Message
func (*ListDeviceTopicAliasesResponse) Reset ¶
func (x *ListDeviceTopicAliasesResponse) Reset()
func (*ListDeviceTopicAliasesResponse) SetAliases ¶
func (m *ListDeviceTopicAliasesResponse) SetAliases(v []*DeviceAlias)
func (*ListDeviceTopicAliasesResponse) SetNextPageToken ¶
func (m *ListDeviceTopicAliasesResponse) SetNextPageToken(v string)
func (*ListDeviceTopicAliasesResponse) String ¶
func (x *ListDeviceTopicAliasesResponse) String() string
type ListDevicesRequest ¶
type ListDevicesRequest struct { // Types that are assignable to Id: // // *ListDevicesRequest_RegistryId // *ListDevicesRequest_FolderId Id isListDevicesRequest_Id `protobuf_oneof:"id"` // The maximum number of results per page to return. If the number of available // results is larger than `page_size`, the service returns a [ListDevicesResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. // Default value: 100. PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set `page_token` to the // [ListDevicesResponse.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Specifies which parts of the device resource should be returned // in the response. DeviceView DeviceView `` /* 136-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListDevicesRequest) Descriptor
deprecated
func (*ListDevicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDevicesRequest.ProtoReflect.Descriptor instead.
func (*ListDevicesRequest) GetDeviceView ¶
func (x *ListDevicesRequest) GetDeviceView() DeviceView
func (*ListDevicesRequest) GetFolderId ¶
func (x *ListDevicesRequest) GetFolderId() string
func (*ListDevicesRequest) GetId ¶
func (m *ListDevicesRequest) GetId() isListDevicesRequest_Id
func (*ListDevicesRequest) GetPageSize ¶
func (x *ListDevicesRequest) GetPageSize() int64
func (*ListDevicesRequest) GetPageToken ¶
func (x *ListDevicesRequest) GetPageToken() string
func (*ListDevicesRequest) GetRegistryId ¶
func (x *ListDevicesRequest) GetRegistryId() string
func (*ListDevicesRequest) ProtoMessage ¶
func (*ListDevicesRequest) ProtoMessage()
func (*ListDevicesRequest) ProtoReflect ¶
func (x *ListDevicesRequest) ProtoReflect() protoreflect.Message
func (*ListDevicesRequest) Reset ¶
func (x *ListDevicesRequest) Reset()
func (*ListDevicesRequest) SetDeviceView ¶
func (m *ListDevicesRequest) SetDeviceView(v DeviceView)
func (*ListDevicesRequest) SetFolderId ¶
func (m *ListDevicesRequest) SetFolderId(v string)
func (*ListDevicesRequest) SetId ¶
func (m *ListDevicesRequest) SetId(v ListDevicesRequest_Id)
func (*ListDevicesRequest) SetPageSize ¶
func (m *ListDevicesRequest) SetPageSize(v int64)
func (*ListDevicesRequest) SetPageToken ¶
func (m *ListDevicesRequest) SetPageToken(v string)
func (*ListDevicesRequest) SetRegistryId ¶
func (m *ListDevicesRequest) SetRegistryId(v string)
func (*ListDevicesRequest) String ¶
func (x *ListDevicesRequest) String() string
type ListDevicesRequest_FolderId ¶
type ListDevicesRequest_FolderId struct { // ID of the folder to list devices in. // // To get a folder ID make a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3,oneof"` }
type ListDevicesRequest_Id ¶
type ListDevicesRequest_Id = isListDevicesRequest_Id
type ListDevicesRequest_RegistryId ¶
type ListDevicesRequest_RegistryId struct { // ID of the registry to list devices in. // // To get a registry ID make a [yandex.cloud.iot.devices.v1.RegistryService.List] request. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3,oneof"` }
type ListDevicesResponse ¶
type ListDevicesResponse struct { // List of devices. Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` // Token for getting the next page of the list. If the number of results is greater than // the specified [ListDevicesRequest.page_size], use `next_page_token` as the value // for the [ListDevicesRequest.page_token] parameter in the next list request. // // Each subsequent page will have its own `next_page_token` to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListDevicesResponse) Descriptor
deprecated
func (*ListDevicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDevicesResponse.ProtoReflect.Descriptor instead.
func (*ListDevicesResponse) GetDevices ¶
func (x *ListDevicesResponse) GetDevices() []*Device
func (*ListDevicesResponse) GetNextPageToken ¶
func (x *ListDevicesResponse) GetNextPageToken() string
func (*ListDevicesResponse) ProtoMessage ¶
func (*ListDevicesResponse) ProtoMessage()
func (*ListDevicesResponse) ProtoReflect ¶
func (x *ListDevicesResponse) ProtoReflect() protoreflect.Message
func (*ListDevicesResponse) Reset ¶
func (x *ListDevicesResponse) Reset()
func (*ListDevicesResponse) SetDevices ¶
func (m *ListDevicesResponse) SetDevices(v []*Device)
func (*ListDevicesResponse) SetNextPageToken ¶
func (m *ListDevicesResponse) SetNextPageToken(v string)
func (*ListDevicesResponse) String ¶
func (x *ListDevicesResponse) String() string
type ListRegistriesRequest ¶
type ListRegistriesRequest struct { // ID of the folder to list registries in. // // To get a folder ID make a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // The maximum number of results per page that should be returned. If the number of available // results is larger than `page_size`, the service returns a [ListRegistriesResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. // Default value: 100. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set `page_token` to the // [ListRegistriesResponse.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRegistriesRequest) Descriptor
deprecated
func (*ListRegistriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRegistriesRequest.ProtoReflect.Descriptor instead.
func (*ListRegistriesRequest) GetFolderId ¶
func (x *ListRegistriesRequest) GetFolderId() string
func (*ListRegistriesRequest) GetPageSize ¶
func (x *ListRegistriesRequest) GetPageSize() int64
func (*ListRegistriesRequest) GetPageToken ¶
func (x *ListRegistriesRequest) GetPageToken() string
func (*ListRegistriesRequest) ProtoMessage ¶
func (*ListRegistriesRequest) ProtoMessage()
func (*ListRegistriesRequest) ProtoReflect ¶
func (x *ListRegistriesRequest) ProtoReflect() protoreflect.Message
func (*ListRegistriesRequest) Reset ¶
func (x *ListRegistriesRequest) Reset()
func (*ListRegistriesRequest) SetFolderId ¶
func (m *ListRegistriesRequest) SetFolderId(v string)
func (*ListRegistriesRequest) SetPageSize ¶
func (m *ListRegistriesRequest) SetPageSize(v int64)
func (*ListRegistriesRequest) SetPageToken ¶
func (m *ListRegistriesRequest) SetPageToken(v string)
func (*ListRegistriesRequest) String ¶
func (x *ListRegistriesRequest) String() string
type ListRegistriesResponse ¶
type ListRegistriesResponse struct { // List of registries. Registries []*Registry `protobuf:"bytes,1,rep,name=registries,proto3" json:"registries,omitempty"` // Token for getting the next page of the list. If the number of results is greater than // the specified [ListRegistriesRequest.page_size], use `next_page_token` as the value // for the [ListRegistriesRequest.page_token] parameter in the next list request. // // Each subsequent page will have its own `next_page_token` to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRegistriesResponse) Descriptor
deprecated
func (*ListRegistriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRegistriesResponse.ProtoReflect.Descriptor instead.
func (*ListRegistriesResponse) GetNextPageToken ¶
func (x *ListRegistriesResponse) GetNextPageToken() string
func (*ListRegistriesResponse) GetRegistries ¶
func (x *ListRegistriesResponse) GetRegistries() []*Registry
func (*ListRegistriesResponse) ProtoMessage ¶
func (*ListRegistriesResponse) ProtoMessage()
func (*ListRegistriesResponse) ProtoReflect ¶
func (x *ListRegistriesResponse) ProtoReflect() protoreflect.Message
func (*ListRegistriesResponse) Reset ¶
func (x *ListRegistriesResponse) Reset()
func (*ListRegistriesResponse) SetNextPageToken ¶
func (m *ListRegistriesResponse) SetNextPageToken(v string)
func (*ListRegistriesResponse) SetRegistries ¶
func (m *ListRegistriesResponse) SetRegistries(v []*Registry)
func (*ListRegistriesResponse) String ¶
func (x *ListRegistriesResponse) String() string
type ListRegistryCertificatesRequest ¶
type ListRegistryCertificatesRequest struct { // ID of the registry to list certificates for. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*ListRegistryCertificatesRequest) Descriptor
deprecated
func (*ListRegistryCertificatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRegistryCertificatesRequest.ProtoReflect.Descriptor instead.
func (*ListRegistryCertificatesRequest) GetRegistryId ¶
func (x *ListRegistryCertificatesRequest) GetRegistryId() string
func (*ListRegistryCertificatesRequest) ProtoMessage ¶
func (*ListRegistryCertificatesRequest) ProtoMessage()
func (*ListRegistryCertificatesRequest) ProtoReflect ¶
func (x *ListRegistryCertificatesRequest) ProtoReflect() protoreflect.Message
func (*ListRegistryCertificatesRequest) Reset ¶
func (x *ListRegistryCertificatesRequest) Reset()
func (*ListRegistryCertificatesRequest) SetRegistryId ¶
func (m *ListRegistryCertificatesRequest) SetRegistryId(v string)
func (*ListRegistryCertificatesRequest) String ¶
func (x *ListRegistryCertificatesRequest) String() string
type ListRegistryCertificatesResponse ¶
type ListRegistryCertificatesResponse struct { // List of certificates for the specified registry. Certificates []*RegistryCertificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"` // contains filtered or unexported fields }
func (*ListRegistryCertificatesResponse) Descriptor
deprecated
func (*ListRegistryCertificatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRegistryCertificatesResponse.ProtoReflect.Descriptor instead.
func (*ListRegistryCertificatesResponse) GetCertificates ¶
func (x *ListRegistryCertificatesResponse) GetCertificates() []*RegistryCertificate
func (*ListRegistryCertificatesResponse) ProtoMessage ¶
func (*ListRegistryCertificatesResponse) ProtoMessage()
func (*ListRegistryCertificatesResponse) ProtoReflect ¶
func (x *ListRegistryCertificatesResponse) ProtoReflect() protoreflect.Message
func (*ListRegistryCertificatesResponse) Reset ¶
func (x *ListRegistryCertificatesResponse) Reset()
func (*ListRegistryCertificatesResponse) SetCertificates ¶
func (m *ListRegistryCertificatesResponse) SetCertificates(v []*RegistryCertificate)
func (*ListRegistryCertificatesResponse) String ¶
func (x *ListRegistryCertificatesResponse) String() string
type ListRegistryOperationsRequest ¶
type ListRegistryOperationsRequest struct { // ID of the registry to list operations for. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // The maximum number of results per page that should be returned. If the number of available // results is larger than `page_size`, the service returns a [ListRegistryOperationsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. // Default value: 100. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set `page_token` to the // [ListRegistryOperationsResponse.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // A filter expression that filters resources listed in the response. // Currently you can use filtering only on [Registry.name] field. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListRegistryOperationsRequest) Descriptor
deprecated
func (*ListRegistryOperationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRegistryOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListRegistryOperationsRequest) GetFilter ¶
func (x *ListRegistryOperationsRequest) GetFilter() string
func (*ListRegistryOperationsRequest) GetPageSize ¶
func (x *ListRegistryOperationsRequest) GetPageSize() int64
func (*ListRegistryOperationsRequest) GetPageToken ¶
func (x *ListRegistryOperationsRequest) GetPageToken() string
func (*ListRegistryOperationsRequest) GetRegistryId ¶
func (x *ListRegistryOperationsRequest) GetRegistryId() string
func (*ListRegistryOperationsRequest) ProtoMessage ¶
func (*ListRegistryOperationsRequest) ProtoMessage()
func (*ListRegistryOperationsRequest) ProtoReflect ¶
func (x *ListRegistryOperationsRequest) ProtoReflect() protoreflect.Message
func (*ListRegistryOperationsRequest) Reset ¶
func (x *ListRegistryOperationsRequest) Reset()
func (*ListRegistryOperationsRequest) SetFilter ¶
func (m *ListRegistryOperationsRequest) SetFilter(v string)
func (*ListRegistryOperationsRequest) SetPageSize ¶
func (m *ListRegistryOperationsRequest) SetPageSize(v int64)
func (*ListRegistryOperationsRequest) SetPageToken ¶
func (m *ListRegistryOperationsRequest) SetPageToken(v string)
func (*ListRegistryOperationsRequest) SetRegistryId ¶
func (m *ListRegistryOperationsRequest) SetRegistryId(v string)
func (*ListRegistryOperationsRequest) String ¶
func (x *ListRegistryOperationsRequest) String() string
type ListRegistryOperationsResponse ¶
type ListRegistryOperationsResponse struct { // List of operations for the specified registry. Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` // Token for getting the next page of the list. If the number of results is greater than // the specified [ListRegistryOperationsRequest.page_size], use `next_page_token` as the value // for the [ListRegistryOperationsRequest.page_token] parameter in the next list request. // // Each subsequent page will have its own `next_page_token` to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRegistryOperationsResponse) Descriptor
deprecated
func (*ListRegistryOperationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRegistryOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListRegistryOperationsResponse) GetNextPageToken ¶
func (x *ListRegistryOperationsResponse) GetNextPageToken() string
func (*ListRegistryOperationsResponse) GetOperations ¶
func (x *ListRegistryOperationsResponse) GetOperations() []*operation.Operation
func (*ListRegistryOperationsResponse) ProtoMessage ¶
func (*ListRegistryOperationsResponse) ProtoMessage()
func (*ListRegistryOperationsResponse) ProtoReflect ¶
func (x *ListRegistryOperationsResponse) ProtoReflect() protoreflect.Message
func (*ListRegistryOperationsResponse) Reset ¶
func (x *ListRegistryOperationsResponse) Reset()
func (*ListRegistryOperationsResponse) SetNextPageToken ¶
func (m *ListRegistryOperationsResponse) SetNextPageToken(v string)
func (*ListRegistryOperationsResponse) SetOperations ¶
func (m *ListRegistryOperationsResponse) SetOperations(v []*operation.Operation)
func (*ListRegistryOperationsResponse) String ¶
func (x *ListRegistryOperationsResponse) String() string
type ListRegistryPasswordsRequest ¶
type ListRegistryPasswordsRequest struct { // ID of the registry to list passwords in. // // To get a registry ID make a [RegistryService.List] request. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*ListRegistryPasswordsRequest) Descriptor
deprecated
func (*ListRegistryPasswordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRegistryPasswordsRequest.ProtoReflect.Descriptor instead.
func (*ListRegistryPasswordsRequest) GetRegistryId ¶
func (x *ListRegistryPasswordsRequest) GetRegistryId() string
func (*ListRegistryPasswordsRequest) ProtoMessage ¶
func (*ListRegistryPasswordsRequest) ProtoMessage()
func (*ListRegistryPasswordsRequest) ProtoReflect ¶
func (x *ListRegistryPasswordsRequest) ProtoReflect() protoreflect.Message
func (*ListRegistryPasswordsRequest) Reset ¶
func (x *ListRegistryPasswordsRequest) Reset()
func (*ListRegistryPasswordsRequest) SetRegistryId ¶
func (m *ListRegistryPasswordsRequest) SetRegistryId(v string)
func (*ListRegistryPasswordsRequest) String ¶
func (x *ListRegistryPasswordsRequest) String() string
type ListRegistryPasswordsResponse ¶
type ListRegistryPasswordsResponse struct { // List of passwords for the specified registry. Passwords []*RegistryPassword `protobuf:"bytes,1,rep,name=passwords,proto3" json:"passwords,omitempty"` // contains filtered or unexported fields }
func (*ListRegistryPasswordsResponse) Descriptor
deprecated
func (*ListRegistryPasswordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRegistryPasswordsResponse.ProtoReflect.Descriptor instead.
func (*ListRegistryPasswordsResponse) GetPasswords ¶
func (x *ListRegistryPasswordsResponse) GetPasswords() []*RegistryPassword
func (*ListRegistryPasswordsResponse) ProtoMessage ¶
func (*ListRegistryPasswordsResponse) ProtoMessage()
func (*ListRegistryPasswordsResponse) ProtoReflect ¶
func (x *ListRegistryPasswordsResponse) ProtoReflect() protoreflect.Message
func (*ListRegistryPasswordsResponse) Reset ¶
func (x *ListRegistryPasswordsResponse) Reset()
func (*ListRegistryPasswordsResponse) SetPasswords ¶
func (m *ListRegistryPasswordsResponse) SetPasswords(v []*RegistryPassword)
func (*ListRegistryPasswordsResponse) String ¶
func (x *ListRegistryPasswordsResponse) String() string
type LogOptions ¶
type LogOptions struct { // Is logging from registry disabled. Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` // Log entries destination. // // Types that are assignable to Destination: // // *LogOptions_LogGroupId // *LogOptions_FolderId Destination isLogOptions_Destination `protobuf_oneof:"destination"` // Minimum log entry level. // // See [LogLevel.Level] for details. MinLevel v1.LogLevel_Level `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*LogOptions) Descriptor
deprecated
func (*LogOptions) Descriptor() ([]byte, []int)
Deprecated: Use LogOptions.ProtoReflect.Descriptor instead.
func (*LogOptions) GetDestination ¶
func (m *LogOptions) GetDestination() isLogOptions_Destination
func (*LogOptions) GetDisabled ¶
func (x *LogOptions) GetDisabled() bool
func (*LogOptions) GetFolderId ¶
func (x *LogOptions) GetFolderId() string
func (*LogOptions) GetLogGroupId ¶
func (x *LogOptions) GetLogGroupId() string
func (*LogOptions) GetMinLevel ¶
func (x *LogOptions) GetMinLevel() v1.LogLevel_Level
func (*LogOptions) ProtoMessage ¶
func (*LogOptions) ProtoMessage()
func (*LogOptions) ProtoReflect ¶
func (x *LogOptions) ProtoReflect() protoreflect.Message
func (*LogOptions) Reset ¶
func (x *LogOptions) Reset()
func (*LogOptions) SetDestination ¶
func (m *LogOptions) SetDestination(v LogOptions_Destination)
func (*LogOptions) SetDisabled ¶
func (m *LogOptions) SetDisabled(v bool)
func (*LogOptions) SetFolderId ¶
func (m *LogOptions) SetFolderId(v string)
func (*LogOptions) SetLogGroupId ¶
func (m *LogOptions) SetLogGroupId(v string)
func (*LogOptions) SetMinLevel ¶
func (m *LogOptions) SetMinLevel(v v1.LogLevel_Level)
func (*LogOptions) String ¶
func (x *LogOptions) String() string
type LogOptions_Destination ¶
type LogOptions_Destination = isLogOptions_Destination
type LogOptions_FolderId ¶
type LogOptions_FolderId struct { // Entry should be written to default log group for specified folder. FolderId string `protobuf:"bytes,3,opt,name=folder_id,json=folderId,proto3,oneof"` }
type LogOptions_LogGroupId ¶
type LogOptions_LogGroupId struct { // Entry should be written to log group resolved by ID. LogGroupId string `protobuf:"bytes,2,opt,name=log_group_id,json=logGroupId,proto3,oneof"` }
type PublishDeviceDataRequest ¶
type PublishDeviceDataRequest struct { // ID of device publishing message DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // Topic where message should be published Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` // Content of the message Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PublishDeviceDataRequest) Descriptor
deprecated
func (*PublishDeviceDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishDeviceDataRequest.ProtoReflect.Descriptor instead.
func (*PublishDeviceDataRequest) GetData ¶
func (x *PublishDeviceDataRequest) GetData() []byte
func (*PublishDeviceDataRequest) GetDeviceId ¶
func (x *PublishDeviceDataRequest) GetDeviceId() string
func (*PublishDeviceDataRequest) GetTopic ¶
func (x *PublishDeviceDataRequest) GetTopic() string
func (*PublishDeviceDataRequest) ProtoMessage ¶
func (*PublishDeviceDataRequest) ProtoMessage()
func (*PublishDeviceDataRequest) ProtoReflect ¶
func (x *PublishDeviceDataRequest) ProtoReflect() protoreflect.Message
func (*PublishDeviceDataRequest) Reset ¶
func (x *PublishDeviceDataRequest) Reset()
func (*PublishDeviceDataRequest) SetData ¶
func (m *PublishDeviceDataRequest) SetData(v []byte)
func (*PublishDeviceDataRequest) SetDeviceId ¶
func (m *PublishDeviceDataRequest) SetDeviceId(v string)
func (*PublishDeviceDataRequest) SetTopic ¶
func (m *PublishDeviceDataRequest) SetTopic(v string)
func (*PublishDeviceDataRequest) String ¶
func (x *PublishDeviceDataRequest) String() string
type PublishDeviceDataResponse ¶
type PublishDeviceDataResponse struct {
// contains filtered or unexported fields
}
func (*PublishDeviceDataResponse) Descriptor
deprecated
func (*PublishDeviceDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublishDeviceDataResponse.ProtoReflect.Descriptor instead.
func (*PublishDeviceDataResponse) ProtoMessage ¶
func (*PublishDeviceDataResponse) ProtoMessage()
func (*PublishDeviceDataResponse) ProtoReflect ¶
func (x *PublishDeviceDataResponse) ProtoReflect() protoreflect.Message
func (*PublishDeviceDataResponse) Reset ¶
func (x *PublishDeviceDataResponse) Reset()
func (*PublishDeviceDataResponse) String ¶
func (x *PublishDeviceDataResponse) String() string
type PublishRegistryDataRequest ¶
type PublishRegistryDataRequest struct { // ID of registry publishing message RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // Topic where message should be published Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` // Content of the message Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PublishRegistryDataRequest) Descriptor
deprecated
func (*PublishRegistryDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishRegistryDataRequest.ProtoReflect.Descriptor instead.
func (*PublishRegistryDataRequest) GetData ¶
func (x *PublishRegistryDataRequest) GetData() []byte
func (*PublishRegistryDataRequest) GetRegistryId ¶
func (x *PublishRegistryDataRequest) GetRegistryId() string
func (*PublishRegistryDataRequest) GetTopic ¶
func (x *PublishRegistryDataRequest) GetTopic() string
func (*PublishRegistryDataRequest) ProtoMessage ¶
func (*PublishRegistryDataRequest) ProtoMessage()
func (*PublishRegistryDataRequest) ProtoReflect ¶
func (x *PublishRegistryDataRequest) ProtoReflect() protoreflect.Message
func (*PublishRegistryDataRequest) Reset ¶
func (x *PublishRegistryDataRequest) Reset()
func (*PublishRegistryDataRequest) SetData ¶
func (m *PublishRegistryDataRequest) SetData(v []byte)
func (*PublishRegistryDataRequest) SetRegistryId ¶
func (m *PublishRegistryDataRequest) SetRegistryId(v string)
func (*PublishRegistryDataRequest) SetTopic ¶
func (m *PublishRegistryDataRequest) SetTopic(v string)
func (*PublishRegistryDataRequest) String ¶
func (x *PublishRegistryDataRequest) String() string
type PublishRegistryDataResponse ¶
type PublishRegistryDataResponse struct {
// contains filtered or unexported fields
}
func (*PublishRegistryDataResponse) Descriptor
deprecated
func (*PublishRegistryDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublishRegistryDataResponse.ProtoReflect.Descriptor instead.
func (*PublishRegistryDataResponse) ProtoMessage ¶
func (*PublishRegistryDataResponse) ProtoMessage()
func (*PublishRegistryDataResponse) ProtoReflect ¶
func (x *PublishRegistryDataResponse) ProtoReflect() protoreflect.Message
func (*PublishRegistryDataResponse) Reset ¶
func (x *PublishRegistryDataResponse) Reset()
func (*PublishRegistryDataResponse) String ¶
func (x *PublishRegistryDataResponse) String() string
type Registry ¶
type Registry struct { // ID of the registry. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the folder that the registry belongs to. FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Name of the registry. The name is unique within the folder. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Description of the registry. 0-256 characters long. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Resource labels as `key:value` pairs. Maximum of 64 per resource. Labels map[string]string `` /* 153-byte string literal not displayed */ // Status of the registry. Status Registry_Status `protobuf:"varint,7,opt,name=status,proto3,enum=yandex.cloud.iot.devices.v1.Registry_Status" json:"status,omitempty"` // ID of the logs group for the specified registry. LogGroupId string `protobuf:"bytes,8,opt,name=log_group_id,json=logGroupId,proto3" json:"log_group_id,omitempty"` // Options for logging registry events LogOptions *LogOptions `protobuf:"bytes,9,opt,name=log_options,json=logOptions,proto3" json:"log_options,omitempty"` // contains filtered or unexported fields }
A registry. For more information, see Registry(/docs/iot-core/concepts/index#registry).
func (*Registry) Descriptor
deprecated
func (*Registry) GetCreatedAt ¶
func (x *Registry) GetCreatedAt() *timestamppb.Timestamp
func (*Registry) GetDescription ¶
func (*Registry) GetFolderId ¶
func (*Registry) GetLogGroupId ¶
func (*Registry) GetLogOptions ¶
func (x *Registry) GetLogOptions() *LogOptions
func (*Registry) GetStatus ¶
func (x *Registry) GetStatus() Registry_Status
func (*Registry) ProtoMessage ¶
func (*Registry) ProtoMessage()
func (*Registry) ProtoReflect ¶
func (x *Registry) ProtoReflect() protoreflect.Message
func (*Registry) SetCreatedAt ¶
func (m *Registry) SetCreatedAt(v *timestamppb.Timestamp)
func (*Registry) SetDescription ¶
func (*Registry) SetFolderId ¶
func (*Registry) SetLogGroupId ¶
func (*Registry) SetLogOptions ¶
func (m *Registry) SetLogOptions(v *LogOptions)
func (*Registry) SetStatus ¶
func (m *Registry) SetStatus(v Registry_Status)
type RegistryCertificate ¶
type RegistryCertificate struct { // ID of the registry that the certificate belongs to. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // SHA256 hash of the certificates. Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // Public part of the certificate. CertificateData string `protobuf:"bytes,3,opt,name=certificate_data,json=certificateData,proto3" json:"certificate_data,omitempty"` // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
A registry certificate. For more information, see [Managing registry certificates](/docs/iot-core/operations/certificates/registry-certificates).
func (*RegistryCertificate) Descriptor
deprecated
func (*RegistryCertificate) Descriptor() ([]byte, []int)
Deprecated: Use RegistryCertificate.ProtoReflect.Descriptor instead.
func (*RegistryCertificate) GetCertificateData ¶
func (x *RegistryCertificate) GetCertificateData() string
func (*RegistryCertificate) GetCreatedAt ¶
func (x *RegistryCertificate) GetCreatedAt() *timestamppb.Timestamp
func (*RegistryCertificate) GetFingerprint ¶
func (x *RegistryCertificate) GetFingerprint() string
func (*RegistryCertificate) GetRegistryId ¶
func (x *RegistryCertificate) GetRegistryId() string
func (*RegistryCertificate) ProtoMessage ¶
func (*RegistryCertificate) ProtoMessage()
func (*RegistryCertificate) ProtoReflect ¶
func (x *RegistryCertificate) ProtoReflect() protoreflect.Message
func (*RegistryCertificate) Reset ¶
func (x *RegistryCertificate) Reset()
func (*RegistryCertificate) SetCertificateData ¶
func (m *RegistryCertificate) SetCertificateData(v string)
func (*RegistryCertificate) SetCreatedAt ¶
func (m *RegistryCertificate) SetCreatedAt(v *timestamppb.Timestamp)
func (*RegistryCertificate) SetFingerprint ¶
func (m *RegistryCertificate) SetFingerprint(v string)
func (*RegistryCertificate) SetRegistryId ¶
func (m *RegistryCertificate) SetRegistryId(v string)
func (*RegistryCertificate) String ¶
func (x *RegistryCertificate) String() string
type RegistryDataServiceClient ¶
type RegistryDataServiceClient interface { // Publishes message on behalf of specified registry Publish(ctx context.Context, in *PublishRegistryDataRequest, opts ...grpc.CallOption) (*PublishRegistryDataResponse, error) }
RegistryDataServiceClient is the client API for RegistryDataService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
A set of methods to work with IoT Core messages on behalf of registry
func NewRegistryDataServiceClient ¶
func NewRegistryDataServiceClient(cc grpc.ClientConnInterface) RegistryDataServiceClient
type RegistryDataServiceServer ¶
type RegistryDataServiceServer interface { // Publishes message on behalf of specified registry Publish(context.Context, *PublishRegistryDataRequest) (*PublishRegistryDataResponse, error) }
RegistryDataServiceServer is the server API for RegistryDataService service. All implementations should embed UnimplementedRegistryDataServiceServer for forward compatibility.
A set of methods to work with IoT Core messages on behalf of registry
type RegistryPassword ¶
type RegistryPassword struct { // ID of the registry that the password belongs to. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // ID of the password. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
A registry password.
func (*RegistryPassword) Descriptor
deprecated
func (*RegistryPassword) Descriptor() ([]byte, []int)
Deprecated: Use RegistryPassword.ProtoReflect.Descriptor instead.
func (*RegistryPassword) GetCreatedAt ¶
func (x *RegistryPassword) GetCreatedAt() *timestamppb.Timestamp
func (*RegistryPassword) GetId ¶
func (x *RegistryPassword) GetId() string
func (*RegistryPassword) GetRegistryId ¶
func (x *RegistryPassword) GetRegistryId() string
func (*RegistryPassword) ProtoMessage ¶
func (*RegistryPassword) ProtoMessage()
func (*RegistryPassword) ProtoReflect ¶
func (x *RegistryPassword) ProtoReflect() protoreflect.Message
func (*RegistryPassword) Reset ¶
func (x *RegistryPassword) Reset()
func (*RegistryPassword) SetCreatedAt ¶
func (m *RegistryPassword) SetCreatedAt(v *timestamppb.Timestamp)
func (*RegistryPassword) SetId ¶
func (m *RegistryPassword) SetId(v string)
func (*RegistryPassword) SetRegistryId ¶
func (m *RegistryPassword) SetRegistryId(v string)
func (*RegistryPassword) String ¶
func (x *RegistryPassword) String() string
type RegistryServiceClient ¶
type RegistryServiceClient interface { // Returns the specified registry. // // To get the list of available registries, make a [List] request. Get(ctx context.Context, in *GetRegistryRequest, opts ...grpc.CallOption) (*Registry, error) GetByName(ctx context.Context, in *GetByNameRegistryRequest, opts ...grpc.CallOption) (*Registry, error) // Retrieves the list of registries in the specified folder. List(ctx context.Context, in *ListRegistriesRequest, opts ...grpc.CallOption) (*ListRegistriesResponse, error) // Creates a registry in the specified folder. Create(ctx context.Context, in *CreateRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates the specified registry. Update(ctx context.Context, in *UpdateRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified registry. Delete(ctx context.Context, in *DeleteRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Retrieves the list of registry certificates for the specified registry. ListCertificates(ctx context.Context, in *ListRegistryCertificatesRequest, opts ...grpc.CallOption) (*ListRegistryCertificatesResponse, error) // Adds a certificate. AddCertificate(ctx context.Context, in *AddRegistryCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified registry certificate. DeleteCertificate(ctx context.Context, in *DeleteRegistryCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Retrieves the list of passwords for the specified registry. ListPasswords(ctx context.Context, in *ListRegistryPasswordsRequest, opts ...grpc.CallOption) (*ListRegistryPasswordsResponse, error) // Adds password for the specified registry. AddPassword(ctx context.Context, in *AddRegistryPasswordRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified password. DeletePassword(ctx context.Context, in *DeleteRegistryPasswordRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Retrieves the list of device topic aliases for the specified registry. ListDeviceTopicAliases(ctx context.Context, in *ListDeviceTopicAliasesRequest, opts ...grpc.CallOption) (*ListDeviceTopicAliasesResponse, error) // Retrieves the list of YDS exports for the specified registry. ListDataStreamExports(ctx context.Context, in *ListDataStreamExportsRequest, opts ...grpc.CallOption) (*ListDataStreamExportsResponse, error) // Adds YDS export for the specified registry. AddDataStreamExport(ctx context.Context, in *AddDataStreamExportRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified YDS export. DeleteDataStreamExport(ctx context.Context, in *DeleteDataStreamExportRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Lists operations for the specified registry. ListOperations(ctx context.Context, in *ListRegistryOperationsRequest, opts ...grpc.CallOption) (*ListRegistryOperationsResponse, error) // Disables the specified registry. Disable(ctx context.Context, in *DisableRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Enables the specified registry. Enable(ctx context.Context, in *EnableRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error) }
RegistryServiceClient is the client API for RegistryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
A set of methods for managing registry.
func NewRegistryServiceClient ¶
func NewRegistryServiceClient(cc grpc.ClientConnInterface) RegistryServiceClient
type RegistryServiceServer ¶
type RegistryServiceServer interface { // Returns the specified registry. // // To get the list of available registries, make a [List] request. Get(context.Context, *GetRegistryRequest) (*Registry, error) GetByName(context.Context, *GetByNameRegistryRequest) (*Registry, error) // Retrieves the list of registries in the specified folder. List(context.Context, *ListRegistriesRequest) (*ListRegistriesResponse, error) // Creates a registry in the specified folder. Create(context.Context, *CreateRegistryRequest) (*operation.Operation, error) // Updates the specified registry. Update(context.Context, *UpdateRegistryRequest) (*operation.Operation, error) // Deletes the specified registry. Delete(context.Context, *DeleteRegistryRequest) (*operation.Operation, error) // Retrieves the list of registry certificates for the specified registry. ListCertificates(context.Context, *ListRegistryCertificatesRequest) (*ListRegistryCertificatesResponse, error) // Adds a certificate. AddCertificate(context.Context, *AddRegistryCertificateRequest) (*operation.Operation, error) // Deletes the specified registry certificate. DeleteCertificate(context.Context, *DeleteRegistryCertificateRequest) (*operation.Operation, error) // Retrieves the list of passwords for the specified registry. ListPasswords(context.Context, *ListRegistryPasswordsRequest) (*ListRegistryPasswordsResponse, error) // Adds password for the specified registry. AddPassword(context.Context, *AddRegistryPasswordRequest) (*operation.Operation, error) // Deletes the specified password. DeletePassword(context.Context, *DeleteRegistryPasswordRequest) (*operation.Operation, error) // Retrieves the list of device topic aliases for the specified registry. ListDeviceTopicAliases(context.Context, *ListDeviceTopicAliasesRequest) (*ListDeviceTopicAliasesResponse, error) // Retrieves the list of YDS exports for the specified registry. ListDataStreamExports(context.Context, *ListDataStreamExportsRequest) (*ListDataStreamExportsResponse, error) // Adds YDS export for the specified registry. AddDataStreamExport(context.Context, *AddDataStreamExportRequest) (*operation.Operation, error) // Deletes the specified YDS export. DeleteDataStreamExport(context.Context, *DeleteDataStreamExportRequest) (*operation.Operation, error) // Lists operations for the specified registry. ListOperations(context.Context, *ListRegistryOperationsRequest) (*ListRegistryOperationsResponse, error) // Disables the specified registry. Disable(context.Context, *DisableRegistryRequest) (*operation.Operation, error) // Enables the specified registry. Enable(context.Context, *EnableRegistryRequest) (*operation.Operation, error) }
RegistryServiceServer is the server API for RegistryService service. All implementations should embed UnimplementedRegistryServiceServer for forward compatibility.
A set of methods for managing registry.
type Registry_Status ¶
type Registry_Status int32
const ( Registry_STATUS_UNSPECIFIED Registry_Status = 0 // Registry is being created. Registry_CREATING Registry_Status = 1 // Registry is ready to use. Registry_ACTIVE Registry_Status = 2 // Registry is being deleted. Registry_DELETING Registry_Status = 3 // Registry is disabled. Registry_DISABLED Registry_Status = 4 )
func (Registry_Status) Descriptor ¶
func (Registry_Status) Descriptor() protoreflect.EnumDescriptor
func (Registry_Status) Enum ¶
func (x Registry_Status) Enum() *Registry_Status
func (Registry_Status) EnumDescriptor
deprecated
func (Registry_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Registry_Status.Descriptor instead.
func (Registry_Status) Number ¶
func (x Registry_Status) Number() protoreflect.EnumNumber
func (Registry_Status) String ¶
func (x Registry_Status) String() string
func (Registry_Status) Type ¶
func (Registry_Status) Type() protoreflect.EnumType
type UnimplementedDeviceDataServiceServer ¶
type UnimplementedDeviceDataServiceServer struct{}
UnimplementedDeviceDataServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDeviceDataServiceServer) Publish ¶
func (UnimplementedDeviceDataServiceServer) Publish(context.Context, *PublishDeviceDataRequest) (*PublishDeviceDataResponse, error)
type UnimplementedDeviceServiceServer ¶
type UnimplementedDeviceServiceServer struct{}
UnimplementedDeviceServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDeviceServiceServer) AddCertificate ¶
func (UnimplementedDeviceServiceServer) AddCertificate(context.Context, *AddDeviceCertificateRequest) (*operation.Operation, error)
func (UnimplementedDeviceServiceServer) AddPassword ¶
func (UnimplementedDeviceServiceServer) AddPassword(context.Context, *AddDevicePasswordRequest) (*operation.Operation, error)
func (UnimplementedDeviceServiceServer) Create ¶
func (UnimplementedDeviceServiceServer) Create(context.Context, *CreateDeviceRequest) (*operation.Operation, error)
func (UnimplementedDeviceServiceServer) Delete ¶
func (UnimplementedDeviceServiceServer) Delete(context.Context, *DeleteDeviceRequest) (*operation.Operation, error)
func (UnimplementedDeviceServiceServer) DeleteCertificate ¶
func (UnimplementedDeviceServiceServer) DeleteCertificate(context.Context, *DeleteDeviceCertificateRequest) (*operation.Operation, error)
func (UnimplementedDeviceServiceServer) DeletePassword ¶
func (UnimplementedDeviceServiceServer) DeletePassword(context.Context, *DeleteDevicePasswordRequest) (*operation.Operation, error)
func (UnimplementedDeviceServiceServer) Get ¶
func (UnimplementedDeviceServiceServer) Get(context.Context, *GetDeviceRequest) (*Device, error)
func (UnimplementedDeviceServiceServer) GetByName ¶
func (UnimplementedDeviceServiceServer) GetByName(context.Context, *GetByNameDeviceRequest) (*Device, error)
func (UnimplementedDeviceServiceServer) List ¶
func (UnimplementedDeviceServiceServer) List(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error)
func (UnimplementedDeviceServiceServer) ListCertificates ¶
func (UnimplementedDeviceServiceServer) ListCertificates(context.Context, *ListDeviceCertificatesRequest) (*ListDeviceCertificatesResponse, error)
func (UnimplementedDeviceServiceServer) ListOperations ¶
func (UnimplementedDeviceServiceServer) ListOperations(context.Context, *ListDeviceOperationsRequest) (*ListDeviceOperationsResponse, error)
func (UnimplementedDeviceServiceServer) ListPasswords ¶
func (UnimplementedDeviceServiceServer) ListPasswords(context.Context, *ListDevicePasswordsRequest) (*ListDevicePasswordsResponse, error)
func (UnimplementedDeviceServiceServer) Update ¶
func (UnimplementedDeviceServiceServer) Update(context.Context, *UpdateDeviceRequest) (*operation.Operation, error)
type UnimplementedRegistryDataServiceServer ¶
type UnimplementedRegistryDataServiceServer struct{}
UnimplementedRegistryDataServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnimplementedRegistryServiceServer ¶
type UnimplementedRegistryServiceServer struct{}
UnimplementedRegistryServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedRegistryServiceServer) AddCertificate ¶
func (UnimplementedRegistryServiceServer) AddCertificate(context.Context, *AddRegistryCertificateRequest) (*operation.Operation, error)
func (UnimplementedRegistryServiceServer) AddDataStreamExport ¶
func (UnimplementedRegistryServiceServer) AddDataStreamExport(context.Context, *AddDataStreamExportRequest) (*operation.Operation, error)
func (UnimplementedRegistryServiceServer) AddPassword ¶
func (UnimplementedRegistryServiceServer) AddPassword(context.Context, *AddRegistryPasswordRequest) (*operation.Operation, error)
func (UnimplementedRegistryServiceServer) Create ¶
func (UnimplementedRegistryServiceServer) Create(context.Context, *CreateRegistryRequest) (*operation.Operation, error)
func (UnimplementedRegistryServiceServer) Delete ¶
func (UnimplementedRegistryServiceServer) Delete(context.Context, *DeleteRegistryRequest) (*operation.Operation, error)
func (UnimplementedRegistryServiceServer) DeleteCertificate ¶
func (UnimplementedRegistryServiceServer) DeleteCertificate(context.Context, *DeleteRegistryCertificateRequest) (*operation.Operation, error)
func (UnimplementedRegistryServiceServer) DeleteDataStreamExport ¶
func (UnimplementedRegistryServiceServer) DeleteDataStreamExport(context.Context, *DeleteDataStreamExportRequest) (*operation.Operation, error)
func (UnimplementedRegistryServiceServer) DeletePassword ¶
func (UnimplementedRegistryServiceServer) DeletePassword(context.Context, *DeleteRegistryPasswordRequest) (*operation.Operation, error)
func (UnimplementedRegistryServiceServer) Disable ¶
func (UnimplementedRegistryServiceServer) Disable(context.Context, *DisableRegistryRequest) (*operation.Operation, error)
func (UnimplementedRegistryServiceServer) Enable ¶
func (UnimplementedRegistryServiceServer) Enable(context.Context, *EnableRegistryRequest) (*operation.Operation, error)
func (UnimplementedRegistryServiceServer) Get ¶
func (UnimplementedRegistryServiceServer) Get(context.Context, *GetRegistryRequest) (*Registry, error)
func (UnimplementedRegistryServiceServer) GetByName ¶
func (UnimplementedRegistryServiceServer) GetByName(context.Context, *GetByNameRegistryRequest) (*Registry, error)
func (UnimplementedRegistryServiceServer) List ¶
func (UnimplementedRegistryServiceServer) List(context.Context, *ListRegistriesRequest) (*ListRegistriesResponse, error)
func (UnimplementedRegistryServiceServer) ListCertificates ¶
func (UnimplementedRegistryServiceServer) ListCertificates(context.Context, *ListRegistryCertificatesRequest) (*ListRegistryCertificatesResponse, error)
func (UnimplementedRegistryServiceServer) ListDataStreamExports ¶
func (UnimplementedRegistryServiceServer) ListDataStreamExports(context.Context, *ListDataStreamExportsRequest) (*ListDataStreamExportsResponse, error)
func (UnimplementedRegistryServiceServer) ListDeviceTopicAliases ¶
func (UnimplementedRegistryServiceServer) ListDeviceTopicAliases(context.Context, *ListDeviceTopicAliasesRequest) (*ListDeviceTopicAliasesResponse, error)
func (UnimplementedRegistryServiceServer) ListOperations ¶
func (UnimplementedRegistryServiceServer) ListOperations(context.Context, *ListRegistryOperationsRequest) (*ListRegistryOperationsResponse, error)
func (UnimplementedRegistryServiceServer) ListPasswords ¶
func (UnimplementedRegistryServiceServer) ListPasswords(context.Context, *ListRegistryPasswordsRequest) (*ListRegistryPasswordsResponse, error)
func (UnimplementedRegistryServiceServer) Update ¶
func (UnimplementedRegistryServiceServer) Update(context.Context, *UpdateRegistryRequest) (*operation.Operation, error)
type UnsafeDeviceDataServiceServer ¶
type UnsafeDeviceDataServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDeviceDataServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeviceDataServiceServer will result in compilation errors.
type UnsafeDeviceServiceServer ¶
type UnsafeDeviceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDeviceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeviceServiceServer will result in compilation errors.
type UnsafeRegistryDataServiceServer ¶
type UnsafeRegistryDataServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRegistryDataServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RegistryDataServiceServer will result in compilation errors.
type UnsafeRegistryServiceServer ¶
type UnsafeRegistryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRegistryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RegistryServiceServer will result in compilation errors.
type UpdateDeviceMetadata ¶
type UpdateDeviceMetadata struct { // ID of the device that is being updated. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateDeviceMetadata) Descriptor
deprecated
func (*UpdateDeviceMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeviceMetadata.ProtoReflect.Descriptor instead.
func (*UpdateDeviceMetadata) GetDeviceId ¶
func (x *UpdateDeviceMetadata) GetDeviceId() string
func (*UpdateDeviceMetadata) ProtoMessage ¶
func (*UpdateDeviceMetadata) ProtoMessage()
func (*UpdateDeviceMetadata) ProtoReflect ¶
func (x *UpdateDeviceMetadata) ProtoReflect() protoreflect.Message
func (*UpdateDeviceMetadata) Reset ¶
func (x *UpdateDeviceMetadata) Reset()
func (*UpdateDeviceMetadata) SetDeviceId ¶
func (m *UpdateDeviceMetadata) SetDeviceId(v string)
func (*UpdateDeviceMetadata) String ¶
func (x *UpdateDeviceMetadata) String() string
type UpdateDeviceRequest ¶
type UpdateDeviceRequest struct { // ID of the device to update. // // To get a device ID make a [DeviceService.List] request. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // Field mask that specifies which fields of the device are going to be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Name of the device. The name must be unique within the registry. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Description of the device. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Alias of a device topic. // // Alias is an alternate name of a device topic assigned by the user. Map alias to canonical topic name prefix, e.g. `my/custom/alias` match to `$device/{id}/events`. TopicAliases map[string]string `` /* 185-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateDeviceRequest) Descriptor
deprecated
func (*UpdateDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeviceRequest.ProtoReflect.Descriptor instead.
func (*UpdateDeviceRequest) GetDescription ¶
func (x *UpdateDeviceRequest) GetDescription() string
func (*UpdateDeviceRequest) GetDeviceId ¶
func (x *UpdateDeviceRequest) GetDeviceId() string
func (*UpdateDeviceRequest) GetName ¶
func (x *UpdateDeviceRequest) GetName() string
func (*UpdateDeviceRequest) GetTopicAliases ¶
func (x *UpdateDeviceRequest) GetTopicAliases() map[string]string
func (*UpdateDeviceRequest) GetUpdateMask ¶
func (x *UpdateDeviceRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateDeviceRequest) ProtoMessage ¶
func (*UpdateDeviceRequest) ProtoMessage()
func (*UpdateDeviceRequest) ProtoReflect ¶
func (x *UpdateDeviceRequest) ProtoReflect() protoreflect.Message
func (*UpdateDeviceRequest) Reset ¶
func (x *UpdateDeviceRequest) Reset()
func (*UpdateDeviceRequest) SetDescription ¶
func (m *UpdateDeviceRequest) SetDescription(v string)
func (*UpdateDeviceRequest) SetDeviceId ¶
func (m *UpdateDeviceRequest) SetDeviceId(v string)
func (*UpdateDeviceRequest) SetName ¶
func (m *UpdateDeviceRequest) SetName(v string)
func (*UpdateDeviceRequest) SetTopicAliases ¶
func (m *UpdateDeviceRequest) SetTopicAliases(v map[string]string)
func (*UpdateDeviceRequest) SetUpdateMask ¶
func (m *UpdateDeviceRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateDeviceRequest) String ¶
func (x *UpdateDeviceRequest) String() string
type UpdateRegistryMetadata ¶
type UpdateRegistryMetadata struct { // ID of the registry that is being updated. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateRegistryMetadata) Descriptor
deprecated
func (*UpdateRegistryMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRegistryMetadata.ProtoReflect.Descriptor instead.
func (*UpdateRegistryMetadata) GetRegistryId ¶
func (x *UpdateRegistryMetadata) GetRegistryId() string
func (*UpdateRegistryMetadata) ProtoMessage ¶
func (*UpdateRegistryMetadata) ProtoMessage()
func (*UpdateRegistryMetadata) ProtoReflect ¶
func (x *UpdateRegistryMetadata) ProtoReflect() protoreflect.Message
func (*UpdateRegistryMetadata) Reset ¶
func (x *UpdateRegistryMetadata) Reset()
func (*UpdateRegistryMetadata) SetRegistryId ¶
func (m *UpdateRegistryMetadata) SetRegistryId(v string)
func (*UpdateRegistryMetadata) String ¶
func (x *UpdateRegistryMetadata) String() string
type UpdateRegistryRequest ¶
type UpdateRegistryRequest struct { // ID of the registry to update. // // To get a registry ID make a [RegistryService.List] request. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // Field mask that specifies which fields of the registry are going to be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Name of the registry. The name must be unique within the folder. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Description of the registry. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Resource labels as `key:value` pairs. // // Existing set of `labels` is completely replaced by the provided set. Labels map[string]string `` /* 153-byte string literal not displayed */ // Options for logging registry events LogOptions *LogOptions `protobuf:"bytes,6,opt,name=log_options,json=logOptions,proto3" json:"log_options,omitempty"` // contains filtered or unexported fields }
func (*UpdateRegistryRequest) Descriptor
deprecated
func (*UpdateRegistryRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRegistryRequest.ProtoReflect.Descriptor instead.
func (*UpdateRegistryRequest) GetDescription ¶
func (x *UpdateRegistryRequest) GetDescription() string
func (*UpdateRegistryRequest) GetLabels ¶
func (x *UpdateRegistryRequest) GetLabels() map[string]string
func (*UpdateRegistryRequest) GetLogOptions ¶
func (x *UpdateRegistryRequest) GetLogOptions() *LogOptions
func (*UpdateRegistryRequest) GetName ¶
func (x *UpdateRegistryRequest) GetName() string
func (*UpdateRegistryRequest) GetRegistryId ¶
func (x *UpdateRegistryRequest) GetRegistryId() string
func (*UpdateRegistryRequest) GetUpdateMask ¶
func (x *UpdateRegistryRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateRegistryRequest) ProtoMessage ¶
func (*UpdateRegistryRequest) ProtoMessage()
func (*UpdateRegistryRequest) ProtoReflect ¶
func (x *UpdateRegistryRequest) ProtoReflect() protoreflect.Message
func (*UpdateRegistryRequest) Reset ¶
func (x *UpdateRegistryRequest) Reset()
func (*UpdateRegistryRequest) SetDescription ¶
func (m *UpdateRegistryRequest) SetDescription(v string)
func (*UpdateRegistryRequest) SetLabels ¶
func (m *UpdateRegistryRequest) SetLabels(v map[string]string)
func (*UpdateRegistryRequest) SetLogOptions ¶
func (m *UpdateRegistryRequest) SetLogOptions(v *LogOptions)
func (*UpdateRegistryRequest) SetName ¶
func (m *UpdateRegistryRequest) SetName(v string)
func (*UpdateRegistryRequest) SetRegistryId ¶
func (m *UpdateRegistryRequest) SetRegistryId(v string)
func (*UpdateRegistryRequest) SetUpdateMask ¶
func (m *UpdateRegistryRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateRegistryRequest) String ¶
func (x *UpdateRegistryRequest) String() string
Source Files
¶
- device.pb.go
- device.pbext.go
- device_data_service.pb.go
- device_data_service.pbext.go
- device_data_service_grpc.pb.go
- device_service.pb.go
- device_service.pbext.go
- device_service_grpc.pb.go
- registry.pb.go
- registry.pbext.go
- registry_data_service.pb.go
- registry_data_service.pbext.go
- registry_data_service_grpc.pb.go
- registry_service.pb.go
- registry_service.pbext.go
- registry_service_grpc.pb.go