Class: Google::Apis::ArtifactregistryV1::GenericArtifact
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ArtifactregistryV1::GenericArtifact
 
 
- 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
GenericArtifact represents a generic artifact
Instance Attribute Summary collapse
- 
  
    
      #create_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Resource name of the generic artifact.
 - 
  
    
      #update_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #version  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The version of the generic artifact.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GenericArtifact 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GenericArtifact.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GenericArtifact
Returns a new instance of GenericArtifact.
      702 703 704  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 702 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#create_time ⇒ String
Output only. The time when the Generic module is created.
Corresponds to the JSON property createTime
      682 683 684  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 682 def create_time @create_time end  | 
  
#name ⇒ String
Resource name of the generic artifact. project, location, repository,
package_id and version_id create a unique generic artifact. i.e. "projects/
test-project/locations/us-west4/repositories/test-repo/ genericArtifacts/
package_id:version_id"
Corresponds to the JSON property name
      690 691 692  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 690 def name @name end  | 
  
#update_time ⇒ String
Output only. The time when the Generic module is updated.
Corresponds to the JSON property updateTime
      695 696 697  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 695 def update_time @update_time end  | 
  
#version ⇒ String
The version of the generic artifact.
Corresponds to the JSON property version
      700 701 702  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 700 def version @version end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      707 708 709 710 711 712  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 707 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) @version = args[:version] if args.key?(:version) end  |