Class: Google::Apis::AndroidpublisherV3::UpdateSubscriptionOfferRequest
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::UpdateSubscriptionOfferRequest
- 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 UpdateSubscriptionOffer.
Instance Attribute Summary collapse
-
#allow_missing ⇒ Boolean
(also: #allow_missing?)
Optional.
-
#latency_tolerance ⇒ String
Optional.
-
#regions_version ⇒ Google::Apis::AndroidpublisherV3::RegionsVersion
The version of the available regions being used for the specified resource.
-
#subscription_offer ⇒ Google::Apis::AndroidpublisherV3::SubscriptionOffer
A single, temporary offer Corresponds to the JSON property
subscriptionOffer
. -
#update_mask ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateSubscriptionOfferRequest
constructor
A new instance of UpdateSubscriptionOfferRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateSubscriptionOfferRequest
Returns a new instance of UpdateSubscriptionOfferRequest.
6931 6932 6933 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6931 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_missing ⇒ Boolean Also known as: allow_missing?
Optional. If set to true, and the subscription offer with the given
package_name, product_id, base_plan_id and offer_id doesn't exist, an offer
will be created. If a new offer is created, update_mask is ignored.
Corresponds to the JSON property allowMissing
6907 6908 6909 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6907 def allow_missing @allow_missing end |
#latency_tolerance ⇒ String
Optional. The latency tolerance for the propagation of this product update.
Defaults to latency-sensitive.
Corresponds to the JSON property latencyTolerance
6914 6915 6916 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6914 def latency_tolerance @latency_tolerance end |
#regions_version ⇒ Google::Apis::AndroidpublisherV3::RegionsVersion
The version of the available regions being used for the specified resource.
Corresponds to the JSON property regionsVersion
6919 6920 6921 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6919 def regions_version @regions_version end |
#subscription_offer ⇒ Google::Apis::AndroidpublisherV3::SubscriptionOffer
A single, temporary offer
Corresponds to the JSON property subscriptionOffer
6924 6925 6926 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6924 def subscription_offer @subscription_offer end |
#update_mask ⇒ String
Required. The list of fields to be updated.
Corresponds to the JSON property updateMask
6929 6930 6931 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6929 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6936 6937 6938 6939 6940 6941 6942 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6936 def update!(**args) @allow_missing = args[:allow_missing] if args.key?(:allow_missing) @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance) @regions_version = args[:regions_version] if args.key?(:regions_version) @subscription_offer = args[:subscription_offer] if args.key?(:subscription_offer) @update_mask = args[:update_mask] if args.key?(:update_mask) end |