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.



3083
3084
3085
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3083

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)


3071
3072
3073
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3071

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)


3076
3077
3078
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3076

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)


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