Class: Google::Apis::VerifiedaccessV2::VerifyChallengeResponseResult
- Inherits:
-
Object
- Object
- Google::Apis::VerifiedaccessV2::VerifyChallengeResponseResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/verifiedaccess_v2/classes.rb,
lib/google/apis/verifiedaccess_v2/representations.rb,
lib/google/apis/verifiedaccess_v2/representations.rb
Overview
Result message for VerifiedAccess.VerifyChallengeResponse.
Instance Attribute Summary collapse
-
#device_permanent_id ⇒ String
Device permanent id is returned in this field (for the machine response only).
-
#device_signal ⇒ String
Device signal in json string representation.
-
#key_trust_level ⇒ String
Device attested key trust level.
-
#signed_public_key_and_challenge ⇒ String
Certificate Signing Request (in the SPKAC format, base64 encoded) is returned in this field.
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.
127 128 129 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 127 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_permanent_id ⇒ String
Device permanent id is returned in this field (for the machine response only).
Corresponds to the JSON property devicePermanentId
107 108 109 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 107 def device_permanent_id @device_permanent_id end |
#device_signal ⇒ String
Device signal in json string representation.
Corresponds to the JSON property deviceSignal
112 113 114 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 112 def device_signal @device_signal end |
#key_trust_level ⇒ String
Device attested key trust level.
Corresponds to the JSON property keyTrustLevel
117 118 119 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 117 def key_trust_level @key_trust_level 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
125 126 127 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 125 def signed_public_key_and_challenge @signed_public_key_and_challenge end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
132 133 134 135 136 137 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 132 def update!(**args) @device_permanent_id = args[:device_permanent_id] if args.key?(:device_permanent_id) @device_signal = args[:device_signal] if args.key?(:device_signal) @key_trust_level = args[:key_trust_level] if args.key?(:key_trust_level) @signed_public_key_and_challenge = args[:signed_public_key_and_challenge] if args.key?(:signed_public_key_and_challenge) end |