Show / Hide Table of Contents

Class MavenArtifact

A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.

Inheritance
object
MavenArtifact
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudBuild.v1.Data
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class MavenArtifact : IDirectResponseSchema

Properties

ArtifactId

Maven artifactId value used when uploading the artifact to Artifact Registry.

Declaration
[JsonProperty("artifactId")]
public virtual string ArtifactId { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

GroupId

Maven groupId value used when uploading the artifact to Artifact Registry.

Declaration
[JsonProperty("groupId")]
public virtual string GroupId { get; set; }
Property Value
Type Description
string

Path

Optional. Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.

Declaration
[JsonProperty("path")]
public virtual string Path { get; set; }
Property Value
Type Description
string

Repository

Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.

Declaration
[JsonProperty("repository")]
public virtual string Repository { get; set; }
Property Value
Type Description
string

Version

Maven version value used when uploading the artifact to Artifact Registry.

Declaration
[JsonProperty("version")]
public virtual string Version { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX