Class Resource
Resource is an entity that can have metadata. E.g., a Docker image.
Implements
Inherited Members
Namespace: Google.Apis.ContainerAnalysis.v1alpha1.Data
Assembly: Google.Apis.ContainerAnalysis.v1alpha1.dll
Syntax
public class Resource : IDirectResponseSchema
Properties
ContentHash
The hash of the resource content. E.g., the Docker digest.
Declaration
[JsonProperty("contentHash")]
public virtual Hash ContentHash { get; set; }
Property Value
Type | Description |
---|---|
Hash |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The name of the resource. E.g., the name of a Docker image - "Debian".
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Uri
The unique URI of the resource. E.g., "https://gcr.io/project/image@sha256:foo" for a Docker image.
Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
Type | Description |
---|---|
string |