Class: Google::Apis::ContaineranalysisV1beta1::Build

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/containeranalysis_v1beta1/classes.rb,
generated/google/apis/containeranalysis_v1beta1/representations.rb,
generated/google/apis/containeranalysis_v1beta1/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) ⇒ Build

Returns a new instance of Build.



383
384
385
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 383

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)


376
377
378
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 376

def builder_version
  @builder_version
end

#signatureGoogle::Apis::ContaineranalysisV1beta1::BuildSignature

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



381
382
383
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 381

def signature
  @signature
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



388
389
390
391
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 388

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