Liking cljdoc? Tell your friends :D

happygapi.cloudiot.projects

Cloud IoT API: projects. Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform.

See: https://cloud.google.com/iotapi/reference/rest/v1/projects

Cloud IoT API: projects.
Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform.

See: https://cloud.google.com/iotapi/reference/rest/v1/projects
raw docstring

locations-registries-bindDeviceToGateway$clj

(locations-registries-bindDeviceToGateway$ auth args body)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/bindDeviceToGateway

Required parameters: parent

Optional parameters: none

Body:

{:deviceId string, :gatewayId string}

Associates the device with the gateway.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/bindDeviceToGateway

Required parameters: parent

Optional parameters: none

Body: 

{:deviceId string, :gatewayId string}

Associates the device with the gateway.
sourceraw docstring

locations-registries-create$clj

(locations-registries-create$ auth args body)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/create

Required parameters: parent

Optional parameters: none

Body:

{:credentials [{:publicKeyCertificate PublicKeyCertificate}], :name string, :eventNotificationConfigs [{:pubsubTopicName string, :subfolderMatches string}], :logLevel string, :httpConfig {:httpEnabledState string}, :id string, :mqttConfig {:mqttEnabledState string}, :stateNotificationConfig {:pubsubTopicName string}}

Creates a device registry that contains devices.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/create

Required parameters: parent

Optional parameters: none

Body: 

{:credentials [{:publicKeyCertificate PublicKeyCertificate}],
 :name string,
 :eventNotificationConfigs [{:pubsubTopicName string,
                             :subfolderMatches string}],
 :logLevel string,
 :httpConfig {:httpEnabledState string},
 :id string,
 :mqttConfig {:mqttEnabledState string},
 :stateNotificationConfig {:pubsubTopicName string}}

Creates a device registry that contains devices.
sourceraw docstring

locations-registries-delete$clj

(locations-registries-delete$ auth args)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/delete

Required parameters: name

Optional parameters: none Deletes a device registry configuration.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/delete

Required parameters: name

Optional parameters: none
Deletes a device registry configuration.
sourceraw docstring

locations-registries-devices-configVersions-list$clj

(locations-registries-devices-configVersions-list$ auth args)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/devices/configVersions/list

Required parameters: name

Optional parameters: numVersions Lists the last few versions of the device configuration in descending order (i.e.: newest first).

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/devices/configVersions/list

Required parameters: name

Optional parameters: numVersions
Lists the last few versions of the device configuration in descending
order (i.e.: newest first).
sourceraw docstring

locations-registries-devices-create$clj

(locations-registries-devices-create$ auth args body)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/devices/create

Required parameters: parent

Optional parameters: none

Body:

{:gatewayConfig {:gatewayType string, :lastAccessedGatewayId string, :gatewayAuthMethod string, :lastAccessedGatewayTime string}, :numId string, :lastConfigAckTime string, :lastHeartbeatTime string, :credentials [{:publicKey PublicKeyCredential, :expirationTime string}], :config {:version string, :cloudUpdateTime string, :deviceAckTime string, :binaryData string}, :lastConfigSendTime string, :name string, :lastStateTime string, :state {:binaryData string, :updateTime string}, :lastErrorTime string, :id string, :lastEventTime string, :logLevel string, :lastErrorStatus {:details [{}], :code integer, :message string}, :blocked boolean, :metadata {}}

Creates a device in a device registry.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/devices/create

Required parameters: parent

Optional parameters: none

Body: 

{:gatewayConfig {:gatewayType string,
                 :lastAccessedGatewayId string,
                 :gatewayAuthMethod string,
                 :lastAccessedGatewayTime string},
 :numId string,
 :lastConfigAckTime string,
 :lastHeartbeatTime string,
 :credentials [{:publicKey PublicKeyCredential,
                :expirationTime string}],
 :config {:version string,
          :cloudUpdateTime string,
          :deviceAckTime string,
          :binaryData string},
 :lastConfigSendTime string,
 :name string,
 :lastStateTime string,
 :state {:binaryData string, :updateTime string},
 :lastErrorTime string,
 :id string,
 :lastEventTime string,
 :logLevel string,
 :lastErrorStatus {:details [{}], :code integer, :message string},
 :blocked boolean,
 :metadata {}}

Creates a device in a device registry.
sourceraw docstring

