Class: Google::Apis::VerifiedaccessV2::VerifyChallengeResponseResult

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

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

Returns:

  • (String)


354
355
356
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 354

def customer_id
  @customer_id
end

#device_permanent_idString

Device permanent id is returned in this field (for the machine response only). Corresponds to the JSON property devicePermanentId

Returns:

  • (String)


359
360
361
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 359

def device_permanent_id
  @device_permanent_id
end

#device_signalString

Deprecated. Device signal in json string representation. Prefer using device_signals instead. Corresponds to the JSON property deviceSignal

Returns:

  • (String)


365
366
367
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 365

def device_signal
  @device_signal
end

#device_signalsGoogle::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_levelString

Device attested key trust level. Corresponds to the JSON property keyTrustLevel

Returns:

  • (String)


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_challengeString

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

Returns:

  • (String)


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_idString

Virtual device id of the device. The definition of virtual device id is platform-specific. Corresponds to the JSON property virtualDeviceId

Returns:

  • (String)


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