Class: Google::Apis::ContaineranalysisV1beta1::Product
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContaineranalysisV1beta1::Product
 
 
- Includes:
 - Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/containeranalysis_v1beta1/classes.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb 
Overview
Product contains information about a product and how to uniquely identify it.
Instance Attribute Summary collapse
- 
  
    
      #generic_uri  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Contains a URI which is vendor-specific.
 - 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Token that identifies a product so that it can be referred to from other parts in the document.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Name of the product.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Product 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Product.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ Product
Returns a new instance of Product.
      5685 5686 5687  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5685 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#generic_uri ⇒ String
Contains a URI which is vendor-specific. Example: The artifact repository URL
of an image.
Corresponds to the JSON property genericUri
      5671 5672 5673  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5671 def generic_uri @generic_uri end  | 
  
#id ⇒ String
Token that identifies a product so that it can be referred to from other parts
in the document. There is no predefined format as long as it uniquely
identifies a group in the context of the current document.
Corresponds to the JSON property id
      5678 5679 5680  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5678 def id @id end  | 
  
#name ⇒ String
Name of the product.
Corresponds to the JSON property name
      5683 5684 5685  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5683 def name @name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      5690 5691 5692 5693 5694  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5690 def update!(**args) @generic_uri = args[:generic_uri] if args.key?(:generic_uri) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) end  |