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

Constructor Details

#initialize(**args) ⇒ VerifyChallengeResponseResult

Returns a new instance of VerifyChallengeResponseResult.



153
154
155
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 153

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)


130
131
132
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 130

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)


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

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)


143
144
145
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 143

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)


151
152
153
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 151

def verification_output
  @verification_output
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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