Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1IntentPayload

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_intentGoogle::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_intentGoogle::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