Skip to content

Commit fade139

Browse files
feat: Automated regeneration of paymentsresellersubscription v1 client (#24754)
Auto-created at 2025-10-26 10:47:54 +0000 using the toys pull request generator.
1 parent 56315f5 commit fade139

File tree

5 files changed

+15
-2
lines changed

5 files changed

+15
-2
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317345,6 +317345,7 @@
317345317345
"/paymentsresellersubscription:v1/CancelSubscriptionResponse": cancel_subscription_response
317346317346
"/paymentsresellersubscription:v1/CancelSubscriptionResponse/subscription": subscription
317347317347
"/paymentsresellersubscription:v1/CreateSubscriptionIntent": create_subscription_intent
317348+
"/paymentsresellersubscription:v1/CreateSubscriptionIntent/cycleOptions": cycle_options
317348317349
"/paymentsresellersubscription:v1/CreateSubscriptionIntent/parent": parent
317349317350
"/paymentsresellersubscription:v1/CreateSubscriptionIntent/subscription": subscription
317350317351
"/paymentsresellersubscription:v1/CreateSubscriptionIntent/subscriptionId": subscription_id

generated/google-apis-paymentsresellersubscription_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-paymentsresellersubscription_v1
22

3+
### v0.59.0 (2025-10-26)
4+
5+
* Regenerated from discovery document revision 20251019
6+
37
### v0.58.0 (2025-10-19)
48

59
* Regenerated from discovery document revision 20251012

generated/google-apis-paymentsresellersubscription_v1/lib/google/apis/paymentsresellersubscription_v1/classes.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@ def update!(**args)
110110
class CreateSubscriptionIntent
111111
include Google::Apis::Core::Hashable
112112

113+
# The cycle options when starting and resuming a subscription.
114+
# Corresponds to the JSON property `cycleOptions`
115+
# @return [Google::Apis::PaymentsresellersubscriptionV1::CycleOptions]
116+
attr_accessor :cycle_options
117+
113118
# Required. The parent resource name, which is the identifier of the partner.
114119
# Corresponds to the JSON property `parent`
115120
# @return [String]
@@ -142,6 +147,7 @@ def initialize(**args)
142147

143148
# Update properties of this object
144149
def update!(**args)
150+
@cycle_options = args[:cycle_options] if args.key?(:cycle_options)
145151
@parent = args[:parent] if args.key?(:parent)
146152
@subscription = args[:subscription] if args.key?(:subscription)
147153
@subscription_id = args[:subscription_id] if args.key?(:subscription_id)

generated/google-apis-paymentsresellersubscription_v1/lib/google/apis/paymentsresellersubscription_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module PaymentsresellersubscriptionV1
1818
# Version of the google-apis-paymentsresellersubscription_v1 gem
19-
GEM_VERSION = "0.58.0"
19+
GEM_VERSION = "0.59.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20251012"
25+
REVISION = "20251019"
2626
end
2727
end
2828
end

generated/google-apis-paymentsresellersubscription_v1/lib/google/apis/paymentsresellersubscription_v1/representations.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
355355
class CreateSubscriptionIntent
356356
# @private
357357
class Representation < Google::Apis::Core::JsonRepresentation
358+
property :cycle_options, as: 'cycleOptions', class: Google::Apis::PaymentsresellersubscriptionV1::CycleOptions, decorator: Google::Apis::PaymentsresellersubscriptionV1::CycleOptions::Representation
359+
358360
property :parent, as: 'parent'
359361
property :subscription, as: 'subscription', class: Google::Apis::PaymentsresellersubscriptionV1::Subscription, decorator: Google::Apis::PaymentsresellersubscriptionV1::Subscription::Representation
360362

0 commit comments

Comments
 (0)