Class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1ImageDetails

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/containeranalysis_v1beta1/classes.rb,
generated/google/apis/containeranalysis_v1beta1/representations.rb,
generated/google/apis/containeranalysis_v1beta1/representations.rb

Overview

Details of an image occurrence.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GrafeasV1beta1ImageDetails

Returns a new instance of GrafeasV1beta1ImageDetails.



1464
1465
1466
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1464

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

Instance Attribute Details

#derived_imageGoogle::Apis::ContaineranalysisV1beta1::Derived

Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM . Corresponds to the JSON property derivedImage



1462
1463
1464
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1462

def derived_image
  @derived_image
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1469
1470
1471
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1469

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