Class: Google::Apis::OndemandscanningV1beta1::Envelope
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1beta1::Envelope
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ondemandscanning_v1beta1/classes.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb
Overview
MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope. proto. An authenticated message of arbitrary type.
Instance Attribute Summary collapse
-
#payload ⇒ String
Corresponds to the JSON property
payload
NOTE: Values are automatically base64 encoded/decoded in the client library. -
#payload_type ⇒ String
Corresponds to the JSON property
payloadType
. -
#signatures ⇒ Array<Google::Apis::OndemandscanningV1beta1::EnvelopeSignature>
Corresponds to the JSON property
signatures
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Envelope
constructor
A new instance of Envelope.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Envelope
Returns a new instance of Envelope.
1000 1001 1002 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1000 def initialize(**args) update!(**args) end |
Instance Attribute Details
#payload ⇒ String
Corresponds to the JSON property payload
NOTE: Values are automatically base64 encoded/decoded in the client library.
988 989 990 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 988 def payload @payload end |
#payload_type ⇒ String
Corresponds to the JSON property payloadType
993 994 995 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 993 def payload_type @payload_type end |
#signatures ⇒ Array<Google::Apis::OndemandscanningV1beta1::EnvelopeSignature>
Corresponds to the JSON property signatures
998 999 1000 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 998 def signatures @signatures end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1005 1006 1007 1008 1009 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1005 def update!(**args) @payload = args[:payload] if args.key?(:payload) @payload_type = args[:payload_type] if args.key?(:payload_type) @signatures = args[:signatures] if args.key?(:signatures) end |