Class: Google::Apis::VerifiedaccessV1::VerifyChallengeResponseResult
- Inherits:
-
Object
- Object
- Google::Apis::VerifiedaccessV1::VerifyChallengeResponseResult
- 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.VerifyChallengeResponse.
Instance Attribute Summary collapse
-
#attested_device_id ⇒ String
Attested device id (ADID) of the device, read from the verified data.
-
#device_enrollment_id ⇒ String
Device enrollment id is returned in this field (for the machine response only).
-
#device_permanent_id ⇒ String
Device permanent id is returned in this field (for the machine response only).
-
#signed_public_key_and_challenge ⇒ String
Certificate Signing Request (in the SPKAC format, base64 encoded) is returned in this field.
-
#verification_output ⇒ String
For EMCert check, device permanent id is returned here.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VerifyChallengeResponseResult
constructor
A new instance of VerifyChallengeResponseResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VerifyChallengeResponseResult
Returns a new instance of VerifyChallengeResponseResult.
157 158 159 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 157 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attested_device_id ⇒ String
Attested device id (ADID) of the device, read from the verified data.
Corresponds to the JSON property attestedDeviceId
129 130 131 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 129 def attested_device_id @attested_device_id end |
#device_enrollment_id ⇒ String
Device enrollment id is returned in this field (for the machine response only).
Corresponds to the JSON property deviceEnrollmentId
134 135 136 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 134 def device_enrollment_id @device_enrollment_id end |
#device_permanent_id ⇒ String
Device permanent id is returned in this field (for the machine response only).
Corresponds to the JSON property devicePermanentId
139 140 141 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 139 def device_permanent_id @device_permanent_id end |
#signed_public_key_and_challenge ⇒ String
Certificate Signing Request (in the SPKAC format, base64 encoded) is returned
in this field. This field will be set only if device has included CSR in its
challenge response. (the option to include CSR is now available for both user
and machine responses)
Corresponds to the JSON property signedPublicKeyAndChallenge
147 148 149 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 147 def signed_public_key_and_challenge @signed_public_key_and_challenge end |
#verification_output ⇒ String
For EMCert check, device permanent id is returned here. For EUCert check,
signed_public_key_and_challenge [base64 encoded] is returned if present,
otherwise empty string is returned. This field is deprecated, please use
device_permanent_id or signed_public_key_and_challenge fields.
Corresponds to the JSON property verificationOutput
155 156 157 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 155 def verification_output @verification_output end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
162 163 164 165 166 167 168 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 162 def update!(**args) @attested_device_id = args[:attested_device_id] if args.key?(:attested_device_id) @device_enrollment_id = args[:device_enrollment_id] if args.key?(:device_enrollment_id) @device_permanent_id = args[:device_permanent_id] if args.key?(:device_permanent_id) @signed_public_key_and_challenge = args[:signed_public_key_and_challenge] if args.key?(:signed_public_key_and_challenge) @verification_output = args[:verification_output] if args.key?(:verification_output) end |