deployments

PATCH /v1alpha1/{+name}

Changed on

Updates a device.

Request

  • Base URL
    https://prod-tt-sasportal.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/cloud-platform
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/cloud-platform
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/sasportal
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/sasportal
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

namestring required

Output only. The resource path name.

Query parameters

updateMaskstring

Fields to be updated.

Request body

fccIdstring

The FCC identifier of the device. Refer to https://www.fcc.gov/oet/ea/fccid for FccID format. Accept underscores and periods because some test-SAS customers use them.

displayNamestring

Device display name.

state'DEVICE_STATE_UNSPECIFIED' | 'RESERVED' | 'REGISTERED' | 'DEREGISTERED'

Output only. Device state.

serialNumberstring

A serial number assigned to the device by the device manufacturer.

namestring

Output only. The resource path name.

Response

Successful response

fccIdstring

The FCC identifier of the device. Refer to https://www.fcc.gov/oet/ea/fccid for FccID format. Accept underscores and periods because some test-SAS customers use them.

displayNamestring

Device display name.

state'DEVICE_STATE_UNSPECIFIED' | 'RESERVED' | 'REGISTERED' | 'DEREGISTERED'

Output only. Device state.

serialNumberstring

A serial number assigned to the device by the device manufacturer.

namestring

Output only. The resource path name.

Changes

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/sasportal was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/sasportal was removed from the endpoint's security scheme Oauth2c