genproto: google.golang.org/genproto/googleapis/cloud/iot/v1 Index | Files

package iot

import "google.golang.org/genproto/googleapis/cloud/iot/v1"

Index

Package Files

device_manager.pb.go resources.pb.go

Variables

var GatewayAuthMethod_name = map[int32]string{
    0:  "GATEWAY_AUTH_METHOD_UNSPECIFIED",
    1:  "ASSOCIATION_ONLY",
    2:  "DEVICE_AUTH_TOKEN_ONLY",
    3:  "ASSOCIATION_AND_DEVICE_AUTH_TOKEN",
}
var GatewayAuthMethod_value = map[string]int32{
    "GATEWAY_AUTH_METHOD_UNSPECIFIED":   0,
    "ASSOCIATION_ONLY":                  1,
    "DEVICE_AUTH_TOKEN_ONLY":            2,
    "ASSOCIATION_AND_DEVICE_AUTH_TOKEN": 3,
}
var GatewayType_name = map[int32]string{
    0:  "GATEWAY_TYPE_UNSPECIFIED",
    1:  "GATEWAY",
    2:  "NON_GATEWAY",
}
var GatewayType_value = map[string]int32{
    "GATEWAY_TYPE_UNSPECIFIED": 0,
    "GATEWAY":                  1,
    "NON_GATEWAY":              2,
}
var HttpState_name = map[int32]string{
    0:  "HTTP_STATE_UNSPECIFIED",
    1:  "HTTP_ENABLED",
    2:  "HTTP_DISABLED",
}
var HttpState_value = map[string]int32{
    "HTTP_STATE_UNSPECIFIED": 0,
    "HTTP_ENABLED":           1,
    "HTTP_DISABLED":          2,
}
var LogLevel_name = map[int32]string{
    0:  "LOG_LEVEL_UNSPECIFIED",
    10: "NONE",
    20: "ERROR",
    30: "INFO",
    40: "DEBUG",
}
var LogLevel_value = map[string]int32{
    "LOG_LEVEL_UNSPECIFIED": 0,
    "NONE":                  10,
    "ERROR":                 20,
    "INFO":                  30,
    "DEBUG":                 40,
}
var MqttState_name = map[int32]string{
    0:  "MQTT_STATE_UNSPECIFIED",
    1:  "MQTT_ENABLED",
    2:  "MQTT_DISABLED",
}
var MqttState_value = map[string]int32{
    "MQTT_STATE_UNSPECIFIED": 0,
    "MQTT_ENABLED":           1,
    "MQTT_DISABLED":          2,
}
var PublicKeyCertificateFormat_name = map[int32]string{
    0:  "UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT",
    1:  "X509_CERTIFICATE_PEM",
}
var PublicKeyCertificateFormat_value = map[string]int32{
    "UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT": 0,
    "X509_CERTIFICATE_PEM":                      1,
}
var PublicKeyFormat_name = map[int32]string{
    0:  "UNSPECIFIED_PUBLIC_KEY_FORMAT",
    3:  "RSA_PEM",
    1:  "RSA_X509_PEM",
    2:  "ES256_PEM",
    4:  "ES256_X509_PEM",
}
var PublicKeyFormat_value = map[string]int32{
    "UNSPECIFIED_PUBLIC_KEY_FORMAT": 0,
    "RSA_PEM":                       3,
    "RSA_X509_PEM":                  1,
    "ES256_PEM":                     2,
    "ES256_X509_PEM":                4,
}

func RegisterDeviceManagerServer Uses

func RegisterDeviceManagerServer(s *grpc.Server, srv DeviceManagerServer)

type BindDeviceToGatewayRequest Uses

