Categorygithub.com/mikoaro/cloudiot
modulepackage
1.0.11
Repository: https://github.com/mikoaro/cloudiot.git
Documentation: pkg.go.dev

# README

Cloud IoT API

Go Client Library for ClearBlade IoT Core API. Go Reference

Setting up service account credentials

Create a service account in your project and download the credentials .json file. Define an environment variable named CLEARBLADE_CONFIGURATION which represents the path to the credentials .json file. Example:

export CLEARBLADE_CONFIGURATION=/path/to/file.json

Authorization

See the Authorization documentation for authorizing sdk with clearblade iot-core

API Documentation

View the Go sections of these Samples

# Packages

No description provided by the author

# Functions

No description provided by the author
New creates a new Service.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewService creates a new Service.

# Structs

BindDeviceToGatewayRequest: Request for `BindDeviceToGateway`.
BindDeviceToGatewayResponse: Response for `BindDeviceToGateway`.
Binding: Associates `members`, or principals, with a `role`.
Device: The device resource.
DeviceConfig: The device configuration.
DeviceCredential: A server-stored device credential used for authentication.
DeviceRegistry: A container for a group of devices.
DeviceState: The device state, as reported by the device.
Empty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
EventNotificationConfig: The configuration for forwarding telemetry events.
Expr: Represents a textual expression in the Common Expression Language (CEL) syntax.
GatewayConfig: Gateway-related configuration and state.
GetIamPolicyRequest: Request message for `GetIamPolicy` method.
GetPolicyOptions: Encapsulates settings provided to GetIamPolicy.
HttpConfig: The configuration of the HTTP bridge for a device registry.
ListDeviceConfigVersionsResponse: Response for `ListDeviceConfigVersions`.
ListDeviceRegistriesResponse: Response for `ListDeviceRegistries`.
ListDevicesResponse: Response for `ListDevices`.
ListDeviceStatesResponse: Response for `ListDeviceStates`.
ModifyCloudToDeviceConfigRequest: Request for `ModifyCloudToDeviceConfig`.
MqttConfig: The configuration of MQTT for a device registry.
Policy: An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PublicKeyCertificate: A public key certificate format and data.
PublicKeyCredential: A public key format and data.
RegistryCredential: A server-stored registry credential used to validate device credentials.
No description provided by the author
SendCommandToDeviceRequest: Request for `SendCommandToDevice`.
SendCommandToDeviceResponse: Response for `SendCommandToDevice`.
No description provided by the author
No description provided by the author
SetIamPolicyRequest: Request message for `SetIamPolicy` method.
StateNotificationConfig: The configuration for notification of new states received from the device.
Status: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
TestIamPermissionsRequest: Request message for `TestIamPermissions` method.
TestIamPermissionsResponse: Response message for `TestIamPermissions` method.
UnbindDeviceFromGatewayRequest: Request for `UnbindDeviceFromGateway`.
UnbindDeviceFromGatewayResponse: Response for `UnbindDeviceFromGateway`.
X509CertificateDetails: Details of an X.509 certificate.