Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse

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

Response that contains the updated subscription resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse

Returns a new instance of GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse.



1035
1036
1037
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1035

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#subscriptionGoogle::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Subscription

A Subscription resource managed by 3P Partners. Corresponds to the JSON property subscription



1033
1034
1035
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1033

def subscription
  @subscription
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1040
1041
1042
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1040

def update!(**args)
  @subscription = args[:subscription] if args.key?(:subscription)
end