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.



127
128
129
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 127

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

Instance Attribute Details

#device_permanent_idString

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

Returns:

  • (String)


107
108
109
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 107

def device_permanent_id
  @device_permanent_id
end

#device_signalString

Device signal in json string representation. Corresponds to the JSON property deviceSignal

Returns:

  • (String)


112
113
114
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 112

def device_signal
  @device_signal
end

#key_trust_levelString

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

Returns:

  • (String)


117
118
119
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 117

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)


125
126
127
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 125

def signed_public_key_and_challenge
  @signed_public_key_and_challenge
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



132
133
134
135
136
137
# File 'lib/google/apis/verifiedaccess_v2/classes.rb', line 132

def update!(**args)
  @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)
end