Class: Google::Apis::ContaineranalysisV1beta1::Derived
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContaineranalysisV1beta1::Derived
 
 
- 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
Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM .
Instance Attribute Summary collapse
- 
  
    
      #base_resource_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #distance  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #fingerprint  ⇒ Google::Apis::ContaineranalysisV1beta1::Fingerprint 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A set of properties that uniquely identify a given Docker image.
 - 
  
    
      #layer_info  ⇒ Array<Google::Apis::ContaineranalysisV1beta1::Layer> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
This contains layer-specific metadata, if populated it has length "distance" and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Derived 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Derived.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ Derived
Returns a new instance of Derived.
      3003 3004 3005  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3003 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#base_resource_url ⇒ String
Output only. This contains the base image URL for the derived image occurrence.
Corresponds to the JSON property baseResourceUrl
      2983 2984 2985  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 2983 def base_resource_url @base_resource_url end  | 
  
#distance ⇒ Fixnum
Output only. The number of layers by which this image differs from the
associated image basis.
Corresponds to the JSON property distance
      2989 2990 2991  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 2989 def distance @distance end  | 
  
#fingerprint ⇒ Google::Apis::ContaineranalysisV1beta1::Fingerprint
A set of properties that uniquely identify a given Docker image.
Corresponds to the JSON property fingerprint
      2994 2995 2996  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 2994 def fingerprint @fingerprint end  | 
  
#layer_info ⇒ Array<Google::Apis::ContaineranalysisV1beta1::Layer>
This contains layer-specific metadata, if populated it has length "distance"
and is ordered with [distance] being the layer immediately following the base
image and [1] being the final layer.
Corresponds to the JSON property layerInfo
      3001 3002 3003  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3001 def layer_info @layer_info end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3008 3009 3010 3011 3012 3013  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 3008 def update!(**args) @base_resource_url = args[:base_resource_url] if args.key?(:base_resource_url) @distance = args[:distance] if args.key?(:distance) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @layer_info = args[:layer_info] if args.key?(:layer_info) end  |