ProjectsLocationsObservationSources
class ProjectsLocationsObservationSources extends Resource (View source)
The "observationSources" collection of methods.
Typical usage is:
$apimService = new Google\Service\APIManagement(...);
$observationSources = $apimService->projects_locations_observationSources;
Methods
CreateObservationSource creates a new ObservationSource but does not affect any deployed infrastructure. It is a configuration that can be used in an Observation Job to collect data about APIs running in user's dataplane.
DeleteObservationSource deletes an observation source. This method will fail if the observation source is currently being used by any ObservationJob, even if not enabled. (observationSources.delete)
GetObservationSource retrieves a single ObservationSource by name.
ListObservationSources gets all ObservationSources for a given project and location. (observationSources.listProjectsLocationsObservationSources)
Details
Operation
create(string $parent, ObservationSource $postBody, array $optParams = [])
CreateObservationSource creates a new ObservationSource but does not affect any deployed infrastructure. It is a configuration that can be used in an Observation Job to collect data about APIs running in user's dataplane.
(observationSources.create)
Operation
delete(string $name, array $optParams = [])
DeleteObservationSource deletes an observation source. This method will fail if the observation source is currently being used by any ObservationJob, even if not enabled. (observationSources.delete)
ObservationSource
get(string $name, array $optParams = [])
GetObservationSource retrieves a single ObservationSource by name.
(observationSources.get)
ListObservationSourcesResponse
listProjectsLocationsObservationSources(string $parent, array $optParams = [])
ListObservationSources gets all ObservationSources for a given project and location. (observationSources.listProjectsLocationsObservationSources)