class Google::Apis::ContaineranalysisV1alpha1::Layer

Layer holds metadata specific to a layer of a Docker image.

Attributes

arguments[RW]

The recovered arguments to the Dockerfile directive. Corresponds to the JSON property `arguments` @return [String]

directive[RW]

The recovered Dockerfile directive used to construct this layer. Corresponds to the JSON property `directive` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 2041
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 2046
def update!(**args)
  @arguments = args[:arguments] if args.key?(:arguments)
  @directive = args[:directive] if args.key?(:directive)
end