Class: Google::Apis::AndroidpublisherV3::PolicySingleChoiceResponse

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

Overview

Any response where a single option is chosen from several possibilities.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PolicySingleChoiceResponse

Returns a new instance of PolicySingleChoiceResponse.



7209
7210
7211
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7209

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

Instance Attribute Details

#valueString

Required. Provided value. Corresponds to the JSON property value

Returns:

  • (String)


7207
7208
7209
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7207

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7214
7215
7216
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7214

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