Class: Google::Apis::ArtifactregistryV1::GoogetArtifact
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ArtifactregistryV1::GoogetArtifact
 
 
- 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
- 
  
    
      #architecture  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #package_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogetArtifact 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GoogetArtifact.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GoogetArtifact
Returns a new instance of GoogetArtifact.
      772 773 774  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 772 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#architecture ⇒ String
Output only. Operating system architecture of the artifact.
Corresponds to the JSON property architecture
      760 761 762  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 760 def architecture @architecture end  | 
  
#name ⇒ String
Output only. The Artifact Registry resource name of the artifact.
Corresponds to the JSON property name
      765 766 767  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 765 def name @name end  | 
  
#package_name ⇒ String
Output only. The GooGet package name of the artifact.
Corresponds to the JSON property packageName
      770 771 772  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 770 def package_name @package_name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      777 778 779 780 781  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 777 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  |