Class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoDetails

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

This corresponds to a signed in-toto link - it is made up of one or more signatures and the in-toto link itself. This is used for occurrences of a Grafeas in-toto note.

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

Returns a new instance of GrafeasV1beta1IntotoDetails.



1596
1597
1598
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1596

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

Instance Attribute Details

#signaturesArray<Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoSignature>

Corresponds to the JSON property signatures



1589
1590
1591
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1589

def signatures
  @signatures
end

#signedGoogle::Apis::ContaineranalysisV1beta1::Link

This corresponds to an in-toto link. Corresponds to the JSON property signed



1594
1595
1596
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1594

def signed
  @signed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1601
1602
1603
1604
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1601

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