- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
List the OS policy assignment revisions for a given OS policy assignment.
HTTP request
GET https://osconfig.googleapis.com/v1/{name=projects/*/locations/*/osPolicyAssignments/*}:listRevisions
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the OS policy assignment to list revisions for. |
Query parameters
Parameters | |
---|---|
pageSize |
The maximum number of revisions to return. |
pageToken |
A pagination token returned from a previous call to |
Request body
The request body must be empty.
Response body
A response message for listing all revisions for a OS policy assignment.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"osPolicyAssignments": [
{
object ( |
Fields | |
---|---|
osPolicyAssignments[] |
The OS policy assignment revisions |
nextPageToken |
The pagination token to retrieve the next page of OS policy assignment revisions. |
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 name
resource:
osconfig.osPolicyAssignments.get
For more information, see the IAM documentation.