devices

package
v0.0.0-...-5fa7aab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: MIT Imports: 15 Imported by: 7

Documentation

Index

Constants

View Source
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"
)
View Source
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"
)
View Source
const (
	DeviceDataService_Publish_FullMethodName = "/yandex.cloud.iot.devices.v1.DeviceDataService/Publish"
)
View Source
const (
	RegistryDataService_Publish_FullMethodName = "/yandex.cloud.iot.devices.v1.RegistryDataService/Publish"
)

Variables

View Source
var (
	DeviceView_name = map[int32]string{
		0: "BASIC",
		1: "FULL",
	}
	DeviceView_value = map[string]int32{
		"BASIC": 0,
		"FULL":  1,
	}
)

Enum value maps for DeviceView.

View Source
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.

View Source
var (
	Registry_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
		3: "DELETING",
	}
	Registry_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"CREATING":           1,
		"ACTIVE":             2,
		"DELETING":           3,
	}
)

Enum value maps for Registry_Status.

View Source
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)

View Source
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)

View Source
var File_yandex_cloud_iot_devices_v1_device_data_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_iot_devices_v1_device_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_iot_devices_v1_device_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_iot_devices_v1_registry_data_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_iot_devices_v1_registry_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_iot_devices_v1_registry_service_proto protoreflect.FileDescriptor
View Source
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)

