Skip to main content

agent_state_report

Creates, updates, deletes, gets or lists an agent_state_report resource.

Overview

Nameagent_state_report
TypeResource
Idgoogle.batch.agent_state_report

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
reportexecprojectsId, locationsIdReport agent's state, e.g. agent status and tasks information

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
projectsIdstring

Lifecycle Methods

Report agent's state, e.g. agent status and tasks information

EXEC google.batch.agent_state_report.report 
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required
@@json=
'{
"metadata": "{{ metadata }}",
"agentInfo": "{{ agentInfo }}",
"agentTimingInfo": "{{ agentTimingInfo }}"
}';