Class: Google::Apis::VerifiedaccessV1::Challenge

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.CreateChallenge.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Challenge

Returns a new instance of Challenge.



39
40
41
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 39

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

Instance Attribute Details

#alternative_challengeGoogle::Apis::VerifiedaccessV1::SignedData

The wrapper message of any data and its signature. Corresponds to the JSON property alternativeChallenge



32
33
34
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 32

def alternative_challenge
  @alternative_challenge
end

#challengeGoogle::Apis::VerifiedaccessV1::SignedData

The wrapper message of any data and its signature. Corresponds to the JSON property challenge



37
38
39
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 37

def challenge
  @challenge
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



44
45
46
47
# File 'generated/google/apis/verifiedaccess_v1/classes.rb', line 44

def update!(**args)
  @alternative_challenge = args[:alternative_challenge] if args.key?(:alternative_challenge)
  @challenge = args[:challenge] if args.key?(:challenge)
end