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.
5420 5421 5422 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5420 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Required. Key for this group.
Corresponds to the JSON property key
5413 5414 5415 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5413 def key @key end |
#responses ⇒ Array<Google::Apis::AndroidpublisherV3::NestedPolicyResponse>
Required. Responses in this group.
Corresponds to the JSON property responses
5418 5419 5420 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5418 def responses @responses end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5425 5426 5427 5428 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5425 def update!(**args) @key = args[:key] if args.key?(:key) @responses = args[:responses] if args.key?(:responses) end |