class Google::Apis::OndemandscanningV1::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/ondemandscanning_v1/classes.rb, line 1111 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/ondemandscanning_v1/classes.rb, line 1116 def update!(**args) @arguments = args[:arguments] if args.key?(:arguments) @directive = args[:directive] if args.key?(:directive) end