gcloud_alpha_iot_devices_gateways_bind (1)
NAME
- gcloud alpha iot devices gateways bind - associate a device with a gateway
SYNOPSIS
-
gcloud alpha iot devices gateways bind (--device=DEVICE : --device-region=DEVICE_REGION --device-registry=DEVICE_REGISTRY) (--gateway=GATEWAY : --gateway-region=GATEWAY_REGION --gateway-registry=GATEWAY_REGISTRY) [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Associate a device with a gateway.
REQUIRED FLAGS
-
-
- Device resource - The device to bind to the gateway. The arguments in this group can be used to specify the attributes of this resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways. To set the [project] attribute: provide the argument [--device] on the command line with a fully specified name; provide the argument [--project] on the command line; set the property [core/project]. This must be specified.
-
- --device=DEVICE
-
ID of the device or fully qualified identifier for the device. This flag must be
specified if any of the other arguments in this group are specified.
- --device-region=DEVICE_REGION
-
The Cloud region for the device.
- --device-registry=DEVICE_REGISTRY
-
The device registry for the device.
- Device resource - The device to bind to the gateway. The arguments in this group can be used to specify the attributes of this resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways. To set the [project] attribute: provide the argument [--device] on the command line with a fully specified name; provide the argument [--project] on the command line; set the property [core/project]. This must be specified.
-
Gateway resource - The gateway device to bind to. The arguments in this group
can be used to specify the attributes of this resource. (NOTE) Some attributes
are not given arguments in this group but can be set in other ways. To set the
[project] attribute: provide the argument [--gateway] on the command line with
a fully specified name; provide the argument [--project] on the command line;
set the property [core/project]. This must be specified.
-
- --gateway=GATEWAY
-
ID of the gateway or fully qualified identifier for the gateway. This flag must
be specified if any of the other arguments in this group are specified.
- --gateway-region=GATEWAY_REGION
-
The Cloud region for the gateway.
- --gateway-registry=GATEWAY_REGISTRY
-
The device registry for the gateway.
-
-
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
API REFERENCE
This command uses the cloudiot/v1 API. The full documentation for this API can be found at: cloud.google.com/iot
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support This variant is also available:
- $ gcloud beta iot devices gateways bind