Class: Google::Apis::VerifiedaccessV1::VerifyChallengeResponseRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/verifiedaccess_v1/classes.rb,
generated/google/apis/verifiedaccess_v1/representations.rb,
generated/google/apis/verifiedaccess_v1/representations.rb

Overview

signed ChallengeResponse

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ VerifyChallengeResponseRequest

Returns a new instance of VerifyChallengeResponseRequest.



115
116
117
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 115

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

Instance Attribute Details

#challenge_responseGoogle::Apis::VerifiedaccessV1::SignedData

The wrapper message of any data and its signature. Corresponds to the JSON property challengeResponse



103
104
105
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 103

def challenge_response
  @challenge_response
end

#expected_identityString

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

Returns:

  • (String)


113
114
115
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 113

def expected_identity
  @expected_identity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



120
121
122
123
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 120

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