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.
3083 3084 3085 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3083 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
3071 3072 3073 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3071 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
3076 3077 3078 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3076 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
3081 3082 3083 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3081 def product_id @product_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3088 3089 3090 3091 3092 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3088 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 |