Class: Google::Apis::AndroidpublisherV3::Control

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androidpublisher_v3/classes.rb,
generated/google/apis/androidpublisher_v3/representations.rb,
generated/google/apis/androidpublisher_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Control

Returns a new instance of Control.



321
322
323
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 321

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

Instance Attribute Details

#mod_rangesArray<Google::Apis::AndroidpublisherV3::ModRange>

Corresponds to the JSON property modRanges



309
310
311
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 309

def mod_ranges
  @mod_ranges
end

#stratified_samplingsArray<Google::Apis::AndroidpublisherV3::StratifiedSampling>

Corresponds to the JSON property stratifiedSamplings



314
315
316
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 314

def stratified_samplings
  @stratified_samplings
end

#version_codesArray<Fixnum>

Corresponds to the JSON property versionCodes

Returns:

  • (Array<Fixnum>)


319
320
321
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 319

def version_codes
  @version_codes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



326
327
328
329
330
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 326

def update!(**args)
  @mod_ranges = args[:mod_ranges] if args.key?(:mod_ranges)
  @stratified_samplings = args[:stratified_samplings] if args.key?(:stratified_samplings)
  @version_codes = args[:version_codes] if args.key?(:version_codes)
end