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.
8008 8009 8010 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 8008 def initialize(**args) update!(**args) end |
Instance Attribute Details
#value ⇒ String
Required. Provided value.
Corresponds to the JSON property value
8006 8007 8008 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 8006 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8013 8014 8015 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 8013 def update!(**args) @value = args[:value] if args.key?(:value) end |