Class PrewarmArtifactRequest
The request for prewarming an artifact for streaming.
Implements
Inherited Members
Namespace: Google.Apis.ArtifactRegistry.v1.Data
Assembly: Google.Apis.ArtifactRegistry.v1.dll
Syntax
public class PrewarmArtifactRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Force
Optional. If true, old artifact will be evicted to make room for the new artifact.
Declaration
[JsonProperty("force")]
public virtual bool? Force { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
RetentionDays
Optional. The retention days of the prewarmed artifact. If not specified, the artifact will be cached for 3 days.
Declaration
[JsonProperty("retentionDays")]
public virtual long? RetentionDays { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
StreamLocation
Optional. The location to cache the artifact in. If not specified, the artifact will be cached in the same location as the artifact. multi-region is not supported for this field.
Declaration
[JsonProperty("streamLocation")]
public virtual string StreamLocation { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Tag
Optional. The artifact tag Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}
Declaration
[JsonProperty("tag")]
public virtual string Tag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Version
Optional. The artifact version Format: projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}
Declaration
[JsonProperty("version")]
public virtual string Version { get; set; }
Property Value
| Type | Description |
|---|---|
| string |