google-apis-reseller_v1 0.5.0 → 0.9.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '095d8bee6e3d5be1bd7901aa295aa4891ff9db89c4ae50395c0fee92cb11f912'
|
4
|
+
data.tar.gz: 369535c11a517278af9c329ea52a30d68f6fa3833902a1fdeb17c96cbce853b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 202cc315628e69491498782605a16af9b9705ce3ce8ed9295839c2b875b0d4a40b84dd99d5b668227c9a94b78581832d76c792c1690053d2427dd4e2cd6114ab
|
7
|
+
data.tar.gz: fbd29e3b3340e18b9c36c9b35a2ba91fc052fd01b038c8c21543511f4e28b5f52304e57a673b8c72f977a1773c7222cec301786103d4f662f69b10e15ac2dfba
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-reseller_v1
|
2
2
|
|
3
|
+
### v0.9.0 (2021-09-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210904
|
6
|
+
|
7
|
+
### v0.8.0 (2021-07-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210720
|
10
|
+
|
11
|
+
### v0.7.0 (2021-06-29)
|
12
|
+
|
13
|
+
* Regenerated using generator version 0.4.0
|
14
|
+
|
15
|
+
### v0.6.0 (2021-06-24)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210623
|
18
|
+
* Regenerated using generator version 0.3.0
|
19
|
+
|
3
20
|
### v0.5.0 (2021-05-19)
|
4
21
|
|
5
22
|
* Unspecified changes
|
@@ -167,8 +167,9 @@ module Google
|
|
167
167
|
|
168
168
|
# Like the "Customer email" in the reseller tools, this email is the secondary
|
169
169
|
# contact used if something happens to the customer's service such as service
|
170
|
-
# outage or a security issue. This property is required when creating a new
|
171
|
-
# customer and should not use the same domain as `customerDomain`.
|
170
|
+
# outage or a security issue. This property is required when creating a new "
|
171
|
+
# domain" customer and should not use the same domain as `customerDomain`. The `
|
172
|
+
# alternateEmail` field is not necessary to create a "team" customer.
|
172
173
|
# Corresponds to the JSON property `alternateEmail`
|
173
174
|
# @return [String]
|
174
175
|
attr_accessor :alternate_email
|
@@ -193,6 +194,14 @@ module Google
|
|
193
194
|
# @return [String]
|
194
195
|
attr_accessor :customer_id
|
195
196
|
|
197
|
+
# Identifies the type of the customer. Acceptable values include: * `domain`:
|
198
|
+
# Implies a domain-verified customer (default). * `team`: Implies an email-
|
199
|
+
# verified customer. For more information, see [managed teams](https://support.
|
200
|
+
# google.com/a/users/answer/9939479).
|
201
|
+
# Corresponds to the JSON property `customerType`
|
202
|
+
# @return [String]
|
203
|
+
attr_accessor :customer_type
|
204
|
+
|
196
205
|
# Identifies the resource as a customer. Value: `reseller#customer`
|
197
206
|
# Corresponds to the JSON property `kind`
|
198
207
|
# @return [String]
|
@@ -211,6 +220,11 @@ module Google
|
|
211
220
|
# @return [Google::Apis::ResellerV1::Address]
|
212
221
|
attr_accessor :postal_address
|
213
222
|
|
223
|
+
# JSON template for primary admin in case of TEAM customers
|
224
|
+
# Corresponds to the JSON property `primaryAdmin`
|
225
|
+
# @return [Google::Apis::ResellerV1::PrimaryAdmin]
|
226
|
+
attr_accessor :primary_admin
|
227
|
+
|
214
228
|
# URL to customer's Admin console dashboard. The read-only URL is generated by
|
215
229
|
# the API service. This is used if your client application requires the customer
|
216
230
|
# to complete a task in the Admin console.
|
@@ -228,13 +242,38 @@ module Google
|
|
228
242
|
@customer_domain = args[:customer_domain] if args.key?(:customer_domain)
|
229
243
|
@customer_domain_verified = args[:customer_domain_verified] if args.key?(:customer_domain_verified)
|
230
244
|
@customer_id = args[:customer_id] if args.key?(:customer_id)
|
245
|
+
@customer_type = args[:customer_type] if args.key?(:customer_type)
|
231
246
|
@kind = args[:kind] if args.key?(:kind)
|
232
247
|
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
233
248
|
@postal_address = args[:postal_address] if args.key?(:postal_address)
|
249
|
+
@primary_admin = args[:primary_admin] if args.key?(:primary_admin)
|
234
250
|
@resource_ui_url = args[:resource_ui_url] if args.key?(:resource_ui_url)
|
235
251
|
end
|
236
252
|
end
|
237
253
|
|
254
|
+
# JSON template for primary admin in case of TEAM customers
|
255
|
+
class PrimaryAdmin
|
256
|
+
include Google::Apis::Core::Hashable
|
257
|
+
|
258
|
+
# The business email of the primary administrator of the customer. The email
|
259
|
+
# verification link is sent to this email address at the time of customer
|
260
|
+
# creation. Primary administrators have access to the customer's Admin Console,
|
261
|
+
# including the ability to invite and evict users and manage the administrative
|
262
|
+
# needs of the customer.
|
263
|
+
# Corresponds to the JSON property `primaryEmail`
|
264
|
+
# @return [String]
|
265
|
+
attr_accessor :primary_email
|
266
|
+
|
267
|
+
def initialize(**args)
|
268
|
+
update!(**args)
|
269
|
+
end
|
270
|
+
|
271
|
+
# Update properties of this object
|
272
|
+
def update!(**args)
|
273
|
+
@primary_email = args[:primary_email] if args.key?(:primary_email)
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
238
277
|
# JSON template for a subscription renewal settings.
|
239
278
|
class RenewalSettings
|
240
279
|
include Google::Apis::Core::Hashable
|
@@ -341,8 +380,8 @@ module Google
|
|
341
380
|
# maximum number of licenses assignable to users on a subscription. The reseller
|
342
381
|
# can add more licenses, but once set, the `numberOfSeats` cannot be reduced
|
343
382
|
# until renewal. The reseller is invoiced based on the `numberOfSeats` value
|
344
|
-
# regardless of how many of these user licenses are assigned. *Note: *
|
345
|
-
# subscriptions automatically assign a license to every user.
|
383
|
+
# regardless of how many of these user licenses are assigned. *Note: *Google
|
384
|
+
# Workspace subscriptions automatically assign a license to every user.
|
346
385
|
# Corresponds to the JSON property `numberOfSeats`
|
347
386
|
# @return [Fixnum]
|
348
387
|
attr_accessor :number_of_seats
|
@@ -598,9 +637,9 @@ module Google
|
|
598
637
|
class TransferInfo
|
599
638
|
include Google::Apis::Core::Hashable
|
600
639
|
|
601
|
-
#
|
602
|
-
# customer has subscription with legacy
|
603
|
-
# populated with
|
640
|
+
# The `skuId` of the current resold subscription. This is populated only when
|
641
|
+
# the customer has a subscription with a legacy SKU and the subscription
|
642
|
+
# resource is populated with the `skuId` of the SKU recommended for the transfer.
|
604
643
|
# Corresponds to the JSON property `currentLegacySkuId`
|
605
644
|
# @return [String]
|
606
645
|
attr_accessor :current_legacy_sku_id
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210904"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class PrimaryAdmin
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class RenewalSettings
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -135,14 +141,24 @@ module Google
|
|
135
141
|
property :customer_domain, as: 'customerDomain'
|
136
142
|
property :customer_domain_verified, as: 'customerDomainVerified'
|
137
143
|
property :customer_id, as: 'customerId'
|
144
|
+
property :customer_type, as: 'customerType'
|
138
145
|
property :kind, as: 'kind'
|
139
146
|
property :phone_number, as: 'phoneNumber'
|
140
147
|
property :postal_address, as: 'postalAddress', class: Google::Apis::ResellerV1::Address, decorator: Google::Apis::ResellerV1::Address::Representation
|
141
148
|
|
149
|
+
property :primary_admin, as: 'primaryAdmin', class: Google::Apis::ResellerV1::PrimaryAdmin, decorator: Google::Apis::ResellerV1::PrimaryAdmin::Representation
|
150
|
+
|
142
151
|
property :resource_ui_url, as: 'resourceUiUrl'
|
143
152
|
end
|
144
153
|
end
|
145
154
|
|
155
|
+
class PrimaryAdmin
|
156
|
+
# @private
|
157
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
158
|
+
property :primary_email, as: 'primaryEmail'
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
146
162
|
class RenewalSettings
|
147
163
|
# @private
|
148
164
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -50,7 +50,7 @@ module Google
|
|
50
50
|
@batch_path = 'batch'
|
51
51
|
end
|
52
52
|
|
53
|
-
#
|
53
|
+
# Gets a customer account. Use this operation to see a customer account already
|
54
54
|
# in your reseller management, or to see the minimal account information for an
|
55
55
|
# existing customer that you do not manage. For more information about the API
|
56
56
|
# response for existing customers, see [retrieving a customer account](/admin-
|
@@ -87,7 +87,7 @@ module Google
|
|
87
87
|
execute_or_queue_command(command, &block)
|
88
88
|
end
|
89
89
|
|
90
|
-
#
|
90
|
+
# Orders a new customer's account. Before ordering a new customer account,
|
91
91
|
# establish whether the customer account already exists using the [`customers.
|
92
92
|
# get`](/admin-sdk/reseller/v1/reference/customers/get) If the customer account
|
93
93
|
# exists as a direct Google account or as a resold customer account from another
|
@@ -138,7 +138,11 @@ module Google
|
|
138
138
|
execute_or_queue_command(command, &block)
|
139
139
|
end
|
140
140
|
|
141
|
-
#
|
141
|
+
# Updates a customer account's settings. This method supports patch semantics.
|
142
|
+
# You cannot update `customerType` via the Reseller API, but a `"team"` customer
|
143
|
+
# can verify their domain and become `customerType = "domain"`. For more
|
144
|
+
# information, see [Verify your domain to unlock Essentials features](https://
|
145
|
+
# support.google.com/a/answer/9122284).
|
142
146
|
# @param [String] customer_id
|
143
147
|
# Either the customer's primary domain name or the customer's unique identifier.
|
144
148
|
# If using the domain name, we do not recommend using a `customerId` as a key
|
@@ -174,9 +178,10 @@ module Google
|
|
174
178
|
execute_or_queue_command(command, &block)
|
175
179
|
end
|
176
180
|
|
177
|
-
#
|
178
|
-
# customer
|
179
|
-
#
|
181
|
+
# Updates a customer account's settings. You cannot update `customerType` via
|
182
|
+
# the Reseller API, but a `"team"` customer can verify their domain and become `
|
183
|
+
# customerType = "domain"`. For more information, see [update a customer's
|
184
|
+
# settings](/admin-sdk/reseller/v1/how-tos/manage_customers#update_customer).
|
180
185
|
# @param [String] customer_id
|
181
186
|
# Either the customer's primary domain name or the customer's unique identifier.
|
182
187
|
# If using the domain name, we do not recommend using a `customerId` as a key
|
@@ -342,7 +347,7 @@ module Google
|
|
342
347
|
execute_or_queue_command(command, &block)
|
343
348
|
end
|
344
349
|
|
345
|
-
#
|
350
|
+
# Updates a subscription plan. Use this method to update a plan for a 30-day
|
346
351
|
# trial or a flexible plan subscription to an annual commitment plan with
|
347
352
|
# monthly or yearly payments. How a plan is updated differs depending on the
|
348
353
|
# plan and the products. For more information, see the description in [manage
|
@@ -390,9 +395,9 @@ module Google
|
|
390
395
|
execute_or_queue_command(command, &block)
|
391
396
|
end
|
392
397
|
|
393
|
-
#
|
394
|
-
# annual commitment plans only. For more information, see the description
|
395
|
-
# manage subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
|
398
|
+
# Updates a user license's renewal settings. This is applicable for accounts
|
399
|
+
# with annual commitment plans only. For more information, see the description
|
400
|
+
# in [manage subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
|
396
401
|
# update_renewal).
|
397
402
|
# @param [String] customer_id
|
398
403
|
# Either the customer's primary domain name or the customer's unique identifier.
|
@@ -436,7 +441,7 @@ module Google
|
|
436
441
|
execute_or_queue_command(command, &block)
|
437
442
|
end
|
438
443
|
|
439
|
-
#
|
444
|
+
# Updates a subscription's user license settings. For more information about
|
440
445
|
# updating an annual commitment plan or a flexible plan subscription’s licenses,
|
441
446
|
# see [Manage Subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
|
442
447
|
# update_subscription_seat).
|
@@ -482,7 +487,7 @@ module Google
|
|
482
487
|
execute_or_queue_command(command, &block)
|
483
488
|
end
|
484
489
|
|
485
|
-
#
|
490
|
+
# Cancels, suspends, or transfers a subscription to direct.
|
486
491
|
# @param [String] customer_id
|
487
492
|
# Either the customer's primary domain name or the customer's unique identifier.
|
488
493
|
# If using the domain name, we do not recommend using a `customerId` as a key
|
@@ -524,7 +529,7 @@ module Google
|
|
524
529
|
execute_or_queue_command(command, &block)
|
525
530
|
end
|
526
531
|
|
527
|
-
#
|
532
|
+
# Gets a specific subscription. The `subscriptionId` can be found using the [
|
528
533
|
# Retrieve all reseller subscriptions](/admin-sdk/reseller/v1/how-tos/
|
529
534
|
# manage_subscriptions#get_all_subscriptions) method. For more information about
|
530
535
|
# retrieving a specific subscription, see the information descrived in [manage
|
@@ -569,7 +574,7 @@ module Google
|
|
569
574
|
execute_or_queue_command(command, &block)
|
570
575
|
end
|
571
576
|
|
572
|
-
#
|
577
|
+
# Creates or transfer a subscription. Create a subscription for a customer's
|
573
578
|
# account that you ordered using the [Order a new customer account](/admin-sdk/
|
574
579
|
# reseller/v1/reference/customers/insert.html) method. For more information
|
575
580
|
# about creating a subscription for different payment plans, see [manage
|
@@ -623,7 +628,7 @@ module Google
|
|
623
628
|
execute_or_queue_command(command, &block)
|
624
629
|
end
|
625
630
|
|
626
|
-
#
|
631
|
+
# Lists of subscriptions managed by the reseller. The list can be all
|
627
632
|
# subscriptions, all of a customer's subscriptions, or all of a customer's
|
628
633
|
# transferable subscriptions. Optionally, this method can filter the response by
|
629
634
|
# a `customerNamePrefix`. For more information, see [manage subscriptions](/
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-reseller_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.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: 2021-
|
11
|
+
date: 2021-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Google Workspace Reseller API V1.
|
28
34
|
Simple REST clients are Ruby client libraries that provide access to Google services
|
29
35
|
via their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-reseller_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-reseller_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-reseller_v1/v0.9.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-reseller_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|