Workload Manager API . projects . locations . evaluations . executions . scannedResources

Instance Methods

close()

Close httplib2 connections.

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

List all scanned resources for a single Execution.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, rule=None, x__xgafv=None)
List all scanned resources for a single Execution.

Args:
  parent: string, Required. parent for ListScannedResourcesRequest (required)
  filter: string, Filtering results
  orderBy: string, Field to sort by. See https://google.aip.dev/132#ordering for more details.
  pageSize: integer, Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
  pageToken: string, A token identifying a page of results the server should return.
  rule: string, rule name
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Message for response to list scanned resources
  "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
  "scannedResources": [ # All scanned resources in response
    { # Message of scanned resource
      "resource": "A String", # resource name
      "type": "A String", # resource type
    },
  ],
}
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.