google-apis-reseller_v1 0.2.0 → 0.7.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: 9678e87f16b28b66f3d77c9442ac135070c81e2bc33e0fe1f5d1708ea507875a
4
- data.tar.gz: 8bfd109df155b3196e3febaa569bce20eb8972b368bf70f4f9774eec36230c6a
3
+ metadata.gz: 68e8bdea99f1f459a6ba02d515487d3a065e58f234d4d73cbad07dda504e8ff5
4
+ data.tar.gz: 5ee37d9b219c75d739a4702b5fcd46d6a9e51b2d7ac1109369eb7d5f69c21129
5
5
  SHA512:
6
- metadata.gz: 5a0219f02fcac8d5e5470dce44d59ba626d80f8cef6a7ccfb1c5b21df9afd0801e9990216259353fffb2013828ae2ecbab661f1b7ca7ae5bc5c51a6171dead83
7
- data.tar.gz: 1fe3014b682585ead46edcb09bb306adfd32b6f1b42698f6c726128fabf1a938f76d2ea100297bb0b66d4a46c18cd39eba0501881c96022b66eac53ea7c33133
6
+ metadata.gz: eb25593157adf645da570d45331e389091bb724129481589b93c9c06e1df2c3793829747852691bed917420065279cd20cf65d6b4288231977404d849333a5f8
7
+ data.tar.gz: 108b777aa7c8c6215e60ba13e339254f302e5a046b0a89227dc14a3153e8b7a0b90e22765bc4df8fe6fc0d8e33fe313626e2bff73fbf134ef3b2b95ec5de729d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-reseller_v1
2
2
 
3
+ ### v0.7.0 (2021-06-29)
4
+
5
+ * Regenerated using generator version 0.4.0
6
+
7
+ ### v0.6.0 (2021-06-24)
8
+
9
+ * Regenerated from discovery document revision 20210623
10
+ * Regenerated using generator version 0.3.0
11
+
12
+ ### v0.5.0 (2021-05-19)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.4.0 (2021-03-25)
17
+
18
+ * Regenerated from discovery document revision 20210323
19
+ * Regenerated using generator version 0.2.0
20
+
21
+ ### v0.3.0 (2021-03-04)
22
+
23
+ * Unspecified changes
24
+
3
25
  ### v0.2.0 (2021-02-09)
4
26
 
5
27
  * Regenerated from discovery document revision 20210206
@@ -193,6 +193,11 @@ module Google
193
193
  # @return [String]
194
194
  attr_accessor :customer_id
195
195
 
196
+ # The type of the customer (DOMAIN or TEAM), default is DOMAIN.
197
+ # Corresponds to the JSON property `customerType`
198
+ # @return [String]
199
+ attr_accessor :customer_type
200
+
196
201
  # Identifies the resource as a customer. Value: `reseller#customer`
197
202
  # Corresponds to the JSON property `kind`
198
203
  # @return [String]
@@ -211,6 +216,11 @@ module Google
211
216
  # @return [Google::Apis::ResellerV1::Address]
212
217
  attr_accessor :postal_address
213
218
 
219
+ # JSON template for primary admin in case of TEAM customers
220
+ # Corresponds to the JSON property `primaryAdmin`
221
+ # @return [Google::Apis::ResellerV1::PrimaryAdmin]
222
+ attr_accessor :primary_admin
223
+
214
224
  # URL to customer's Admin console dashboard. The read-only URL is generated by
215
225
  # the API service. This is used if your client application requires the customer
216
226
  # to complete a task in the Admin console.
@@ -228,13 +238,35 @@ module Google
228
238
  @customer_domain = args[:customer_domain] if args.key?(:customer_domain)
229
239
  @customer_domain_verified = args[:customer_domain_verified] if args.key?(:customer_domain_verified)
230
240
  @customer_id = args[:customer_id] if args.key?(:customer_id)
241
+ @customer_type = args[:customer_type] if args.key?(:customer_type)
231
242
  @kind = args[:kind] if args.key?(:kind)
232
243
  @phone_number = args[:phone_number] if args.key?(:phone_number)
233
244
  @postal_address = args[:postal_address] if args.key?(:postal_address)
245
+ @primary_admin = args[:primary_admin] if args.key?(:primary_admin)
234
246
  @resource_ui_url = args[:resource_ui_url] if args.key?(:resource_ui_url)
235
247
  end
236
248
  end
237
249
 
250
+ # JSON template for primary admin in case of TEAM customers
251
+ class PrimaryAdmin
252
+ include Google::Apis::Core::Hashable
253
+
254
+ # Primary admin's domained email This email's domain will be used to create TEAM
255
+ # customer
256
+ # Corresponds to the JSON property `primaryEmail`
257
+ # @return [String]
258
+ attr_accessor :primary_email
259
+
260
+ def initialize(**args)
261
+ update!(**args)
262
+ end
263
+
264
+ # Update properties of this object
265
+ def update!(**args)
266
+ @primary_email = args[:primary_email] if args.key?(:primary_email)
267
+ end
268
+ end
269
+
238
270
  # JSON template for a subscription renewal settings.
239
271
  class RenewalSettings
240
272
  include Google::Apis::Core::Hashable
@@ -598,6 +630,13 @@ module Google
598
630
  class TransferInfo
599
631
  include Google::Apis::Core::Hashable
600
632
 
633
+ # Sku id of the current resold subscription. This is populated only when
634
+ # customer has subscription with legacy sku and the subscription resource is
635
+ # populated with recommeded sku for transfer in.
636
+ # Corresponds to the JSON property `currentLegacySkuId`
637
+ # @return [String]
638
+ attr_accessor :current_legacy_sku_id
639
+
601
640
  # When inserting a subscription, this is the minimum number of seats listed in
602
641
  # the transfer order for this product. For example, if the customer has 20 users,
603
642
  # the reseller cannot place a transfer order of 15 seats. The minimum is 20
@@ -618,6 +657,7 @@ module Google
618
657
 
619
658
  # Update properties of this object
620
659
  def update!(**args)
660
+ @current_legacy_sku_id = args[:current_legacy_sku_id] if args.key?(:current_legacy_sku_id)
621
661
  @minimum_transferable_seats = args[:minimum_transferable_seats] if args.key?(:minimum_transferable_seats)
622
662
  @transferability_expiration_time = args[:transferability_expiration_time] if args.key?(:transferability_expiration_time)
623
663
  end
@@ -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.2.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210206"
25
+ REVISION = "20210623"
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
@@ -225,6 +241,7 @@ module Google
225
241
  class TransferInfo
226
242
  # @private
227
243
  class Representation < Google::Apis::Core::JsonRepresentation
244
+ property :current_legacy_sku_id, as: 'currentLegacySkuId'
228
245
  property :minimum_transferable_seats, as: 'minimumTransferableSeats'
229
246
  property :transferability_expiration_time, :numeric_string => true, as: 'transferabilityExpirationTime'
230
247
  end
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.2.0
4
+ version: 0.7.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-02-15 00:00:00.000000000 Z
11
+ date: 2021-07-05 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.1'
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: '0.1'
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.2.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-reseller_v1/v0.7.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: []
@@ -62,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
68
  requirements:
63
69
  - - ">="
64
70
  - !ruby/object:Gem::Version
65
- version: '2.4'
71
+ version: '2.5'
66
72
  required_rubygems_version: !ruby/object:Gem::Requirement
67
73
  requirements:
68
74
  - - ">="
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.6
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Google Workspace Reseller API V1