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.
128 129 130 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 128 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
108 109 110 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 108 def device_permanent_id @device_permanent_id end |
#device_signal ⇒ String
Device signal in json string representation.
Corresponds to the JSON property deviceSignal
113 114 115 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 113 def device_signal @device_signal end |
#key_trust_level ⇒ String
Device attested key trust level.
Corresponds to the JSON property keyTrustLevel
118 119 120 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 118 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
126 127 128 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 126 def signed_public_key_and_challenge @signed_public_key_and_challenge end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
133 134 135 136 137 138 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 133 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 |