Class: Google::Apis::VerifiedaccessV1::VerifyChallengeResponseResult
- Inherits:
-
Object
- Object
- Google::Apis::VerifiedaccessV1::VerifyChallengeResponseResult
- 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
Result message for VerifiedAccess.VerifyChallengeResponse.
Instance Attribute Summary collapse
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VerifyChallengeResponseResult
Returns a new instance of VerifyChallengeResponseResult.
160 161 162 |
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 160 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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 'generated/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
140 141 142 |
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 140 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
149 150 151 |
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 149 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
158 159 160 |
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 158 def verification_output @verification_output end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
165 166 167 168 169 170 |
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 165 def update!(**args) @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 |