google-apis-reseller_v1 0.17.0 → 0.18.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: f6f4304677a05e8dac4e8c14e037e24819fdf3557e40d093eb39a4f928a065e0
4
- data.tar.gz: 0025bf6ffd831a5738c0c007c461e21ab76dea1d5bf4ac52ea6b878832ccf2bc
3
+ metadata.gz: 8a66976948a491b0e6cc7b405ee15b2ee1c273bd81a16ab6e8d81a43c8a39390
4
+ data.tar.gz: bf6f2c3a710e38eff60ef2110757c10f246417cae65928f7ed1fc826f05b2145
5
5
  SHA512:
6
- metadata.gz: 8b11a01dbd0c780ee67bf3911925ead1a47b8715cefb092f20e33914264a82fb811de2161d7b0bf1b39b9c2d03d14dca33e980c3f33e118659ac0f86210211b4
7
- data.tar.gz: 3b338e53e973529d6becb407cd12ea71adedb66d1f8913de3ce0093a2a5f1e0112a7100c5d4828b1eb85f8568f1a8f9ed6de5e725f976ad23126604e2e60e6f6
6
+ metadata.gz: 3bf425cee3c3dfc3b19606db0695c28bec0e3db1c8baa071c2a2eeb30b39a2d77888bdff343b2a5110795dbc49c69c6960e4734674b7223e0feedf037d0304d8
7
+ data.tar.gz: a2be2b07e57fc6a6612c3521bdd87f4b5a402fb148e987f277bd2dd975e7194358dc404cf45f2f648b1840520171784dbadace120316110709ea760b4ad077df
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.17.0 (2023-02-15)
4
8
 
5
9
  * Regenerated using generator version 0.12.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.17.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
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.17.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: 2023-02-19 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
@@ -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.17.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: []