Method: nodes.devices.patch

  • This operation updates a device's information using an HTTP PATCH request to a specific URL.

  • The request should include path and query parameters, and the body should contain the updated device data in JSON format, as per the Device object specification.

  • A successful response will return the updated Device object, indicating the changes have been applied.

  • Authorization is required using the https://www.googleapis.com/auth/sasportal OAuth scope for this operation to be permitted.

Updates a device.

HTTP request

PATCH https://sasportal.googleapis.com/v1alpha1/{device.name=nodes/*/devices/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
device.name

string

Output only. The resource path name.

Query parameters

Parameters
updateMask

string (FieldMask format)

Fields to be updated.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Device.

Response body

If successful, the response body contains an instance of Device.

Authorization Scopes

Requires the following OAuth scope:

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