class Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest

Request message for extending a Subscription resource. A new recurrence will be made based on the subscription schedule defined by the original product.

Attributes

extension[RW]

Describes the details of an extension request. Corresponds to the JSON property `extension` @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Extension]

request_id[RW]

Required. Restricted to 36 ASCII characters. A random UUID is recommended. The idempotency key for the request. The ID generation logic is controlled by the partner. request_id should be the same as on retries of the same request. A different request_id must be used for a extension of a different cycle. A random UUID is recommended. Corresponds to the JSON property `requestId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/paymentsresellersubscription_v1/classes.rb, line 149
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/paymentsresellersubscription_v1/classes.rb, line 154
def update!(**args)
  @extension = args[:extension] if args.key?(:extension)
  @request_id = args[:request_id] if args.key?(:request_id)
end