Class: Google::Apis::AndroidpublisherV3::TrackReleasePin

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

Returns a new instance of TrackReleasePin.



2179
2180
2181
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2179

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

Instance Attribute Details

#targetingsArray<Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargeting>

Corresponds to the JSON property targetings



2172
2173
2174
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2172

def targetings
  @targetings
end

#version_codesArray<Fixnum>

Corresponds to the JSON property versionCodes

Returns:

  • (Array<Fixnum>)


2177
2178
2179
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2177

def version_codes
  @version_codes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2184
2185
2186
2187
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2184

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