Class: Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargeting

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) ⇒ TrackReleasePinPinTargeting

Returns a new instance of TrackReleasePinPinTargeting.



2214
2215
2216
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2214

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

Instance Attribute Details

#country_codesArray<String>

Corresponds to the JSON property countryCodes

Returns:

  • (Array<String>)


2197
2198
2199
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2197

def country_codes
  @country_codes
end

#devicesArray<Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargetingDevicePin>

Corresponds to the JSON property devices



2202
2203
2204
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2202

def devices
  @devices
end

#phonesky_versionsArray<Fixnum>

Corresponds to the JSON property phoneskyVersions

Returns:

  • (Array<Fixnum>)


2207
2208
2209
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2207

def phonesky_versions
  @phonesky_versions
end

#sdk_versionsArray<Fixnum>

Corresponds to the JSON property sdkVersions

Returns:

  • (Array<Fixnum>)


2212
2213
2214
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2212

def sdk_versions
  @sdk_versions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2219
2220
2221
2222
2223
2224
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2219

def update!(**args)
  @country_codes = args[:country_codes] if args.key?(:country_codes)
  @devices = args[:devices] if args.key?(:devices)
  @phonesky_versions = args[:phonesky_versions] if args.key?(:phonesky_versions)
  @sdk_versions = args[:sdk_versions] if args.key?(:sdk_versions)
end