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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/paymentsresellersubscription_v1/classes.rb +24 -16
- data/lib/google/apis/paymentsresellersubscription_v1/gem_version.rb +2 -2
- data/lib/google/apis/paymentsresellersubscription_v1/representations.rb +1 -0
- data/lib/google/apis/paymentsresellersubscription_v1/service.rb +13 -13
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfa06e3814c57c1ea1776ae9bc59ca8fbb6c5d1d869b679e41924099509c819c
|
4
|
+
data.tar.gz: a992ca8c1d11b9373dbe38e01d13530fe211d7ad191e9203a2a30964dda18063
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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:
|
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 `*`)
|
309
|
+
# no wildcards `*`) 2. Only the following fields are supported: - `
|
310
310
|
# applicableProducts` - `regionCodes` - `youtubePayload.partnerEligibilityId` - `
|
311
|
-
# youtubePayload.postalCode`
|
312
|
-
# are not supported. Example: `applicableProducts:partners/partner1/
|
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: -
|
1013
|
-
#
|
1014
|
-
#
|
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.
|
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 = "
|
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:
|
61
|
-
# features are supported: - Logical operator `AND` - Comparison
|
62
|
-
# wildcards `*`) - Traversal operator `.` - Has operator `:` (
|
63
|
-
# Only the following fields are supported: - `regionCodes` -
|
64
|
-
# partnerEligibilityId` - `youtubePayload.postalCode`
|
65
|
-
# mentioned above, other features are not supported. Example: `
|
66
|
-
# AND youtubePayload.postalCode=94043 AND youtubePayload.
|
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:
|
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 `*`)
|
150
|
+
# no wildcards `*`) 2. Only the following fields are supported: - `
|
151
151
|
# applicableProducts` - `regionCodes` - `youtubePayload.partnerEligibilityId` - `
|
152
|
-
# youtubePayload.postalCode`
|
153
|
-
# are not supported. Example: `applicableProducts:partners/partner1/
|
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.
|
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-
|
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.
|
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: []
|