Class: Google::Apis::AndroidpublisherV3::DeleteOneTimeProductRequest

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

Request message for deleting a one-time product.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeleteOneTimeProductRequest

Returns a new instance of DeleteOneTimeProductRequest.



2424
2425
2426
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2424

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

Instance Attribute Details

#latency_toleranceString

Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. Corresponds to the JSON property latencyTolerance

Returns:

  • (String)


2412
2413
2414
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2412

def latency_tolerance
  @latency_tolerance
end

#package_nameString

Required. The parent app (package name) of the one-time product to delete. Corresponds to the JSON property packageName

Returns:

  • (String)


2417
2418
2419
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2417

def package_name
  @package_name
end

#product_idString

Required. The one-time product ID of the one-time product to delete. Corresponds to the JSON property productId

Returns:

  • (String)


2422
2423
2424
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2422

def product_id
  @product_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2429
2430
2431
2432
2433
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2429

def update!(**args)
  @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance)
  @package_name = args[:package_name] if args.key?(:package_name)
  @product_id = args[:product_id] if args.key?(:product_id)
end