class ProjectsLocationsObservationJobsApiObservations extends Resource (View source)

The "apiObservations" collection of methods.

Typical usage is:

 $apimService = new Google\Service\APIManagement(...);
 $apiObservations = $apimService->projects_locations_observationJobs_apiObservations;

Methods

batchEditTags(string $parent, BatchEditTagsApiObservationsRequest $postBody, array $optParams = [])

BatchEditTagsApiObservations adds or removes Tags for ApiObservations.

get(string $name, array $optParams = [])

GetApiObservation retrieves a single ApiObservation by name.

listProjectsLocationsObservationJobsApiObservations(string $parent, array $optParams = [])

ListApiObservations gets all ApiObservations for a given project and location and ObservationJob.

Details

BatchEditTagsApiObservationsResponse batchEditTags(string $parent, BatchEditTagsApiObservationsRequest $postBody, array $optParams = [])

BatchEditTagsApiObservations adds or removes Tags for ApiObservations.

(apiObservations.batchEditTags)

Parameters

string $parent

Required. The parent resource shared by all ApiObservations being edited. Format: projects/{project}/locations/{location}/observationJobs/{observation_job}

BatchEditTagsApiObservationsRequest $postBody
array $optParams

Optional parameters.

Return Value

BatchEditTagsApiObservationsResponse

Exceptions

Exception

ApiObservation get(string $name, array $optParams = [])

GetApiObservation retrieves a single ApiObservation by name.

(apiObservations.get)

Parameters

string $name

Required. The name of the ApiObservation to retrieve. Format: projects/{project}/locations/{location}/observationJobs/{observation_ job}/apiObservations/{api_observation}

array $optParams

Optional parameters.

Return Value

ApiObservation

Exceptions

Exception

ListApiObservationsResponse listProjectsLocationsObservationJobsApiObservations(string $parent, array $optParams = [])

ListApiObservations gets all ApiObservations for a given project and location and ObservationJob.

(apiObservations.listProjectsLocationsObservationJobsApiObservations)

Parameters

string $parent

Required. The parent, which owns this collection of ApiObservations. Format: projects/{project}/locations/{location}/observationJobs/{observation_job}

array $optParams

Optional parameters.

Return Value

ListApiObservationsResponse

Exceptions

Exception