Artifact Registry V1 API - Class Google::Cloud::ArtifactRegistry::V1::MavenArtifact (v0.11.0)

Reference documentation and code samples for the Artifact Registry V1 API class Google::Cloud::ArtifactRegistry::V1::MavenArtifact.

MavenArtifact represents a maven artifact.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#artifact_id

def artifact_id() -> ::String
Returns
  • (::String) — Artifact ID for the artifact.

#artifact_id=

def artifact_id=(value) -> ::String
Parameter
  • value (::String) — Artifact ID for the artifact.
Returns
  • (::String) — Artifact ID for the artifact.

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#group_id

def group_id() -> ::String
Returns
  • (::String) — Group ID for the artifact. Example: com.google.guava

#group_id=

def group_id=(value) -> ::String
Parameter
  • value (::String) — Group ID for the artifact. Example: com.google.guava
Returns
  • (::String) — Group ID for the artifact. Example: com.google.guava

#name

def name() -> ::String
Returns
  • (::String) — 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.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#pom_uri

def pom_uri() -> ::String
Returns
  • (::String) — 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

#pom_uri=

def pom_uri=(value) -> ::String
Parameter
  • value (::String) — 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
Returns
  • (::String) — 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

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#version

def version() -> ::String
Returns
  • (::String) — Version of this artifact.

#version=

def version=(value) -> ::String
Parameter
  • value (::String) — Version of this artifact.
Returns
  • (::String) — Version of this artifact.