Class: Google::Apis::AndroidpublisherV3::UpdateSubscriptionOfferStateRequest
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::UpdateSubscriptionOfferStateRequest
- 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 to update the state of a subscription offer.
Instance Attribute Summary collapse
-
#activate_subscription_offer_request ⇒ Google::Apis::AndroidpublisherV3::ActivateSubscriptionOfferRequest
Request message for ActivateSubscriptionOffer.
-
#deactivate_subscription_offer_request ⇒ Google::Apis::AndroidpublisherV3::DeactivateSubscriptionOfferRequest
Request message for DeactivateSubscriptionOffer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateSubscriptionOfferStateRequest
constructor
A new instance of UpdateSubscriptionOfferStateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateSubscriptionOfferStateRequest
Returns a new instance of UpdateSubscriptionOfferStateRequest.
6968 6969 6970 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6968 def initialize(**args) update!(**args) end |
Instance Attribute Details
#activate_subscription_offer_request ⇒ Google::Apis::AndroidpublisherV3::ActivateSubscriptionOfferRequest
Request message for ActivateSubscriptionOffer.
Corresponds to the JSON property activateSubscriptionOfferRequest
6961 6962 6963 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6961 def activate_subscription_offer_request @activate_subscription_offer_request end |
#deactivate_subscription_offer_request ⇒ Google::Apis::AndroidpublisherV3::DeactivateSubscriptionOfferRequest
Request message for DeactivateSubscriptionOffer.
Corresponds to the JSON property deactivateSubscriptionOfferRequest
6966 6967 6968 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6966 def deactivate_subscription_offer_request @deactivate_subscription_offer_request end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6973 6974 6975 6976 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6973 def update!(**args) @activate_subscription_offer_request = args[:activate_subscription_offer_request] if args.key?(:activate_subscription_offer_request) @deactivate_subscription_offer_request = args[:deactivate_subscription_offer_request] if args.key?(:deactivate_subscription_offer_request) end |