Class: Google::Apis::AndroidpublisherV3::RevokeSubscriptionPurchaseRequest
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::RevokeSubscriptionPurchaseRequest
- 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 for the purchases.subscriptionsv2.revoke API.
Instance Attribute Summary collapse
-
#revocation_context ⇒ Google::Apis::AndroidpublisherV3::RevocationContext
Revocation context of the purchases.subscriptionsv2.revoke API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RevokeSubscriptionPurchaseRequest
constructor
A new instance of RevokeSubscriptionPurchaseRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RevokeSubscriptionPurchaseRequest
Returns a new instance of RevokeSubscriptionPurchaseRequest.
5109 5110 5111 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5109 def initialize(**args) update!(**args) end |
Instance Attribute Details
#revocation_context ⇒ Google::Apis::AndroidpublisherV3::RevocationContext
Revocation context of the purchases.subscriptionsv2.revoke API.
Corresponds to the JSON property revocationContext
5107 5108 5109 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5107 def revocation_context @revocation_context end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5114 5115 5116 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 5114 def update!(**args) @revocation_context = args[:revocation_context] if args.key?(:revocation_context) end |