google-apis-reseller_v1 0.16.0 → 0.18.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: d337b660c322525b714cb3da2331c613fda753ebd6efcfad6434f7b887b4d964
4
- data.tar.gz: ab1b41baa90b37f1509d23dda1eb19a6cd810dd0724777b995ee56aa3ad7b746
3
+ metadata.gz: 8a66976948a491b0e6cc7b405ee15b2ee1c273bd81a16ab6e8d81a43c8a39390
4
+ data.tar.gz: bf6f2c3a710e38eff60ef2110757c10f246417cae65928f7ed1fc826f05b2145
5
5
  SHA512:
6
- metadata.gz: 3b338cf9ae1616a4b9d16f1af8a9debf5b830faaade9f87f615658999660b3b153bb922a444d43e1b7390464939944e098514f65fef3fb9690eb41e015c57dc5
7
- data.tar.gz: ebc726bcc297b1f721d88db399fd3788a1abe105f1f5b0be9631f3c8acb13a9b06661d21d93f92a733d94ef870f4b45577a13c07cde24f1fcb1d74cd695a5c05
6
+ metadata.gz: 3bf425cee3c3dfc3b19606db0695c28bec0e3db1c8baa071c2a2eeb30b39a2d77888bdff343b2a5110795dbc49c69c6960e4734674b7223e0feedf037d0304d8
7
+ data.tar.gz: a2be2b07e57fc6a6612c3521bdd87f4b5a402fb148e987f277bd2dd975e7194358dc404cf45f2f648b1840520171784dbadace120316110709ea760b4ad077df
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-reseller_v1
2
2
 
3
+ ### v0.18.0 (2023-06-18)
4
+
5
+ * Regenerated from discovery document revision 20230611
6
+
7
+ ### v0.17.0 (2023-02-15)
8
+
9
+ * Regenerated using generator version 0.12.0
10
+
3
11
  ### v0.16.0 (2022-10-27)
4
12
 
5
13
  * Regenerated using generator version 0.11.0
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ResellerV1
18
18
  # Version of the google-apis-reseller_v1 gem
19
- GEM_VERSION = "0.16.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211106"
25
+ REVISION = "20230611"
26
26
  end
27
27
  end
28
28
  end
@@ -602,12 +602,23 @@ module Google
602
602
  # as returned by the API) can always be used. We recommend storing the unique
603
603
  # identifier in your systems where applicable.
604
604
  # @param [Google::Apis::ResellerV1::Subscription] subscription_object
605
+ # @param [String] action
606
+ # The intented insert action. The usage of this field is governed by certain
607
+ # policies which are being developed & tested currently. Hence, these might not
608
+ # work as intended. Once this is fully tested & available to consume, we will
609
+ # share more information about its usage, limitations and policy documentation.
605
610
  # @param [String] customer_auth_token
606
611
  # The `customerAuthToken` query string is required when creating a resold
607
612
  # account that transfers a direct customer's subscription or transfers another
608
613
  # reseller customer's subscription to your reseller management. This is a
609
614
  # hexadecimal authentication token needed to complete the subscription transfer.
610
615
  # For more information, see the administrator help center.
616
+ # @param [String] source_sku_id
617
+ # The sku_id of the existing subscription to be upgraded or downgraded. This is
618
+ # required when action is SWITCH. The usage of this field is governed by certain
619
+ # policies which are being developed & tested currently. Hence, these might not
620
+ # work as intended. Once this is fully tested & available to consume, we will
621
+ # share more information about its usage, limitations and policy documentation.
611
622
  # @param [String] fields
612
623
  # Selector specifying which fields to include in a partial response.
613
624
  # @param [String] quota_user
@@ -625,14 +636,16 @@ module Google
625
636
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
626
637
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
627
638
  # @raise [Google::Apis::AuthorizationError] Authorization is required
628
- def insert_subscription(customer_id, subscription_object = nil, customer_auth_token: nil, fields: nil, quota_user: nil, options: nil, &block)
639
+ def insert_subscription(customer_id, subscription_object = nil, action: nil, customer_auth_token: nil, source_sku_id: nil, fields: nil, quota_user: nil, options: nil, &block)
629
640
  command = make_simple_command(:post, 'apps/reseller/v1/customers/{customerId}/subscriptions', options)
630
641
  command.request_representation = Google::Apis::ResellerV1::Subscription::Representation
631
642
  command.request_object = subscription_object
632
643
  command.response_representation = Google::Apis::ResellerV1::Subscription::Representation
633
644
  command.response_class = Google::Apis::ResellerV1::Subscription
634
645
  command.params['customerId'] = customer_id unless customer_id.nil?
646
+ command.query['action'] = action unless action.nil?
635
647
  command.query['customerAuthToken'] = customer_auth_token unless customer_auth_token.nil?
648
+ command.query['sourceSkuId'] = source_sku_id unless source_sku_id.nil?
636
649
  command.query['fields'] = fields unless fields.nil?
637
650
  command.query['quotaUser'] = quota_user unless quota_user.nil?
638
651
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-reseller_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.18.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: 2022-10-31 00:00:00.000000000 Z
11
+ date: 2023-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-reseller_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-reseller_v1/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-reseller_v1/v0.18.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-reseller_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Workspace Reseller API V1