Artifact class
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.
Constructors
Properties
-
annotations
↔ Map<
String, String> ? -
Annotations attach non-identifying metadata to resources.
getter/setter pair
- contents ↔ String?
-
Input only.
getter/setter pair
-
contentsAsBytes
↔ List<
int> -
getter/setter pair
- createTime ↔ String?
-
Creation timestamp.
getter/setter pair
- hash ↔ String?
-
A SHA-256 hash of the artifact's contents.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
↔ Map<
String, String> ? -
Labels attach identifying metadata to resources.
getter/setter pair
- mimeType ↔ String?
-
A content type specifier for the artifact.
getter/setter pair
- name ↔ String?
-
Resource name.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sizeBytes ↔ int?
-
The size of the artifact in bytes.
getter/setter pair
- updateTime ↔ String?
-
Last update timestamp.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited