google-apis-paymentsresellersubscription_v1 0.39.0 → 0.41.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89d29a150646c60d2893292978796a48a3afb9b3ef2c1c8d4080b42899b56cbe
4
- data.tar.gz: 9d2ebff86dff6e5c19dd9d59fa07a0417734a9e9d1e601e74627a66ea57f1135
3
+ metadata.gz: dfa06e3814c57c1ea1776ae9bc59ca8fbb6c5d1d869b679e41924099509c819c
4
+ data.tar.gz: a992ca8c1d11b9373dbe38e01d13530fe211d7ad191e9203a2a30964dda18063
5
5
  SHA512:
6
- metadata.gz: 1379215dda529ea2dc2313ee74fe2fb111405b39486f028c52497f934700d7b3fc744f2153f77ccd12421ded03418cef0e09f6c805384f75d7c1b7fa49b1ceb6
7
- data.tar.gz: 1563e1e7462eca31d0dcd37389649122be6c780a44ff9ecf3051a46e4ba6e06bfb88ad61009f2c598ad76bc43d163be27392d5665943c055cf8952c047c882d2
6
+ metadata.gz: 5142a890907340d50031fbf0ca279f9222014746302791b78373df62a4d516f5c7e4bf50e08e19bf11d146471f35c41b80868172683f0e3f0baf38d6f938b3a5
7
+ data.tar.gz: 5cccc101e461d3a030a9539429313fd9c2f831e3f8e3c58630bbe50038d064bf008617744e91904993a1aaeacb03178a50c07eabc23d954cb7828122de4cfa7d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-paymentsresellersubscription_v1
2
2
 
3
+ ### v0.41.0 (2024-04-07)
4
+
5
+ * Regenerated from discovery document revision 20240404
6
+
7
+ ### v0.40.0 (2024-03-03)
8
+
9
+ * Regenerated from discovery document revision 20240226
10
+
3
11
  ### v0.39.0 (2024-02-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20240222
@@ -48,7 +48,7 @@ module Google
48
48
  end
49
49
  end
50
50
 
51
- #
51
+ # Request to cancel a subscription.
52
52
  class GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest
53
53
  include Google::Apis::Core::Hashable
54
54
 
@@ -77,7 +77,7 @@ module Google
77
77
  end
78
78
  end
79
79
 
80
- #
80
+ # Response that contains the cancelled subscription resource.
81
81
  class GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse
82
82
  include Google::Apis::Core::Hashable
83
83
 
@@ -178,7 +178,7 @@ module Google
178
178
  end
179
179
  end
180
180
 
181
- #
181
+ # Response that contains the entitled subscription resource.
182
182
  class GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse
183
183
  include Google::Apis::Core::Hashable
184
184
 
@@ -234,7 +234,7 @@ module Google
234
234
  end
235
235
  end
236
236
 
237
- #
237
+ # Response that contains the timestamps after the extension.
238
238
  class GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse
239
239
  include Google::Apis::Core::Hashable
240
240
 
@@ -298,19 +298,19 @@ module Google
298
298
  end
299
299
  end
300
300
 
301
- #
301
+ # Request to find eligible promotions for the current user.
302
302
  class GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest
303
303
  include Google::Apis::Core::Hashable
304
304
 
305
305
  # Optional. Specifies the filters for the promotion results. The syntax is
306
- # defined in https://google.aip.dev/160 with the following caveats: - Only the
306
+ # defined in https://google.aip.dev/160 with the following caveats: 1. Only the
307
307
  # following features are supported: - Logical operator `AND` - Comparison
308
308
  # operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (
309
- # no wildcards `*`) - Only the following fields are supported: - `
309
+ # no wildcards `*`) 2. Only the following fields are supported: - `
310
310
  # applicableProducts` - `regionCodes` - `youtubePayload.partnerEligibilityId` - `
311
- # youtubePayload.postalCode` - Unless explicitly mentioned above, other features
312
- # are not supported. Example: `applicableProducts:partners/partner1/products/
313
- # product1 AND regionCodes:US AND youtubePayload.postalCode=94043 AND
311
+ # youtubePayload.postalCode` 3. Unless explicitly mentioned above, other
312
+ # features are not supported. Example: `applicableProducts:partners/partner1/
313
+ # products/product1 AND regionCodes:US AND youtubePayload.postalCode=94043 AND
314
314
  # youtubePayload.partnerEligibilityId=eligibility-id`
315
315
  # Corresponds to the JSON property `filter`
316
316
  # @return [String]
@@ -426,7 +426,7 @@ module Google
426
426
  end
427
427
  end
428
428
 
429
- #
429
+ # Response that contains the products.
430
430
  class GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse
431
431
  include Google::Apis::Core::Hashable
432
432
 
@@ -452,7 +452,7 @@ module Google
452
452
  end
453
453
  end
454
454
 
455
- #
455
+ # Response that contains the promotions.
456
456
  class GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse
457
457
  include Google::Apis::Core::Hashable
458
458
 
@@ -885,6 +885,13 @@ module Google
885
885
  # @return [Array<String>]
886
886
  attr_accessor :promotions
887
887
 
888
+ # Optional. The timestamp when the user transaction was made with the Partner.
889
+ # Specify for the case of "bundle with choice", and it must be before the
890
+ # provision_time (when the user makes a selection).
891
+ # Corresponds to the JSON property `purchaseTime`
892
+ # @return [String]
893
+ attr_accessor :purchase_time
894
+
888
895
  # Output only. The place where partners should redirect the end-user to after
889
896
  # creation. This field might also be populated when creation failed. However,
890
897
  # Partners should always prepare a default URL to redirect the user in case this
@@ -944,6 +951,7 @@ module Google
944
951
  @products = args[:products] if args.key?(:products)
945
952
  @promotion_specs = args[:promotion_specs] if args.key?(:promotion_specs)
946
953
  @promotions = args[:promotions] if args.key?(:promotions)
954
+ @purchase_time = args[:purchase_time] if args.key?(:purchase_time)
947
955
  @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
948
956
  @renewal_time = args[:renewal_time] if args.key?(:renewal_time)
949
957
  @service_location = args[:service_location] if args.key?(:service_location)
@@ -1009,10 +1017,10 @@ module Google
1009
1017
  # @return [Fixnum]
1010
1018
  attr_accessor :line_item_index
1011
1019
 
1012
- # Optional. The promotions applied on the line item. It can be: - a free trial
1013
- # promotion, which overrides the subscription-level free trial promotion. - an
1014
- # introductory pricing promotion. When used as input in Create or Provision API,
1015
- # specify its resource name only.
1020
+ # Optional. The promotions applied on the line item. It can be: - an
1021
+ # introductory pricing promotion. - a free trial promotion. This feature is not
1022
+ # enabled. If used, the request will be rejected. When used as input in Create
1023
+ # or Provision API, specify its resource name only.
1016
1024
  # Corresponds to the JSON property `lineItemPromotionSpecs`
1017
1025
  # @return [Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec>]
1018
1026
  attr_accessor :line_item_promotion_specs
@@ -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.39.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240222"
25
+ REVISION = "20240404"
26
26
  end
27
27
  end
28
28
  end
@@ -502,6 +502,7 @@ module Google
502
502
  collection :promotion_specs, as: 'promotionSpecs', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec::Representation
503
503
 
504
504
  collection :promotions, as: 'promotions'
505
+ property :purchase_time, as: 'purchaseTime'
505
506
  property :redirect_uri, as: 'redirectUri'
506
507
  property :renewal_time, as: 'renewalTime'
507
508
  property :service_location, as: 'serviceLocation', class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Location, decorator: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Location::Representation
@@ -57,14 +57,14 @@ module Google
57
57
  # Required. The parent, the partner that can resell. Format: partners/`partner`
58
58
  # @param [String] filter
59
59
  # Optional. Specifies the filters for the product results. The syntax is defined
60
- # in https://google.aip.dev/160 with the following caveats: - Only the following
61
- # features are supported: - Logical operator `AND` - Comparison operator `=` (no
62
- # wildcards `*`) - Traversal operator `.` - Has operator `:` (no wildcards `*`) -
63
- # Only the following fields are supported: - `regionCodes` - `youtubePayload.
64
- # partnerEligibilityId` - `youtubePayload.postalCode` - Unless explicitly
65
- # mentioned above, other features are not supported. Example: `regionCodes:US
66
- # AND youtubePayload.postalCode=94043 AND youtubePayload.partnerEligibilityId=
67
- # eligibility-id`
60
+ # in https://google.aip.dev/160 with the following caveats: 1. Only the
61
+ # following features are supported: - Logical operator `AND` - Comparison
62
+ # operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (
63
+ # no wildcards `*`) 2. Only the following fields are supported: - `regionCodes` -
64
+ # `youtubePayload.partnerEligibilityId` - `youtubePayload.postalCode` 3. Unless
65
+ # explicitly mentioned above, other features are not supported. Example: `
66
+ # regionCodes:US AND youtubePayload.postalCode=94043 AND youtubePayload.
67
+ # partnerEligibilityId=eligibility-id`
68
68
  # @param [Fixnum] page_size
69
69
  # Optional. The maximum number of products to return. The service may return
70
70
  # fewer than this value. If unspecified, at most 50 products will be returned.
@@ -144,14 +144,14 @@ module Google
144
144
  # Required. The parent, the partner that can resell. Format: partners/`partner`
145
145
  # @param [String] filter
146
146
  # Optional. Specifies the filters for the promotion results. The syntax is
147
- # defined in https://google.aip.dev/160 with the following caveats: - Only the
147
+ # defined in https://google.aip.dev/160 with the following caveats: 1. Only the
148
148
  # following features are supported: - Logical operator `AND` - Comparison
149
149
  # operator `=` (no wildcards `*`) - Traversal operator `.` - Has operator `:` (
150
- # no wildcards `*`) - Only the following fields are supported: - `
150
+ # no wildcards `*`) 2. Only the following fields are supported: - `
151
151
  # applicableProducts` - `regionCodes` - `youtubePayload.partnerEligibilityId` - `
152
- # youtubePayload.postalCode` - Unless explicitly mentioned above, other features
153
- # are not supported. Example: `applicableProducts:partners/partner1/products/
154
- # product1 AND regionCodes:US AND youtubePayload.postalCode=94043 AND
152
+ # youtubePayload.postalCode` 3. Unless explicitly mentioned above, other
153
+ # features are not supported. Example: `applicableProducts:partners/partner1/
154
+ # products/product1 AND regionCodes:US AND youtubePayload.postalCode=94043 AND
155
155
  # youtubePayload.partnerEligibilityId=eligibility-id`
156
156
  # @param [Fixnum] page_size
157
157
  # Optional. The maximum number of promotions to return. The service may return
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-paymentsresellersubscription_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.39.0
4
+ version: 0.41.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-paymentsresellersubscription_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-paymentsresellersubscription_v1/v0.39.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-paymentsresellersubscription_v1/v0.41.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-paymentsresellersubscription_v1
63
63
  post_install_message:
64
64
  rdoc_options: []