- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- LicensedUser
- Try it!
Enumerates all users assigned a license.
HTTP request
GET https://cloudcommerceconsumerprocurement.googleapis.com/v1alpha1/{parent=billingAccounts/*/orders/*/licensePool}:enumerateLicensedUsers
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. License pool name. |
Query parameters
Parameters | |
---|---|
pageSize |
Optional. The maximum number of users to return. The service may return fewer than this value. |
pageToken |
Optional. A page token, received from a previous |
Request body
The request body must be empty.
Response body
Response message for LicenseManagementService.EnumerateLicensedUsers
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"licensedUsers": [
{
object ( |
Fields | |
---|---|
licensedUsers[] |
The list of licensed users. |
nextPageToken |
A token that can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
consumerprocurement.licensePools.enumerateLicensedUsers
For more information, see the IAM documentation.
LicensedUser
A licensed user.
JSON representation |
---|
{ "username": string, "assignTime": string, "recentUsageTime": string } |
Fields | |
---|---|
username |
Username. Format: |
assignTime |
Output only. Timestamp when the license was assigned. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
recentUsageTime |
Output only. Timestamp when the license was recently used. This may not be the most recent usage time, and will be updated regularly (within 24 hours). A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |