Class: Google::Apis::AndroidpublisherV3::PolicySingleChoiceResponse
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::PolicySingleChoiceResponse
- 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
-
#value ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PolicySingleChoiceResponse
constructor
A new instance of PolicySingleChoiceResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#value ⇒ String
Required. Provided value.
Corresponds to the JSON property value
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 |