google-cloud-channel-v1 0.7.2 → 0.9.2
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 +4 -4
- data/lib/google/cloud/channel/v1/channel_partner_links_pb.rb +3 -2
- data/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +948 -100
- data/lib/google/cloud/channel/v1/cloud_channel_service/operations.rb +115 -12
- data/lib/google/cloud/channel/v1/cloud_channel_service/paths.rb +17 -0
- data/lib/google/cloud/channel/v1/common_pb.rb +2 -2
- data/lib/google/cloud/channel/v1/customers_pb.rb +2 -2
- data/lib/google/cloud/channel/v1/entitlements_pb.rb +2 -2
- data/lib/google/cloud/channel/v1/offers_pb.rb +2 -2
- data/lib/google/cloud/channel/v1/operations_pb.rb +1 -1
- data/lib/google/cloud/channel/v1/products_pb.rb +2 -2
- data/lib/google/cloud/channel/v1/service_pb.rb +14 -2
- data/lib/google/cloud/channel/v1/service_services_pb.rb +19 -1
- data/lib/google/cloud/channel/v1/subscriber_event_pb.rb +2 -2
- data/lib/google/cloud/channel/v1/version.rb +1 -1
- data/proto_docs/google/cloud/channel/v1/customers.rb +5 -4
- data/proto_docs/google/cloud/channel/v1/entitlements.rb +10 -2
- data/proto_docs/google/cloud/channel/v1/service.rb +43 -1
- metadata +2 -2
@@ -143,6 +143,27 @@ module Google
|
|
143
143
|
#
|
144
144
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
145
145
|
#
|
146
|
+
# @example Basic example
|
147
|
+
# require "google/longrunning"
|
148
|
+
#
|
149
|
+
# # Create a client object. The client can be reused for multiple calls.
|
150
|
+
# client = Google::Longrunning::Operations::Client.new
|
151
|
+
#
|
152
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
153
|
+
# request = Google::Longrunning::ListOperationsRequest.new
|
154
|
+
#
|
155
|
+
# # Call the list_operations method.
|
156
|
+
# result = client.list_operations request
|
157
|
+
#
|
158
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
159
|
+
# # iterate over all elements by calling #each, and the enumerable
|
160
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
161
|
+
# # methods are also available for managing paging directly.
|
162
|
+
# result.each do |response|
|
163
|
+
# # Each element is of type ::Google::Longrunning::Operation.
|
164
|
+
# p response
|
165
|
+
# end
|
166
|
+
#
|
146
167
|
def list_operations request, options = nil
|
147
168
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
148
169
|
|
@@ -160,9 +181,11 @@ module Google
|
|
160
181
|
gapic_version: ::Google::Cloud::Channel::V1::VERSION
|
161
182
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
162
183
|
|
163
|
-
header_params = {
|
164
|
-
|
165
|
-
|
184
|
+
header_params = {}
|
185
|
+
if request.name
|
186
|
+
header_params["name"] = request.name
|
187
|
+
end
|
188
|
+
|
166
189
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
167
190
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
168
191
|
|
@@ -215,6 +238,28 @@ module Google
|
|
215
238
|
#
|
216
239
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
217
240
|
#
|
241
|
+
# @example Basic example
|
242
|
+
# require "google/longrunning"
|
243
|
+
#
|
244
|
+
# # Create a client object. The client can be reused for multiple calls.
|
245
|
+
# client = Google::Longrunning::Operations::Client.new
|
246
|
+
#
|
247
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
248
|
+
# request = Google::Longrunning::GetOperationRequest.new
|
249
|
+
#
|
250
|
+
# # Call the get_operation method.
|
251
|
+
# result = client.get_operation request
|
252
|
+
#
|
253
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
254
|
+
# # object to check the status of an operation, cancel it, or wait
|
255
|
+
# # for results. Here is how to block until completion:
|
256
|
+
# result.wait_until_done! timeout: 60
|
257
|
+
# if result.response?
|
258
|
+
# p result.response
|
259
|
+
# else
|
260
|
+
# puts "Error!"
|
261
|
+
# end
|
262
|
+
#
|
218
263
|
def get_operation request, options = nil
|
219
264
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
220
265
|
|
@@ -232,9 +277,11 @@ module Google
|
|
232
277
|
gapic_version: ::Google::Cloud::Channel::V1::VERSION
|
233
278
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
234
279
|
|
235
|
-
header_params = {
|
236
|
-
|
237
|
-
|
280
|
+
header_params = {}
|
281
|
+
if request.name
|
282
|
+
header_params["name"] = request.name
|
283
|
+
end
|
284
|
+
|
238
285
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
239
286
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
240
287
|
|
@@ -287,6 +334,21 @@ module Google
|
|
287
334
|
#
|
288
335
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
289
336
|
#
|
337
|
+
# @example Basic example
|
338
|
+
# require "google/longrunning"
|
339
|
+
#
|
340
|
+
# # Create a client object. The client can be reused for multiple calls.
|
341
|
+
# client = Google::Longrunning::Operations::Client.new
|
342
|
+
#
|
343
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
344
|
+
# request = Google::Longrunning::DeleteOperationRequest.new
|
345
|
+
#
|
346
|
+
# # Call the delete_operation method.
|
347
|
+
# result = client.delete_operation request
|
348
|
+
#
|
349
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
350
|
+
# p result
|
351
|
+
#
|
290
352
|
def delete_operation request, options = nil
|
291
353
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
292
354
|
|
@@ -304,9 +366,11 @@ module Google
|
|
304
366
|
gapic_version: ::Google::Cloud::Channel::V1::VERSION
|
305
367
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
306
368
|
|
307
|
-
header_params = {
|
308
|
-
|
309
|
-
|
369
|
+
header_params = {}
|
370
|
+
if request.name
|
371
|
+
header_params["name"] = request.name
|
372
|
+
end
|
373
|
+
|
310
374
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
311
375
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
312
376
|
|
@@ -364,6 +428,21 @@ module Google
|
|
364
428
|
#
|
365
429
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
366
430
|
#
|
431
|
+
# @example Basic example
|
432
|
+
# require "google/longrunning"
|
433
|
+
#
|
434
|
+
# # Create a client object. The client can be reused for multiple calls.
|
435
|
+
# client = Google::Longrunning::Operations::Client.new
|
436
|
+
#
|
437
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
438
|
+
# request = Google::Longrunning::CancelOperationRequest.new
|
439
|
+
#
|
440
|
+
# # Call the cancel_operation method.
|
441
|
+
# result = client.cancel_operation request
|
442
|
+
#
|
443
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
444
|
+
# p result
|
445
|
+
#
|
367
446
|
def cancel_operation request, options = nil
|
368
447
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
369
448
|
|
@@ -381,9 +460,11 @@ module Google
|
|
381
460
|
gapic_version: ::Google::Cloud::Channel::V1::VERSION
|
382
461
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
383
462
|
|
384
|
-
header_params = {
|
385
|
-
|
386
|
-
|
463
|
+
header_params = {}
|
464
|
+
if request.name
|
465
|
+
header_params["name"] = request.name
|
466
|
+
end
|
467
|
+
|
387
468
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
388
469
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
389
470
|
|
@@ -444,6 +525,28 @@ module Google
|
|
444
525
|
#
|
445
526
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
446
527
|
#
|
528
|
+
# @example Basic example
|
529
|
+
# require "google/longrunning"
|
530
|
+
#
|
531
|
+
# # Create a client object. The client can be reused for multiple calls.
|
532
|
+
# client = Google::Longrunning::Operations::Client.new
|
533
|
+
#
|
534
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
535
|
+
# request = Google::Longrunning::WaitOperationRequest.new
|
536
|
+
#
|
537
|
+
# # Call the wait_operation method.
|
538
|
+
# result = client.wait_operation request
|
539
|
+
#
|
540
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
541
|
+
# # object to check the status of an operation, cancel it, or wait
|
542
|
+
# # for results. Here is how to block until completion:
|
543
|
+
# result.wait_until_done! timeout: 60
|
544
|
+
# if result.response?
|
545
|
+
# p result.response
|
546
|
+
# else
|
547
|
+
# puts "Error!"
|
548
|
+
# end
|
549
|
+
#
|
447
550
|
def wait_operation request, options = nil
|
448
551
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
449
552
|
|
@@ -24,6 +24,23 @@ module Google
|
|
24
24
|
module CloudChannelService
|
25
25
|
# Path helper methods for the CloudChannelService API.
|
26
26
|
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified ChannelPartnerLink resource string.
|
29
|
+
#
|
30
|
+
# The resource will be in the following format:
|
31
|
+
#
|
32
|
+
# `accounts/{account}/channelPartnerLinks/{channel_partner_link}`
|
33
|
+
#
|
34
|
+
# @param account [String]
|
35
|
+
# @param channel_partner_link [String]
|
36
|
+
#
|
37
|
+
# @return [::String]
|
38
|
+
def channel_partner_link_path account:, channel_partner_link:
|
39
|
+
raise ::ArgumentError, "account cannot contain /" if account.to_s.include? "/"
|
40
|
+
|
41
|
+
"accounts/#{account}/channelPartnerLinks/#{channel_partner_link}"
|
42
|
+
end
|
43
|
+
|
27
44
|
##
|
28
45
|
# Create a fully-qualified Customer resource string.
|
29
46
|
#
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/channel/v1/common.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/protobuf/any_pb'
|
8
6
|
require 'google/api/annotations_pb'
|
7
|
+
require 'google/protobuf'
|
8
|
+
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("google/cloud/channel/v1/common.proto", :syntax => :proto3) do
|
11
11
|
add_message "google.cloud.channel.v1.EduData" do
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/channel/v1/customers.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/api/resource_pb'
|
8
6
|
require 'google/cloud/channel/v1/common_pb'
|
9
7
|
require 'google/protobuf/timestamp_pb'
|
10
8
|
require 'google/type/postal_address_pb'
|
11
9
|
require 'google/api/annotations_pb'
|
10
|
+
require 'google/protobuf'
|
11
|
+
|
12
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
13
|
add_file("google/cloud/channel/v1/customers.proto", :syntax => :proto3) do
|
14
14
|
add_message "google.cloud.channel.v1.Customer" do
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/channel/v1/entitlements.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/api/resource_pb'
|
8
6
|
require 'google/cloud/channel/v1/common_pb'
|
@@ -11,6 +9,8 @@ require 'google/cloud/channel/v1/products_pb'
|
|
11
9
|
require 'google/protobuf/timestamp_pb'
|
12
10
|
require 'google/protobuf/wrappers_pb'
|
13
11
|
require 'google/api/annotations_pb'
|
12
|
+
require 'google/protobuf'
|
13
|
+
|
14
14
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
15
15
|
add_file("google/cloud/channel/v1/entitlements.proto", :syntax => :proto3) do
|
16
16
|
add_message "google.cloud.channel.v1.Entitlement" do
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/channel/v1/offers.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/api/resource_pb'
|
8
6
|
require 'google/cloud/channel/v1/common_pb'
|
@@ -10,6 +8,8 @@ require 'google/cloud/channel/v1/products_pb'
|
|
10
8
|
require 'google/protobuf/timestamp_pb'
|
11
9
|
require 'google/type/money_pb'
|
12
10
|
require 'google/api/annotations_pb'
|
11
|
+
require 'google/protobuf'
|
12
|
+
|
13
13
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
14
|
add_file("google/cloud/channel/v1/offers.proto", :syntax => :proto3) do
|
15
15
|
add_message "google.cloud.channel.v1.Offer" do
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/channel/v1/operations.proto
|
3
3
|
|
4
|
+
require 'google/api/annotations_pb'
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
require 'google/api/annotations_pb'
|
7
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
8
|
add_file("google/cloud/channel/v1/operations.proto", :syntax => :proto3) do
|
9
9
|
add_message "google.cloud.channel.v1.OperationMetadata" do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/channel/v1/products.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/resource_pb'
|
7
5
|
require 'google/api/annotations_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/cloud/channel/v1/products.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.cloud.channel.v1.Product" do
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/channel/v1/service.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
@@ -16,6 +14,8 @@ require 'google/cloud/channel/v1/products_pb'
|
|
16
14
|
require 'google/longrunning/operations_pb'
|
17
15
|
require 'google/protobuf/empty_pb'
|
18
16
|
require 'google/protobuf/field_mask_pb'
|
17
|
+
require 'google/protobuf'
|
18
|
+
|
19
19
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
20
20
|
add_file("google/cloud/channel/v1/service.proto", :syntax => :proto3) do
|
21
21
|
add_message "google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest" do
|
@@ -54,6 +54,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
54
54
|
add_message "google.cloud.channel.v1.DeleteCustomerRequest" do
|
55
55
|
optional :name, :string, 1
|
56
56
|
end
|
57
|
+
add_message "google.cloud.channel.v1.ImportCustomerRequest" do
|
58
|
+
optional :parent, :string, 1
|
59
|
+
optional :auth_token, :string, 4
|
60
|
+
optional :overwrite_if_exists, :bool, 5
|
61
|
+
optional :channel_partner_id, :string, 6
|
62
|
+
optional :customer, :string, 7
|
63
|
+
oneof :customer_identity do
|
64
|
+
optional :domain, :string, 2
|
65
|
+
optional :cloud_identity_id, :string, 3
|
66
|
+
end
|
67
|
+
end
|
57
68
|
add_message "google.cloud.channel.v1.ProvisionCloudIdentityRequest" do
|
58
69
|
optional :customer, :string, 1
|
59
70
|
optional :cloud_identity_info, :message, 2, "google.cloud.channel.v1.CloudIdentityInfo"
|
@@ -309,6 +320,7 @@ module Google
|
|
309
320
|
CreateCustomerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.CreateCustomerRequest").msgclass
|
310
321
|
UpdateCustomerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.UpdateCustomerRequest").msgclass
|
311
322
|
DeleteCustomerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.DeleteCustomerRequest").msgclass
|
323
|
+
ImportCustomerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ImportCustomerRequest").msgclass
|
312
324
|
ProvisionCloudIdentityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ProvisionCloudIdentityRequest").msgclass
|
313
325
|
ListEntitlementsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ListEntitlementsRequest").msgclass
|
314
326
|
ListEntitlementsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ListEntitlementsResponse").msgclass
|
@@ -45,7 +45,7 @@ module Google
|
|
45
45
|
# distributors and their indirect resellers in a channel.
|
46
46
|
class Service
|
47
47
|
|
48
|
-
include GRPC::GenericService
|
48
|
+
include ::GRPC::GenericService
|
49
49
|
|
50
50
|
self.marshal_class_method = :encode
|
51
51
|
self.unmarshal_class_method = :decode
|
@@ -129,6 +129,24 @@ module Google
|
|
129
129
|
# * FAILED_PRECONDITION: The customer has existing entitlements.
|
130
130
|
# * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name in the request.
|
131
131
|
rpc :DeleteCustomer, ::Google::Cloud::Channel::V1::DeleteCustomerRequest, ::Google::Protobuf::Empty
|
132
|
+
# Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud Identity associated with the provided
|
133
|
+
# Cloud Identity ID or domain before a TransferEntitlements call. If a
|
134
|
+
# linked Customer already exists and overwrite_if_exists is true, it will
|
135
|
+
# update that Customer's data.
|
136
|
+
#
|
137
|
+
# Possible error codes:
|
138
|
+
#
|
139
|
+
# * PERMISSION_DENIED: The reseller account making the request is different
|
140
|
+
# from the reseller account in the API request.
|
141
|
+
# * NOT_FOUND: Cloud Identity doesn't exist or was deleted.
|
142
|
+
# * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is
|
143
|
+
# expired or invalid.
|
144
|
+
# * ALREADY_EXISTS: A customer already exists and has conflicting critical
|
145
|
+
# fields. Requires an overwrite.
|
146
|
+
#
|
147
|
+
# Return value:
|
148
|
+
# The [Customer][google.cloud.channel.v1.Customer].
|
149
|
+
rpc :ImportCustomer, ::Google::Cloud::Channel::V1::ImportCustomerRequest, ::Google::Cloud::Channel::V1::Customer
|
132
150
|
# Creates a Cloud Identity for the given customer using the customer's
|
133
151
|
# information, or the information provided here.
|
134
152
|
#
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/channel/v1/subscriber_event.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/resource_pb'
|
7
5
|
require 'google/api/annotations_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/cloud/channel/v1/subscriber_event.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.cloud.channel.v1.CustomerEvent" do
|
@@ -43,7 +43,8 @@ module Google
|
|
43
43
|
# Secondary contact email. You need to provide an alternate email to create
|
44
44
|
# different domains if a primary contact email already exists. Users will
|
45
45
|
# receive a notification with credentials when you create an admin.google.com
|
46
|
-
# account. Secondary emails are also recovery email addresses.
|
46
|
+
# account. Secondary emails are also recovery email addresses. Alternate
|
47
|
+
# emails are optional when you create Team customers.
|
47
48
|
# @!attribute [rw] domain
|
48
49
|
# @return [::String]
|
49
50
|
# Required. The customer's primary domain. Must match the primary contact
|
@@ -79,10 +80,10 @@ module Google
|
|
79
80
|
# Contact information for a customer account.
|
80
81
|
# @!attribute [rw] first_name
|
81
82
|
# @return [::String]
|
82
|
-
# The customer account contact's first name.
|
83
|
+
# The customer account contact's first name. Optional for Team customers.
|
83
84
|
# @!attribute [rw] last_name
|
84
85
|
# @return [::String]
|
85
|
-
# The customer account contact's last name.
|
86
|
+
# The customer account contact's last name. Optional for Team customers.
|
86
87
|
# @!attribute [r] display_name
|
87
88
|
# @return [::String]
|
88
89
|
# Output only. The customer account contact's display name, formatted as a
|
@@ -91,7 +92,7 @@ module Google
|
|
91
92
|
# @return [::String]
|
92
93
|
# The customer account's contact email. Required for entitlements that create
|
93
94
|
# admin.google.com accounts, and serves as the customer's username for those
|
94
|
-
# accounts.
|
95
|
+
# accounts. Use this email to invite Team customers.
|
95
96
|
# @!attribute [rw] title
|
96
97
|
# @return [::String]
|
97
98
|
# Optional. The customer account contact's job title.
|
@@ -64,8 +64,16 @@ module Google
|
|
64
64
|
# @!attribute [rw] parameters
|
65
65
|
# @return [::Array<::Google::Cloud::Channel::V1::Parameter>]
|
66
66
|
# Extended entitlement parameters. When creating an entitlement, valid
|
67
|
-
#
|
68
|
-
#
|
67
|
+
# parameter names and values are defined in the
|
68
|
+
# {::Google::Cloud::Channel::V1::Offer#parameter_definitions Offer.parameter_definitions}.
|
69
|
+
#
|
70
|
+
# The response may include the following output-only Parameters:
|
71
|
+
#
|
72
|
+
# - assigned_units: The number of licenses assigned to users.
|
73
|
+
#
|
74
|
+
# - max_units: The maximum assignable units for a flexible offer.
|
75
|
+
#
|
76
|
+
# - num_units: The total commitment for commitment-based offers.
|
69
77
|
class Entitlement
|
70
78
|
include ::Google::Protobuf::MessageExts
|
71
79
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -146,6 +146,44 @@ module Google
|
|
146
146
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
147
147
|
end
|
148
148
|
|
149
|
+
# Request message for {::Google::Cloud::Channel::V1::CloudChannelService::Client#import_customer CloudChannelService.ImportCustomer}
|
150
|
+
# @!attribute [rw] domain
|
151
|
+
# @return [::String]
|
152
|
+
# Required. Customer domain.
|
153
|
+
# @!attribute [rw] cloud_identity_id
|
154
|
+
# @return [::String]
|
155
|
+
# Required. Customer's Cloud Identity ID
|
156
|
+
# @!attribute [rw] parent
|
157
|
+
# @return [::String]
|
158
|
+
# Required. The resource name of the reseller's account.
|
159
|
+
# Parent takes the format: accounts/\\{account_id} or
|
160
|
+
# accounts/\\{account_id}/channelPartnerLinks/\\{channel_partner_id}
|
161
|
+
# @!attribute [rw] auth_token
|
162
|
+
# @return [::String]
|
163
|
+
# Optional. The super admin of the resold customer generates this token to
|
164
|
+
# authorize a reseller to access their Cloud Identity and purchase
|
165
|
+
# entitlements on their behalf. You can omit this token after authorization.
|
166
|
+
# See https://support.google.com/a/answer/7643790 for more details.
|
167
|
+
# @!attribute [rw] overwrite_if_exists
|
168
|
+
# @return [::Boolean]
|
169
|
+
# Required. Choose to overwrite an existing customer if found.
|
170
|
+
# This must be set to true if there is an existing customer with a
|
171
|
+
# conflicting region code or domain.
|
172
|
+
# @!attribute [rw] channel_partner_id
|
173
|
+
# @return [::String]
|
174
|
+
# Optional. Cloud Identity ID of a channel partner who will be the direct reseller for
|
175
|
+
# the customer's order. This field is required for 2-tier transfer scenarios
|
176
|
+
# and can be provided via the request Parent binding as well.
|
177
|
+
# @!attribute [rw] customer
|
178
|
+
# @return [::String]
|
179
|
+
# Optional. Specifies the customer that will receive imported Cloud Identity
|
180
|
+
# information.
|
181
|
+
# Format: accounts/\\{account_id}/customers/\\{customer_id}
|
182
|
+
class ImportCustomerRequest
|
183
|
+
include ::Google::Protobuf::MessageExts
|
184
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
185
|
+
end
|
186
|
+
|
149
187
|
# Request message for {::Google::Cloud::Channel::V1::CloudChannelService::Client#provision_cloud_identity CloudChannelService.ProvisionCloudIdentity}
|
150
188
|
# @!attribute [rw] customer
|
151
189
|
# @return [::String]
|
@@ -523,6 +561,9 @@ module Google
|
|
523
561
|
# @!attribute [rw] parameters
|
524
562
|
# @return [::Array<::Google::Cloud::Channel::V1::Parameter>]
|
525
563
|
# Required. Entitlement parameters to update. You can only change editable parameters.
|
564
|
+
#
|
565
|
+
# To view the available Parameters for a request, refer to the
|
566
|
+
# {::Google::Cloud::Channel::V1::Offer#parameter_definitions Offer.parameter_definitions} from the desired offer.
|
526
567
|
# @!attribute [rw] request_id
|
527
568
|
# @return [::String]
|
528
569
|
# Optional. You can specify an optional unique request ID, and if you need to retry
|
@@ -583,7 +624,8 @@ module Google
|
|
583
624
|
# Format: accounts/\\{account_id}/offers/\\{offer_id}.
|
584
625
|
# @!attribute [rw] parameters
|
585
626
|
# @return [::Array<::Google::Cloud::Channel::V1::Parameter>]
|
586
|
-
# Optional. Parameters needed to purchase the Offer.
|
627
|
+
# Optional. Parameters needed to purchase the Offer. To view the available Parameters
|
628
|
+
# refer to the {::Google::Cloud::Channel::V1::Offer#parameter_definitions Offer.parameter_definitions} from the desired offer.
|
587
629
|
# @!attribute [rw] purchase_order_id
|
588
630
|
# @return [::String]
|
589
631
|
# Optional. Purchase order id provided by the reseller.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-channel-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.2
|
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-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|