Class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoSignature

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

A signature object consists of the KeyID used and the signature itself.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GrafeasV1beta1IntotoSignature

Returns a new instance of GrafeasV1beta1IntotoSignature.



1581
1582
1583
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1581

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

Instance Attribute Details

#keyidString

Corresponds to the JSON property keyid

Returns:

  • (String)


1574
1575
1576
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1574

def keyid
  @keyid
end

#sigString

Corresponds to the JSON property sig

Returns:

  • (String)


1579
1580
1581
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1579

def sig
  @sig
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1586
1587
1588
1589
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1586

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