google-apis-reseller_v1 0.5.0 → 0.6.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: 217bcd8750fe16cabd960e77857854fa93431492930a3a8f9d24972eb4f85b5d
4
- data.tar.gz: b0853975ae300d4b16801d3bdb658112ac9ac8a3866ba0976eb9f89465233cfa
3
+ metadata.gz: e7e0e8fd763b3fa9649358509bee7dc41f0fd66bf96ab86afc666380bb22616d
4
+ data.tar.gz: 6d317429bd3da935ea7b061502b02a66cc1609d29debadf8f4ee0f0d588df2c4
5
5
  SHA512:
6
- metadata.gz: c6e1b1829227d9b6281d929f76a2372feaeccbe73eb877b065f161e892d24edd7abf56168bf3ad1ab0b225826828eb207a43c155cdf2e7a0af1a342f1b89c21c
7
- data.tar.gz: 52370c8c2a4de2e77458fdeff4b5cd3ea30a5052f867da816d8f12e74fe8d84f4b67bf5a9a956d676c8c464d38ffc7ea8b9d841df4c8e7d3ce820d54042d19cf
6
+ metadata.gz: 07fa09e4249b833f8d3c084d5ae677093be8840d64b508d72fadf8a056b0fdf0fbc61013f96ae8918a8ecc46ac5c322371ff9ca8d33656532094c850604804ab
7
+ data.tar.gz: 7a8a253ee4f1086faeffd658fde2bb0c9f5568586a2bdf7867db744d7faeb44d0fef21c71010b19f951da93d422ff331ff7634fb5c2de5e1b48431d88ade7b90
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-reseller_v1
2
2
 
3
+ ### v0.6.0 (2021-06-24)
4
+
5
+ * Regenerated from discovery document revision 20210623
6
+ * Regenerated using generator version 0.3.0
7
+
3
8
  ### v0.5.0 (2021-05-19)
4
9
 
5
10
  * Unspecified changes
@@ -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
@@ -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.5.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210323"
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
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.5.0
4
+ version: 0.6.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-05-24 00:00:00.000000000 Z
11
+ date: 2021-06-28 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.3'
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.3'
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.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-reseller_v1/v0.6.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: []