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.



1079
1080
1081
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1079

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



1077
1078
1079
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1077

def subscription
  @subscription
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1084
1085
1086
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1084

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