artifacts_contents
Creates, updates, deletes, gets or lists an artifacts_contents
resource.
Overview
Name | artifacts_contents |
Type | Resource |
Id | google.apigeeregistry.artifacts_contents |
Fields
The following fields are returned by SELECT
queries:
- projects_locations_apis_versions_specs_artifacts_get_contents
- projects_locations_apis_versions_artifacts_get_contents
- projects_locations_apis_deployments_artifacts_get_contents
- projects_locations_apis_artifacts_get_contents
- projects_locations_artifacts_get_contents
Successful response
Name | Datatype | Description |
---|---|---|
contentType | string | The HTTP Content-Type header value specifying the content type of the body. |
data | string (byte) | The HTTP request/response body as raw binary. |
extensions | array | Application specific response metadata. Must be set in the first response for streaming APIs. |
Successful response
Name | Datatype | Description |
---|---|---|
contentType | string | The HTTP Content-Type header value specifying the content type of the body. |
data | string (byte) | The HTTP request/response body as raw binary. |
extensions | array | Application specific response metadata. Must be set in the first response for streaming APIs. |
Successful response
Name | Datatype | Description |
---|---|---|
contentType | string | The HTTP Content-Type header value specifying the content type of the body. |
data | string (byte) | The HTTP request/response body as raw binary. |
extensions | array | Application specific response metadata. Must be set in the first response for streaming APIs. |
Successful response
Name | Datatype | Description |
---|---|---|
contentType | string | The HTTP Content-Type header value specifying the content type of the body. |
data | string (byte) | The HTTP request/response body as raw binary. |
extensions | array | Application specific response metadata. Must be set in the first response for streaming APIs. |
Successful response
Name | Datatype | Description |
---|---|---|
contentType | string | The HTTP Content-Type header value specifying the content type of the body. |
data | string (byte) | The HTTP request/response body as raw binary. |
extensions | array | Application specific response metadata. Must be set in the first response for streaming APIs. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
projects_locations_apis_versions_specs_artifacts_get_contents | select | projectsId , locationsId , apisId , versionsId , specsId , artifactsId | 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). | |
projects_locations_apis_versions_artifacts_get_contents | select | projectsId , locationsId , apisId , versionsId , artifactsId | 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). | |
projects_locations_apis_deployments_artifacts_get_contents | select | projectsId , locationsId , apisId , deploymentsId , artifactsId | 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). | |
projects_locations_apis_artifacts_get_contents | select | projectsId , locationsId , apisId , artifactsId | 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). | |
projects_locations_artifacts_get_contents | select | projectsId , locationsId , artifactsId | 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). |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
apisId | string | |
artifactsId | string | |
deploymentsId | string | |
locationsId | string | |
projectsId | string | |
specsId | string | |
versionsId | string |
SELECT
examples
- projects_locations_apis_versions_specs_artifacts_get_contents
- projects_locations_apis_versions_artifacts_get_contents
- projects_locations_apis_deployments_artifacts_get_contents
- projects_locations_apis_artifacts_get_contents
- projects_locations_artifacts_get_contents
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 projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND apisId = '{{ apisId }}' -- required
AND versionsId = '{{ versionsId }}' -- required
AND specsId = '{{ specsId }}' -- required
AND artifactsId = '{{ artifactsId }}' -- required;
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 projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND apisId = '{{ apisId }}' -- required
AND versionsId = '{{ versionsId }}' -- required
AND artifactsId = '{{ artifactsId }}' -- required;
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 projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND apisId = '{{ apisId }}' -- required
AND deploymentsId = '{{ deploymentsId }}' -- required
AND artifactsId = '{{ artifactsId }}' -- required;
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 projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND apisId = '{{ apisId }}' -- required
AND artifactsId = '{{ artifactsId }}' -- required;
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 projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND artifactsId = '{{ artifactsId }}' -- required;