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

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GrafeasV1beta1IntotoSignature

Returns a new instance of GrafeasV1beta1IntotoSignature.



1621
1622
1623
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1621

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

Instance Attribute Details

#keyidString

Corresponds to the JSON property keyid

Returns:

  • (String)


1614
1615
1616
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1614

def keyid
  @keyid
end

#sigString

Corresponds to the JSON property sig

Returns:

  • (String)


1619
1620
1621
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1619

def sig
  @sig
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1626
1627
1628
1629
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1626

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