class Google::Apis::ContaineranalysisV1::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]

Required. The recovered Dockerfile directive used to construct this layer. See docs.docker.com/engine/reference/builder/ for more information. Corresponds to the JSON property ‘directive` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1/classes.rb, line 3228
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_v1/classes.rb, line 3233
def update!(**args)
  @arguments = args[:arguments] if args.key?(:arguments)
  @directive = args[:directive] if args.key?(:directive)
end