ProjectsLocationsObservationJobs
class ProjectsLocationsObservationJobs extends Resource (View source)
The "observationJobs" collection of methods.
Typical usage is:
$apimService = new Google\Service\APIManagement(...);
$observationJobs = $apimService->projects_locations_observationJobs;
Methods
CreateObservationJob creates a new ObservationJob but does not have any effecton its own. It is a configuration that can be used in an Observation Job to collect data about existing APIs. (observationJobs.create)
DeleteObservationJob deletes an ObservationJob. This method will fail if the observation job is currently being used by any ObservationSource, even if not enabled. (observationJobs.delete)
Disables the given ObservationJob. (observationJobs.disable)
Enables the given ObservationJob. (observationJobs.enable)
GetObservationJob retrieves a single ObservationJob by name.
ListObservationJobs gets all ObservationJobs for a given project and location. (observationJobs.listProjectsLocationsObservationJobs)
Details
Operation
create(string $parent, ObservationJob $postBody, array $optParams = [])
CreateObservationJob creates a new ObservationJob but does not have any effecton its own. It is a configuration that can be used in an Observation Job to collect data about existing APIs. (observationJobs.create)
Operation
delete(string $name, array $optParams = [])
DeleteObservationJob deletes an ObservationJob. This method will fail if the observation job is currently being used by any ObservationSource, even if not enabled. (observationJobs.delete)
Operation
disable(string $name, DisableObservationJobRequest $postBody, array $optParams = [])
Disables the given ObservationJob. (observationJobs.disable)
Operation
enable(string $name, EnableObservationJobRequest $postBody, array $optParams = [])
Enables the given ObservationJob. (observationJobs.enable)
ObservationJob
get(string $name, array $optParams = [])
GetObservationJob retrieves a single ObservationJob by name.
(observationJobs.get)
ListObservationJobsResponse
listProjectsLocationsObservationJobs(string $parent, array $optParams = [])
ListObservationJobs gets all ObservationJobs for a given project and location. (observationJobs.listProjectsLocationsObservationJobs)