google-cloud-channel-v1 0.7.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +8 -8
- data/README.md +1 -1
- data/lib/google/cloud/channel/v1/channel_partner_links_pb.rb +3 -2
- data/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +412 -172
- data/lib/google/cloud/channel/v1/cloud_channel_service/operations.rb +54 -37
- 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 +18 -0
- 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/api/field_behavior.rb +7 -1
- data/proto_docs/google/cloud/channel/v1/customers.rb +5 -4
- data/proto_docs/google/cloud/channel/v1/service.rb +38 -0
- data/proto_docs/google/type/money.rb +1 -1
- metadata +4 -4
@@ -82,7 +82,7 @@ module Google
|
|
82
82
|
# Create credentials
|
83
83
|
credentials = @config.credentials
|
84
84
|
credentials ||= Credentials.default scope: @config.scope
|
85
|
-
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
85
|
+
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
86
86
|
credentials = Credentials.new credentials, scope: @config.scope
|
87
87
|
end
|
88
88
|
@quota_project_id = @config.quota_project
|
@@ -160,16 +160,20 @@ module Google
|
|
160
160
|
gapic_version: ::Google::Cloud::Channel::V1::VERSION
|
161
161
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
162
162
|
|
163
|
-
header_params = {
|
164
|
-
|
165
|
-
|
163
|
+
header_params = {}
|
164
|
+
if request.name
|
165
|
+
header_params["name"] = request.name
|
166
|
+
end
|
167
|
+
|
166
168
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
167
169
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
168
170
|
|
169
171
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
170
172
|
metadata: metadata,
|
171
173
|
retry_policy: @config.rpcs.list_operations.retry_policy
|
172
|
-
|
174
|
+
|
175
|
+
options.apply_defaults timeout: @config.timeout,
|
176
|
+
metadata: @config.metadata,
|
173
177
|
retry_policy: @config.retry_policy
|
174
178
|
|
175
179
|
@operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
|
@@ -230,16 +234,20 @@ module Google
|
|
230
234
|
gapic_version: ::Google::Cloud::Channel::V1::VERSION
|
231
235
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
232
236
|
|
233
|
-
header_params = {
|
234
|
-
|
235
|
-
|
237
|
+
header_params = {}
|
238
|
+
if request.name
|
239
|
+
header_params["name"] = request.name
|
240
|
+
end
|
241
|
+
|
236
242
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
237
243
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
238
244
|
|
239
245
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
240
246
|
metadata: metadata,
|
241
247
|
retry_policy: @config.rpcs.get_operation.retry_policy
|
242
|
-
|
248
|
+
|
249
|
+
options.apply_defaults timeout: @config.timeout,
|
250
|
+
metadata: @config.metadata,
|
243
251
|
retry_policy: @config.retry_policy
|
244
252
|
|
245
253
|
@operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
|
@@ -300,16 +308,20 @@ module Google
|
|
300
308
|
gapic_version: ::Google::Cloud::Channel::V1::VERSION
|
301
309
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
302
310
|
|
303
|
-
header_params = {
|
304
|
-
|
305
|
-
|
311
|
+
header_params = {}
|
312
|
+
if request.name
|
313
|
+
header_params["name"] = request.name
|
314
|
+
end
|
315
|
+
|
306
316
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
307
317
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
308
318
|
|
309
319
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
310
320
|
metadata: metadata,
|
311
321
|
retry_policy: @config.rpcs.delete_operation.retry_policy
|
312
|
-
|
322
|
+
|
323
|
+
options.apply_defaults timeout: @config.timeout,
|
324
|
+
metadata: @config.metadata,
|
313
325
|
retry_policy: @config.retry_policy
|
314
326
|
|
315
327
|
@operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
|
@@ -375,16 +387,20 @@ module Google
|
|
375
387
|
gapic_version: ::Google::Cloud::Channel::V1::VERSION
|
376
388
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
377
389
|
|
378
|
-
header_params = {
|
379
|
-
|
380
|
-
|
390
|
+
header_params = {}
|
391
|
+
if request.name
|
392
|
+
header_params["name"] = request.name
|
393
|
+
end
|
394
|
+
|
381
395
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
382
396
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
383
397
|
|
384
398
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
385
399
|
metadata: metadata,
|
386
400
|
retry_policy: @config.rpcs.cancel_operation.retry_policy
|
387
|
-
|
401
|
+
|
402
|
+
options.apply_defaults timeout: @config.timeout,
|
403
|
+
metadata: @config.metadata,
|
388
404
|
retry_policy: @config.retry_policy
|
389
405
|
|
390
406
|
@operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
|
@@ -396,9 +412,9 @@ module Google
|
|
396
412
|
end
|
397
413
|
|
398
414
|
##
|
399
|
-
# Waits
|
400
|
-
#
|
401
|
-
#
|
415
|
+
# Waits until the specified long-running operation is done or reaches at most
|
416
|
+
# a specified timeout, returning the latest state. If the operation is
|
417
|
+
# already done, the latest state is immediately returned. If the timeout
|
402
418
|
# specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
|
403
419
|
# timeout is used. If the server does not support this method, it returns
|
404
420
|
# `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -456,7 +472,9 @@ module Google
|
|
456
472
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
457
473
|
metadata: metadata,
|
458
474
|
retry_policy: @config.rpcs.wait_operation.retry_policy
|
459
|
-
|
475
|
+
|
476
|
+
options.apply_defaults timeout: @config.timeout,
|
477
|
+
metadata: @config.metadata,
|
460
478
|
retry_policy: @config.retry_policy
|
461
479
|
|
462
480
|
@operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
|
@@ -481,22 +499,21 @@ module Google
|
|
481
499
|
# Configuration can be applied globally to all clients, or to a single client
|
482
500
|
# on construction.
|
483
501
|
#
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
487
|
-
# to 20 seconds,
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
499
|
-
# end
|
502
|
+
# @example
|
503
|
+
#
|
504
|
+
# # Modify the global config, setting the timeout for
|
505
|
+
# # list_operations to 20 seconds,
|
506
|
+
# # and all remaining timeouts to 10 seconds.
|
507
|
+
# ::Google::Longrunning::Operations::Client.configure do |config|
|
508
|
+
# config.timeout = 10.0
|
509
|
+
# config.rpcs.list_operations.timeout = 20.0
|
510
|
+
# end
|
511
|
+
#
|
512
|
+
# # Apply the above configuration only to a new client.
|
513
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
514
|
+
# config.timeout = 10.0
|
515
|
+
# config.rpcs.list_operations.timeout = 20.0
|
516
|
+
# end
|
500
517
|
#
|
501
518
|
# @!attribute [rw] endpoint
|
502
519
|
# The hostname or hostname:port of the service endpoint.
|
@@ -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
|
@@ -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
|
@@ -57,9 +57,15 @@ module Google
|
|
57
57
|
|
58
58
|
# Denotes that a (repeated) field is an unordered list.
|
59
59
|
# This indicates that the service may provide the elements of the list
|
60
|
-
# in any arbitrary
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
61
61
|
# provided. Additionally, the list's order may or may not be stable.
|
62
62
|
UNORDERED_LIST = 6
|
63
|
+
|
64
|
+
# Denotes that this field returns a non-empty default value if not set.
|
65
|
+
# This indicates that if the user provides the empty value in a request,
|
66
|
+
# a non-empty value will be returned. The user will not be aware of what
|
67
|
+
# non-empty value to expect.
|
68
|
+
NON_EMPTY_DEFAULT = 7
|
63
69
|
end
|
64
70
|
end
|
65
71
|
end
|
@@ -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.
|
@@ -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]
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
# Represents an amount of money with its currency type.
|
23
23
|
# @!attribute [rw] currency_code
|
24
24
|
# @return [::String]
|
25
|
-
# The
|
25
|
+
# The three-letter currency code defined in ISO 4217.
|
26
26
|
# @!attribute [rw] units
|
27
27
|
# @return [::Integer]
|
28
28
|
# The whole units of the amount.
|
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.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-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|