Class ProjectsResource.LocationsResource.RepositoriesResource.ExportArtifactRequest
Exports an artifact to a Cloud Storage bucket.
Inheritance
ProjectsResource.LocationsResource.RepositoriesResource.ExportArtifactRequest
Inherited Members
Namespace: Google.Apis.ArtifactRegistry.v1
Assembly: Google.Apis.ArtifactRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource.ExportArtifactRequest : ArtifactRegistryBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
ExportArtifactRequest(IClientService, ExportArtifactRequest, string)
Constructs a new ExportArtifact request.
Declaration
public ExportArtifactRequest(IClientService service, ExportArtifactRequest body, string repository)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| ExportArtifactRequest | 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 of the artifact to export. Format: projects/{project}/locations/{location}/repositories/{repository}
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 ExportArtifact parameter list.
Declaration
protected override void InitParameters()