Method: customers.deployments.devices.create

  • Creates a device under a node or customer using an HTTP POST request.

  • The request should be sent to the URL https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/deployments/*}/devices with the parent resource name specified as a path parameter.

  • The request body should contain an instance of the Device object, and a successful response will return the newly created Device object.

  • Authorization requires the https://www.googleapis.com/auth/sasportal OAuth scope.

Creates a device under a node or customer.

HTTP request

POST https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/deployments/*}/devices

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The name of the parent resource.

Request body

The request body contains an instance of Device.

Response body

If successful, the response body contains a newly created instance of Device.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/sasportal