class ProjectsLocationsState extends Resource (View source)

The "state" collection of methods.

Typical usage is:

 $batchService = new Google\Service\Batch(...);
 $state = $batchService->projects_locations_state;

Methods

report(string $parent, ReportAgentStateRequest $postBody, array $optParams = [])

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

Details

ReportAgentStateResponse report(string $parent, ReportAgentStateRequest $postBody, array $optParams = [])

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

Parameters

string $parent

Required. Format: projects/{project}/locations/{location} {project} should be a project number.

ReportAgentStateRequest $postBody
array $optParams

Optional parameters.

Return Value

ReportAgentStateResponse

Exceptions

Exception