Class: Google::Apis::ContaineranalysisV1::BuildNote

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

Overview

Note holding the version of the provider's builder and the signature of the provenance message in the build details occurrence.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BuildNote

Returns a new instance of BuildNote.



516
517
518
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 516

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

Instance Attribute Details

#builder_versionString

Required. Immutable. Version of the builder which produced this build. Corresponds to the JSON property builderVersion

Returns:

  • (String)


514
515
516
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 514

def builder_version
  @builder_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



521
522
523
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 521

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