Skip to main content

artifacts_contents

Creates, updates, deletes, gets or lists a artifacts_contents resource.

Overview

Nameartifacts_contents
TypeResource
Idgoogle.apigeeregistry.artifacts_contents

Fields

NameDatatypeDescription
contentTypestringThe HTTP Content-Type header value specifying the content type of the body.
datastringThe HTTP request/response body as raw binary.
extensionsarrayApplication specific response metadata. Must be set in the first response for streaming APIs.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_apis_artifacts_get_contentsSELECTapisId, artifactsId, locationsId, projectsIdReturns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).
projects_locations_apis_deployments_artifacts_get_contentsSELECTapisId, artifactsId, deploymentsId, locationsId, projectsIdReturns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).
projects_locations_apis_versions_artifacts_get_contentsSELECTapisId, artifactsId, locationsId, projectsId, versionsIdReturns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).
projects_locations_apis_versions_specs_artifacts_get_contentsSELECTapisId, artifactsId, locationsId, projectsId, specsId, versionsIdReturns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).
projects_locations_artifacts_get_contentsSELECTartifactsId, locationsId, projectsIdReturns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).

SELECT examples

Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).

SELECT
contentType,
data,
extensions
FROM google.apigeeregistry.artifacts_contents
WHERE artifactsId = '{{ artifactsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';