Android Management API (androidmanagement:v1)

2022-06-08

2 new methods

Additions

    Methods
  • androidmanagement.enterprises.enrollmentTokens.list

      Path: v1/{+parent}/enrollmentTokens

      Parameters:

        pageToken

          Description: A token identifying a page of results returned by the server.

          Location: query

          Type: string

        pageSize

          Type: integer

          Location: query

          Format: int32

          Description: The requested page size. The service may return fewer than this value. If unspecified, at most 10 items will be returned. The maximum value is 100; values above 100 will be coerced to 100.

        parent

          Description: Required. The name of the enterprise in the form enterprises/{enterpriseId}.

          Pattern: ^enterprises/[^/]+$

          Required: Yes

          Location: path

          Type: string

      Flat Path: v1/enterprises/{enterprisesId}/enrollmentTokens

      Parameter Order: parent

      Description: Lists active, unexpired enrollment tokens for a given enterprise. The list items contain only a partial view of EnrollmentToken: all the fields but name and expiration_timestamp are empty. This method is meant to help manage active enrollment tokens lifecycle. For security reasons, it's recommended to delete active enrollment tokens as soon as they're not intended to be used anymore.

      Scopes: https://www.googleapis.com/auth/androidmanagement

      HTTP Method: GET

  • androidmanagement.enterprises.enrollmentTokens.get

      Scopes: https://www.googleapis.com/auth/androidmanagement

      Path: v1/{+name}

      Parameter Order: name

      HTTP Method: GET

      Flat Path: v1/enterprises/{enterprisesId}/enrollmentTokens/{enrollmentTokensId}

      Parameters:

        name

          Location: path

          Required: Yes

          Description: Required. The name of the enrollment token in the form enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}.

          Pattern: ^enterprises/[^/]+/enrollmentTokens/[^/]+$

          Type: string

      Description: Gets an active, unexpired enrollment token. Only a partial view of EnrollmentToken is returned: all the fields but name and expiration_timestamp are empty. This method is meant to help manage active enrollment tokens lifecycle. For security reasons, it's recommended to delete active enrollment tokens as soon as they're not intended to be used anymore.