Cloud Controls Partner API . organizations . locations . customers . workloads . accessApprovalRequests

Instance Methods

close()

Close httplib2 connections.

list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)

Deprecated: Only returns access approval requests directly associated with an assured workload folder.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
Deprecated: Only returns access approval requests directly associated with an assured workload folder.

Args:
  parent: string, Required. Parent resource Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}` (required)
  filter: string, Optional. Filtering results.
  orderBy: string, Optional. Hint for how to order the results.
  pageSize: integer, Optional. The maximum number of access requests to return. The service may return fewer than this value. If unspecified, at most 500 access requests will be returned.
  pageToken: string, Optional. A page token, received from a previous `ListAccessApprovalRequests` call. Provide this to retrieve the subsequent page.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for list access requests.
  "accessApprovalRequests": [ # List of access approval requests
    { # Details about the Access request.
      "name": "A String", # Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`
      "requestTime": "A String", # The time at which approval was requested.
      "requestedExpirationTime": "A String", # The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.
      "requestedReason": { # Reason for the access. # The justification for which approval is being requested.
        "detail": "A String", # More detail about certain reason types. See comments for each type above.
        "type": "A String", # Type of access justification.
      },
    },
  ],
  "nextPageToken": "A String", # A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
  "unreachable": [ # Locations that could not be reached.
    "A String",
  ],
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.