Class: Google::Apis::VerifiedaccessV1::Challenge
- Inherits:
-
Object
- Object
- Google::Apis::VerifiedaccessV1::Challenge
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/verifiedaccess_v1/classes.rb,
lib/google/apis/verifiedaccess_v1/representations.rb,
lib/google/apis/verifiedaccess_v1/representations.rb
Overview
Result message for VerifiedAccess.CreateChallenge.
Instance Attribute Summary collapse
-
#alternative_challenge ⇒ Google::Apis::VerifiedaccessV1::SignedData
The wrapper message of any data and its signature.
-
#challenge ⇒ Google::Apis::VerifiedaccessV1::SignedData
The wrapper message of any data and its signature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Challenge
constructor
A new instance of Challenge.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Challenge
Returns a new instance of Challenge.
39 40 41 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 39 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alternative_challenge ⇒ Google::Apis::VerifiedaccessV1::SignedData
The wrapper message of any data and its signature.
Corresponds to the JSON property alternativeChallenge
32 33 34 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 32 def alternative_challenge @alternative_challenge end |
#challenge ⇒ Google::Apis::VerifiedaccessV1::SignedData
The wrapper message of any data and its signature.
Corresponds to the JSON property challenge
37 38 39 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 37 def challenge @challenge end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
44 45 46 47 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 44 def update!(**args) @alternative_challenge = args[:alternative_challenge] if args.key?(:alternative_challenge) @challenge = args[:challenge] if args.key?(:challenge) end |