Resource: MavenArtifact
MavenArtifact represents a maven artifact.
JSON representation |
---|
{ "name": string, "pomUri": string, "groupId": string, "artifactId": string, "version": string, "createTime": string, "updateTime": string } |
Fields | |
---|---|
name |
Required. registry_location, projectId, 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 projectId, "test-repo" is the repository_name and "com.google.guava:guava:31.0-jre" is the maven artifact. |
pomUri |
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 |
groupId |
Group ID for the artifact. Example: com.google.guava |
artifactId |
Artifact ID for the artifact. |
version |
Version of this artifact. |
createTime |
Output only. Time the artifact was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. Time the artifact was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Methods |
|
---|---|
|
Gets a maven artifact. |
|
Lists maven artifacts. |