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.



4926
4927
4928
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4926

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#keyString

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

Returns:

  • (String)


4919
4920
4921
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4919

def key
  @key
end

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