Class: Google::Apis::AndroidpublisherV3::KeyedGroup

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

A group of responses, with a key.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#keyString

Required. Key for this group. Corresponds to the JSON property key

Returns:

  • (String)


5413
5414
5415
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5413

def key
  @key
end

#responsesArray<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