type BindDeviceToGatewayRequest struct {
    // Required. The name of the registry. For example,
    // `projects/example-project/locations/us-central1/registries/my-registry`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The value of `gateway_id` can be either the device numeric ID or the
    // user-defined device identifier.
    GatewayId string `protobuf:"bytes,2,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
    // Required. The device to associate with the specified gateway. The value of
    // `device_id` can be either the device numeric ID or the user-defined device
    // identifier.
    DeviceId             string   `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Request for `BindDeviceToGateway`.

func (*BindDeviceToGatewayRequest) Descriptor Uses

func (*BindDeviceToGatewayRequest) Descriptor() ([]byte, []int)

func (*BindDeviceToGatewayRequest) GetDeviceId Uses

func (m *BindDeviceToGatewayRequest) GetDeviceId() string

func (*BindDeviceToGatewayRequest) GetGatewayId Uses

func (m *BindDeviceToGatewayRequest) GetGatewayId() string

func (*BindDeviceToGatewayRequest) GetParent Uses

func (m *BindDeviceToGatewayRequest) GetParent() string

func (*BindDeviceToGatewayRequest) ProtoMessage Uses

func (*BindDeviceToGatewayRequest) ProtoMessage()

func (*BindDeviceToGatewayRequest) Reset Uses

func (m *BindDeviceToGatewayRequest) Reset()

func (*BindDeviceToGatewayRequest) String Uses

func (m *BindDeviceToGatewayRequest) String() string

func (*BindDeviceToGatewayRequest) XXX_DiscardUnknown Uses

func (m *BindDeviceToGatewayRequest) XXX_DiscardUnknown()

func (*BindDeviceToGatewayRequest) XXX_Marshal Uses

func (m *BindDeviceToGatewayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BindDeviceToGatewayRequest) XXX_Merge Uses

func (m *BindDeviceToGatewayRequest) XXX_Merge(src proto.Message)

func (*BindDeviceToGatewayRequest) XXX_Size Uses

func (m *BindDeviceToGatewayRequest) XXX_Size() int

func (*BindDeviceToGatewayRequest) XXX_Unmarshal Uses

func (m *BindDeviceToGatewayRequest) XXX_Unmarshal(b []byte) error

type BindDeviceToGatewayResponse Uses

type BindDeviceToGatewayResponse struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Response for `BindDeviceToGateway`.

func (*BindDeviceToGatewayResponse) Descriptor Uses

func (*BindDeviceToGatewayResponse) Descriptor() ([]byte, []int)

func (*BindDeviceToGatewayResponse) ProtoMessage Uses

func (*BindDeviceToGatewayResponse) ProtoMessage()

func (*BindDeviceToGatewayResponse) Reset Uses

func (m *BindDeviceToGatewayResponse) Reset()

func (*BindDeviceToGatewayResponse) String Uses

func (m *BindDeviceToGatewayResponse) String() string

func (*BindDeviceToGatewayResponse) XXX_DiscardUnknown Uses

func (m *BindDeviceToGatewayResponse) XXX_DiscardUnknown()

func (*BindDeviceToGatewayResponse) XXX_Marshal Uses

func (m *BindDeviceToGatewayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BindDeviceToGatewayResponse) XXX_Merge Uses

func (m *BindDeviceToGatewayResponse) XXX_Merge(src proto.Message)

func (*BindDeviceToGatewayResponse) XXX_Size Uses

func (m *BindDeviceToGatewayResponse) XXX_Size() int

func (*BindDeviceToGatewayResponse) XXX_Unmarshal Uses

func (m *BindDeviceToGatewayResponse) XXX_Unmarshal(b []byte) error

type CreateDeviceRegistryRequest Uses

type CreateDeviceRegistryRequest struct {
    // Required. The project and cloud region where this device registry must be created.
    // For example, `projects/example-project/locations/us-central1`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The device registry. The field `name` must be empty. The server will
    // generate that field from the device registry `id` provided and the
    // `parent` field.
    DeviceRegistry       *DeviceRegistry `protobuf:"bytes,2,opt,name=device_registry,json=deviceRegistry,proto3" json:"device_registry,omitempty"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

Request for `CreateDeviceRegistry`.

func (*CreateDeviceRegistryRequest) Descriptor Uses

func (*CreateDeviceRegistryRequest) Descriptor() ([]byte, []int)

func (*CreateDeviceRegistryRequest) GetDeviceRegistry Uses

func (m *CreateDeviceRegistryRequest) GetDeviceRegistry() *DeviceRegistry

func (*CreateDeviceRegistryRequest) GetParent Uses

func (m *CreateDeviceRegistryRequest) GetParent() string

func (*CreateDeviceRegistryRequest) ProtoMessage Uses

func (*CreateDeviceRegistryRequest) ProtoMessage()

func (*CreateDeviceRegistryRequest) Reset Uses

func (m *CreateDeviceRegistryRequest) Reset()

func (*CreateDeviceRegistryRequest) String Uses

func (m *CreateDeviceRegistryRequest) String() string

func (*CreateDeviceRegistryRequest) XXX_DiscardUnknown Uses

func (m *CreateDeviceRegistryRequest) XXX_DiscardUnknown()

func (*CreateDeviceRegistryRequest) XXX_Marshal Uses

func (m *CreateDeviceRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateDeviceRegistryRequest) XXX_Merge Uses

func (m *CreateDeviceRegistryRequest) XXX_Merge(src proto.Message)

func (*CreateDeviceRegistryRequest) XXX_Size Uses

func (m *CreateDeviceRegistryRequest) XXX_Size() int

func (*CreateDeviceRegistryRequest) XXX_Unmarshal Uses

func (m *CreateDeviceRegistryRequest) XXX_Unmarshal(b []byte) error

type CreateDeviceRequest Uses

type CreateDeviceRequest struct {
    // Required. The name of the device registry where this device should be created.
    // For example,
    // `projects/example-project/locations/us-central1/registries/my-registry`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The device registration details. The field `name` must be empty. The server
    // generates `name` from the device registry `id` and the
    // `parent` field.
    Device               *Device  `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Request for `CreateDevice`.

func (*CreateDeviceRequest) Descriptor Uses

func (*CreateDeviceRequest) Descriptor() ([]byte, []int)

func (*CreateDeviceRequest) GetDevice Uses

func (m *CreateDeviceRequest) GetDevice() *Device

func (*CreateDeviceRequest) GetParent Uses

func (m *CreateDeviceRequest) GetParent() string

func (*CreateDeviceRequest) ProtoMessage Uses

func (*CreateDeviceRequest) ProtoMessage()

func (*CreateDeviceRequest) Reset Uses

func (m *CreateDeviceRequest) Reset()

func (*CreateDeviceRequest) String Uses

func (m *CreateDeviceRequest) String() string

func (*CreateDeviceRequest) XXX_DiscardUnknown Uses

func (m *CreateDeviceRequest) XXX_DiscardUnknown()

func (*CreateDeviceRequest) XXX_Marshal Uses

func (m *CreateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateDeviceRequest) XXX_Merge Uses

func (m *CreateDeviceRequest) XXX_Merge(src proto.Message)

func (*CreateDeviceRequest) XXX_Size Uses

func (m *CreateDeviceRequest) XXX_Size() int

func (*CreateDeviceRequest) XXX_Unmarshal Uses

func (m *CreateDeviceRequest) XXX_Unmarshal(b []byte) error

type DeleteDeviceRegistryRequest Uses

type DeleteDeviceRegistryRequest struct {
    // Required. The name of the device registry. For example,
    // `projects/example-project/locations/us-central1/registries/my-registry`.
    Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Request for `DeleteDeviceRegistry`.

func (*DeleteDeviceRegistryRequest) Descriptor Uses

func (*DeleteDeviceRegistryRequest) Descriptor() ([]byte, []int)

func (*DeleteDeviceRegistryRequest) GetName Uses

func (m *DeleteDeviceRegistryRequest) GetName() string

func (*DeleteDeviceRegistryRequest) ProtoMessage Uses

func (*DeleteDeviceRegistryRequest) ProtoMessage()

func (*DeleteDeviceRegistryRequest) Reset Uses

func (m *DeleteDeviceRegistryRequest) Reset()

func (*DeleteDeviceRegistryRequest) String Uses

func (m *DeleteDeviceRegistryRequest) String() string

func (*DeleteDeviceRegistryRequest) XXX_DiscardUnknown Uses

func (m *DeleteDeviceRegistryRequest) XXX_DiscardUnknown()

func (*DeleteDeviceRegistryRequest) XXX_Marshal Uses

func (m *DeleteDeviceRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteDeviceRegistryRequest) XXX_Merge Uses

func (m *DeleteDeviceRegistryRequest) XXX_Merge(src proto.Message)

func (*DeleteDeviceRegistryRequest) XXX_Size Uses

func (m *DeleteDeviceRegistryRequest) XXX_Size() int

func (*DeleteDeviceRegistryRequest) XXX_Unmarshal Uses

func (m *DeleteDeviceRegistryRequest) XXX_Unmarshal(b []byte) error

type DeleteDeviceRequest Uses

type DeleteDeviceRequest struct {
    // Required. The name of the device. For example,
    // `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
    // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
    Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Request for `DeleteDevice`.

func (*DeleteDeviceRequest) Descriptor Uses

func (*DeleteDeviceRequest) Descriptor() ([]byte, []int)

func (*DeleteDeviceRequest) GetName Uses

func (m *DeleteDeviceRequest) GetName() string

func (*DeleteDeviceRequest) ProtoMessage Uses

func (*DeleteDeviceRequest) ProtoMessage()

func (*DeleteDeviceRequest) Reset Uses

func (m *DeleteDeviceRequest) Reset()

func (*DeleteDeviceRequest) String Uses

func (m *DeleteDeviceRequest) String() string

func (*DeleteDeviceRequest) XXX_DiscardUnknown Uses

func (m *DeleteDeviceRequest) XXX_DiscardUnknown()

func (*DeleteDeviceRequest) XXX_Marshal Uses

func (m *DeleteDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteDeviceRequest) XXX_Merge Uses

func (m *DeleteDeviceRequest) XXX_Merge(src proto.Message)

func (*DeleteDeviceRequest) XXX_Size Uses

func (m *DeleteDeviceRequest) XXX_Size() int

func (*DeleteDeviceRequest) XXX_Unmarshal Uses

func (m *DeleteDeviceRequest) XXX_Unmarshal(b []byte) error

type Device Uses

type Device struct {
    // The user-defined device identifier. The device ID must be unique
    // within a device registry.
    Id  string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    // The resource path name. For example,
    // `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or
    // `projects/p1/locations/us-central1/registries/registry0/devices/{num_id}`.
    // When `name` is populated as a response from the service, it always ends
    // in the device numeric ID.
    Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
    // [Output only] A server-defined unique numeric ID for the device. This is a
    // more compact way to identify devices, and it is globally unique.
    NumId uint64 `protobuf:"varint,3,opt,name=num_id,json=numId,proto3" json:"num_id,omitempty"`
    // The credentials used to authenticate this device. To allow credential
    // rotation without interruption, multiple device credentials can be bound to
    // this device. No more than 3 credentials can be bound to a single device at
    // a time. When new credentials are added to a device, they are verified
    // against the registry credentials. For details, see the description of the
    // `DeviceRegistry.credentials` field.
    Credentials []*DeviceCredential `protobuf:"bytes,12,rep,name=credentials,proto3" json:"credentials,omitempty"`
    // [Output only] The last time an MQTT `PINGREQ` was received. This field
    // applies only to devices connecting through MQTT. MQTT clients usually only
    // send `PINGREQ` messages if the connection is idle, and no other messages
    // have been sent. Timestamps are periodically collected and written to
    // storage; they may be stale by a few minutes.
    LastHeartbeatTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=last_heartbeat_time,json=lastHeartbeatTime,proto3" json:"last_heartbeat_time,omitempty"`
    // [Output only] The last time a telemetry event was received. Timestamps are
    // periodically collected and written to storage; they may be stale by a few
    // minutes.
    LastEventTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=last_event_time,json=lastEventTime,proto3" json:"last_event_time,omitempty"`
    // [Output only] The last time a state event was received. Timestamps are
    // periodically collected and written to storage; they may be stale by a few
    // minutes.
    LastStateTime *timestamp.Timestamp `protobuf:"bytes,20,opt,name=last_state_time,json=lastStateTime,proto3" json:"last_state_time,omitempty"`
    // [Output only] The last time a cloud-to-device config version acknowledgment
    // was received from the device. This field is only for configurations
    // sent through MQTT.
    LastConfigAckTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=last_config_ack_time,json=lastConfigAckTime,proto3" json:"last_config_ack_time,omitempty"`
    // [Output only] The last time a cloud-to-device config version was sent to
    // the device.
    LastConfigSendTime *timestamp.Timestamp `protobuf:"bytes,18,opt,name=last_config_send_time,json=lastConfigSendTime,proto3" json:"last_config_send_time,omitempty"`
    // If a device is blocked, connections or requests from this device will fail.
    // Can be used to temporarily prevent the device from connecting if, for
    // example, the sensor is generating bad data and needs maintenance.
    Blocked bool `protobuf:"varint,19,opt,name=blocked,proto3" json:"blocked,omitempty"`
    // [Output only] The time the most recent error occurred, such as a failure to
    // publish to Cloud Pub/Sub. This field is the timestamp of
    // 'last_error_status'.
    LastErrorTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=last_error_time,json=lastErrorTime,proto3" json:"last_error_time,omitempty"`
    // [Output only] The error message of the most recent error, such as a failure
    // to publish to Cloud Pub/Sub. 'last_error_time' is the timestamp of this
    // field. If no errors have occurred, this field has an empty message
    // and the status code 0 == OK. Otherwise, this field is expected to have a
    // status code other than OK.
    LastErrorStatus *status.Status `protobuf:"bytes,11,opt,name=last_error_status,json=lastErrorStatus,proto3" json:"last_error_status,omitempty"`
    // The most recent device configuration, which is eventually sent from
    // Cloud IoT Core to the device. If not present on creation, the
    // configuration will be initialized with an empty payload and version value
    // of `1`. To update this field after creation, use the
    // `DeviceManager.ModifyCloudToDeviceConfig` method.
    Config *DeviceConfig `protobuf:"bytes,13,opt,name=config,proto3" json:"config,omitempty"`
    // [Output only] The state most recently received from the device. If no state
    // has been reported, this field is not present.
    State *DeviceState `protobuf:"bytes,16,opt,name=state,proto3" json:"state,omitempty"`
    // **Beta Feature**
    //
    // The logging verbosity for device activity. If unspecified,
    // DeviceRegistry.log_level will be used.
    LogLevel LogLevel `protobuf:"varint,21,opt,name=log_level,json=logLevel,proto3,enum=google.cloud.iot.v1.LogLevel" json:"log_level,omitempty"`
    // The metadata key-value pairs assigned to the device. This metadata is not
    // interpreted or indexed by Cloud IoT Core. It can be used to add contextual
    // information for the device.
    //
    // Keys must conform to the regular expression [a-zA-Z][a-zA-Z0-9-_.+~%]+ and
    // be less than 128 bytes in length.
    //
    // Values are free-form strings. Each value must be less than or equal to 32
    // KB in size.
    //
    // The total size of all keys and values must be less than 256 KB, and the
    // maximum number of key-value pairs is 500.
    Metadata map[string]string `protobuf:"bytes,17,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Gateway-related configuration and state.
    GatewayConfig        *GatewayConfig `protobuf:"bytes,24,opt,name=gateway_config,json=gatewayConfig,proto3" json:"gateway_config,omitempty"`
    XXX_NoUnkeyedLiteral struct{}       `json:"-"`
    XXX_unrecognized     []byte         `json:"-"`
    XXX_sizecache        int32          `json:"-"`
}

The device resource.

func (*Device) Descriptor Uses

func (*Device) Descriptor() ([]byte, []int)

func (*Device) GetBlocked Uses

func (m *Device) GetBlocked() bool

func (*Device) GetConfig Uses

func (m *Device) GetConfig() *DeviceConfig

func (*Device) GetCredentials Uses

func (m *Device) GetCredentials() []*DeviceCredential

func (*Device) GetGatewayConfig Uses

func (m *Device) GetGatewayConfig() *GatewayConfig

func (*Device) GetId Uses

func (m *Device) GetId() string

func (*Device) GetLastConfigAckTime Uses

func (m *Device) GetLastConfigAckTime() *timestamp.Timestamp

func (*Device) GetLastConfigSendTime Uses

func (m *Device) GetLastConfigSendTime() *timestamp.Timestamp

func (*Device) GetLastErrorStatus Uses

func (m *Device) GetLastErrorStatus() *status.Status

func (*Device) GetLastErrorTime Uses

func (m *Device) GetLastErrorTime() *timestamp.Timestamp

func (*Device) GetLastEventTime Uses

func (m *Device) GetLastEventTime() *timestamp.Timestamp

func (*Device) GetLastHeartbeatTime Uses

func (m *Device) GetLastHeartbeatTime() *timestamp.Timestamp

func (*Device) GetLastStateTime Uses

func (m *Device) GetLastStateTime() *timestamp.Timestamp

func (*Device) GetLogLevel Uses

func (m *Device) GetLogLevel() LogLevel

func (*Device) GetMetadata Uses

func (m *Device) GetMetadata() map[string]string

func (*Device) GetName Uses

func (m *Device) GetName() string

func (*Device) GetNumId Uses

func (m *Device) GetNumId() uint64

func (*Device) GetState Uses

func (m *Device) GetState() *DeviceState

func (*Device) ProtoMessage Uses

func (*Device) ProtoMessage()

func (*Device) Reset Uses

func (m *Device) Reset()

func (*Device) String Uses

func (m *Device) String() string

func (*Device) XXX_DiscardUnknown Uses

func (m *Device) XXX_DiscardUnknown()

func (*Device) XXX_Marshal Uses

func (m *Device) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Device) XXX_Merge Uses

func (m *Device) XXX_Merge(src proto.Message)

func (*Device) XXX_Size Uses

func (m *Device) XXX_Size() int

func (*Device) XXX_Unmarshal Uses

func (m *Device) XXX_Unmarshal(b []byte) error

type DeviceConfig Uses

type DeviceConfig struct {
    // [Output only] The version of this update. The version number is assigned by
    // the server, and is always greater than 0 after device creation. The
    // version must be 0 on the `CreateDevice` request if a `config` is
    // specified; the response of `CreateDevice` will always have a value of 1.
    Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
    // [Output only] The time at which this configuration version was updated in
    // Cloud IoT Core. This timestamp is set by the server.
    CloudUpdateTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=cloud_update_time,json=cloudUpdateTime,proto3" json:"cloud_update_time,omitempty"`
    // [Output only] The time at which Cloud IoT Core received the
    // acknowledgment from the device, indicating that the device has received
    // this configuration version. If this field is not present, the device has
    // not yet acknowledged that it received this version. Note that when
    // the config was sent to the device, many config versions may have been
    // available in Cloud IoT Core while the device was disconnected, and on
    // connection, only the latest version is sent to the device. Some
    // versions may never be sent to the device, and therefore are never
    // acknowledged. This timestamp is set by Cloud IoT Core.
    DeviceAckTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=device_ack_time,json=deviceAckTime,proto3" json:"device_ack_time,omitempty"`
    // The device configuration data.
    BinaryData           []byte   `protobuf:"bytes,4,opt,name=binary_data,json=binaryData,proto3" json:"binary_data,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The device configuration. Eventually delivered to devices.

func (*DeviceConfig) Descriptor Uses

func (*DeviceConfig) Descriptor() ([]byte, []int)

func (*DeviceConfig) GetBinaryData Uses

func (m *DeviceConfig) GetBinaryData() []byte

func (*DeviceConfig) GetCloudUpdateTime Uses

func (m *DeviceConfig) GetCloudUpdateTime() *timestamp.Timestamp

func (*DeviceConfig) GetDeviceAckTime Uses

func (m *DeviceConfig) GetDeviceAckTime() *timestamp.Timestamp

func (*DeviceConfig) GetVersion Uses

func (m *DeviceConfig) GetVersion() int64

func (*DeviceConfig) ProtoMessage Uses

func (*DeviceConfig) ProtoMessage()

func (*DeviceConfig) Reset Uses

func (m *DeviceConfig) Reset()

func (*DeviceConfig) String Uses

func (m *DeviceConfig) String() string

func (*DeviceConfig) XXX_DiscardUnknown Uses

func (m *DeviceConfig) XXX_DiscardUnknown()

func (*DeviceConfig) XXX_Marshal Uses

func (m *DeviceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeviceConfig) XXX_Merge Uses

func (m *DeviceConfig) XXX_Merge(src proto.Message)

func (*DeviceConfig) XXX_Size Uses

func (m *DeviceConfig) XXX_Size() int

func (*DeviceConfig) XXX_Unmarshal Uses

func (m *DeviceConfig) XXX_Unmarshal(b []byte) error

type DeviceCredential Uses

type DeviceCredential struct {
    // The credential data. Reserved for expansion in the future.
    //
    // Types that are valid to be assigned to Credential:
    //	*DeviceCredential_PublicKey
    Credential isDeviceCredential_Credential `protobuf_oneof:"credential"`
    // [Optional] The time at which this credential becomes invalid. This
    // credential will be ignored for new client authentication requests after
    // this timestamp; however, it will not be automatically deleted.
    ExpirationTime       *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

A server-stored device credential used for authentication.

func (*DeviceCredential) Descriptor Uses

func (*DeviceCredential) Descriptor() ([]byte, []int)

func (*DeviceCredential) GetCredential Uses

func (m *DeviceCredential) GetCredential() isDeviceCredential_Credential

func (*DeviceCredential) GetExpirationTime Uses

func (m *DeviceCredential) GetExpirationTime() *timestamp.Timestamp

func (*DeviceCredential) GetPublicKey Uses

func (m *DeviceCredential) GetPublicKey() *PublicKeyCredential

func (*DeviceCredential) ProtoMessage Uses

func (*DeviceCredential) ProtoMessage()

func (*DeviceCredential) Reset Uses

func (m *DeviceCredential) Reset()

func (*DeviceCredential) String Uses

func (m *DeviceCredential) String() string

func (*DeviceCredential) XXX_DiscardUnknown Uses

func (m *DeviceCredential) XXX_DiscardUnknown()

func (*DeviceCredential) XXX_Marshal Uses

func (m *DeviceCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeviceCredential) XXX_Merge Uses

func (m *DeviceCredential) XXX_Merge(src proto.Message)

func (*DeviceCredential) XXX_OneofWrappers Uses

func (*DeviceCredential) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*DeviceCredential) XXX_Size Uses

func (m *DeviceCredential) XXX_Size() int

func (*DeviceCredential) XXX_Unmarshal Uses

func (m *DeviceCredential) XXX_Unmarshal(b []byte) error

type DeviceCredential_PublicKey Uses

type DeviceCredential_PublicKey struct {
    PublicKey *PublicKeyCredential `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3,oneof"`
}

type DeviceManagerClient Uses

type DeviceManagerClient interface {
    // Creates a device registry that contains devices.
    CreateDeviceRegistry(ctx context.Context, in *CreateDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error)
    // Gets a device registry configuration.
    GetDeviceRegistry(ctx context.Context, in *GetDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error)
    // Updates a device registry configuration.
    UpdateDeviceRegistry(ctx context.Context, in *UpdateDeviceRegistryRequest, opts ...grpc.CallOption) (*DeviceRegistry, error)
    // Deletes a device registry configuration.
    DeleteDeviceRegistry(ctx context.Context, in *DeleteDeviceRegistryRequest, opts ...grpc.CallOption) (*empty.Empty, error)
    // Lists device registries.
    ListDeviceRegistries(ctx context.Context, in *ListDeviceRegistriesRequest, opts ...grpc.CallOption) (*ListDeviceRegistriesResponse, error)
    // Creates a device in a device registry.
    CreateDevice(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*Device, error)
    // Gets details about a device.
    GetDevice(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*Device, error)
    // Updates a device.
    UpdateDevice(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*Device, error)
    // Deletes a device.
    DeleteDevice(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*empty.Empty, error)
    // List devices in a device registry.
    ListDevices(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error)
    // Modifies the configuration for the device, which is eventually sent from
    // the Cloud IoT Core servers. Returns the modified configuration version and
    // its metadata.
    ModifyCloudToDeviceConfig(ctx context.Context, in *ModifyCloudToDeviceConfigRequest, opts ...grpc.CallOption) (*DeviceConfig, error)
    // Lists the last few versions of the device configuration in descending
    // order (i.e.: newest first).
    ListDeviceConfigVersions(ctx context.Context, in *ListDeviceConfigVersionsRequest, opts ...grpc.CallOption) (*ListDeviceConfigVersionsResponse, error)
    // Lists the last few versions of the device state in descending order (i.e.:
    // newest first).
    ListDeviceStates(ctx context.Context, in *ListDeviceStatesRequest, opts ...grpc.CallOption) (*ListDeviceStatesResponse, error)
    // Sets the access control policy on the specified resource. Replaces any
    // existing policy.
    SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
    // Gets the access control policy for a resource.
    // Returns an empty policy if the resource exists and does not have a policy
    // set.
    GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
    // Returns permissions that a caller has on the specified resource.
    // If the resource does not exist, this will return an empty set of
    // permissions, not a NOT_FOUND error.
    TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error)
    // Sends a command to the specified device. In order for a device to be able
    // to receive commands, it must:
    // 1) be connected to Cloud IoT Core using the MQTT protocol, and
    // 2) be subscribed to the group of MQTT topics specified by
    //    /devices/{device-id}/commands/#. This subscription will receive commands
    //    at the top-level topic /devices/{device-id}/commands as well as commands
    //    for subfolders, like /devices/{device-id}/commands/subfolder.
    //    Note that subscribing to specific subfolders is not supported.
    // If the command could not be delivered to the device, this method will
    // return an error; in particular, if the device is not subscribed, this
    // method will return FAILED_PRECONDITION. Otherwise, this method will
    // return OK. If the subscription is QoS 1, at least once delivery will be
    // guaranteed; for QoS 0, no acknowledgment will be expected from the device.
    SendCommandToDevice(ctx context.Context, in *SendCommandToDeviceRequest, opts ...grpc.CallOption) (*SendCommandToDeviceResponse, error)
    // Associates the device with the gateway.
    BindDeviceToGateway(ctx context.Context, in *BindDeviceToGatewayRequest, opts ...grpc.CallOption) (*BindDeviceToGatewayResponse, error)
    // Deletes the association between the device and the gateway.
    UnbindDeviceFromGateway(ctx context.Context, in *UnbindDeviceFromGatewayRequest, opts ...grpc.CallOption) (*UnbindDeviceFromGatewayResponse, error)
}

DeviceManagerClient is the client API for DeviceManager service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDeviceManagerClient Uses

func NewDeviceManagerClient(cc *grpc.ClientConn) DeviceManagerClient

type DeviceManagerServer Uses

type DeviceManagerServer interface {
    // Creates a device registry that contains devices.
    CreateDeviceRegistry(context.Context, *CreateDeviceRegistryRequest) (*DeviceRegistry, error)
    // Gets a device registry configuration.
    GetDeviceRegistry(context.Context, *GetDeviceRegistryRequest) (*DeviceRegistry, error)
    // Updates a device registry configuration.
    UpdateDeviceRegistry(context.Context, *UpdateDeviceRegistryRequest) (*DeviceRegistry, error)
    // Deletes a device registry configuration.
    DeleteDeviceRegistry(context.Context, *DeleteDeviceRegistryRequest) (*empty.Empty, error)
    // Lists device registries.
    ListDeviceRegistries(context.Context, *ListDeviceRegistriesRequest) (*ListDeviceRegistriesResponse, error)
    // Creates a device in a device registry.
    CreateDevice(context.Context, *CreateDeviceRequest) (*Device, error)
    // Gets details about a device.
    GetDevice(context.Context, *GetDeviceRequest) (*Device, error)
    // Updates a device.
    UpdateDevice(context.Context, *UpdateDeviceRequest) (*Device, error)
    // Deletes a device.
    DeleteDevice(context.Context, *DeleteDeviceRequest) (*empty.Empty, error)
    // List devices in a device registry.
    ListDevices(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error)
    // Modifies the configuration for the device, which is eventually sent from
    // the Cloud IoT Core servers. Returns the modified configuration version and
    // its metadata.
    ModifyCloudToDeviceConfig(context.Context, *ModifyCloudToDeviceConfigRequest) (*DeviceConfig, error)
    // Lists the last few versions of the device configuration in descending
    // order (i.e.: newest first).
    ListDeviceConfigVersions(context.Context, *ListDeviceConfigVersionsRequest) (*ListDeviceConfigVersionsResponse, error)
    // Lists the last few versions of the device state in descending order (i.e.:
    // newest first).
    ListDeviceStates(context.Context, *ListDeviceStatesRequest) (*ListDeviceStatesResponse, error)
    // Sets the access control policy on the specified resource. Replaces any
    // existing policy.
    SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)
    // Gets the access control policy for a resource.
    // Returns an empty policy if the resource exists and does not have a policy
    // set.
    GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)
    // Returns permissions that a caller has on the specified resource.
    // If the resource does not exist, this will return an empty set of
    // permissions, not a NOT_FOUND error.
    TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
    // Sends a command to the specified device. In order for a device to be able
    // to receive commands, it must:
    // 1) be connected to Cloud IoT Core using the MQTT protocol, and
    // 2) be subscribed to the group of MQTT topics specified by
    //    /devices/{device-id}/commands/#. This subscription will receive commands
    //    at the top-level topic /devices/{device-id}/commands as well as commands
    //    for subfolders, like /devices/{device-id}/commands/subfolder.
    //    Note that subscribing to specific subfolders is not supported.
    // If the command could not be delivered to the device, this method will
    // return an error; in particular, if the device is not subscribed, this
    // method will return FAILED_PRECONDITION. Otherwise, this method will
    // return OK. If the subscription is QoS 1, at least once delivery will be
    // guaranteed; for QoS 0, no acknowledgment will be expected from the device.
    SendCommandToDevice(context.Context, *SendCommandToDeviceRequest) (*SendCommandToDeviceResponse, error)
    // Associates the device with the gateway.
    BindDeviceToGateway(context.Context, *BindDeviceToGatewayRequest) (*BindDeviceToGatewayResponse, error)
    // Deletes the association between the device and the gateway.
    UnbindDeviceFromGateway(context.Context, *UnbindDeviceFromGatewayRequest) (*UnbindDeviceFromGatewayResponse, error)
}

DeviceManagerServer is the server API for DeviceManager service.

type DeviceRegistry Uses

type DeviceRegistry struct {
    // The identifier of this device registry. For example, `myRegistry`.
    Id  string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    // The resource path name. For example,
    // `projects/example-project/locations/us-central1/registries/my-registry`.
    Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
    // The configuration for notification of telemetry events received from the
    // device. All telemetry events that were successfully published by the
    // device and acknowledged by Cloud IoT Core are guaranteed to be
    // delivered to Cloud Pub/Sub. If multiple configurations match a message,
    // only the first matching configuration is used. If you try to publish a
    // device telemetry event using MQTT without specifying a Cloud Pub/Sub topic
    // for the device's registry, the connection closes automatically. If you try
    // to do so using an HTTP connection, an error is returned. Up to 10
    // configurations may be provided.
    EventNotificationConfigs []*EventNotificationConfig `protobuf:"bytes,10,rep,name=event_notification_configs,json=eventNotificationConfigs,proto3" json:"event_notification_configs,omitempty"`
    // The configuration for notification of new states received from the device.
    // State updates are guaranteed to be stored in the state history, but
    // notifications to Cloud Pub/Sub are not guaranteed. For example, if
    // permissions are misconfigured or the specified topic doesn't exist, no
    // notification will be published but the state will still be stored in Cloud
    // IoT Core.
    StateNotificationConfig *StateNotificationConfig `protobuf:"bytes,7,opt,name=state_notification_config,json=stateNotificationConfig,proto3" json:"state_notification_config,omitempty"`
    // The MQTT configuration for this device registry.
    MqttConfig *MqttConfig `protobuf:"bytes,4,opt,name=mqtt_config,json=mqttConfig,proto3" json:"mqtt_config,omitempty"`
    // The DeviceService (HTTP) configuration for this device registry.
    HttpConfig *HttpConfig `protobuf:"bytes,9,opt,name=http_config,json=httpConfig,proto3" json:"http_config,omitempty"`
    // **Beta Feature**
    //
    // The default logging verbosity for activity from devices in this registry.
    // The verbosity level can be overridden by Device.log_level.
    LogLevel LogLevel `protobuf:"varint,11,opt,name=log_level,json=logLevel,proto3,enum=google.cloud.iot.v1.LogLevel" json:"log_level,omitempty"`
    // The credentials used to verify the device credentials. No more than 10
    // credentials can be bound to a single registry at a time. The verification
    // process occurs at the time of device creation or update. If this field is
    // empty, no verification is performed. Otherwise, the credentials of a newly
    // created device or added credentials of an updated device should be signed
    // with one of these registry credentials.
    //
    // Note, however, that existing devices will never be affected by
    // modifications to this list of credentials: after a device has been
    // successfully created in a registry, it should be able to connect even if
    // its registry credentials are revoked, deleted, or modified.
    Credentials          []*RegistryCredential `protobuf:"bytes,8,rep,name=credentials,proto3" json:"credentials,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

A container for a group of devices.

func (*DeviceRegistry) Descriptor Uses

func (*DeviceRegistry) Descriptor() ([]byte, []int)

func (*DeviceRegistry) GetCredentials Uses

func (m *DeviceRegistry) GetCredentials() []*RegistryCredential

func (*DeviceRegistry) GetEventNotificationConfigs Uses

func (m *DeviceRegistry) GetEventNotificationConfigs() []*EventNotificationConfig

func (*DeviceRegistry) GetHttpConfig Uses

func (m *DeviceRegistry) GetHttpConfig() *HttpConfig

func (*DeviceRegistry) GetId Uses

func (m *DeviceRegistry) GetId() string

func (*DeviceRegistry) GetLogLevel Uses

func (m *DeviceRegistry) GetLogLevel() LogLevel

func (*DeviceRegistry) GetMqttConfig Uses

func (m *DeviceRegistry) GetMqttConfig() *MqttConfig

func (*DeviceRegistry) GetName Uses

func (m *DeviceRegistry) GetName() string

func (*DeviceRegistry) GetStateNotificationConfig Uses

func (m *DeviceRegistry) GetStateNotificationConfig() *StateNotificationConfig

func (*DeviceRegistry) ProtoMessage Uses

func (*DeviceRegistry) ProtoMessage()

func (*DeviceRegistry) Reset Uses

func (m *DeviceRegistry) Reset()

func (*DeviceRegistry) String Uses

func (m *DeviceRegistry) String() string

func (*DeviceRegistry) XXX_DiscardUnknown Uses

func (m *DeviceRegistry) XXX_DiscardUnknown()

func (*DeviceRegistry) XXX_Marshal Uses

func (m *DeviceRegistry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeviceRegistry) XXX_Merge Uses

func (m *DeviceRegistry) XXX_Merge(src proto.Message)

func (*DeviceRegistry) XXX_Size Uses

func (m *DeviceRegistry) XXX_Size() int

func (*DeviceRegistry) XXX_Unmarshal Uses

func (m *DeviceRegistry) XXX_Unmarshal(b []byte) error

type DeviceState Uses

type DeviceState struct {
    // [Output only] The time at which this state version was updated in Cloud
    // IoT Core.
    UpdateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
    // The device state data.
    BinaryData           []byte   `protobuf:"bytes,2,opt,name=binary_data,json=binaryData,proto3" json:"binary_data,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The device state, as reported by the device.

func (*DeviceState) Descriptor Uses

func (*DeviceState) Descriptor() ([]byte, []int)

func (*DeviceState) GetBinaryData Uses

func (m *DeviceState) GetBinaryData() []byte

func (*DeviceState) GetUpdateTime Uses

func (m *DeviceState) GetUpdateTime() *timestamp.Timestamp

func (*DeviceState) ProtoMessage Uses

func (*DeviceState) ProtoMessage()

func (*DeviceState) Reset Uses

func (m *DeviceState) Reset()

func (*DeviceState) String Uses

func (m *DeviceState) String() string

func (*DeviceState) XXX_DiscardUnknown Uses

func (m *DeviceState) XXX_DiscardUnknown()

func (*DeviceState) XXX_Marshal Uses

func (m *DeviceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeviceState) XXX_Merge Uses

func (m *DeviceState) XXX_Merge(src proto.Message)

func (*DeviceState) XXX_Size Uses

func (m *DeviceState) XXX_Size() int

func (*DeviceState) XXX_Unmarshal Uses

func (m *DeviceState) XXX_Unmarshal(b []byte) error

type EventNotificationConfig Uses

type EventNotificationConfig struct {
    // If the subfolder name matches this string exactly, this configuration will
    // be used. The string must not include the leading '/' character. If empty,
    // all strings are matched. This field is used only for telemetry events;
    // subfolders are not supported for state changes.
    SubfolderMatches string `protobuf:"bytes,2,opt,name=subfolder_matches,json=subfolderMatches,proto3" json:"subfolder_matches,omitempty"`
    // A Cloud Pub/Sub topic name. For example,
    // `projects/myProject/topics/deviceEvents`.
    PubsubTopicName      string   `protobuf:"bytes,1,opt,name=pubsub_topic_name,json=pubsubTopicName,proto3" json:"pubsub_topic_name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The configuration for forwarding telemetry events.

func (*EventNotificationConfig) Descriptor Uses

func (*EventNotificationConfig) Descriptor() ([]byte, []int)

func (*EventNotificationConfig) GetPubsubTopicName Uses

func (m *EventNotificationConfig) GetPubsubTopicName() string

func (*EventNotificationConfig) GetSubfolderMatches Uses

func (m *EventNotificationConfig) GetSubfolderMatches() string

func (*EventNotificationConfig) ProtoMessage Uses

func (*EventNotificationConfig) ProtoMessage()

func (*EventNotificationConfig) Reset Uses

func (m *EventNotificationConfig) Reset()

func (*EventNotificationConfig) String Uses

func (m *EventNotificationConfig) String() string

func (*EventNotificationConfig) XXX_DiscardUnknown Uses

func (m *EventNotificationConfig) XXX_DiscardUnknown()

func (*EventNotificationConfig) XXX_Marshal Uses

func (m *EventNotificationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventNotificationConfig) XXX_Merge Uses

func (m *EventNotificationConfig) XXX_Merge(src proto.Message)

func (*EventNotificationConfig) XXX_Size Uses

func (m *EventNotificationConfig) XXX_Size() int

func (*EventNotificationConfig) XXX_Unmarshal Uses

func (m *EventNotificationConfig) XXX_Unmarshal(b []byte) error

type GatewayAuthMethod Uses

type GatewayAuthMethod int32

The gateway authorization/authentication method. This setting determines how Cloud IoT Core authorizes/authenticate devices to access the gateway.

const (
    // No authentication/authorization method specified. No devices are allowed to
    // access the gateway.
    GatewayAuthMethod_GATEWAY_AUTH_METHOD_UNSPECIFIED GatewayAuthMethod = 0
    // The device is authenticated through the gateway association only. Device
    // credentials are ignored even if provided.
    GatewayAuthMethod_ASSOCIATION_ONLY GatewayAuthMethod = 1
    // The device is authenticated through its own credentials. Gateway
    // association is not checked.
    GatewayAuthMethod_DEVICE_AUTH_TOKEN_ONLY GatewayAuthMethod = 2
    // The device is authenticated through both device credentials and gateway
    // association. The device must be bound to the gateway and must provide its
    // own credentials.
    GatewayAuthMethod_ASSOCIATION_AND_DEVICE_AUTH_TOKEN GatewayAuthMethod = 3
)

func (GatewayAuthMethod) EnumDescriptor Uses

func (GatewayAuthMethod) EnumDescriptor() ([]byte, []int)

func (GatewayAuthMethod) String Uses

func (x GatewayAuthMethod) String() string

type GatewayConfig Uses

type GatewayConfig struct {
    // Indicates whether the device is a gateway.
    GatewayType GatewayType `protobuf:"varint,1,opt,name=gateway_type,json=gatewayType,proto3,enum=google.cloud.iot.v1.GatewayType" json:"gateway_type,omitempty"`
    // Indicates how to authorize and/or authenticate devices to access the
    // gateway.
    GatewayAuthMethod GatewayAuthMethod `protobuf:"varint,2,opt,name=gateway_auth_method,json=gatewayAuthMethod,proto3,enum=google.cloud.iot.v1.GatewayAuthMethod" json:"gateway_auth_method,omitempty"`
    // [Output only] The ID of the gateway the device accessed most recently.
    LastAccessedGatewayId string `protobuf:"bytes,3,opt,name=last_accessed_gateway_id,json=lastAccessedGatewayId,proto3" json:"last_accessed_gateway_id,omitempty"`
    // [Output only] The most recent time at which the device accessed the gateway
    // specified in `last_accessed_gateway`.
    LastAccessedGatewayTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=last_accessed_gateway_time,json=lastAccessedGatewayTime,proto3" json:"last_accessed_gateway_time,omitempty"`
    XXX_NoUnkeyedLiteral    struct{}             `json:"-"`
    XXX_unrecognized        []byte               `json:"-"`
    XXX_sizecache           int32                `json:"-"`
}

Gateway-related configuration and state.

func (*GatewayConfig) Descriptor Uses

func (*GatewayConfig) Descriptor() ([]byte, []int)

func (*GatewayConfig) GetGatewayAuthMethod Uses

func (m *GatewayConfig) GetGatewayAuthMethod() GatewayAuthMethod

func (*GatewayConfig) GetGatewayType Uses

func (m *GatewayConfig) GetGatewayType() GatewayType

func (*GatewayConfig) GetLastAccessedGatewayId Uses

func (m *GatewayConfig) GetLastAccessedGatewayId() string

func (*GatewayConfig) GetLastAccessedGatewayTime Uses

func (m *GatewayConfig) GetLastAccessedGatewayTime() *timestamp.Timestamp

func (*GatewayConfig) ProtoMessage Uses

func (*GatewayConfig) ProtoMessage()

func (*GatewayConfig) Reset Uses

func (m *GatewayConfig) Reset()

func (*GatewayConfig) String Uses

func (m *GatewayConfig) String() string

func (*GatewayConfig) XXX_DiscardUnknown Uses

func (m *GatewayConfig) XXX_DiscardUnknown()

func (*GatewayConfig) XXX_Marshal Uses

func (m *GatewayConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GatewayConfig) XXX_Merge Uses

func (m *GatewayConfig) XXX_Merge(src proto.Message)

func (*GatewayConfig) XXX_Size Uses

func (m *GatewayConfig) XXX_Size() int

func (*GatewayConfig) XXX_Unmarshal Uses

func (m *GatewayConfig) XXX_Unmarshal(b []byte) error

type GatewayListOptions Uses

type GatewayListOptions struct {
    // If not set, all devices and gateways are returned. If set, the list is
    // filtered based on gateway type and associations.
    //
    // Types that are valid to be assigned to Filter:
    //	*GatewayListOptions_GatewayType
    //	*GatewayListOptions_AssociationsGatewayId
    //	*GatewayListOptions_AssociationsDeviceId
    Filter               isGatewayListOptions_Filter `protobuf_oneof:"filter"`
    XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
    XXX_unrecognized     []byte                      `json:"-"`
    XXX_sizecache        int32                       `json:"-"`
}

Options for limiting the list based on gateway type and associations.

func (*GatewayListOptions) Descriptor Uses

func (*GatewayListOptions) Descriptor() ([]byte, []int)

func (*GatewayListOptions) GetAssociationsDeviceId Uses

func (m *GatewayListOptions) GetAssociationsDeviceId() string

func (*GatewayListOptions) GetAssociationsGatewayId Uses

func (m *GatewayListOptions) GetAssociationsGatewayId() string

func (*GatewayListOptions) GetFilter Uses

func (m *GatewayListOptions) GetFilter() isGatewayListOptions_Filter

func (*GatewayListOptions) GetGatewayType Uses

func (m *GatewayListOptions) GetGatewayType() GatewayType

func (*GatewayListOptions) ProtoMessage Uses

func (*GatewayListOptions) ProtoMessage()

func (*GatewayListOptions) Reset Uses

func (m *GatewayListOptions) Reset()

func (*GatewayListOptions) String Uses

func (m *GatewayListOptions) String() string

func (*GatewayListOptions) XXX_DiscardUnknown Uses

func (m *GatewayListOptions) XXX_DiscardUnknown()

func (*GatewayListOptions) XXX_Marshal Uses

func (m *GatewayListOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GatewayListOptions) XXX_Merge Uses

func (m *GatewayListOptions) XXX_Merge(src proto.Message)

func (*GatewayListOptions) XXX_OneofWrappers Uses

func (*GatewayListOptions) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*GatewayListOptions) XXX_Size Uses

func (m *GatewayListOptions) XXX_Size() int

func (*GatewayListOptions) XXX_Unmarshal Uses

func (m *GatewayListOptions) XXX_Unmarshal(b []byte) error

type GatewayListOptions_AssociationsDeviceId Uses

type GatewayListOptions_AssociationsDeviceId struct {
    AssociationsDeviceId string `protobuf:"bytes,3,opt,name=associations_device_id,json=associationsDeviceId,proto3,oneof"`
}

type GatewayListOptions_AssociationsGatewayId Uses

type GatewayListOptions_AssociationsGatewayId struct {
    AssociationsGatewayId string `protobuf:"bytes,2,opt,name=associations_gateway_id,json=associationsGatewayId,proto3,oneof"`
}

type GatewayListOptions_GatewayType Uses

type GatewayListOptions_GatewayType struct {
    GatewayType GatewayType `protobuf:"varint,1,opt,name=gateway_type,json=gatewayType,proto3,enum=google.cloud.iot.v1.GatewayType,oneof"`
}

type GatewayType Uses

type GatewayType int32

Gateway type.

const (
    // If unspecified, the device is considered a non-gateway device.
    GatewayType_GATEWAY_TYPE_UNSPECIFIED GatewayType = 0
    // The device is a gateway.
    GatewayType_GATEWAY GatewayType = 1
    // The device is not a gateway.
    GatewayType_NON_GATEWAY GatewayType = 2
)

func (GatewayType) EnumDescriptor Uses

func (GatewayType) EnumDescriptor() ([]byte, []int)

func (GatewayType) String Uses

func (x GatewayType) String() string

type GetDeviceRegistryRequest Uses

type GetDeviceRegistryRequest struct {
    // Required. The name of the device registry. For example,
    // `projects/example-project/locations/us-central1/registries/my-registry`.
    Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Request for `GetDeviceRegistry`.

func (*GetDeviceRegistryRequest) Descriptor Uses

func (*GetDeviceRegistryRequest) Descriptor() ([]byte, []int)

func (*GetDeviceRegistryRequest) GetName Uses

func (m *GetDeviceRegistryRequest) GetName() string

func (*GetDeviceRegistryRequest) ProtoMessage Uses

func (*GetDeviceRegistryRequest) ProtoMessage()

func (*GetDeviceRegistryRequest) Reset Uses

func (m *GetDeviceRegistryRequest) Reset()

func (*GetDeviceRegistryRequest) String Uses

func (m *GetDeviceRegistryRequest) String() string

func (*GetDeviceRegistryRequest) XXX_DiscardUnknown Uses

func (m *GetDeviceRegistryRequest) XXX_DiscardUnknown()

func (*GetDeviceRegistryRequest) XXX_Marshal Uses

func (m *GetDeviceRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDeviceRegistryRequest) XXX_Merge Uses

func (m *GetDeviceRegistryRequest) XXX_Merge(src proto.Message)

func (*GetDeviceRegistryRequest) XXX_Size Uses

func (m *GetDeviceRegistryRequest) XXX_Size() int

func (*GetDeviceRegistryRequest) XXX_Unmarshal Uses

func (m *GetDeviceRegistryRequest) XXX_Unmarshal(b []byte) error

type GetDeviceRequest Uses

type GetDeviceRequest struct {
    // Required. The name of the device. For example,
    // `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
    // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The fields of the `Device` resource to be returned in the response. If the
    // field mask is unset or empty, all fields are returned.
    FieldMask            *field_mask.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

Request for `GetDevice`.

func (*GetDeviceRequest) Descriptor Uses

func (*GetDeviceRequest) Descriptor() ([]byte, []int)

func (*GetDeviceRequest) GetFieldMask Uses

func (m *GetDeviceRequest) GetFieldMask() *field_mask.FieldMask

func (*GetDeviceRequest) GetName Uses

func (m *GetDeviceRequest) GetName() string

func (*GetDeviceRequest) ProtoMessage Uses

func (*GetDeviceRequest) ProtoMessage()

func (*GetDeviceRequest) Reset Uses

func (m *GetDeviceRequest) Reset()

func (*GetDeviceRequest) String Uses

func (m *GetDeviceRequest) String() string

func (*GetDeviceRequest) XXX_DiscardUnknown Uses

func (m *GetDeviceRequest) XXX_DiscardUnknown()

func (*GetDeviceRequest) XXX_Marshal Uses

func (m *GetDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDeviceRequest) XXX_Merge Uses

func (m *GetDeviceRequest) XXX_Merge(src proto.Message)

func (*GetDeviceRequest) XXX_Size Uses

func (m *GetDeviceRequest) XXX_Size() int

func (*GetDeviceRequest) XXX_Unmarshal Uses

func (m *GetDeviceRequest) XXX_Unmarshal(b []byte) error

type HttpConfig Uses

type HttpConfig struct {
    // If enabled, allows devices to use DeviceService via the HTTP protocol.
    // Otherwise, any requests to DeviceService will fail for this registry.
    HttpEnabledState     HttpState `protobuf:"varint,1,opt,name=http_enabled_state,json=httpEnabledState,proto3,enum=google.cloud.iot.v1.HttpState" json:"http_enabled_state,omitempty"`
    XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    XXX_unrecognized     []byte    `json:"-"`
    XXX_sizecache        int32     `json:"-"`
}

The configuration of the HTTP bridge for a device registry.

func (*HttpConfig) Descriptor Uses

func (*HttpConfig) Descriptor() ([]byte, []int)

func (*HttpConfig) GetHttpEnabledState Uses

func (m *HttpConfig) GetHttpEnabledState() HttpState

func (*HttpConfig) ProtoMessage Uses

func (*HttpConfig) ProtoMessage()

func (*HttpConfig) Reset Uses

func (m *HttpConfig) Reset()

func (*HttpConfig) String Uses

func (m *HttpConfig) String() string

func (*HttpConfig) XXX_DiscardUnknown Uses

func (m *HttpConfig) XXX_DiscardUnknown()

func (*HttpConfig) XXX_Marshal Uses

func (m *HttpConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HttpConfig) XXX_Merge Uses

func (m *HttpConfig) XXX_Merge(src proto.Message)

func (*HttpConfig) XXX_Size Uses

func (m *HttpConfig) XXX_Size() int

func (*HttpConfig) XXX_Unmarshal Uses

func (m *HttpConfig) XXX_Unmarshal(b []byte) error

type HttpState Uses

type HttpState int32

Indicates whether DeviceService (HTTP) is enabled or disabled for the registry. See the field description for details.

const (
    // No HTTP state specified. If not specified, DeviceService will be
    // enabled by default.
    HttpState_HTTP_STATE_UNSPECIFIED HttpState = 0
    // Enables DeviceService (HTTP) service for the registry.
    HttpState_HTTP_ENABLED HttpState = 1
    // Disables DeviceService (HTTP) service for the registry.
    HttpState_HTTP_DISABLED HttpState = 2
)

func (HttpState) EnumDescriptor Uses

func (HttpState) EnumDescriptor() ([]byte, []int)

func (HttpState) String Uses

func (x HttpState) String() string

type ListDeviceConfigVersionsRequest Uses

type ListDeviceConfigVersionsRequest struct {
    // Required. The name of the device. For example,
    // `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
    // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The number of versions to list. Versions are listed in decreasing order of
    // the version number. The maximum number of versions retained is 10. If this
    // value is zero, it will return all the versions available.
    NumVersions          int32    `protobuf:"varint,2,opt,name=num_versions,json=numVersions,proto3" json:"num_versions,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Request for `ListDeviceConfigVersions`.

func (*ListDeviceConfigVersionsRequest) Descriptor Uses

func (*ListDeviceConfigVersionsRequest) Descriptor() ([]byte, []int)

func (*ListDeviceConfigVersionsRequest) GetName Uses

func (m *ListDeviceConfigVersionsRequest) GetName() string

func (*ListDeviceConfigVersionsRequest) GetNumVersions Uses

func (m *ListDeviceConfigVersionsRequest) GetNumVersions() int32

func (*ListDeviceConfigVersionsRequest) ProtoMessage Uses

func (*ListDeviceConfigVersionsRequest) ProtoMessage()

func (*ListDeviceConfigVersionsRequest) Reset Uses

func (m *ListDeviceConfigVersionsRequest) Reset()

func (*ListDeviceConfigVersionsRequest) String Uses

func (m *ListDeviceConfigVersionsRequest) String() string

func (*ListDeviceConfigVersionsRequest) XXX_DiscardUnknown Uses

func (m *ListDeviceConfigVersionsRequest) XXX_DiscardUnknown()

func (*ListDeviceConfigVersionsRequest) XXX_Marshal Uses

func (m *ListDeviceConfigVersionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDeviceConfigVersionsRequest) XXX_Merge Uses

func (m *ListDeviceConfigVersionsRequest) XXX_Merge(src proto.Message)

func (*ListDeviceConfigVersionsRequest) XXX_Size Uses

func (m *ListDeviceConfigVersionsRequest) XXX_Size() int

func (*ListDeviceConfigVersionsRequest) XXX_Unmarshal Uses

func (m *ListDeviceConfigVersionsRequest) XXX_Unmarshal(b []byte) error

type ListDeviceConfigVersionsResponse Uses

type ListDeviceConfigVersionsResponse struct {
    // The device configuration for the last few versions. Versions are listed
    // in decreasing order, starting from the most recent one.
    DeviceConfigs        []*DeviceConfig `protobuf:"bytes,1,rep,name=device_configs,json=deviceConfigs,proto3" json:"device_configs,omitempty"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

Response for `ListDeviceConfigVersions`.

func (*ListDeviceConfigVersionsResponse) Descriptor Uses

func (*ListDeviceConfigVersionsResponse) Descriptor() ([]byte, []int)

func (*ListDeviceConfigVersionsResponse) GetDeviceConfigs Uses

func (m *ListDeviceConfigVersionsResponse) GetDeviceConfigs() []*DeviceConfig

func (*ListDeviceConfigVersionsResponse) ProtoMessage Uses

func (*ListDeviceConfigVersionsResponse) ProtoMessage()

func (*ListDeviceConfigVersionsResponse) Reset Uses

func (m *ListDeviceConfigVersionsResponse) Reset()

func (*ListDeviceConfigVersionsResponse) String Uses

func (m *ListDeviceConfigVersionsResponse) String() string

func (*ListDeviceConfigVersionsResponse) XXX_DiscardUnknown Uses

func (m *ListDeviceConfigVersionsResponse) XXX_DiscardUnknown()

func (*ListDeviceConfigVersionsResponse) XXX_Marshal Uses

func (m *ListDeviceConfigVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDeviceConfigVersionsResponse) XXX_Merge Uses

func (m *ListDeviceConfigVersionsResponse) XXX_Merge(src proto.Message)

func (*ListDeviceConfigVersionsResponse) XXX_Size Uses

func (m *ListDeviceConfigVersionsResponse) XXX_Size() int

func (*ListDeviceConfigVersionsResponse) XXX_Unmarshal Uses

func (m *ListDeviceConfigVersionsResponse) XXX_Unmarshal(b []byte) error

type ListDeviceRegistriesRequest Uses

type ListDeviceRegistriesRequest struct {
    // Required. The project and cloud region path. For example,
    // `projects/example-project/locations/us-central1`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // The maximum number of registries to return in the response. If this value
    // is zero, the service will select a default size. A call may return fewer
    // objects than requested. A non-empty `next_page_token` in the response
    // indicates that more data is available.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // The value returned by the last `ListDeviceRegistriesResponse`; indicates
    // that this is a continuation of a prior `ListDeviceRegistries` call and
    // the system should return the next page of data.
    PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Request for `ListDeviceRegistries`.

func (*ListDeviceRegistriesRequest) Descriptor Uses

func (*ListDeviceRegistriesRequest) Descriptor() ([]byte, []int)

func (*ListDeviceRegistriesRequest) GetPageSize Uses

func (m *ListDeviceRegistriesRequest) GetPageSize() int32

func (*ListDeviceRegistriesRequest) GetPageToken Uses

func (m *ListDeviceRegistriesRequest) GetPageToken() string

func (*ListDeviceRegistriesRequest) GetParent Uses

func (m *ListDeviceRegistriesRequest) GetParent() string

func (*ListDeviceRegistriesRequest) ProtoMessage Uses

func (*ListDeviceRegistriesRequest) ProtoMessage()

func (*ListDeviceRegistriesRequest) Reset Uses

func (m *ListDeviceRegistriesRequest) Reset()

func (*ListDeviceRegistriesRequest) String Uses

func (m *ListDeviceRegistriesRequest) String() string

func (*ListDeviceRegistriesRequest) XXX_DiscardUnknown Uses

func (m *ListDeviceRegistriesRequest) XXX_DiscardUnknown()

func (*ListDeviceRegistriesRequest) XXX_Marshal Uses

func (m *ListDeviceRegistriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDeviceRegistriesRequest) XXX_Merge Uses

func (m *ListDeviceRegistriesRequest) XXX_Merge(src proto.Message)

func (*ListDeviceRegistriesRequest) XXX_Size Uses

func (m *ListDeviceRegistriesRequest) XXX_Size() int

func (*ListDeviceRegistriesRequest) XXX_Unmarshal Uses

func (m *ListDeviceRegistriesRequest) XXX_Unmarshal(b []byte) error

type ListDeviceRegistriesResponse Uses

type ListDeviceRegistriesResponse struct {
    // The registries that matched the query.
    DeviceRegistries []*DeviceRegistry `protobuf:"bytes,1,rep,name=device_registries,json=deviceRegistries,proto3" json:"device_registries,omitempty"`
    // If not empty, indicates that there may be more registries that match the
    // request; this value should be passed in a new
    // `ListDeviceRegistriesRequest`.
    NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Response for `ListDeviceRegistries`.

func (*ListDeviceRegistriesResponse) Descriptor Uses

func (*ListDeviceRegistriesResponse) Descriptor() ([]byte, []int)

func (*ListDeviceRegistriesResponse) GetDeviceRegistries Uses

func (m *ListDeviceRegistriesResponse) GetDeviceRegistries() []*DeviceRegistry

func (*ListDeviceRegistriesResponse) GetNextPageToken Uses

func (m *ListDeviceRegistriesResponse) GetNextPageToken() string

func (*ListDeviceRegistriesResponse) ProtoMessage Uses

func (*ListDeviceRegistriesResponse) ProtoMessage()

func (*ListDeviceRegistriesResponse) Reset Uses

func (m *ListDeviceRegistriesResponse) Reset()

func (*ListDeviceRegistriesResponse) String Uses

func (m *ListDeviceRegistriesResponse) String() string

func (*ListDeviceRegistriesResponse) XXX_DiscardUnknown Uses

func (m *ListDeviceRegistriesResponse) XXX_DiscardUnknown()

func (*ListDeviceRegistriesResponse) XXX_Marshal Uses

func (m *ListDeviceRegistriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDeviceRegistriesResponse) XXX_Merge Uses

func (m *ListDeviceRegistriesResponse) XXX_Merge(src proto.Message)

func (*ListDeviceRegistriesResponse) XXX_Size Uses

func (m *ListDeviceRegistriesResponse) XXX_Size() int

func (*ListDeviceRegistriesResponse) XXX_Unmarshal Uses

func (m *ListDeviceRegistriesResponse) XXX_Unmarshal(b []byte) error

type ListDeviceStatesRequest Uses

type ListDeviceStatesRequest struct {
    // Required. The name of the device. For example,
    // `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
    // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The number of states to list. States are listed in descending order of
    // update time. The maximum number of states retained is 10. If this
    // value is zero, it will return all the states available.
    NumStates            int32    `protobuf:"varint,2,opt,name=num_states,json=numStates,proto3" json:"num_states,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Request for `ListDeviceStates`.

func (*ListDeviceStatesRequest) Descriptor Uses

func (*ListDeviceStatesRequest) Descriptor() ([]byte, []int)

func (*ListDeviceStatesRequest) GetName Uses

func (m *ListDeviceStatesRequest) GetName() string

func (*ListDeviceStatesRequest) GetNumStates Uses

func (m *ListDeviceStatesRequest) GetNumStates() int32

func (*ListDeviceStatesRequest) ProtoMessage Uses

func (*ListDeviceStatesRequest) ProtoMessage()

func (*ListDeviceStatesRequest) Reset Uses

func (m *ListDeviceStatesRequest) Reset()

func (*ListDeviceStatesRequest) String Uses

func (m *ListDeviceStatesRequest) String() string

func (*ListDeviceStatesRequest) XXX_DiscardUnknown Uses

func (m *ListDeviceStatesRequest) XXX_DiscardUnknown()

func (*ListDeviceStatesRequest) XXX_Marshal Uses

func (m *ListDeviceStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDeviceStatesRequest) XXX_Merge Uses

func (m *ListDeviceStatesRequest) XXX_Merge(src proto.Message)

func (*ListDeviceStatesRequest) XXX_Size Uses

func (m *ListDeviceStatesRequest) XXX_Size() int

func (*ListDeviceStatesRequest) XXX_Unmarshal Uses

func (m *ListDeviceStatesRequest) XXX_Unmarshal(b []byte) error

type ListDeviceStatesResponse Uses

type ListDeviceStatesResponse struct {
    // The last few device states. States are listed in descending order of server
    // update time, starting from the most recent one.
    DeviceStates         []*DeviceState `protobuf:"bytes,1,rep,name=device_states,json=deviceStates,proto3" json:"device_states,omitempty"`
    XXX_NoUnkeyedLiteral struct{}       `json:"-"`
    XXX_unrecognized     []byte         `json:"-"`
    XXX_sizecache        int32          `json:"-"`
}

Response for `ListDeviceStates`.

func (*ListDeviceStatesResponse) Descriptor Uses

func (*ListDeviceStatesResponse) Descriptor() ([]byte, []int)

func (*ListDeviceStatesResponse) GetDeviceStates Uses

func (m *ListDeviceStatesResponse) GetDeviceStates() []*DeviceState

func (*ListDeviceStatesResponse) ProtoMessage Uses

func (*ListDeviceStatesResponse) ProtoMessage()

func (*ListDeviceStatesResponse) Reset Uses

func (m *ListDeviceStatesResponse) Reset()

func (*ListDeviceStatesResponse) String Uses

func (m *ListDeviceStatesResponse) String() string

func (*ListDeviceStatesResponse) XXX_DiscardUnknown Uses

func (m *ListDeviceStatesResponse) XXX_DiscardUnknown()

func (*ListDeviceStatesResponse) XXX_Marshal Uses

func (m *ListDeviceStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDeviceStatesResponse) XXX_Merge Uses

func (m *ListDeviceStatesResponse) XXX_Merge(src proto.Message)

func (*ListDeviceStatesResponse) XXX_Size Uses

func (m *ListDeviceStatesResponse) XXX_Size() int

func (*ListDeviceStatesResponse) XXX_Unmarshal Uses

func (m *ListDeviceStatesResponse) XXX_Unmarshal(b []byte) error

type ListDevicesRequest Uses

type ListDevicesRequest struct {
    // Required. The device registry path. Required. For example,
    // `projects/my-project/locations/us-central1/registries/my-registry`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // A list of device numeric IDs. If empty, this field is ignored. Maximum
    // IDs: 10,000.
    DeviceNumIds []uint64 `protobuf:"varint,2,rep,packed,name=device_num_ids,json=deviceNumIds,proto3" json:"device_num_ids,omitempty"`
    // A list of device string IDs. For example, `['device0', 'device12']`.
    // If empty, this field is ignored. Maximum IDs: 10,000
    DeviceIds []string `protobuf:"bytes,3,rep,name=device_ids,json=deviceIds,proto3" json:"device_ids,omitempty"`
    // The fields of the `Device` resource to be returned in the response. The
    // fields `id` and `num_id` are always returned, along with any
    // other fields specified.
    FieldMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
    // Options related to gateways.
    GatewayListOptions *GatewayListOptions `protobuf:"bytes,6,opt,name=gateway_list_options,json=gatewayListOptions,proto3" json:"gateway_list_options,omitempty"`
    // The maximum number of devices to return in the response. If this value
    // is zero, the service will select a default size. A call may return fewer
    // objects than requested. A non-empty `next_page_token` in the response
    // indicates that more data is available.
    PageSize int32 `protobuf:"varint,100,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // The value returned by the last `ListDevicesResponse`; indicates
    // that this is a continuation of a prior `ListDevices` call and
    // the system should return the next page of data.
    PageToken            string   `protobuf:"bytes,101,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Request for `ListDevices`.

func (*ListDevicesRequest) Descriptor Uses

func (*ListDevicesRequest) Descriptor() ([]byte, []int)

func (*ListDevicesRequest) GetDeviceIds Uses

func (m *ListDevicesRequest) GetDeviceIds() []string

func (*ListDevicesRequest) GetDeviceNumIds Uses

func (m *ListDevicesRequest) GetDeviceNumIds() []uint64

func (*ListDevicesRequest) GetFieldMask Uses

func (m *ListDevicesRequest) GetFieldMask() *field_mask.FieldMask

func (*ListDevicesRequest) GetGatewayListOptions Uses

func (m *ListDevicesRequest) GetGatewayListOptions() *GatewayListOptions

func (*ListDevicesRequest) GetPageSize Uses

func (m *ListDevicesRequest) GetPageSize() int32

func (*ListDevicesRequest) GetPageToken Uses

func (m *ListDevicesRequest) GetPageToken() string

func (*ListDevicesRequest) GetParent Uses

func (m *ListDevicesRequest) GetParent() string

func (*ListDevicesRequest) ProtoMessage Uses

func (*ListDevicesRequest) ProtoMessage()

func (*ListDevicesRequest) Reset Uses

func (m *ListDevicesRequest) Reset()

func (*ListDevicesRequest) String Uses

func (m *ListDevicesRequest) String() string

func (*ListDevicesRequest) XXX_DiscardUnknown Uses

func (m *ListDevicesRequest) XXX_DiscardUnknown()

func (*ListDevicesRequest) XXX_Marshal Uses

func (m *ListDevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDevicesRequest) XXX_Merge Uses

func (m *ListDevicesRequest) XXX_Merge(src proto.Message)

func (*ListDevicesRequest) XXX_Size Uses

func (m *ListDevicesRequest) XXX_Size() int

func (*ListDevicesRequest) XXX_Unmarshal Uses

func (m *ListDevicesRequest) XXX_Unmarshal(b []byte) error

type ListDevicesResponse Uses

type ListDevicesResponse struct {
    // The devices that match the request.
    Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
    // If not empty, indicates that there may be more devices that match the
    // request; this value should be passed in a new `ListDevicesRequest`.
    NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Response for `ListDevices`.

func (*ListDevicesResponse) Descriptor Uses

func (*ListDevicesResponse) Descriptor() ([]byte, []int)

func (*ListDevicesResponse) GetDevices Uses

func (m *ListDevicesResponse) GetDevices() []*Device

func (*ListDevicesResponse) GetNextPageToken Uses

func (m *ListDevicesResponse) GetNextPageToken() string

func (*ListDevicesResponse) ProtoMessage Uses

func (*ListDevicesResponse) ProtoMessage()

func (*ListDevicesResponse) Reset Uses

func (m *ListDevicesResponse) Reset()

func (*ListDevicesResponse) String Uses

func (m *ListDevicesResponse) String() string

func (*ListDevicesResponse) XXX_DiscardUnknown Uses

func (m *ListDevicesResponse) XXX_DiscardUnknown()

func (*ListDevicesResponse) XXX_Marshal Uses

func (m *ListDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDevicesResponse) XXX_Merge Uses

func (m *ListDevicesResponse) XXX_Merge(src proto.Message)

func (*ListDevicesResponse) XXX_Size Uses

func (m *ListDevicesResponse) XXX_Size() int

func (*ListDevicesResponse) XXX_Unmarshal Uses

func (m *ListDevicesResponse) XXX_Unmarshal(b []byte) error

type LogLevel Uses

type LogLevel int32

**Beta Feature**

The logging verbosity for device activity. Specifies which events should be written to logs. For example, if the LogLevel is ERROR, only events that terminate in errors will be logged. LogLevel is inclusive; enabling INFO logging will also enable ERROR logging.

const (
    // No logging specified. If not specified, logging will be disabled.
    LogLevel_LOG_LEVEL_UNSPECIFIED LogLevel = 0
    // Disables logging.
    LogLevel_NONE LogLevel = 10
    // Error events will be logged.
    LogLevel_ERROR LogLevel = 20
    // Informational events will be logged, such as connections and
    // disconnections.
    LogLevel_INFO LogLevel = 30
    // All events will be logged.
    LogLevel_DEBUG LogLevel = 40
)

func (LogLevel) EnumDescriptor Uses

func (LogLevel) EnumDescriptor() ([]byte, []int)

func (LogLevel) String Uses

func (x LogLevel) String() string

type ModifyCloudToDeviceConfigRequest Uses

type ModifyCloudToDeviceConfigRequest struct {
    // Required. The name of the device. For example,
    // `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
    // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The version number to update. If this value is zero, it will not check the
    // version number of the server and will always update the current version;
    // otherwise, this update will fail if the version number found on the server
    // does not match this version number. This is used to support multiple
    // simultaneous updates without losing data.
    VersionToUpdate int64 `protobuf:"varint,2,opt,name=version_to_update,json=versionToUpdate,proto3" json:"version_to_update,omitempty"`
    // Required. The configuration data for the device.
    BinaryData           []byte   `protobuf:"bytes,3,opt,name=binary_data,json=binaryData,proto3" json:"binary_data,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Request for `ModifyCloudToDeviceConfig`.

func (*ModifyCloudToDeviceConfigRequest) Descriptor Uses

func (*ModifyCloudToDeviceConfigRequest) Descriptor() ([]byte, []int)

func (*ModifyCloudToDeviceConfigRequest) GetBinaryData Uses

func (m *ModifyCloudToDeviceConfigRequest) GetBinaryData() []byte

func (*ModifyCloudToDeviceConfigRequest) GetName Uses

func (m *ModifyCloudToDeviceConfigRequest) GetName() string

func (*ModifyCloudToDeviceConfigRequest) GetVersionToUpdate Uses

func (m *ModifyCloudToDeviceConfigRequest) GetVersionToUpdate() int64

func (*ModifyCloudToDeviceConfigRequest) ProtoMessage Uses

func (*ModifyCloudToDeviceConfigRequest) ProtoMessage()

func (*ModifyCloudToDeviceConfigRequest) Reset Uses

func (m *ModifyCloudToDeviceConfigRequest) Reset()

func (*ModifyCloudToDeviceConfigRequest) String Uses

func (m *ModifyCloudToDeviceConfigRequest) String() string

func (*ModifyCloudToDeviceConfigRequest) XXX_DiscardUnknown Uses

func (m *ModifyCloudToDeviceConfigRequest) XXX_DiscardUnknown()

func (*ModifyCloudToDeviceConfigRequest) XXX_Marshal Uses

func (m *ModifyCloudToDeviceConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModifyCloudToDeviceConfigRequest) XXX_Merge Uses

func (m *ModifyCloudToDeviceConfigRequest) XXX_Merge(src proto.Message)

func (*ModifyCloudToDeviceConfigRequest) XXX_Size Uses

func (m *ModifyCloudToDeviceConfigRequest) XXX_Size() int

func (*ModifyCloudToDeviceConfigRequest) XXX_Unmarshal Uses

func (m *ModifyCloudToDeviceConfigRequest) XXX_Unmarshal(b []byte) error

type MqttConfig Uses

type MqttConfig struct {
    // If enabled, allows connections using the MQTT protocol. Otherwise, MQTT
    // connections to this registry will fail.
    MqttEnabledState     MqttState `protobuf:"varint,1,opt,name=mqtt_enabled_state,json=mqttEnabledState,proto3,enum=google.cloud.iot.v1.MqttState" json:"mqtt_enabled_state,omitempty"`
    XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    XXX_unrecognized     []byte    `json:"-"`
    XXX_sizecache        int32     `json:"-"`
}

The configuration of MQTT for a device registry.

func (*MqttConfig) Descriptor Uses

func (*MqttConfig) Descriptor() ([]byte, []int)

func (*MqttConfig) GetMqttEnabledState Uses

func (m *MqttConfig) GetMqttEnabledState() MqttState

func (*MqttConfig) ProtoMessage Uses

func (*MqttConfig) ProtoMessage()

func (*MqttConfig) Reset Uses

func (m *MqttConfig) Reset()

func (*MqttConfig) String Uses

func (m *MqttConfig) String() string

func (*MqttConfig) XXX_DiscardUnknown Uses

func (m *MqttConfig) XXX_DiscardUnknown()

func (*MqttConfig) XXX_Marshal Uses

func (m *MqttConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MqttConfig) XXX_Merge Uses

func (m *MqttConfig) XXX_Merge(src proto.Message)

func (*MqttConfig) XXX_Size Uses

func (m *MqttConfig) XXX_Size() int

func (*MqttConfig) XXX_Unmarshal Uses

func (m *MqttConfig) XXX_Unmarshal(b []byte) error

type MqttState Uses

type MqttState int32

Indicates whether an MQTT connection is enabled or disabled. See the field description for details.

const (
    // No MQTT state specified. If not specified, MQTT will be enabled by default.
    MqttState_MQTT_STATE_UNSPECIFIED MqttState = 0
    // Enables a MQTT connection.
    MqttState_MQTT_ENABLED MqttState = 1
    // Disables a MQTT connection.
    MqttState_MQTT_DISABLED MqttState = 2
)

func (MqttState) EnumDescriptor Uses

func (MqttState) EnumDescriptor() ([]byte, []int)

func (MqttState) String Uses

func (x MqttState) String() string

type PublicKeyCertificate Uses

type PublicKeyCertificate struct {
    // The certificate format.
    Format PublicKeyCertificateFormat `protobuf:"varint,1,opt,name=format,proto3,enum=google.cloud.iot.v1.PublicKeyCertificateFormat" json:"format,omitempty"`
    // The certificate data.
    Certificate string `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"`
    // [Output only] The certificate details. Used only for X.509 certificates.
    X509Details          *X509CertificateDetails `protobuf:"bytes,3,opt,name=x509_details,json=x509Details,proto3" json:"x509_details,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                `json:"-"`
    XXX_unrecognized     []byte                  `json:"-"`
    XXX_sizecache        int32                   `json:"-"`
}

A public key certificate format and data.

func (*PublicKeyCertificate) Descriptor Uses

func (*PublicKeyCertificate) Descriptor() ([]byte, []int)

func (*PublicKeyCertificate) GetCertificate Uses

func (m *PublicKeyCertificate) GetCertificate() string

func (*PublicKeyCertificate) GetFormat Uses

func (m *PublicKeyCertificate) GetFormat() PublicKeyCertificateFormat

func (*PublicKeyCertificate) GetX509Details Uses

func (m *PublicKeyCertificate) GetX509Details() *X509CertificateDetails

func (*PublicKeyCertificate) ProtoMessage Uses

func (*PublicKeyCertificate) ProtoMessage()

func (*PublicKeyCertificate) Reset Uses

func (m *PublicKeyCertificate) Reset()

func (*PublicKeyCertificate) String Uses

func (m *PublicKeyCertificate) String() string

func (*PublicKeyCertificate) XXX_DiscardUnknown Uses

func (m *PublicKeyCertificate) XXX_DiscardUnknown()

func (*PublicKeyCertificate) XXX_Marshal Uses

func (m *PublicKeyCertificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PublicKeyCertificate) XXX_Merge Uses

func (m *PublicKeyCertificate) XXX_Merge(src proto.Message)

func (*PublicKeyCertificate) XXX_Size Uses

func (m *PublicKeyCertificate) XXX_Size() int

func (*PublicKeyCertificate) XXX_Unmarshal Uses

func (m *PublicKeyCertificate) XXX_Unmarshal(b []byte) error

type PublicKeyCertificateFormat Uses

type PublicKeyCertificateFormat int32

The supported formats for the public key.

const (
    // The format has not been specified. This is an invalid default value and
    // must not be used.
    PublicKeyCertificateFormat_UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT PublicKeyCertificateFormat = 0
    // An X.509v3 certificate ([RFC5280](https://www.ietf.org/rfc/rfc5280.txt)),
    // encoded in base64, and wrapped by `-----BEGIN CERTIFICATE-----` and
    // `-----END CERTIFICATE-----`.
    PublicKeyCertificateFormat_X509_CERTIFICATE_PEM PublicKeyCertificateFormat = 1
)

func (PublicKeyCertificateFormat) EnumDescriptor Uses

func (PublicKeyCertificateFormat) EnumDescriptor() ([]byte, []int)

func (PublicKeyCertificateFormat) String Uses

func (x PublicKeyCertificateFormat) String() string

type PublicKeyCredential Uses

type PublicKeyCredential struct {
    // The format of the key.
    Format PublicKeyFormat `protobuf:"varint,1,opt,name=format,proto3,enum=google.cloud.iot.v1.PublicKeyFormat" json:"format,omitempty"`
    // The key data.
    Key                  string   `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A public key format and data.

func (*PublicKeyCredential) Descriptor Uses

func (*PublicKeyCredential) Descriptor() ([]byte, []int)

func (*PublicKeyCredential) GetFormat Uses

func (m *PublicKeyCredential) GetFormat() PublicKeyFormat

func (*PublicKeyCredential) GetKey Uses

func (m *PublicKeyCredential) GetKey() string

func (*PublicKeyCredential) ProtoMessage Uses

func (*PublicKeyCredential) ProtoMessage()

func (*PublicKeyCredential) Reset Uses

func (m *PublicKeyCredential) Reset()

func (*PublicKeyCredential) String Uses

func (m *PublicKeyCredential) String() string

func (*PublicKeyCredential) XXX_DiscardUnknown Uses

func (m *PublicKeyCredential) XXX_DiscardUnknown()

func (*PublicKeyCredential) XXX_Marshal Uses

func (m *PublicKeyCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PublicKeyCredential) XXX_Merge Uses

func (m *PublicKeyCredential) XXX_Merge(src proto.Message)

func (*PublicKeyCredential) XXX_Size Uses

func (m *PublicKeyCredential) XXX_Size() int

func (*PublicKeyCredential) XXX_Unmarshal Uses

func (m *PublicKeyCredential) XXX_Unmarshal(b []byte) error

type PublicKeyFormat Uses

type PublicKeyFormat int32

The supported formats for the public key.

const (
    // The format has not been specified. This is an invalid default value and
    // must not be used.
    PublicKeyFormat_UNSPECIFIED_PUBLIC_KEY_FORMAT PublicKeyFormat = 0
    // An RSA public key encoded in base64, and wrapped by
    // `-----BEGIN PUBLIC KEY-----` and `-----END PUBLIC KEY-----`. This can be
    // used to verify `RS256` signatures in JWT tokens ([RFC7518](
    // https://www.ietf.org/rfc/rfc7518.txt)).
    PublicKeyFormat_RSA_PEM PublicKeyFormat = 3
    // As RSA_PEM, but wrapped in an X.509v3 certificate ([RFC5280](
    // https://www.ietf.org/rfc/rfc5280.txt)), encoded in base64, and wrapped by
    // `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----`.
    PublicKeyFormat_RSA_X509_PEM PublicKeyFormat = 1
    // Public key for the ECDSA algorithm using P-256 and SHA-256, encoded in
    // base64, and wrapped by `-----BEGIN PUBLIC KEY-----` and `-----END
    // PUBLIC KEY-----`. This can be used to verify JWT tokens with the `ES256`
    // algorithm ([RFC7518](https://www.ietf.org/rfc/rfc7518.txt)). This curve is
    // defined in [OpenSSL](https://www.openssl.org/) as the `prime256v1` curve.
    PublicKeyFormat_ES256_PEM PublicKeyFormat = 2
    // As ES256_PEM, but wrapped in an X.509v3 certificate ([RFC5280](
    // https://www.ietf.org/rfc/rfc5280.txt)), encoded in base64, and wrapped by
    // `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----`.
    PublicKeyFormat_ES256_X509_PEM PublicKeyFormat = 4
)

func (PublicKeyFormat) EnumDescriptor Uses

func (PublicKeyFormat) EnumDescriptor() ([]byte, []int)

func (PublicKeyFormat) String Uses

func (x PublicKeyFormat) String() string

type RegistryCredential Uses

type RegistryCredential struct {
    // The credential data. Reserved for expansion in the future.
    //
    // Types that are valid to be assigned to Credential:
    //	*RegistryCredential_PublicKeyCertificate
    Credential           isRegistryCredential_Credential `protobuf_oneof:"credential"`
    XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
    XXX_unrecognized     []byte                          `json:"-"`
    XXX_sizecache        int32                           `json:"-"`
}

A server-stored registry credential used to validate device credentials.

func (*RegistryCredential) Descriptor Uses

func (*RegistryCredential) Descriptor() ([]byte, []int)

func (*RegistryCredential) GetCredential Uses

func (m *RegistryCredential) GetCredential() isRegistryCredential_Credential

func (*RegistryCredential) GetPublicKeyCertificate Uses

func (m *RegistryCredential) GetPublicKeyCertificate() *PublicKeyCertificate

func (*RegistryCredential) ProtoMessage Uses

func (*RegistryCredential) ProtoMessage()

func (*RegistryCredential) Reset Uses

func (m *RegistryCredential) Reset()

func (*RegistryCredential) String Uses

func (m *RegistryCredential) String() string

func (*RegistryCredential) XXX_DiscardUnknown Uses

func (m *RegistryCredential) XXX_DiscardUnknown()

func (*RegistryCredential) XXX_Marshal Uses

func (m *RegistryCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegistryCredential) XXX_Merge Uses

func (m *RegistryCredential) XXX_Merge(src proto.Message)

func (*RegistryCredential) XXX_OneofWrappers Uses

func (*RegistryCredential) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RegistryCredential) XXX_Size Uses

func (m *RegistryCredential) XXX_Size() int

func (*RegistryCredential) XXX_Unmarshal Uses

func (m *RegistryCredential) XXX_Unmarshal(b []byte) error

type RegistryCredential_PublicKeyCertificate Uses

type RegistryCredential_PublicKeyCertificate struct {
    PublicKeyCertificate *PublicKeyCertificate `protobuf:"bytes,1,opt,name=public_key_certificate,json=publicKeyCertificate,proto3,oneof"`
}

type SendCommandToDeviceRequest Uses

type SendCommandToDeviceRequest struct {
    // Required. The name of the device. For example,
    // `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
    // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The command data to send to the device.
    BinaryData []byte `protobuf:"bytes,2,opt,name=binary_data,json=binaryData,proto3" json:"binary_data,omitempty"`
    // Optional subfolder for the command. If empty, the command will be delivered
    // to the /devices/{device-id}/commands topic, otherwise it will be delivered
    // to the /devices/{device-id}/commands/{subfolder} topic. Multi-level
    // subfolders are allowed. This field must not have more than 256 characters,
    // and must not contain any MQTT wildcards ("+" or "#") or null characters.
    Subfolder            string   `protobuf:"bytes,3,opt,name=subfolder,proto3" json:"subfolder,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Request for `SendCommandToDevice`.

func (*SendCommandToDeviceRequest) Descriptor Uses

func (*SendCommandToDeviceRequest) Descriptor() ([]byte, []int)

func (*SendCommandToDeviceRequest) GetBinaryData Uses

func (m *SendCommandToDeviceRequest) GetBinaryData() []byte

func (*SendCommandToDeviceRequest) GetName Uses

func (m *SendCommandToDeviceRequest) GetName() string

func (*SendCommandToDeviceRequest) GetSubfolder Uses

func (m *SendCommandToDeviceRequest) GetSubfolder() string

func (*SendCommandToDeviceRequest) ProtoMessage Uses

func (*SendCommandToDeviceRequest) ProtoMessage()

func (*SendCommandToDeviceRequest) Reset Uses

func (m *SendCommandToDeviceRequest) Reset()

func (*SendCommandToDeviceRequest) String Uses

func (m *SendCommandToDeviceRequest) String() string

func (*SendCommandToDeviceRequest) XXX_DiscardUnknown Uses

func (m *SendCommandToDeviceRequest) XXX_DiscardUnknown()

func (*SendCommandToDeviceRequest) XXX_Marshal Uses

func (m *SendCommandToDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendCommandToDeviceRequest) XXX_Merge Uses

func (m *SendCommandToDeviceRequest) XXX_Merge(src proto.Message)

func (*SendCommandToDeviceRequest) XXX_Size Uses

func (m *SendCommandToDeviceRequest) XXX_Size() int

func (*SendCommandToDeviceRequest) XXX_Unmarshal Uses

func (m *SendCommandToDeviceRequest) XXX_Unmarshal(b []byte) error

type SendCommandToDeviceResponse Uses

type SendCommandToDeviceResponse struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Response for `SendCommandToDevice`.

func (*SendCommandToDeviceResponse) Descriptor Uses

func (*SendCommandToDeviceResponse) Descriptor() ([]byte, []int)

func (*SendCommandToDeviceResponse) ProtoMessage Uses

func (*SendCommandToDeviceResponse) ProtoMessage()

func (*SendCommandToDeviceResponse) Reset Uses

func (m *SendCommandToDeviceResponse) Reset()

func (*SendCommandToDeviceResponse) String Uses

func (m *SendCommandToDeviceResponse) String() string

func (*SendCommandToDeviceResponse) XXX_DiscardUnknown Uses

func (m *SendCommandToDeviceResponse) XXX_DiscardUnknown()

func (*SendCommandToDeviceResponse) XXX_Marshal Uses

func (m *SendCommandToDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendCommandToDeviceResponse) XXX_Merge Uses

func (m *SendCommandToDeviceResponse) XXX_Merge(src proto.Message)

func (*SendCommandToDeviceResponse) XXX_Size Uses

func (m *SendCommandToDeviceResponse) XXX_Size() int

func (*SendCommandToDeviceResponse) XXX_Unmarshal Uses

func (m *SendCommandToDeviceResponse) XXX_Unmarshal(b []byte) error

type StateNotificationConfig Uses

type StateNotificationConfig struct {
    // A Cloud Pub/Sub topic name. For example,
    // `projects/myProject/topics/deviceEvents`.
    PubsubTopicName      string   `protobuf:"bytes,1,opt,name=pubsub_topic_name,json=pubsubTopicName,proto3" json:"pubsub_topic_name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The configuration for notification of new states received from the device.

func (*StateNotificationConfig) Descriptor Uses

func (*StateNotificationConfig) Descriptor() ([]byte, []int)

func (*StateNotificationConfig) GetPubsubTopicName Uses

func (m *StateNotificationConfig) GetPubsubTopicName() string

func (*StateNotificationConfig) ProtoMessage Uses

func (*StateNotificationConfig) ProtoMessage()

func (*StateNotificationConfig) Reset Uses

func (m *StateNotificationConfig) Reset()

func (*StateNotificationConfig) String Uses

func (m *StateNotificationConfig) String() string

func (*StateNotificationConfig) XXX_DiscardUnknown Uses

func (m *StateNotificationConfig) XXX_DiscardUnknown()

func (*StateNotificationConfig) XXX_Marshal Uses

func (m *StateNotificationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StateNotificationConfig) XXX_Merge Uses

func (m *StateNotificationConfig) XXX_Merge(src proto.Message)

func (*StateNotificationConfig) XXX_Size Uses

func (m *StateNotificationConfig) XXX_Size() int

func (*StateNotificationConfig) XXX_Unmarshal Uses

func (m *StateNotificationConfig) XXX_Unmarshal(b []byte) error

type UnbindDeviceFromGatewayRequest Uses

type UnbindDeviceFromGatewayRequest struct {
    // Required. The name of the registry. For example,
    // `projects/example-project/locations/us-central1/registries/my-registry`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The value of `gateway_id` can be either the device numeric ID or the
    // user-defined device identifier.
    GatewayId string `protobuf:"bytes,2,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
    // Required. The device to disassociate from the specified gateway. The value of
    // `device_id` can be either the device numeric ID or the user-defined device
    // identifier.
    DeviceId             string   `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Request for `UnbindDeviceFromGateway`.

func (*UnbindDeviceFromGatewayRequest) Descriptor Uses

func (*UnbindDeviceFromGatewayRequest) Descriptor() ([]byte, []int)

func (*UnbindDeviceFromGatewayRequest) GetDeviceId Uses

func (m *UnbindDeviceFromGatewayRequest) GetDeviceId() string

func (*UnbindDeviceFromGatewayRequest) GetGatewayId Uses

func (m *UnbindDeviceFromGatewayRequest) GetGatewayId() string

func (*UnbindDeviceFromGatewayRequest) GetParent Uses

func (m *UnbindDeviceFromGatewayRequest) GetParent() string

func (*UnbindDeviceFromGatewayRequest) ProtoMessage Uses

func (*UnbindDeviceFromGatewayRequest) ProtoMessage()

func (*UnbindDeviceFromGatewayRequest) Reset Uses

func (m *UnbindDeviceFromGatewayRequest) Reset()

func (*UnbindDeviceFromGatewayRequest) String Uses

func (m *UnbindDeviceFromGatewayRequest) String() string

func (*UnbindDeviceFromGatewayRequest) XXX_DiscardUnknown Uses

func (m *UnbindDeviceFromGatewayRequest) XXX_DiscardUnknown()

func (*UnbindDeviceFromGatewayRequest) XXX_Marshal Uses

func (m *UnbindDeviceFromGatewayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnbindDeviceFromGatewayRequest) XXX_Merge Uses

func (m *UnbindDeviceFromGatewayRequest) XXX_Merge(src proto.Message)

func (*UnbindDeviceFromGatewayRequest) XXX_Size Uses

func (m *UnbindDeviceFromGatewayRequest) XXX_Size() int

func (*UnbindDeviceFromGatewayRequest) XXX_Unmarshal Uses

func (m *UnbindDeviceFromGatewayRequest) XXX_Unmarshal(b []byte) error

type UnbindDeviceFromGatewayResponse Uses

type UnbindDeviceFromGatewayResponse struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Response for `UnbindDeviceFromGateway`.

func (*UnbindDeviceFromGatewayResponse) Descriptor Uses

func (*UnbindDeviceFromGatewayResponse) Descriptor() ([]byte, []int)

func (*UnbindDeviceFromGatewayResponse) ProtoMessage Uses

func (*UnbindDeviceFromGatewayResponse) ProtoMessage()

func (*UnbindDeviceFromGatewayResponse) Reset Uses

func (m *UnbindDeviceFromGatewayResponse) Reset()

func (*UnbindDeviceFromGatewayResponse) String Uses

func (m *UnbindDeviceFromGatewayResponse) String() string

func (*UnbindDeviceFromGatewayResponse) XXX_DiscardUnknown Uses

func (m *UnbindDeviceFromGatewayResponse) XXX_DiscardUnknown()

func (*UnbindDeviceFromGatewayResponse) XXX_Marshal Uses

func (m *UnbindDeviceFromGatewayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnbindDeviceFromGatewayResponse) XXX_Merge Uses

func (m *UnbindDeviceFromGatewayResponse) XXX_Merge(src proto.Message)

func (*UnbindDeviceFromGatewayResponse) XXX_Size Uses

func (m *UnbindDeviceFromGatewayResponse) XXX_Size() int

func (*UnbindDeviceFromGatewayResponse) XXX_Unmarshal Uses

func (m *UnbindDeviceFromGatewayResponse) XXX_Unmarshal(b []byte) error

type UnimplementedDeviceManagerServer Uses

type UnimplementedDeviceManagerServer struct {
}

UnimplementedDeviceManagerServer can be embedded to have forward compatible implementations.

func (*UnimplementedDeviceManagerServer) BindDeviceToGateway Uses

func (*UnimplementedDeviceManagerServer) BindDeviceToGateway(ctx context.Context, req *BindDeviceToGatewayRequest) (*BindDeviceToGatewayResponse, error)

func (*UnimplementedDeviceManagerServer) CreateDevice Uses

func (*UnimplementedDeviceManagerServer) CreateDevice(ctx context.Context, req *CreateDeviceRequest) (*Device, error)

func (*UnimplementedDeviceManagerServer) CreateDeviceRegistry Uses

func (*UnimplementedDeviceManagerServer) CreateDeviceRegistry(ctx context.Context, req *CreateDeviceRegistryRequest) (*DeviceRegistry, error)

func (*UnimplementedDeviceManagerServer) DeleteDevice Uses

func (*UnimplementedDeviceManagerServer) DeleteDevice(ctx context.Context, req *DeleteDeviceRequest) (*empty.Empty, error)

func (*UnimplementedDeviceManagerServer) DeleteDeviceRegistry Uses

func (*UnimplementedDeviceManagerServer) DeleteDeviceRegistry(ctx context.Context, req *DeleteDeviceRegistryRequest) (*empty.Empty, error)

func (*UnimplementedDeviceManagerServer) GetDevice Uses

func (*UnimplementedDeviceManagerServer) GetDevice(ctx context.Context, req *GetDeviceRequest) (*Device, error)

func (*UnimplementedDeviceManagerServer) GetDeviceRegistry Uses

func (*UnimplementedDeviceManagerServer) GetDeviceRegistry(ctx context.Context, req *GetDeviceRegistryRequest) (*DeviceRegistry, error)

func (*UnimplementedDeviceManagerServer) GetIamPolicy Uses

func (*UnimplementedDeviceManagerServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedDeviceManagerServer) ListDeviceConfigVersions Uses

func (*UnimplementedDeviceManagerServer) ListDeviceConfigVersions(ctx context.Context, req *ListDeviceConfigVersionsRequest) (*ListDeviceConfigVersionsResponse, error)

func (*UnimplementedDeviceManagerServer) ListDeviceRegistries Uses

func (*UnimplementedDeviceManagerServer) ListDeviceRegistries(ctx context.Context, req *ListDeviceRegistriesRequest) (*ListDeviceRegistriesResponse, error)

func (*UnimplementedDeviceManagerServer) ListDeviceStates Uses

func (*UnimplementedDeviceManagerServer) ListDeviceStates(ctx context.Context, req *ListDeviceStatesRequest) (*ListDeviceStatesResponse, error)

func (*UnimplementedDeviceManagerServer) ListDevices Uses

func (*UnimplementedDeviceManagerServer) ListDevices(ctx context.Context, req *ListDevicesRequest) (*ListDevicesResponse, error)

func (*UnimplementedDeviceManagerServer) ModifyCloudToDeviceConfig Uses

func (*UnimplementedDeviceManagerServer) ModifyCloudToDeviceConfig(ctx context.Context, req *ModifyCloudToDeviceConfigRequest) (*DeviceConfig, error)

func (*UnimplementedDeviceManagerServer) SendCommandToDevice Uses

func (*UnimplementedDeviceManagerServer) SendCommandToDevice(ctx context.Context, req *SendCommandToDeviceRequest) (*SendCommandToDeviceResponse, error)

func (*UnimplementedDeviceManagerServer) SetIamPolicy Uses

func (*UnimplementedDeviceManagerServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedDeviceManagerServer) TestIamPermissions Uses

func (*UnimplementedDeviceManagerServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)

func (*UnimplementedDeviceManagerServer) UnbindDeviceFromGateway Uses

func (*UnimplementedDeviceManagerServer) UnbindDeviceFromGateway(ctx context.Context, req *UnbindDeviceFromGatewayRequest) (*UnbindDeviceFromGatewayResponse, error)

func (*UnimplementedDeviceManagerServer) UpdateDevice Uses

func (*UnimplementedDeviceManagerServer) UpdateDevice(ctx context.Context, req *UpdateDeviceRequest) (*Device, error)

func (*UnimplementedDeviceManagerServer) UpdateDeviceRegistry Uses

func (*UnimplementedDeviceManagerServer) UpdateDeviceRegistry(ctx context.Context, req *UpdateDeviceRegistryRequest) (*DeviceRegistry, error)

type UpdateDeviceRegistryRequest Uses

type UpdateDeviceRegistryRequest struct {
    // Required. The new values for the device registry. The `id` field must be empty, and
    // the `name` field must indicate the path of the resource. For example,
    // `projects/example-project/locations/us-central1/registries/my-registry`.
    DeviceRegistry *DeviceRegistry `protobuf:"bytes,1,opt,name=device_registry,json=deviceRegistry,proto3" json:"device_registry,omitempty"`
    // Required. Only updates the `device_registry` fields indicated by this mask.
    // The field mask must not be empty, and it must not contain fields that
    // are immutable or only set by the server.
    // Mutable top-level fields: `event_notification_config`, `http_config`,
    // `mqtt_config`, and `state_notification_config`.
    UpdateMask           *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

Request for `UpdateDeviceRegistry`.

func (*UpdateDeviceRegistryRequest) Descriptor Uses

func (*UpdateDeviceRegistryRequest) Descriptor() ([]byte, []int)

func (*UpdateDeviceRegistryRequest) GetDeviceRegistry Uses

func (m *UpdateDeviceRegistryRequest) GetDeviceRegistry() *DeviceRegistry

func (*UpdateDeviceRegistryRequest) GetUpdateMask Uses

func (m *UpdateDeviceRegistryRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateDeviceRegistryRequest) ProtoMessage Uses

func (*UpdateDeviceRegistryRequest) ProtoMessage()

func (*UpdateDeviceRegistryRequest) Reset Uses

func (m *UpdateDeviceRegistryRequest) Reset()

func (*UpdateDeviceRegistryRequest) String Uses

func (m *UpdateDeviceRegistryRequest) String() string

func (*UpdateDeviceRegistryRequest) XXX_DiscardUnknown Uses

func (m *UpdateDeviceRegistryRequest) XXX_DiscardUnknown()

func (*UpdateDeviceRegistryRequest) XXX_Marshal Uses

func (m *UpdateDeviceRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateDeviceRegistryRequest) XXX_Merge Uses

func (m *UpdateDeviceRegistryRequest) XXX_Merge(src proto.Message)

func (*UpdateDeviceRegistryRequest) XXX_Size Uses

func (m *UpdateDeviceRegistryRequest) XXX_Size() int

func (*UpdateDeviceRegistryRequest) XXX_Unmarshal Uses

func (m *UpdateDeviceRegistryRequest) XXX_Unmarshal(b []byte) error

type UpdateDeviceRequest Uses

type UpdateDeviceRequest struct {
    // Required. The new values for the device. The `id` and `num_id` fields must
    // be empty, and the field `name` must specify the name path. For example,
    // `projects/p0/locations/us-central1/registries/registry0/devices/device0`or
    // `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
    Device *Device `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
    // Required. Only updates the `device` fields indicated by this mask.
    // The field mask must not be empty, and it must not contain fields that
    // are immutable or only set by the server.
    // Mutable top-level fields: `credentials`, `blocked`, and `metadata`
    UpdateMask           *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

Request for `UpdateDevice`.

func (*UpdateDeviceRequest) Descriptor Uses

func (*UpdateDeviceRequest) Descriptor() ([]byte, []int)

func (*UpdateDeviceRequest) GetDevice Uses

func (m *UpdateDeviceRequest) GetDevice() *Device

func (*UpdateDeviceRequest) GetUpdateMask Uses

func (m *UpdateDeviceRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateDeviceRequest) ProtoMessage Uses

func (*UpdateDeviceRequest) ProtoMessage()

func (*UpdateDeviceRequest) Reset Uses

func (m *UpdateDeviceRequest) Reset()

func (*UpdateDeviceRequest) String Uses

func (m *UpdateDeviceRequest) String() string

func (*UpdateDeviceRequest) XXX_DiscardUnknown Uses

func (m *UpdateDeviceRequest) XXX_DiscardUnknown()

func (*UpdateDeviceRequest) XXX_Marshal Uses

func (m *UpdateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateDeviceRequest) XXX_Merge Uses

func (m *UpdateDeviceRequest) XXX_Merge(src proto.Message)

func (*UpdateDeviceRequest) XXX_Size Uses

func (m *UpdateDeviceRequest) XXX_Size() int

func (*UpdateDeviceRequest) XXX_Unmarshal Uses

func (m *UpdateDeviceRequest) XXX_Unmarshal(b []byte) error

type X509CertificateDetails Uses

type X509CertificateDetails struct {
    // The entity that signed the certificate.
    Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
    // The entity the certificate and public key belong to.
    Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
    // The time the certificate becomes valid.
    StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
    // The time the certificate becomes invalid.
    ExpiryTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"`
    // The algorithm used to sign the certificate.
    SignatureAlgorithm string `protobuf:"bytes,5,opt,name=signature_algorithm,json=signatureAlgorithm,proto3" json:"signature_algorithm,omitempty"`
    // The type of public key in the certificate.
    PublicKeyType        string   `protobuf:"bytes,6,opt,name=public_key_type,json=publicKeyType,proto3" json:"public_key_type,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Details of an X.509 certificate. For informational purposes only.

func (*X509CertificateDetails) Descriptor Uses

func (*X509CertificateDetails) Descriptor() ([]byte, []int)

func (*X509CertificateDetails) GetExpiryTime Uses

func (m *X509CertificateDetails) GetExpiryTime() *timestamp.Timestamp

func (*X509CertificateDetails) GetIssuer Uses

func (m *X509CertificateDetails) GetIssuer() string

func (*X509CertificateDetails) GetPublicKeyType Uses

func (m *X509CertificateDetails) GetPublicKeyType() string

func (*X509CertificateDetails) GetSignatureAlgorithm Uses

func (m *X509CertificateDetails) GetSignatureAlgorithm() string

func (*X509CertificateDetails) GetStartTime Uses

func (m *X509CertificateDetails) GetStartTime() *timestamp.Timestamp

func (*X509CertificateDetails) GetSubject Uses

func (m *X509CertificateDetails) GetSubject() string

func (*X509CertificateDetails) ProtoMessage Uses

func (*X509CertificateDetails) ProtoMessage()

func (*X509CertificateDetails) Reset Uses

func (m *X509CertificateDetails) Reset()

func (*X509CertificateDetails) String Uses

func (m *X509CertificateDetails) String() string

func (*X509CertificateDetails) XXX_DiscardUnknown Uses

func (m *X509CertificateDetails) XXX_DiscardUnknown()

func (*X509CertificateDetails) XXX_Marshal Uses

func (m *X509CertificateDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*X509CertificateDetails) XXX_Merge Uses

func (m *X509CertificateDetails) XXX_Merge(src proto.Message)

func (*X509CertificateDetails) XXX_Size Uses

func (m *X509CertificateDetails) XXX_Size() int

func (*X509CertificateDetails) XXX_Unmarshal Uses

func (m *X509CertificateDetails) XXX_Unmarshal(b []byte) error

Package iot imports 13 packages (graph) and is imported by 1 packages. Updated 2019-11-09. Refresh now. Tools for package owners.