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.



2405
2406
2407
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2405

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)


2393
2394
2395
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2393

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)


2398
2399
2400
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2398

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)


2403
2404
2405
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2403

def product_id
  @product_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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