Class: Google::Apis::AndroidpublisherV3::DeleteOneTimeProductRequest
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::DeleteOneTimeProductRequest
- 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
-
#latency_tolerance ⇒ String
Optional.
-
#package_name ⇒ String
Required.
-
#product_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeleteOneTimeProductRequest
constructor
A new instance of DeleteOneTimeProductRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_tolerance ⇒ String
Optional. The latency tolerance for the propagation of this product update.
Defaults to latency-sensitive.
Corresponds to the JSON property latencyTolerance
2393 2394 2395 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2393 def latency_tolerance @latency_tolerance end |
#package_name ⇒ String
Required. The parent app (package name) of the one-time product to delete.
Corresponds to the JSON property packageName
2398 2399 2400 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2398 def package_name @package_name end |
#product_id ⇒ String
Required. The one-time product ID of the one-time product to delete.
Corresponds to the JSON property productId
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 |