Class: Google::Apis::VerifiedaccessV1::VerifyChallengeResponseRequest
- Inherits:
-
Object
- Object
- Google::Apis::VerifiedaccessV1::VerifyChallengeResponseRequest
- 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
signed ChallengeResponse
Instance Attribute Summary collapse
-
#challenge_response ⇒ Google::Apis::VerifiedaccessV1::SignedData
The wrapper message of any data and its signature.
-
#expected_identity ⇒ String
Service can optionally provide identity information about the device or user associated with the key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VerifyChallengeResponseRequest
constructor
A new instance of VerifyChallengeResponseRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VerifyChallengeResponseRequest
Returns a new instance of VerifyChallengeResponseRequest.
111 112 113 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 111 def initialize(**args) update!(**args) end |
Instance Attribute Details
#challenge_response ⇒ Google::Apis::VerifiedaccessV1::SignedData
The wrapper message of any data and its signature.
Corresponds to the JSON property challengeResponse
100 101 102 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 100 def challenge_response @challenge_response end |
#expected_identity ⇒ String
Service can optionally provide identity information about the device or user
associated with the key. For an EMK, this value is the enrolled domain. For an
EUK, this value is the user's email address. If present, this value will be
checked against contents of the response, and verification will fail if there
is no match.
Corresponds to the JSON property expectedIdentity
109 110 111 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 109 def expected_identity @expected_identity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
116 117 118 119 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 116 def update!(**args) @challenge_response = args[:challenge_response] if args.key?(:challenge_response) @expected_identity = args[:expected_identity] if args.key?(:expected_identity) end |