Gets an API by resource name.
projects/{p}/locations/{l}/apis/{a}.
Gets an API version by resource name.
projects/{p}/locations/{l}/apis/{a}/versions/{v}.
Returns the content of the first spec that path resolves to.
path may be a resource name such as
projects/my-project/locations/us-central1/apis/my-api, or a console URL
such as
https://console.cloud.google.com/apigee/api-hub/locations/us-central1/apis/my-api?project=my-project.
The API, API version or API spec to read.
The decoded spec content, or '' when the spec is empty.
Lists the APIs registered in a project and location.
The Google Cloud project ID.
The API Hub location, for example us-central1.
The APIs, or an empty array when there are none.
Client for the API Hub REST API.
Each request sends a bearer token. The token is
accessTokenwhen it is set; otherwise the client mints one fromserviceAccountJson, or from application default credentials when that is not set either. Minted tokens are cached and refreshed bygoogle-auth-library.