Class UpdateGenericArtifactByPathRequest
Implements
Inherited Members
Namespace: Oci.ArtifactsService.Requests
Assembly: OCI.DotNetSDK.Artifacts.dll
Syntax
public class UpdateGenericArtifactByPathRequest : IOciRequest
Examples
Click here to see an example of how to use UpdateGenericArtifactByPath request.
Properties
ArtifactPath
Declaration
[Required(ErrorMessage = "ArtifactPath is required.")]
[HttpConverter(TargetEnum.Path, "artifactPath")]
public string ArtifactPath { get; set; }
Property Value
Type | Description |
---|---|
string | A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
|
Remarks
Required
IfMatch
Declaration
[HttpConverter(TargetEnum.Header, "if-match")]
public string IfMatch { get; set; }
Property Value
Type | Description |
---|---|
string | For optimistic concurrency control. In the PUT or DELETE call for a resource, set the |
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
RepositoryId
Declaration
[Required(ErrorMessage = "RepositoryId is required.")]
[HttpConverter(TargetEnum.Path, "repositoryId")]
public string RepositoryId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the repository.
|
Remarks
Required
UpdateGenericArtifactByPathDetails
Declaration
[Required(ErrorMessage = "UpdateGenericArtifactByPathDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public UpdateGenericArtifactByPathDetails UpdateGenericArtifactByPathDetails { get; set; }
Property Value
Type | Description |
---|---|
UpdateGenericArtifactByPathDetails | Updates an artifact with a specified |
Remarks
Required
Version
Declaration
[Required(ErrorMessage = "Version is required.")]
[HttpConverter(TargetEnum.Path, "version")]
public string Version { get; set; }
Property Value
Type | Description |
---|---|
string | A user-defined string to describe the artifact version.
|
Remarks
Required