locations-registries-devices-delete$clj

(locations-registries-devices-delete$ auth args)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/devices/delete

Required parameters: name

Optional parameters: none Deletes a device.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/devices/delete

Required parameters: name

Optional parameters: none
Deletes a device.
sourceraw docstring

locations-registries-devices-get$clj

(locations-registries-devices-get$ auth args)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/devices/get

Required parameters: name

Optional parameters: fieldMask Gets details about a device.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/devices/get

Required parameters: name

Optional parameters: fieldMask
Gets details about a device.
sourceraw docstring

locations-registries-devices-list$clj

(locations-registries-devices-list$ auth args)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/devices/list

Required parameters: parent

Optional parameters: fieldMask, gatewayListOptions.associationsGatewayId, gatewayListOptions.associationsDeviceId, pageToken, deviceNumIds, pageSize, deviceIds, gatewayListOptions.gatewayType List devices in a device registry.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/devices/list

Required parameters: parent

Optional parameters: fieldMask, gatewayListOptions.associationsGatewayId, gatewayListOptions.associationsDeviceId, pageToken, deviceNumIds, pageSize, deviceIds, gatewayListOptions.gatewayType
List devices in a device registry.
sourceraw docstring

locations-registries-devices-modifyCloudToDeviceConfig$clj

(locations-registries-devices-modifyCloudToDeviceConfig$ auth args body)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/devices/modifyCloudToDeviceConfig

Required parameters: name

Optional parameters: none

Body:

{:binaryData string, :versionToUpdate string}

Modifies the configuration for the device, which is eventually sent from the Cloud IoT Core servers. Returns the modified configuration version and its metadata.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/devices/modifyCloudToDeviceConfig

Required parameters: name

Optional parameters: none

Body: 

{:binaryData string, :versionToUpdate string}

Modifies the configuration for the device, which is eventually sent from
the Cloud IoT Core servers. Returns the modified configuration version and
its metadata.
sourceraw docstring

locations-registries-devices-patch$clj

(locations-registries-devices-patch$ auth args body)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/devices/patch

Required parameters: name

Optional parameters: updateMask

Body:

{:gatewayConfig {:gatewayType string, :lastAccessedGatewayId string, :gatewayAuthMethod string, :lastAccessedGatewayTime string}, :numId string, :lastConfigAckTime string, :lastHeartbeatTime string, :credentials [{:publicKey PublicKeyCredential, :expirationTime string}], :config {:version string, :cloudUpdateTime string, :deviceAckTime string, :binaryData string}, :lastConfigSendTime string, :name string, :lastStateTime string, :state {:binaryData string, :updateTime string}, :lastErrorTime string, :id string, :lastEventTime string, :logLevel string, :lastErrorStatus {:details [{}], :code integer, :message string}, :blocked boolean, :metadata {}}

Updates a device.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/devices/patch

Required parameters: name

Optional parameters: updateMask

Body: 

{:gatewayConfig {:gatewayType string,
                 :lastAccessedGatewayId string,
                 :gatewayAuthMethod string,
                 :lastAccessedGatewayTime string},
 :numId string,
 :lastConfigAckTime string,
 :lastHeartbeatTime string,
 :credentials [{:publicKey PublicKeyCredential,
                :expirationTime string}],
 :config {:version string,
          :cloudUpdateTime string,
          :deviceAckTime string,
          :binaryData string},
 :lastConfigSendTime string,
 :name string,
 :lastStateTime string,
 :state {:binaryData string, :updateTime string},
 :lastErrorTime string,
 :id string,
 :lastEventTime string,
 :logLevel string,
 :lastErrorStatus {:details [{}], :code integer, :message string},
 :blocked boolean,
 :metadata {}}

Updates a device.
sourceraw docstring

locations-registries-devices-sendCommandToDevice$clj

(locations-registries-devices-sendCommandToDevice$ auth args body)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/devices/sendCommandToDevice

Required parameters: name

Optional parameters: none

Body:

{:subfolder string, :binaryData string}

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.
https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/devices/sendCommandToDevice

Required parameters: name

Optional parameters: none

Body: 

{:subfolder string, :binaryData string}

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.
sourceraw docstring

locations-registries-devices-states-list$clj

(locations-registries-devices-states-list$ auth args)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/devices/states/list

Required parameters: name

