Agent Platform API . projects . locations . monitoredAgents . analyzedSessions . analyzedInvocations

Instance Methods

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Gets the details of a specific AnalyzedInvocation.

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

Lists AnalyzedInvocations in a MonitoredAgent's AnalyzedSession.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets the details of a specific AnalyzedInvocation.

Args:
  name: string, Required. The name of the AnalyzedInvocation resource. Format: `projects/{project}/locations/{location}/monitoredAgents/{monitored_agent}/analyzedSessions/{analyzed_session}/analyzedInvocations/{analyzed_invocation}` (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # An analyzed invocation for monitored agent's session.
  "assessment": { # Detailed assessment for an analyzed session. # Output only. The assessment of the invocation.
    "detectorFindings": [ # The list of detector findings.
      { # The details of a detector's assessment within an analyzed session.
        "detectorId": "A String", # The detector ID.
        "displayName": "A String", # The detector display name.
        "explanation": "A String", # The explanation of the finding.
        "probability": 3.14, # The probability that this finding is an anomaly, in the range [0.0, 1.0].
        "recommendations": [ # The list of recommendations for this detector finding.
          "A String",
        ],
        "severity": "A String", # The severity of the finding.
      },
    ],
  },
  "invocationId": "A String", # Output only. The invocation ID.
  "invocationState": "A String", # Output only. The state of the invocation.
  "name": "A String", # Identifier. The resource name of the AnalyzedInvocation.
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists AnalyzedInvocations in a MonitoredAgent's AnalyzedSession.

Args:
  parent: string, Required. The parent AnalyzedSession resource. Format: `projects/{project}/locations/{location}/monitoredAgents/{monitored_agent}/analyzedSessions/{analyzed_session}` (required)
  pageSize: integer, Optional. The maximum number of analyzed invocations to return.
  pageToken: string, Optional. A page token, received from a previous `ListAnalyzedInvocations` call.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response to list analyzed invocations.
  "analyzedInvocations": [ # The list of analyzed invocations.
    { # An analyzed invocation for monitored agent's session.
      "assessment": { # Detailed assessment for an analyzed session. # Output only. The assessment of the invocation.
        "detectorFindings": [ # The list of detector findings.
          { # The details of a detector's assessment within an analyzed session.
            "detectorId": "A String", # The detector ID.
            "displayName": "A String", # The detector display name.
            "explanation": "A String", # The explanation of the finding.
            "probability": 3.14, # The probability that this finding is an anomaly, in the range [0.0, 1.0].
            "recommendations": [ # The list of recommendations for this detector finding.
              "A String",
            ],
            "severity": "A String", # The severity of the finding.
          },
        ],
      },
      "invocationId": "A String", # Output only. The invocation ID.
      "invocationState": "A String", # Output only. The state of the invocation.
      "name": "A String", # Identifier. The resource name of the AnalyzedInvocation.
    },
  ],
  "nextPageToken": "A String", # A token to retrieve the next page of results.
}
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.