Class: Google::Apis::AndroidpublisherV3::KeyedGroup
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::KeyedGroup
- 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
A group of responses, with a key.
Instance Attribute Summary collapse
-
#key ⇒ String
Required.
-
#responses ⇒ Array<Google::Apis::AndroidpublisherV3::NestedPolicyResponse>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ KeyedGroup
constructor
A new instance of KeyedGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ KeyedGroup
Returns a new instance of KeyedGroup.
4926 4927 4928 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4926 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Required. Key for this group.
Corresponds to the JSON property key
4919 4920 4921 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4919 def key @key end |
#responses ⇒ Array<Google::Apis::AndroidpublisherV3::NestedPolicyResponse>
Required. Responses in this group.
Corresponds to the JSON property responses
4924 4925 4926 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4924 def responses @responses end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4931 4932 4933 4934 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4931 def update!(**args) @key = args[:key] if args.key?(:key) @responses = args[:responses] if args.key?(:responses) end |