Class: Google::Apis::PlaygroupingV1alpha1::VerifyTokenRequest

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

Overview

Request message for VerifyToken.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VerifyTokenRequest

Returns a new instance of VerifyTokenRequest.



116
117
118
# File 'lib/google/apis/playgrouping_v1alpha1/classes.rb', line 116

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

Instance Attribute Details

#personaString

Required. Persona represented by the token. Format: personas/persona Corresponds to the JSON property persona

Returns:

  • (String)


114
115
116
# File 'lib/google/apis/playgrouping_v1alpha1/classes.rb', line 114

def persona
  @persona
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



121
122
123
# File 'lib/google/apis/playgrouping_v1alpha1/classes.rb', line 121

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