Artifacts of resources. Artifacts are unique (single-value) per
resource and are used to store metadata that is too large or
numerous to be stored directly on the resource. Since artifacts are
stored separately from parent resources, they should generally be
used for metadata that is needed infrequently, i.e., not for display
in primary views of the resource but perhaps displayed or downloaded
upon request. The ListArtifacts method allows artifacts to be
quickly enumerated and checked for presence without downloading
their (potentially-large) contents.
google.protobuf.timestamp_pb2.Timestamp
Output only. Last update timestamp.
mime_type
str
A content type specifier for the artifact. Content type
specifiers are Media Types
(https://en.wikipedia.org/wiki/Media_type) with a possible
"schema" parameter that specifies a schema for the stored
information. Content types can specify compression.
Currently only GZip compression is supported (indicated with
"+gzip").
size_bytes
int
Output only. The size of the artifact in
bytes. If the artifact is gzipped, this is the
size of the uncompressed artifact.
hash_
str
Output only. A SHA-256 hash of the artifact's
contents. If the artifact is gzipped, this is
the hash of the uncompressed artifact.
contents
bytes
Input only. The contents of the artifact.
Provided by API callers when artifacts are
created or replaced. To access the contents of
an artifact, use GetArtifactContents.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class Artifact (0.6.18)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.18 (latest)](/python/docs/reference/apigeeregistry/latest/google.cloud.apigee_registry_v1.types.Artifact)\n- [0.6.17](/python/docs/reference/apigeeregistry/0.6.17/google.cloud.apigee_registry_v1.types.Artifact)\n- [0.5.1](/python/docs/reference/apigeeregistry/0.5.1/google.cloud.apigee_registry_v1.types.Artifact)\n- [0.4.0](/python/docs/reference/apigeeregistry/0.4.0/google.cloud.apigee_registry_v1.types.Artifact)\n- [0.3.2](/python/docs/reference/apigeeregistry/0.3.2/google.cloud.apigee_registry_v1.types.Artifact)\n- [0.2.1](/python/docs/reference/apigeeregistry/0.2.1/google.cloud.apigee_registry_v1.types.Artifact)\n- [0.1.2](/python/docs/reference/apigeeregistry/0.1.2/google.cloud.apigee_registry_v1.types.Artifact) \n\n Artifact(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nArtifacts of resources. Artifacts are unique (single-value) per\nresource and are used to store metadata that is too large or\nnumerous to be stored directly on the resource. Since artifacts are\nstored separately from parent resources, they should generally be\nused for metadata that is needed infrequently, i.e., not for display\nin primary views of the resource but perhaps displayed or downloaded\nupon request. The `ListArtifacts` method allows artifacts to be\nquickly enumerated and checked for presence without downloading\ntheir (potentially-large) contents."]]