Package types (0.2.0)

API documentation for workloadmanager_v1.types package.

Classes

AgentCommand

An AgentCommand specifies a one-time executable program for the agent to run.

BigQueryDestination

BigQuery destination for evaluation results.

Command

Command specifies the type of command to execute.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

CreateEvaluationRequest

Request message for the CreateEvaluation RPC.

DeleteEvaluationRequest

Request message for the DeleteEvaluation RPC.

DeleteExecutionRequest

Request message for the DeleteExecution RPC.

Evaluation

Represents a Workload Manager Evaluation configuration. An Evaluation defines a set of rules to be validated against a scope of Cloud resources.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Execution

Execution that represents a single run of an Evaluation.

ExecutionResult

The result of an execution.

GceInstanceFilter

A filter for matching Compute Engine instances.

GetEvaluationRequest

Request message for the GetEvaluation RPC.

GetExecutionRequest

Request message for the GetExecution RPC.

ListEvaluationsRequest

Request message for the ListEvaluations RPC.

ListEvaluationsResponse

Response message for the ListEvaluations RPC.

ListExecutionResultsRequest

Request message for the ListExecutionResults RPC.

ListExecutionResultsResponse

Response message for the ListExecutionResults RPC.

ListExecutionsRequest

Request message for the ListExecutions RPC.

ListExecutionsResponse

Response message for the ListExecutions RPC.

ListRulesRequest

Request message for the ListRules RPC.

ListRulesResponse

Response message for the ListRules RPC.

ListScannedResourcesRequest

Request message for the ListScannedResources RPC.

ListScannedResourcesResponse

Response message for the ListScannedResources RPC.

OperationMetadata

Represents the metadata of the long-running operation.

Resource

Resource in execution result.

ResourceFilter

Resource filter for an evaluation defining the scope of resources to be evaluated.

ResourceStatus

The lifecycle status of an Evaluation resource.

Rule

A rule to be evaluated.

RuleExecutionResult

Execution result summary per rule.

RuleOutput

The rule output of the violation.

RunEvaluationRequest

Request message for the RunEvaluation RPC.

ScannedResource

A scanned resource.

ShellCommand

A ShellCommand is invoked via the agent's command line executor.

UpdateEvaluationRequest

Request message for the UpdateEvaluation RPC.

ViolationDetails

The violation in an evaluation result.