Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1IntentPayload
- Inherits:
-
Object
- Object
- Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1IntentPayload
- 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
The payload that describes the user intent.
Instance Attribute Summary collapse
-
#create_intent ⇒ Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent
Intent message for creating a Subscription resource.
-
#entitle_intent ⇒ Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent
Intent for entitling the previously provisioned subscription to an end user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1IntentPayload
constructor
A new instance of GoogleCloudPaymentsResellerSubscriptionV1IntentPayload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1IntentPayload
Returns a new instance of GoogleCloudPaymentsResellerSubscriptionV1IntentPayload.
557 558 559 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 557 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_intent ⇒ Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent
Intent message for creating a Subscription resource.
Corresponds to the JSON property createIntent
550 551 552 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 550 def create_intent @create_intent end |
#entitle_intent ⇒ Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent
Intent for entitling the previously provisioned subscription to an end user.
Corresponds to the JSON property entitleIntent
555 556 557 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 555 def entitle_intent @entitle_intent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
562 563 564 565 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 562 def update!(**args) @create_intent = args[:create_intent] if args.key?(:create_intent) @entitle_intent = args[:entitle_intent] if args.key?(:entitle_intent) end |