Optional parameters: numStates Lists the last few versions of the device state in descending order (i.e.: newest first).

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/devices/states/list

Required parameters: name

Optional parameters: numStates
Lists the last few versions of the device state in descending order (i.e.:
newest first).
sourceraw docstring

locations-registries-get$clj

(locations-registries-get$ auth args)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/get

Required parameters: name

Optional parameters: none Gets a device registry configuration.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/get

Required parameters: name

Optional parameters: none
Gets a device registry configuration.
sourceraw docstring

locations-registries-getIamPolicy$clj

(locations-registries-getIamPolicy$ auth args body)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/getIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/getIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource.
Returns an empty policy if the resource exists and does not have a policy
set.
sourceraw docstring

locations-registries-groups-devices-list$clj

(locations-registries-groups-devices-list$ auth args)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/groups/devices/list

Required parameters: parent

Optional parameters: fieldMask, gatewayListOptions.associationsGatewayId, gatewayListOptions.associationsDeviceId, pageToken, deviceNumIds, pageSize, deviceIds, gatewayListOptions.gatewayType List devices in a device registry.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/groups/devices/list

Required parameters: parent

Optional parameters: fieldMask, gatewayListOptions.associationsGatewayId, gatewayListOptions.associationsDeviceId, pageToken, deviceNumIds, pageSize, deviceIds, gatewayListOptions.gatewayType
List devices in a device registry.
sourceraw docstring

locations-registries-groups-getIamPolicy$clj

(locations-registries-groups-getIamPolicy$ auth args body)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/groups/getIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/groups/getIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource.
Returns an empty policy if the resource exists and does not have a policy
set.
sourceraw docstring

locations-registries-groups-setIamPolicy$clj

(locations-registries-groups-setIamPolicy$ auth args body)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/groups/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any existing policy.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/groups/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any
existing policy.
sourceraw docstring

locations-registries-groups-testIamPermissions$clj

(locations-registries-groups-testIamPermissions$ auth args body)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/groups/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

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.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/groups/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

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.
sourceraw docstring

locations-registries-list$clj

(locations-registries-list$ auth args)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/list

Required parameters: parent

Optional parameters: pageToken, pageSize Lists device registries.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/list

Required parameters: parent

Optional parameters: pageToken, pageSize
Lists device registries.
sourceraw docstring

locations-registries-patch$clj

(locations-registries-patch$ auth args body)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/patch

Required parameters: name

Optional parameters: updateMask

Body:

{:credentials [{:publicKeyCertificate PublicKeyCertificate}], :name string, :eventNotificationConfigs [{:pubsubTopicName string, :subfolderMatches string}], :logLevel string, :httpConfig {:httpEnabledState string}, :id string, :mqttConfig {:mqttEnabledState string}, :stateNotificationConfig {:pubsubTopicName string}}

Updates a device registry configuration.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/patch

Required parameters: name

Optional parameters: updateMask

Body: 

{:credentials [{:publicKeyCertificate PublicKeyCertificate}],
 :name string,
 :eventNotificationConfigs [{:pubsubTopicName string,
                             :subfolderMatches string}],
 :logLevel string,
 :httpConfig {:httpEnabledState string},
 :id string,
 :mqttConfig {:mqttEnabledState string},
 :stateNotificationConfig {:pubsubTopicName string}}

Updates a device registry configuration.
sourceraw docstring

locations-registries-setIamPolicy$clj

(locations-registries-setIamPolicy$ auth args body)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any existing policy.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:policy {:etag string, :version integer, :bindings [Binding]}}

Sets the access control policy on the specified resource. Replaces any
existing policy.
sourceraw docstring

locations-registries-testIamPermissions$clj

(locations-registries-testIamPermissions$ auth args body)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

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.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

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.
sourceraw docstring

locations-registries-unbindDeviceFromGateway$clj

(locations-registries-unbindDeviceFromGateway$ auth args body)

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/unbindDeviceFromGateway

Required parameters: parent

Optional parameters: none

Body:

{:gatewayId string, :deviceId string}

Deletes the association between the device and the gateway.

https://cloud.google.com/iotapi/reference/rest/v1/projects/locations/registries/unbindDeviceFromGateway

Required parameters: parent

Optional parameters: none

Body: 

{:gatewayId string, :deviceId string}

Deletes the association between the device and the gateway.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close