Class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoSignature
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoSignature
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1beta1/classes.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb
Overview
A signature object consists of the KeyID used and the signature itself.
Instance Attribute Summary collapse
-
#keyid ⇒ String
Corresponds to the JSON property
keyid. -
#sig ⇒ String
Corresponds to the JSON property
sig.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GrafeasV1beta1IntotoSignature
constructor
A new instance of GrafeasV1beta1IntotoSignature.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GrafeasV1beta1IntotoSignature
Returns a new instance of GrafeasV1beta1IntotoSignature.
1587 1588 1589 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 1587 def initialize(**args) update!(**args) end |
Instance Attribute Details
#keyid ⇒ String
Corresponds to the JSON property keyid
1580 1581 1582 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 1580 def keyid @keyid end |
#sig ⇒ String
Corresponds to the JSON property sig
1585 1586 1587 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 1585 def sig @sig end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1592 1593 1594 1595 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 1592 def update!(**args) @keyid = args[:keyid] if args.key?(:keyid) @sig = args[:sig] if args.key?(:sig) end |