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
-
#customer_id ⇒ String
Unique customer id that this device belongs to, as defined by the Google Admin SDK at https://developers.google.com/admin-sdk/directory/v1/guides/manage- customers Corresponds to the JSON property
customerId. -
#device_permanent_id ⇒ String
Device permanent id is returned in this field (for the machine response only).
-
#device_signal ⇒ String
Deprecated.
-
#device_signals ⇒ Google::Apis::VerifiedaccessV2::DeviceSignals
The device signals as reported by Chrome.
-
#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.
-
#virtual_device_id ⇒ String
Virtual device id of the device.
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.
391 392 393 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 391 def initialize(**args) update!(**args) end |
Instance Attribute Details
#customer_id ⇒ String
Unique customer id that this device belongs to, as defined by the Google Admin
SDK at https://developers.google.com/admin-sdk/directory/v1/guides/manage-
customers
Corresponds to the JSON property customerId
354 355 356 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 354 def customer_id @customer_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
359 360 361 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 359 def device_permanent_id @device_permanent_id end |
#device_signal ⇒ String
Deprecated. Device signal in json string representation. Prefer using
device_signals instead.
Corresponds to the JSON property deviceSignal
365 366 367 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 365 def device_signal @device_signal end |
#device_signals ⇒ Google::Apis::VerifiedaccessV2::DeviceSignals
The device signals as reported by Chrome.
Corresponds to the JSON property deviceSignals
370 371 372 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 370 def device_signals @device_signals end |
#key_trust_level ⇒ String
Device attested key trust level.
Corresponds to the JSON property keyTrustLevel
375 376 377 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 375 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
383 384 385 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 383 def signed_public_key_and_challenge @signed_public_key_and_challenge end |
#virtual_device_id ⇒ String
Virtual device id of the device. The definition of virtual device id is
platform-specific.
Corresponds to the JSON property virtualDeviceId
389 390 391 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 389 def virtual_device_id @virtual_device_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
396 397 398 399 400 401 402 403 404 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 396 def update!(**args) @customer_id = args[:customer_id] if args.key?(:customer_id) @device_permanent_id = args[:device_permanent_id] if args.key?(:device_permanent_id) @device_signal = args[:device_signal] if args.key?(:device_signal) @device_signals = args[:device_signals] if args.key?(:device_signals) @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) @virtual_device_id = args[:virtual_device_id] if args.key?(:virtual_device_id) end |