View Source
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,
		},
	},
	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 (*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 (*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 (*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

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 (*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 (*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 (*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

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 (*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

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 (*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 (*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 (*CreateDeviceRequest_Certificate) Reset

func (*CreateDeviceRequest_Certificate) SetCertificateData

func (m *CreateDeviceRequest_Certificate) SetCertificateData(v string)

func (*CreateDeviceRequest_Certificate) 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 (*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 (*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 (*CreateRegistryRequest_Certificate) Reset

func (*CreateRegistryRequest_Certificate) SetCertificateData

func (m *CreateRegistryRequest_Certificate) SetCertificateData(v string)

func (*CreateRegistryRequest_Certificate) 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 (*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

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 (*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

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 (*DeleteDeviceCertificateMetadata) Reset

func (*DeleteDeviceCertificateMetadata) SetDeviceId

func (m *DeleteDeviceCertificateMetadata) SetDeviceId(v string)

func (*DeleteDeviceCertificateMetadata) SetFingerprint

func (m *DeleteDeviceCertificateMetadata) SetFingerprint(v string)

func (*DeleteDeviceCertificateMetadata) 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 (*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

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 (*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

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 (*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 (*DeleteRegistryCertificateMetadata) Reset

func (*DeleteRegistryCertificateMetadata) SetFingerprint

func (m *DeleteRegistryCertificateMetadata) SetFingerprint(v string)

func (*DeleteRegistryCertificateMetadata) SetRegistryId

func (m *DeleteRegistryCertificateMetadata) SetRegistryId(v string)

func (*DeleteRegistryCertificateMetadata) 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 (*DeleteRegistryCertificateRequest) Reset

func (*DeleteRegistryCertificateRequest) SetFingerprint

func (m *DeleteRegistryCertificateRequest) SetFingerprint(v string)

func (*DeleteRegistryCertificateRequest) SetRegistryId

func (m *DeleteRegistryCertificateRequest) SetRegistryId(v string)

func (*DeleteRegistryCertificateRequest) 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 (*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

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 (*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

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) Descriptor() ([]byte, []int)

Deprecated: Use Device.ProtoReflect.Descriptor instead.

func (*Device) GetCreatedAt

func (x *Device) GetCreatedAt() *timestamppb.Timestamp

func (*Device) GetDescription

func (x *Device) GetDescription() string

func (*Device) GetId

func (x *Device) GetId() string

func (*Device) GetMonitoringData

func (x *Device) GetMonitoringData() *DeviceMonitoringData

func (*Device) GetName

func (x *Device) GetName() string

func (*Device) GetRegistryId

func (x *Device) GetRegistryId() string

func (*Device) GetStatus

func (x *Device) GetStatus() Device_Status

func (*Device) GetTopicAliases

func (x *Device) GetTopicAliases() map[string]string

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect

func (x *Device) ProtoReflect() protoreflect.Message

func (*Device) Reset

func (x *Device) Reset()

func (*Device) SetCreatedAt

func (m *Device) SetCreatedAt(v *timestamppb.Timestamp)

func (*Device) SetDescription

func (m *Device) SetDescription(v string)

func (*Device) SetId

func (m *Device) SetId(v string)

func (*Device) SetMonitoringData

func (m *Device) SetMonitoringData(v *DeviceMonitoringData)

func (*Device) SetName

func (m *Device) SetName(v string)

func (*Device) SetRegistryId

func (m *Device) SetRegistryId(v string)

func (*Device) SetStatus

func (m *Device) SetStatus(v Device_Status)

func (*Device) SetTopicAliases

func (m *Device) SetTopicAliases(v map[string]string)

func (*Device) String

func (x *Device) String() string

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.

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

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.

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

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

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) 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 (Device_Status) String

func (x Device_Status) String() string

func (Device_Status) Type

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 (*ListDataStreamExportsRequest) Reset

func (x *ListDataStreamExportsRequest) Reset()

func (*ListDataStreamExportsRequest) SetRegistryId

func (m *ListDataStreamExportsRequest) SetRegistryId(v string)

func (*ListDataStreamExportsRequest) 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 (*ListDataStreamExportsResponse) Reset

func (x *ListDataStreamExportsResponse) Reset()

func (*ListDataStreamExportsResponse) SetDataStreamExports

func (m *ListDataStreamExportsResponse) SetDataStreamExports(v []*DataStreamExport)

func (*ListDataStreamExportsResponse) 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 (*ListDeviceCertificatesRequest) Reset

func (x *ListDeviceCertificatesRequest) Reset()

func (*ListDeviceCertificatesRequest) SetDeviceId

func (m *ListDeviceCertificatesRequest) SetDeviceId(v string)

func (*ListDeviceCertificatesRequest) 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 (*ListDeviceCertificatesResponse) Reset

func (x *ListDeviceCertificatesResponse) Reset()

func (*ListDeviceCertificatesResponse) SetCertificates

func (m *ListDeviceCertificatesResponse) SetCertificates(v []*DeviceCertificate)

func (*ListDeviceCertificatesResponse) 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 (*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 (*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

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 (*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 (*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 (*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

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 (*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

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 (*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 (*ListRegistryCertificatesRequest) Reset

func (*ListRegistryCertificatesRequest) SetRegistryId

func (m *ListRegistryCertificatesRequest) SetRegistryId(v string)

func (*ListRegistryCertificatesRequest) 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 (*ListRegistryCertificatesResponse) Reset

func (*ListRegistryCertificatesResponse) SetCertificates

func (m *ListRegistryCertificatesResponse) SetCertificates(v []*RegistryCertificate)

func (*ListRegistryCertificatesResponse) 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 (*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

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 (*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

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 (*ListRegistryPasswordsRequest) Reset

func (x *ListRegistryPasswordsRequest) Reset()

func (*ListRegistryPasswordsRequest) SetRegistryId

func (m *ListRegistryPasswordsRequest) SetRegistryId(v string)

func (*ListRegistryPasswordsRequest) 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 (*ListRegistryPasswordsResponse) Reset

func (x *ListRegistryPasswordsResponse) Reset()

func (*ListRegistryPasswordsResponse) SetPasswords

func (m *ListRegistryPasswordsResponse) SetPasswords(v []*RegistryPassword)

func (*ListRegistryPasswordsResponse) 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 (*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 (*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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Registry.ProtoReflect.Descriptor instead.

func (*Registry) GetCreatedAt

func (x *Registry) GetCreatedAt() *timestamppb.Timestamp

func (*Registry) GetDescription

func (x *Registry) GetDescription() string

func (*Registry) GetFolderId

func (x *Registry) GetFolderId() string

func (*Registry) GetId

func (x *Registry) GetId() string

func (*Registry) GetLabels

func (x *Registry) GetLabels() map[string]string

func (*Registry) GetLogGroupId

func (x *Registry) GetLogGroupId() string

func (*Registry) GetLogOptions

func (x *Registry) GetLogOptions() *LogOptions

func (*Registry) GetName

func (x *Registry) GetName() string

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) Reset

func (x *Registry) Reset()

func (*Registry) SetCreatedAt

func (m *Registry) SetCreatedAt(v *timestamppb.Timestamp)

func (*Registry) SetDescription

func (m *Registry) SetDescription(v string)

func (*Registry) SetFolderId

func (m *Registry) SetFolderId(v string)

func (*Registry) SetId

func (m *Registry) SetId(v string)

func (*Registry) SetLabels

func (m *Registry) SetLabels(v map[string]string)

func (*Registry) SetLogGroupId

func (m *Registry) SetLogGroupId(v string)

func (*Registry) SetLogOptions

func (m *Registry) SetLogOptions(v *LogOptions)

func (*Registry) SetName

func (m *Registry) SetName(v string)

func (*Registry) SetStatus

func (m *Registry) SetStatus(v Registry_Status)

func (*Registry) String

func (x *Registry) String() string

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.

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

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)
}

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.

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)
}

RegistryServiceServer is the server API for RegistryService service. All implementations should embed UnimplementedRegistryServiceServer for forward compatibility

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
)

func (Registry_Status) Descriptor

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 (Registry_Status) String

func (x Registry_Status) String() string

func (Registry_Status) Type

type UnimplementedDeviceDataServiceServer

type UnimplementedDeviceDataServiceServer struct {
}

UnimplementedDeviceDataServiceServer should be embedded to have forward compatible implementations.

type UnimplementedDeviceServiceServer

type UnimplementedDeviceServiceServer struct {
}

UnimplementedDeviceServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedDeviceServiceServer) AddCertificate

func (UnimplementedDeviceServiceServer) AddPassword

func (UnimplementedDeviceServiceServer) Create

func (UnimplementedDeviceServiceServer) Delete

func (UnimplementedDeviceServiceServer) DeleteCertificate

func (UnimplementedDeviceServiceServer) DeletePassword

func (UnimplementedDeviceServiceServer) Get

func (UnimplementedDeviceServiceServer) GetByName

func (UnimplementedDeviceServiceServer) List

func (UnimplementedDeviceServiceServer) Update

type UnimplementedRegistryDataServiceServer

type UnimplementedRegistryDataServiceServer struct {
}

UnimplementedRegistryDataServiceServer should be embedded to have forward compatible implementations.

type UnimplementedRegistryServiceServer

type UnimplementedRegistryServiceServer struct {
}

UnimplementedRegistryServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedRegistryServiceServer) AddCertificate

func (UnimplementedRegistryServiceServer) AddDataStreamExport

func (UnimplementedRegistryServiceServer) AddPassword

func (UnimplementedRegistryServiceServer) Create

func (UnimplementedRegistryServiceServer) Delete

func (UnimplementedRegistryServiceServer) DeleteCertificate

func (UnimplementedRegistryServiceServer) DeleteDataStreamExport

func (UnimplementedRegistryServiceServer) DeletePassword

func (UnimplementedRegistryServiceServer) Get

func (UnimplementedRegistryServiceServer) GetByName

func (UnimplementedRegistryServiceServer) List

func (UnimplementedRegistryServiceServer) Update

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL