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.



436
437
438
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 436

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#attested_device_idString

Attested device ID (ADID). Corresponds to the JSON property attestedDeviceId

Returns:

  • (String)


369
370
371
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 369

def attested_device_id
  @attested_device_id
end

#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)


376
377
378
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 376

def customer_id
  @customer_id
end

#device_enrollment_idString

Device enrollment id for ChromeOS devices. Corresponds to the JSON property deviceEnrollmentId

Returns:

  • (String)


381
382
383
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 381

def device_enrollment_id
  @device_enrollment_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)


386
387
388
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 386

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)


392
393
394
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 392

def device_signal
  @device_signal
end

#device_signalsGoogle::Apis::VerifiedaccessV2::DeviceSignals

The device signals as reported by Chrome. Unless otherwise specified, signals are available on all platforms. Corresponds to the JSON property deviceSignals



398
399
400
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 398

def device_signals
  @device_signals
end

#key_trust_levelString

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

Returns:

  • (String)


403
404
405
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 403

def key_trust_level
  @key_trust_level
end

#profile_customer_idString

Unique customer id that this profile 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 profileCustomerId

Returns:

  • (String)


410
411
412
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 410

def profile_customer_id
  @profile_customer_id
end

#profile_key_trust_levelString

Profile attested key trust level. Corresponds to the JSON property profileKeyTrustLevel

Returns:

  • (String)


415
416
417
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 415

def profile_key_trust_level
  @profile_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)


423
424
425
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 423

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)


429
430
431
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 429

def virtual_device_id
  @virtual_device_id
end

#virtual_profile_idString

The ID of a profile on the device. Corresponds to the JSON property virtualProfileId

Returns:

  • (String)


434
435
436
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 434

def virtual_profile_id
  @virtual_profile_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



441
442
443
444
445
446
447
448
449
450
451
452
453
454
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 441

def update!(**args)
  @attested_device_id = args[:attested_device_id] if args.key?(:attested_device_id)
  @customer_id = args[:customer_id] if args.key?(:customer_id)
  @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)
  @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)
  @profile_customer_id = args[:profile_customer_id] if args.key?(:profile_customer_id)
  @profile_key_trust_level = args[:profile_key_trust_level] if args.key?(:profile_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)
  @virtual_profile_id = args[:virtual_profile_id] if args.key?(:virtual_profile_id)
end