Class: Google::Apis::VerifiedaccessV1::VerifyChallengeResponseResult

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/verifiedaccess_v1/classes.rb,
generated/google/apis/verifiedaccess_v1/representations.rb,
generated/google/apis/verifiedaccess_v1/representations.rb

Overview

Result message for VerifiedAccess.VerifyChallengeResponse.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ VerifyChallengeResponseResult

Returns a new instance of VerifyChallengeResponseResult.



160
161
162
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 160

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

Instance Attribute Details

#device_enrollment_idString

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

Returns:

  • (String)


134
135
136
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 134

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)


140
141
142
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 140

def device_permanent_id
  @device_permanent_id
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)


149
150
151
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 149

def signed_public_key_and_challenge
  @signed_public_key_and_challenge
end

#verification_outputString

For EMCert check, device permanent id is returned here. For EUCert check, signed_public_key_and_challenge [base64 encoded] is returned if present, otherwise empty string is returned. This field is deprecated, please use device_permanent_id or signed_public_key_and_challenge fields. Corresponds to the JSON property verificationOutput

Returns:

  • (String)


158
159
160
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 158

def verification_output
  @verification_output
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



165
166
167
168
169
170
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 165

def update!(**args)
  @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)
  @signed_public_key_and_challenge = args[:signed_public_key_and_challenge] if args.key?(:signed_public_key_and_challenge)
  @verification_output = args[:verification_output] if args.key?(:verification_output)
end