Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse
- Inherits:
-
Object
- Object
- Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/paymentsresellersubscription_v1/classes.rb,
lib/google/apis/paymentsresellersubscription_v1/representations.rb,
lib/google/apis/paymentsresellersubscription_v1/representations.rb
Overview
Response that contains the entitled subscription resource.
Instance Attribute Summary collapse
-
#subscription ⇒ Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Subscription
A subscription serves as a central billing entity between an external partner and Google.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse
constructor
A new instance of GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse
Returns a new instance of GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse.
198 199 200 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 198 def initialize(**args) update!(**args) end |
Instance Attribute Details
#subscription ⇒ Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Subscription
A subscription serves as a central billing entity between an external partner
and Google. The underlying Google services rely on the subscription state to
grant or revoke the user's service entitlement. It's important to note that
the subscription state may not always perfectly align with the user's service
entitlement. For example, some Google services may continue providing access
to the user until the current billing cycle ends, even if the subscription has
been immediately canceled. However, other services may not do the same. To
fully understand the specific details, please consult the relevant contract or
product policy.
Corresponds to the JSON property subscription
196 197 198 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 196 def subscription @subscription end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
203 204 205 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 203 def update!(**args) @subscription = args[:subscription] if args.key?(:subscription) end |