google-cloud-channel-v1 0.6.0 → 0.8.0
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/AUTHENTICATION.md +8 -8
- data/README.md +1 -1
- data/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +332 -76
- data/lib/google/cloud/channel/v1/cloud_channel_service/operations.rb +34 -25
- data/lib/google/cloud/channel/v1/service_pb.rb +16 -0
- data/lib/google/cloud/channel/v1/service_services_pb.rb +33 -4
- data/lib/google/cloud/channel/v1/subscriber_event_pb.rb +1 -0
- 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 +24 -27
- data/proto_docs/google/cloud/channel/v1/service.rb +49 -0
- data/proto_docs/google/cloud/channel/v1/subscriber_event.rb +3 -0
- data/proto_docs/google/type/money.rb +1 -1
- metadata +13 -7
@@ -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
|
@@ -169,7 +169,9 @@ module Google
|
|
169
169
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
170
170
|
metadata: metadata,
|
171
171
|
retry_policy: @config.rpcs.list_operations.retry_policy
|
172
|
-
|
172
|
+
|
173
|
+
options.apply_defaults timeout: @config.timeout,
|
174
|
+
metadata: @config.metadata,
|
173
175
|
retry_policy: @config.retry_policy
|
174
176
|
|
175
177
|
@operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
|
@@ -239,7 +241,9 @@ module Google
|
|
239
241
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
240
242
|
metadata: metadata,
|
241
243
|
retry_policy: @config.rpcs.get_operation.retry_policy
|
242
|
-
|
244
|
+
|
245
|
+
options.apply_defaults timeout: @config.timeout,
|
246
|
+
metadata: @config.metadata,
|
243
247
|
retry_policy: @config.retry_policy
|
244
248
|
|
245
249
|
@operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
|
@@ -309,7 +313,9 @@ module Google
|
|
309
313
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
310
314
|
metadata: metadata,
|
311
315
|
retry_policy: @config.rpcs.delete_operation.retry_policy
|
312
|
-
|
316
|
+
|
317
|
+
options.apply_defaults timeout: @config.timeout,
|
318
|
+
metadata: @config.metadata,
|
313
319
|
retry_policy: @config.retry_policy
|
314
320
|
|
315
321
|
@operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
|
@@ -384,7 +390,9 @@ module Google
|
|
384
390
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
385
391
|
metadata: metadata,
|
386
392
|
retry_policy: @config.rpcs.cancel_operation.retry_policy
|
387
|
-
|
393
|
+
|
394
|
+
options.apply_defaults timeout: @config.timeout,
|
395
|
+
metadata: @config.metadata,
|
388
396
|
retry_policy: @config.retry_policy
|
389
397
|
|
390
398
|
@operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
|
@@ -396,9 +404,9 @@ module Google
|
|
396
404
|
end
|
397
405
|
|
398
406
|
##
|
399
|
-
# Waits
|
400
|
-
#
|
401
|
-
#
|
407
|
+
# Waits until the specified long-running operation is done or reaches at most
|
408
|
+
# a specified timeout, returning the latest state. If the operation is
|
409
|
+
# already done, the latest state is immediately returned. If the timeout
|
402
410
|
# specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
|
403
411
|
# timeout is used. If the server does not support this method, it returns
|
404
412
|
# `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -456,7 +464,9 @@ module Google
|
|
456
464
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
457
465
|
metadata: metadata,
|
458
466
|
retry_policy: @config.rpcs.wait_operation.retry_policy
|
459
|
-
|
467
|
+
|
468
|
+
options.apply_defaults timeout: @config.timeout,
|
469
|
+
metadata: @config.metadata,
|
460
470
|
retry_policy: @config.retry_policy
|
461
471
|
|
462
472
|
@operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
|
@@ -481,22 +491,21 @@ module Google
|
|
481
491
|
# Configuration can be applied globally to all clients, or to a single client
|
482
492
|
# on construction.
|
483
493
|
#
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
487
|
-
# to 20 seconds,
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
499
|
-
# end
|
494
|
+
# @example
|
495
|
+
#
|
496
|
+
# # Modify the global config, setting the timeout for
|
497
|
+
# # list_operations to 20 seconds,
|
498
|
+
# # and all remaining timeouts to 10 seconds.
|
499
|
+
# ::Google::Longrunning::Operations::Client.configure do |config|
|
500
|
+
# config.timeout = 10.0
|
501
|
+
# config.rpcs.list_operations.timeout = 20.0
|
502
|
+
# end
|
503
|
+
#
|
504
|
+
# # Apply the above configuration only to a new client.
|
505
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
506
|
+
# config.timeout = 10.0
|
507
|
+
# config.rpcs.list_operations.timeout = 20.0
|
508
|
+
# end
|
500
509
|
#
|
501
510
|
# @!attribute [rw] endpoint
|
502
511
|
# The hostname or hostname:port of the service endpoint.
|
@@ -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"
|
@@ -181,6 +192,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
181
192
|
optional :name, :string, 1
|
182
193
|
optional :request_id, :string, 3
|
183
194
|
end
|
195
|
+
add_message "google.cloud.channel.v1.LookupOfferRequest" do
|
196
|
+
optional :entitlement, :string, 1
|
197
|
+
end
|
184
198
|
add_message "google.cloud.channel.v1.ListProductsRequest" do
|
185
199
|
optional :account, :string, 1
|
186
200
|
optional :page_size, :int32, 2
|
@@ -306,6 +320,7 @@ module Google
|
|
306
320
|
CreateCustomerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.CreateCustomerRequest").msgclass
|
307
321
|
UpdateCustomerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.UpdateCustomerRequest").msgclass
|
308
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
|
309
324
|
ProvisionCloudIdentityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ProvisionCloudIdentityRequest").msgclass
|
310
325
|
ListEntitlementsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ListEntitlementsRequest").msgclass
|
311
326
|
ListEntitlementsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ListEntitlementsResponse").msgclass
|
@@ -331,6 +346,7 @@ module Google
|
|
331
346
|
CancelEntitlementRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.CancelEntitlementRequest").msgclass
|
332
347
|
SuspendEntitlementRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.SuspendEntitlementRequest").msgclass
|
333
348
|
ActivateEntitlementRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ActivateEntitlementRequest").msgclass
|
349
|
+
LookupOfferRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.LookupOfferRequest").msgclass
|
334
350
|
ListProductsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ListProductsRequest").msgclass
|
335
351
|
ListProductsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ListProductsResponse").msgclass
|
336
352
|
ListSkusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ListSkusRequest").msgclass
|
@@ -62,7 +62,7 @@ module Google
|
|
62
62
|
# Return value:
|
63
63
|
# List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if there are no customers.
|
64
64
|
rpc :ListCustomers, ::Google::Cloud::Channel::V1::ListCustomersRequest, ::Google::Cloud::Channel::V1::ListCustomersResponse
|
65
|
-
# Returns
|
65
|
+
# Returns the requested [Customer][google.cloud.channel.v1.Customer] resource.
|
66
66
|
#
|
67
67
|
# Possible error codes:
|
68
68
|
#
|
@@ -119,7 +119,7 @@ module Google
|
|
119
119
|
# Return value:
|
120
120
|
# The updated [Customer][google.cloud.channel.v1.Customer] resource.
|
121
121
|
rpc :UpdateCustomer, ::Google::Cloud::Channel::V1::UpdateCustomerRequest, ::Google::Cloud::Channel::V1::Customer
|
122
|
-
# Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently
|
122
|
+
# Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently.
|
123
123
|
#
|
124
124
|
# Possible error codes:
|
125
125
|
#
|
@@ -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
|
#
|
@@ -199,7 +217,7 @@ module Google
|
|
199
217
|
# Return value:
|
200
218
|
# List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for the given customer and SKU.
|
201
219
|
rpc :ListTransferableOffers, ::Google::Cloud::Channel::V1::ListTransferableOffersRequest, ::Google::Cloud::Channel::V1::ListTransferableOffersResponse
|
202
|
-
# Returns
|
220
|
+
# Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
|
203
221
|
#
|
204
222
|
# Possible error codes:
|
205
223
|
#
|
@@ -491,7 +509,7 @@ module Google
|
|
491
509
|
# Return value:
|
492
510
|
# The list of the distributor account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
|
493
511
|
rpc :ListChannelPartnerLinks, ::Google::Cloud::Channel::V1::ListChannelPartnerLinksRequest, ::Google::Cloud::Channel::V1::ListChannelPartnerLinksResponse
|
494
|
-
# Returns
|
512
|
+
# Returns the requested [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
|
495
513
|
# You must be a distributor to call this method.
|
496
514
|
#
|
497
515
|
# Possible error codes:
|
@@ -550,6 +568,17 @@ module Google
|
|
550
568
|
# Return value:
|
551
569
|
# The updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
|
552
570
|
rpc :UpdateChannelPartnerLink, ::Google::Cloud::Channel::V1::UpdateChannelPartnerLinkRequest, ::Google::Cloud::Channel::V1::ChannelPartnerLink
|
571
|
+
# Returns the requested [Offer][google.cloud.channel.v1.Offer] resource.
|
572
|
+
#
|
573
|
+
# Possible error codes:
|
574
|
+
#
|
575
|
+
# * PERMISSION_DENIED: The entitlement doesn't belong to the reseller.
|
576
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
577
|
+
# * NOT_FOUND: Entitlement or offer was not found.
|
578
|
+
#
|
579
|
+
# Return value:
|
580
|
+
# The [Offer][google.cloud.channel.v1.Offer] resource.
|
581
|
+
rpc :LookupOffer, ::Google::Cloud::Channel::V1::LookupOfferRequest, ::Google::Cloud::Channel::V1::Offer
|
553
582
|
# Lists the Products the reseller is authorized to sell.
|
554
583
|
#
|
555
584
|
# Possible error codes:
|
@@ -33,6 +33,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
33
33
|
value :RENEWAL_SETTING_CHANGED, 10
|
34
34
|
value :PAID_SERVICE_STARTED, 11
|
35
35
|
value :LICENSE_ASSIGNMENT_CHANGED, 12
|
36
|
+
value :LICENSE_CAP_CHANGED, 13
|
36
37
|
end
|
37
38
|
add_message "google.cloud.channel.v1.SubscriberEvent" do
|
38
39
|
oneof :event 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
|
@@ -31,36 +31,34 @@ module Google
|
|
31
31
|
# Required. Name of the organization that the customer entity represents.
|
32
32
|
# @!attribute [rw] org_postal_address
|
33
33
|
# @return [::Google::Type::PostalAddress]
|
34
|
-
# Required.
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
# customer's language.
|
34
|
+
# Required. The organization address for the customer. To enforce US laws and
|
35
|
+
# embargoes, we require a region and zip code. You must provide valid
|
36
|
+
# addresses for every customer. To set the customer's language, use the
|
37
|
+
# Customer-level language code.
|
39
38
|
# @!attribute [rw] primary_contact_info
|
40
39
|
# @return [::Google::Cloud::Channel::V1::ContactInfo]
|
41
40
|
# Primary contact info.
|
42
41
|
# @!attribute [rw] alternate_email
|
43
42
|
# @return [::String]
|
44
|
-
# Secondary contact email.
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
43
|
+
# Secondary contact email. You need to provide an alternate email to create
|
44
|
+
# different domains if a primary contact email already exists. Users will
|
45
|
+
# receive a notification with credentials when you create an admin.google.com
|
46
|
+
# account. Secondary emails are also recovery email addresses. Alternate
|
47
|
+
# emails are optional when you create Team customers.
|
49
48
|
# @!attribute [rw] domain
|
50
49
|
# @return [::String]
|
51
|
-
# Required.
|
52
|
-
#
|
53
|
-
# domain.
|
50
|
+
# Required. The customer's primary domain. Must match the primary contact
|
51
|
+
# email's domain.
|
54
52
|
# @!attribute [r] create_time
|
55
53
|
# @return [::Google::Protobuf::Timestamp]
|
56
|
-
# Output only.
|
54
|
+
# Output only. Time when the customer was created.
|
57
55
|
# @!attribute [r] update_time
|
58
56
|
# @return [::Google::Protobuf::Timestamp]
|
59
|
-
# Output only.
|
57
|
+
# Output only. Time when the customer was updated.
|
60
58
|
# @!attribute [r] cloud_identity_id
|
61
59
|
# @return [::String]
|
62
|
-
# Output only.
|
63
|
-
#
|
60
|
+
# Output only. The customer's Cloud Identity ID if the customer has a Cloud
|
61
|
+
# Identity resource.
|
64
62
|
# @!attribute [rw] language_code
|
65
63
|
# @return [::String]
|
66
64
|
# Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
|
@@ -82,26 +80,25 @@ module Google
|
|
82
80
|
# Contact information for a customer account.
|
83
81
|
# @!attribute [rw] first_name
|
84
82
|
# @return [::String]
|
85
|
-
#
|
83
|
+
# The customer account contact's first name. Optional for Team customers.
|
86
84
|
# @!attribute [rw] last_name
|
87
85
|
# @return [::String]
|
88
|
-
#
|
86
|
+
# The customer account contact's last name. Optional for Team customers.
|
89
87
|
# @!attribute [r] display_name
|
90
88
|
# @return [::String]
|
91
|
-
# Output only.
|
92
|
-
#
|
89
|
+
# Output only. The customer account contact's display name, formatted as a
|
90
|
+
# combination of the customer's first and last name.
|
93
91
|
# @!attribute [rw] email
|
94
92
|
# @return [::String]
|
95
|
-
#
|
96
|
-
#
|
97
|
-
# accounts.
|
98
|
-
# admin.google.com account.
|
93
|
+
# The customer account's contact email. Required for entitlements that create
|
94
|
+
# admin.google.com accounts, and serves as the customer's username for those
|
95
|
+
# accounts. Use this email to invite Team customers.
|
99
96
|
# @!attribute [rw] title
|
100
97
|
# @return [::String]
|
101
|
-
# Optional.
|
98
|
+
# Optional. The customer account contact's job title.
|
102
99
|
# @!attribute [rw] phone
|
103
100
|
# @return [::String]
|
104
|
-
#
|
101
|
+
# The customer account's contact phone number.
|
105
102
|
class ContactInfo
|
106
103
|
include ::Google::Protobuf::MessageExts
|
107
104
|
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]
|
@@ -701,6 +739,17 @@ module Google
|
|
701
739
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
702
740
|
end
|
703
741
|
|
742
|
+
# Request message for LookupOffer.
|
743
|
+
# @!attribute [rw] entitlement
|
744
|
+
# @return [::String]
|
745
|
+
# Required. The resource name of the entitlement to retrieve the Offer.
|
746
|
+
# Entitlement uses the format:
|
747
|
+
# accounts/\\{account_id}/customers/\\{customer_id}/entitlements/\\{entitlement_id}
|
748
|
+
class LookupOfferRequest
|
749
|
+
include ::Google::Protobuf::MessageExts
|
750
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
751
|
+
end
|
752
|
+
|
704
753
|
# Request message for ListProducts.
|
705
754
|
# @!attribute [rw] account
|
706
755
|
# @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,29 +1,35 @@
|
|
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.8.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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.7'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
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.7'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: google-cloud-errors
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -224,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
224
230
|
- !ruby/object:Gem::Version
|
225
231
|
version: '0'
|
226
232
|
requirements: []
|
227
|
-
rubygems_version: 3.2.
|
233
|
+
rubygems_version: 3.2.17
|
228
234
|
signing_key:
|
229
235
|
specification_version: 4
|
230
236
|
summary: API Client library for the Cloud Channel V1 API
|