Close httplib2 connections.
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists the result of a single evaluation.
Retrieves the next page of results.
close()
Close httplib2 connections.
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists the result of a single evaluation. Args: parent: string, Required. The execution results. Format: {parent}/evaluations/*/executions/*/results (required) filter: string, Filtering results 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. 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 of list execution results "executionResults": [ # The versions from the specified publisher. { # Message describing the result of an execution "commands": [ # The commands to remediate the violation. { # * Command specifies the type of command to execute. "agentCommand": { # * An AgentCommand specifies a one-time executable program for the agent to run. # AgentCommand specifies a one-time executable program for the agent to run. "command": "A String", # command is the name of the agent one-time executable that will be invoked. "parameters": { # parameters is a map of key/value pairs that can be used to specify additional one-time executable settings. "a_key": "A String", }, }, "shellCommand": { # * A ShellCommand is invoked via the agent's command line executor # ShellCommand is invoked via the agent's command line executor. "args": "A String", # args is a string of arguments to be passed to the command. "command": "A String", # command is the name of the command to be executed. "timeoutSeconds": 42, # Optional. If not specified, the default timeout is 60 seconds. }, }, ], "documentationUrl": "A String", # The URL for the documentation of the rule. "resource": { # Message represent resource in execution result # The resource that violates the rule. "name": "A String", # The name of the resource. "serviceAccount": "A String", # The service account associated with the resource. "type": "A String", # The type of resource. }, "rule": "A String", # The rule that is violated in an evaluation. "severity": "A String", # The severity of violation. "type": "A String", # Execution result type of the scanned resource "violationDetails": { # Message describing the violation in an evaluation result. # The details of violation in an evaluation result. "asset": "A String", # The name of the asset. "observed": { # Details of the violation. "a_key": "A String", }, "serviceAccount": "A String", # The service account associated with the resource. }, "violationMessage": "A String", # The violation message of an execution. }, ], "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. }
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.