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
-
#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.
152 153 154 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 152 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
129 130 131 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 129 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
134 135 136 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 134 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
142 143 144 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 142 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
150 151 152 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 150 def verification_output @verification_output end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
157 158 159 160 161 162 |
# File 'lib/google/apis/verifiedaccess_v1/classes.rb', line 157 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 |