APIm
import { APIm } from "https://googleapis.deno.dev/v1/apim:v1alpha.ts";
Enables users to discover shadow APIs in existing Google Cloud infrastructure.
§Methods
Lists information about the supported locations for this service.
The resource that owns the locations collection, if applicable.
ListApiObservationTags lists all extant tags on any observation in the given project.
Required. The parent, which owns this collection of tags. Format: projects/{project}/locations/{location}
GetApiOperation retrieves a single ApiOperation by name.
Required. The name of the ApiOperation to retrieve. Format: projects/{project}/locations/{location}/observationJobs/{observation_job}/apiObservations/{api_observation}/apiOperation/{api_operation}
ListApiOperations gets all ApiOperations for a given project and location and ObservationJob and ApiObservation.
Required. The parent, which owns this collection of ApiOperations. Format: projects/{project}/locations/{location}/observationJobs/{observation_job}/apiObservations/{api_observation}
BatchEditTagsApiObservations adds or removes Tags for ApiObservations.
Required. The parent resource shared by all ApiObservations being edited. Format: projects/{project}/locations/{location}/observationJobs/{observation_job}
GetApiObservation retrieves a single ApiObservation by name.
Required. The name of the ApiObservation to retrieve. Format: projects/{project}/locations/{location}/observationJobs/{observation_job}/apiObservations/{api_observation}
ListApiObservations gets all ApiObservations for a given project and location and ObservationJob.
Required. The parent, which owns this collection of ApiObservations. Format: projects/{project}/locations/{location}/observationJobs/{observation_job}
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.
Required. The parent resource where this ObservationJob will be created. Format: projects/{project}/locations/{location}
DeleteObservationJob deletes an ObservationJob. This method will fail if the observation job is currently being used by any ObservationSource, even if not enabled.
Required. Name of the resource Format: projects/{project}/locations/{location}/observationJobs/{observation_job}
Disables the given ObservationJob.
Required. The name of the ObservationJob to disable. Format: projects/{project}/locations/{location}/observationJobs/{job}
Enables the given ObservationJob.
Required. The name of the ObservationJob to enable. Format: projects/{project}/locations/{location}/observationJobs/{job}
GetObservationJob retrieves a single ObservationJob by name.
Required. The name of the ObservationJob to retrieve. Format: projects/{project}/locations/{location}/observationJobs/{job}
ListObservationJobs gets all ObservationJobs for a given project and location.
Required. The parent, which owns this collection of ObservationJobs. Format: projects/{project}/locations/{location}
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.
Required. Value for parent.
DeleteObservationSource deletes an observation source. This method will fail if the observation source is currently being used by any ObservationJob, even if not enabled.
Required. Name of the resource Format: projects/{project}/locations/{location}/observationSources/{source}
GetObservationSource retrieves a single ObservationSource by name.
Required. The name of the ObservationSource to retrieve. Format: projects/{project}/locations/{location}/observationSources/{source}
ListObservationSources gets all ObservationSources for a given project and location.
Required. The parent, which owns this collection of ObservationSources. Format: projects/{project}/locations/{location}
Starts asynchronous cancellation on a long-running operation. The server
makes a best effort to cancel the operation, but success is not guaranteed.
If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
. Clients can use Operations.GetOperation or
other methods to check whether the cancellation succeeded or whether the
operation completed despite cancellation. On successful cancellation, the
operation is not deleted; instead, it becomes an operation with an
Operation.error value with a google.rpc.Status.code of 1, corresponding to
Code.CANCELLED
.
The name of the operation resource to be cancelled.
Deletes a long-running operation. This method indicates that the client is
no longer interested in the operation result. It does not cancel the
operation. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
.
The name of the operation resource to be deleted.
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
The name of the operation's parent resource.