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
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.
-
#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.
140 141 142 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 140 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
109 110 111 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 109 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
114 115 116 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 114 def device_permanent_id @device_permanent_id end |
#device_signal ⇒ String
Device signal in json string representation.
Corresponds to the JSON property deviceSignal
119 120 121 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 119 def device_signal @device_signal end |
#key_trust_level ⇒ String
Device attested key trust level.
Corresponds to the JSON property keyTrustLevel
124 125 126 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 124 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
132 133 134 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 132 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
138 139 140 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 138 def virtual_device_id @virtual_device_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
145 146 147 148 149 150 151 152 |
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 145 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) @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 |