Class ProjectsResource.LocationsResource.RepositoriesResource.PrewarmArtifactRequest
Prewarms an artifact for streaming.
Inheritance
ProjectsResource.LocationsResource.RepositoriesResource.PrewarmArtifactRequest
Inherited Members
Namespace: Google.Apis.ArtifactRegistry.v1
Assembly: Google.Apis.ArtifactRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource.PrewarmArtifactRequest : ArtifactRegistryBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
PrewarmArtifactRequest(IClientService, PrewarmArtifactRequest, string)
Constructs a new PrewarmArtifact request.
Declaration
public PrewarmArtifactRequest(IClientService service, PrewarmArtifactRequest body, string repository)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| PrewarmArtifactRequest | body | |
| string | repository |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Repository
Required. The repository name, for example:
projects/p1/locations/us-central1/repositories/repo1. If the package or version ID parts
contain slashes, the slashes are escaped.
Declaration
[RequestParameter("repository", RequestParameterType.Path)]
public virtual string Repository { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes PrewarmArtifact parameter list.
Declaration
protected override void InitParameters()