google-apis-paymentsresellersubscription_v1 0.58.0 → 0.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a789239b4e51f25e68d57e7be8730a3442702e208ea97e4a7d1356192458328
4
- data.tar.gz: e106ba5e09b4759b8dfbe388038f046731ee7373dcf516d71686036055acda2b
3
+ metadata.gz: 753545d7d18c0e1d5878356a24869398acf9ea5fe363a28dfe2c3cac84f18ab1
4
+ data.tar.gz: ff42eb0cb248d09d8353a8ac672aa57ae1a897eda6446d5498f3a406f3a50d8e
5
5
  SHA512:
6
- metadata.gz: 2825e258b0b31aacb0a552780dffb6641cd6bd4091a450f388d17f802324578cfbb2c01664b2f89a873d0d3c5f49b4ab782d2a4ff84ba0a87502c1405a01fd2a
7
- data.tar.gz: e93a05f857713262e05fd608af5ebec9857885195f792b10a254c5de892ab88ab47a3be829ce5d19e849b4a84e55181802093f09e02734919253a43167c75686
6
+ metadata.gz: 21bc39fe5ad9d088a04ede696feed5f74cf19a3ec061ae46769832b014a464c69b77e4e7688952c4e75cc2091a412e4859573a4e02831d9d9efa8d4dc23d9d55
7
+ data.tar.gz: bf83d75c1bd0b4c72966c95a04f12d82d9459d68b272fefbd687fc94c431bbd0b6d1413afa38c40e1161840e6f78a4919a5eb7319bf56507175650e8e69f3af1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-paymentsresellersubscription_v1
2
2
 
3
+ ### v0.59.0 (2025-11-02)
4
+
5
+ * Regenerated from discovery document revision 20251026
6
+
3
7
  ### v0.58.0 (2025-10-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20251012
@@ -110,6 +110,11 @@ module Google
110
110
  class CreateSubscriptionIntent
111
111
  include Google::Apis::Core::Hashable
112
112
 
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
+
113
118
  # Required. The parent resource name, which is the identifier of the partner.
114
119
  # Corresponds to the JSON property `parent`
115
120
  # @return [String]
@@ -142,6 +147,7 @@ module Google
142
147
 
143
148
  # Update properties of this object
144
149
  def update!(**args)
150
+ @cycle_options = args[:cycle_options] if args.key?(:cycle_options)
145
151
  @parent = args[:parent] if args.key?(:parent)
146
152
  @subscription = args[:subscription] if args.key?(:subscription)
147
153
  @subscription_id = args[:subscription_id] if args.key?(:subscription_id)
@@ -635,6 +641,11 @@ module Google
635
641
  # @return [Google::Apis::PaymentsresellersubscriptionV1::EntitleSubscriptionIntent]
636
642
  attr_accessor :entitle_intent
637
643
 
644
+ # The options for the intent.
645
+ # Corresponds to the JSON property `intentOptions`
646
+ # @return [Google::Apis::PaymentsresellersubscriptionV1::IntentPayloadIntentOptions]
647
+ attr_accessor :intent_options
648
+
638
649
  def initialize(**args)
639
650
  update!(**args)
640
651
  end
@@ -643,6 +654,29 @@ module Google
643
654
  def update!(**args)
644
655
  @create_intent = args[:create_intent] if args.key?(:create_intent)
645
656
  @entitle_intent = args[:entitle_intent] if args.key?(:entitle_intent)
657
+ @intent_options = args[:intent_options] if args.key?(:intent_options)
658
+ end
659
+ end
660
+
661
+ # The options for the intent.
662
+ class IntentPayloadIntentOptions
663
+ include Google::Apis::Core::Hashable
664
+
665
+ # Optional. If true, Google may use a different product and promotion id from
666
+ # the ones in the `create_intent` based on the user's eligibility. Only
667
+ # applicable for certain YouTube free trial offers.
668
+ # Corresponds to the JSON property `enableOfferOverride`
669
+ # @return [Boolean]
670
+ attr_accessor :enable_offer_override
671
+ alias_method :enable_offer_override?, :enable_offer_override
672
+
673
+ def initialize(**args)
674
+ update!(**args)
675
+ end
676
+
677
+ # Update properties of this object
678
+ def update!(**args)
679
+ @enable_offer_override = args[:enable_offer_override] if args.key?(:enable_offer_override)
646
680
  end
647
681
  end
648
682
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PaymentsresellersubscriptionV1
18
18
  # Version of the google-apis-paymentsresellersubscription_v1 gem
19
- GEM_VERSION = "0.58.0"
19
+ GEM_VERSION = "0.59.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251012"
25
+ REVISION = "20251026"
26
26
  end
27
27
  end
28
28
  end
@@ -154,6 +154,12 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class IntentPayloadIntentOptions
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
157
163
  class ListProductsResponse
158
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
165
 
@@ -355,6 +361,8 @@ module Google
355
361
  class CreateSubscriptionIntent
356
362
  # @private
357
363
  class Representation < Google::Apis::Core::JsonRepresentation
364
+ property :cycle_options, as: 'cycleOptions', class: Google::Apis::PaymentsresellersubscriptionV1::CycleOptions, decorator: Google::Apis::PaymentsresellersubscriptionV1::CycleOptions::Representation
365
+
358
366
  property :parent, as: 'parent'
359
367
  property :subscription, as: 'subscription', class: Google::Apis::PaymentsresellersubscriptionV1::Subscription, decorator: Google::Apis::PaymentsresellersubscriptionV1::Subscription::Representation
360
368
 
@@ -511,6 +519,15 @@ module Google
511
519
 
512
520
  property :entitle_intent, as: 'entitleIntent', class: Google::Apis::PaymentsresellersubscriptionV1::EntitleSubscriptionIntent, decorator: Google::Apis::PaymentsresellersubscriptionV1::EntitleSubscriptionIntent::Representation
513
521
 
522
+ property :intent_options, as: 'intentOptions', class: Google::Apis::PaymentsresellersubscriptionV1::IntentPayloadIntentOptions, decorator: Google::Apis::PaymentsresellersubscriptionV1::IntentPayloadIntentOptions::Representation
523
+
524
+ end
525
+ end
526
+
527
+ class IntentPayloadIntentOptions
528
+ # @private
529
+ class Representation < Google::Apis::Core::JsonRepresentation
530
+ property :enable_offer_override, as: 'enableOfferOverride'
514
531
  end
515
532
  end
516
533
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-paymentsresellersubscription_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.58.0
4
+ version: 0.59.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-paymentsresellersubscription_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-paymentsresellersubscription_v1/v0.58.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-paymentsresellersubscription_v1/v0.59.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-paymentsresellersubscription_v1
62
62
  rdoc_options: []
63
63
  require_paths: