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.



574
575
576
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 574

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



572
573
574
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 572

def subscription
  @subscription
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



579
580
581
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 579

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