Method: projects.locations.hardware.changeSubscription

Updates the subscription config for a hardware.

HTTP request

POST https://gdchardwaremanagement.googleapis.com/v1alpha/{name=projects/*/locations/*/hardware/*}:changeSubscription

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the hardware to update.

Request body

The request body contains data with the following structure:

JSON representation
{
  "termEndBehavior": enum (TermEndBehavior)
}
Fields
termEndBehavior

enum (TermEndBehavior)

Required. The behavior of the subscription at the end of the term.

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

TermEndBehavior

The term end behavior of the subscription.

Enums
TERM_END_BEHAVIOR_UNSPECIFIED Term end behavior is unspecified.
TERMINATE_AT_TERM_END Term end behavior is TERMINATE_AT_TERM_END.