Class: Google::Apis::ArtifactregistryV1::GoogetArtifact

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/artifactregistry_v1/classes.rb,
lib/google/apis/artifactregistry_v1/representations.rb,
lib/google/apis/artifactregistry_v1/representations.rb

Overview

A detailed representation of a GooGet artifact.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogetArtifact

Returns a new instance of GoogetArtifact.



674
675
676
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 674

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#architectureString

Output only. Operating system architecture of the artifact. Corresponds to the JSON property architecture

Returns:

  • (String)


662
663
664
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 662

def architecture
  @architecture
end

#nameString

Output only. The Artifact Registry resource name of the artifact. Corresponds to the JSON property name

Returns:

  • (String)


667
668
669
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 667

def name
  @name
end

#package_nameString

Output only. The GooGet package name of the artifact. Corresponds to the JSON property packageName

Returns:

  • (String)


672
673
674
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 672

def package_name
  @package_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



679
680
681
682
683
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 679

def update!(**args)
  @architecture = args[:architecture] if args.key?(:architecture)
  @name = args[:name] if args.key?(:name)
  @package_name = args[:package_name] if args.key?(:package_name)
end