Class: Google::Apis::ContaineranalysisV1alpha1::BuildType

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

Overview

Note holding the version of the provider's builder and the signature of the provenance message in linked BuildDetails.

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) ⇒ BuildType

Returns a new instance of BuildType



549
550
551
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 549

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

Instance Attribute Details

#builder_versionString

Version of the builder which produced this Note. Corresponds to the JSON property builderVersion

Returns:

  • (String)


542
543
544
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 542

def builder_version
  @builder_version
end

#signatureGoogle::Apis::ContaineranalysisV1alpha1::BuildSignature

Message encapsulating the signature of the verified build. Corresponds to the JSON property signature



547
548
549
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 547

def signature
  @signature
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



554
555
556
557
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 554

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