Class: Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargetingDevicePin

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

Returns a new instance of TrackReleasePinPinTargetingDevicePin.



2245
2246
2247
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2245

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

Instance Attribute Details

#brandString

Corresponds to the JSON property brand

Returns:

  • (String)


2233
2234
2235
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2233

def brand
  @brand
end

#deviceString

Corresponds to the JSON property device

Returns:

  • (String)


2238
2239
2240
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2238

def device
  @device
end

#productString

Corresponds to the JSON property product

Returns:

  • (String)


2243
2244
2245
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2243

def product
  @product
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2250
2251
2252
2253
2254
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 2250

def update!(**args)
  @brand = args[:brand] if args.key?(:brand)
  @device = args[:device] if args.key?(:device)
  @product = args[:product] if args.key?(:product)
end