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.



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

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)


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

def device_permanent_id
  @device_permanent_id
end

#device_signalString

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

Returns:

  • (String)


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

def device_signal
  @device_signal
end

#key_trust_levelString

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

Returns:

  • (String)


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

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)


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

def signed_public_key_and_challenge
  @signed_public_key_and_challenge
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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