Artifact Registry v1 API - Class MavenArtifact (2.5.0)

public sealed class MavenArtifact : IMessage<MavenArtifact>, IEquatable<MavenArtifact>, IDeepCloneable<MavenArtifact>, IBufferMessage, IMessage

Reference documentation and code samples for the Artifact Registry v1 API class MavenArtifact.

MavenArtifact represents a maven artifact.

Inheritance

object > MavenArtifact

Namespace

Google.Cloud.ArtifactRegistry.V1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Constructors

MavenArtifact()

public MavenArtifact()

MavenArtifact(MavenArtifact)

public MavenArtifact(MavenArtifact other)
Parameter
NameDescription
otherMavenArtifact

Properties

ArtifactId

public string ArtifactId { get; set; }

Artifact ID for the artifact.

Property Value
TypeDescription
string

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Time the artifact was created.

Property Value
TypeDescription
Timestamp

GroupId

public string GroupId { get; set; }

Group ID for the artifact. Example: com.google.guava

Property Value
TypeDescription
string

MavenArtifactName

public MavenArtifactName MavenArtifactName { get; set; }

MavenArtifactName-typed view over the Name resource name property.

Property Value
TypeDescription
MavenArtifactName

Name

public string Name { get; set; }

Required. registry_location, project_id, repository_name and maven_artifact forms a unique artifact For example, "projects/test-project/locations/us-west4/repositories/test-repo/mavenArtifacts/ com.google.guava:guava:31.0-jre", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and "com.google.guava:guava:31.0-jre" is the maven artifact.

Property Value
TypeDescription
string

PomUri

public string PomUri { get; set; }

Required. URL to access the pom file of the artifact. Example: us-west4-maven.pkg.dev/test-project/test-repo/com/google/guava/guava/31.0/guava-31.0.pom

Property Value
TypeDescription
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Time the artifact was updated.

Property Value
TypeDescription
Timestamp

Version

public string Version { get; set; }

Version of this artifact.

Property Value
TypeDescription
string