google-cloud-channel-v1 0.19.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/channel/v1/channel_partner_links_pb.rb +26 -23
  3. data/lib/google/cloud/channel/v1/cloud_channel_reports_service/client.rb +4 -2
  4. data/lib/google/cloud/channel/v1/cloud_channel_reports_service/operations.rb +3 -1
  5. data/lib/google/cloud/channel/v1/cloud_channel_reports_service/rest/client.rb +4 -2
  6. data/lib/google/cloud/channel/v1/cloud_channel_reports_service/rest/operations.rb +7 -5
  7. data/lib/google/cloud/channel/v1/cloud_channel_reports_service/rest/service_stub.rb +3 -3
  8. data/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +4 -2
  9. data/lib/google/cloud/channel/v1/cloud_channel_service/operations.rb +3 -1
  10. data/lib/google/cloud/channel/v1/cloud_channel_service/rest/client.rb +4 -2
  11. data/lib/google/cloud/channel/v1/cloud_channel_service/rest/operations.rb +7 -5
  12. data/lib/google/cloud/channel/v1/cloud_channel_service/rest/service_stub.rb +46 -46
  13. data/lib/google/cloud/channel/v1/common_pb.rb +25 -50
  14. data/lib/google/cloud/channel/v1/customers_pb.rb +27 -24
  15. data/lib/google/cloud/channel/v1/entitlement_changes_pb.rb +26 -54
  16. data/lib/google/cloud/channel/v1/entitlements_pb.rb +28 -73
  17. data/lib/google/cloud/channel/v1/offers_pb.rb +28 -104
  18. data/lib/google/cloud/channel/v1/operations_pb.rb +24 -18
  19. data/lib/google/cloud/channel/v1/products_pb.rb +24 -24
  20. data/lib/google/cloud/channel/v1/reports_service_pb.rb +29 -94
  21. data/lib/google/cloud/channel/v1/repricing_pb.rb +27 -52
  22. data/lib/google/cloud/channel/v1/service_pb.rb +33 -345
  23. data/lib/google/cloud/channel/v1/subscriber_event_pb.rb +24 -35
  24. data/lib/google/cloud/channel/v1/version.rb +1 -1
  25. data/proto_docs/google/protobuf/any.rb +7 -4
  26. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  27. metadata +4 -4
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/channel/v1/service.proto
3
4
 
@@ -20,353 +21,40 @@ require 'google/longrunning/operations_pb'
20
21
  require 'google/protobuf/empty_pb'
21
22
  require 'google/protobuf/field_mask_pb'
22
23
 
23
- Google::Protobuf::DescriptorPool.generated_pool.build do
24
- add_file("google/cloud/channel/v1/service.proto", :syntax => :proto3) do
25
- add_message "google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest" do
26
- optional :parent, :string, 1
27
- optional :domain, :string, 2
28
- end
29
- add_message "google.cloud.channel.v1.CloudIdentityCustomerAccount" do
30
- optional :existing, :bool, 1
31
- optional :owned, :bool, 2
32
- optional :customer_name, :string, 3
33
- optional :customer_cloud_identity_id, :string, 4
34
- end
35
- add_message "google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse" do
36
- repeated :cloud_identity_accounts, :message, 1, "google.cloud.channel.v1.CloudIdentityCustomerAccount"
37
- end
38
- add_message "google.cloud.channel.v1.ListCustomersRequest" do
39
- optional :parent, :string, 1
40
- optional :page_size, :int32, 2
41
- optional :page_token, :string, 3
42
- optional :filter, :string, 4
43
- end
44
- add_message "google.cloud.channel.v1.ListCustomersResponse" do
45
- repeated :customers, :message, 1, "google.cloud.channel.v1.Customer"
46
- optional :next_page_token, :string, 2
47
- end
48
- add_message "google.cloud.channel.v1.GetCustomerRequest" do
49
- optional :name, :string, 1
50
- end
51
- add_message "google.cloud.channel.v1.CreateCustomerRequest" do
52
- optional :parent, :string, 1
53
- optional :customer, :message, 2, "google.cloud.channel.v1.Customer"
54
- end
55
- add_message "google.cloud.channel.v1.UpdateCustomerRequest" do
56
- optional :customer, :message, 2, "google.cloud.channel.v1.Customer"
57
- optional :update_mask, :message, 3, "google.protobuf.FieldMask"
58
- end
59
- add_message "google.cloud.channel.v1.DeleteCustomerRequest" do
60
- optional :name, :string, 1
61
- end
62
- add_message "google.cloud.channel.v1.ImportCustomerRequest" do
63
- optional :parent, :string, 1
64
- optional :auth_token, :string, 4
65
- optional :overwrite_if_exists, :bool, 5
66
- optional :channel_partner_id, :string, 6
67
- optional :customer, :string, 7
68
- oneof :customer_identity do
69
- optional :domain, :string, 2
70
- optional :cloud_identity_id, :string, 3
71
- end
72
- end
73
- add_message "google.cloud.channel.v1.ProvisionCloudIdentityRequest" do
74
- optional :customer, :string, 1
75
- optional :cloud_identity_info, :message, 2, "google.cloud.channel.v1.CloudIdentityInfo"
76
- optional :user, :message, 3, "google.cloud.channel.v1.AdminUser"
77
- optional :validate_only, :bool, 4
78
- end
79
- add_message "google.cloud.channel.v1.ListEntitlementsRequest" do
80
- optional :parent, :string, 1
81
- optional :page_size, :int32, 2
82
- optional :page_token, :string, 3
83
- end
84
- add_message "google.cloud.channel.v1.ListEntitlementsResponse" do
85
- repeated :entitlements, :message, 1, "google.cloud.channel.v1.Entitlement"
86
- optional :next_page_token, :string, 2
87
- end
88
- add_message "google.cloud.channel.v1.ListTransferableSkusRequest" do
89
- optional :parent, :string, 1
90
- optional :page_size, :int32, 2
91
- optional :page_token, :string, 3
92
- optional :auth_token, :string, 5
93
- optional :language_code, :string, 6
94
- oneof :transferred_customer_identity do
95
- optional :cloud_identity_id, :string, 4
96
- optional :customer_name, :string, 7
97
- end
98
- end
99
- add_message "google.cloud.channel.v1.ListTransferableSkusResponse" do
100
- repeated :transferable_skus, :message, 1, "google.cloud.channel.v1.TransferableSku"
101
- optional :next_page_token, :string, 2
102
- end
103
- add_message "google.cloud.channel.v1.ListTransferableOffersRequest" do
104
- optional :parent, :string, 1
105
- optional :page_size, :int32, 2
106
- optional :page_token, :string, 3
107
- optional :sku, :string, 6
108
- optional :language_code, :string, 7
109
- oneof :transferred_customer_identity do
110
- optional :cloud_identity_id, :string, 4
111
- optional :customer_name, :string, 5
112
- end
113
- end
114
- add_message "google.cloud.channel.v1.ListTransferableOffersResponse" do
115
- repeated :transferable_offers, :message, 1, "google.cloud.channel.v1.TransferableOffer"
116
- optional :next_page_token, :string, 2
117
- end
118
- add_message "google.cloud.channel.v1.TransferableOffer" do
119
- optional :offer, :message, 1, "google.cloud.channel.v1.Offer"
120
- end
121
- add_message "google.cloud.channel.v1.GetEntitlementRequest" do
122
- optional :name, :string, 1
123
- end
124
- add_message "google.cloud.channel.v1.ListChannelPartnerLinksRequest" do
125
- optional :parent, :string, 1
126
- optional :page_size, :int32, 2
127
- optional :page_token, :string, 3
128
- optional :view, :enum, 4, "google.cloud.channel.v1.ChannelPartnerLinkView"
129
- end
130
- add_message "google.cloud.channel.v1.ListChannelPartnerLinksResponse" do
131
- repeated :channel_partner_links, :message, 1, "google.cloud.channel.v1.ChannelPartnerLink"
132
- optional :next_page_token, :string, 2
133
- end
134
- add_message "google.cloud.channel.v1.GetChannelPartnerLinkRequest" do
135
- optional :name, :string, 1
136
- optional :view, :enum, 2, "google.cloud.channel.v1.ChannelPartnerLinkView"
137
- end
138
- add_message "google.cloud.channel.v1.CreateChannelPartnerLinkRequest" do
139
- optional :parent, :string, 1
140
- optional :channel_partner_link, :message, 2, "google.cloud.channel.v1.ChannelPartnerLink"
141
- end
142
- add_message "google.cloud.channel.v1.UpdateChannelPartnerLinkRequest" do
143
- optional :name, :string, 1
144
- optional :channel_partner_link, :message, 2, "google.cloud.channel.v1.ChannelPartnerLink"
145
- optional :update_mask, :message, 3, "google.protobuf.FieldMask"
146
- end
147
- add_message "google.cloud.channel.v1.GetCustomerRepricingConfigRequest" do
148
- optional :name, :string, 1
149
- end
150
- add_message "google.cloud.channel.v1.ListCustomerRepricingConfigsRequest" do
151
- optional :parent, :string, 1
152
- optional :page_size, :int32, 2
153
- optional :page_token, :string, 3
154
- optional :filter, :string, 4
155
- end
156
- add_message "google.cloud.channel.v1.ListCustomerRepricingConfigsResponse" do
157
- repeated :customer_repricing_configs, :message, 1, "google.cloud.channel.v1.CustomerRepricingConfig"
158
- optional :next_page_token, :string, 2
159
- end
160
- add_message "google.cloud.channel.v1.CreateCustomerRepricingConfigRequest" do
161
- optional :parent, :string, 1
162
- optional :customer_repricing_config, :message, 2, "google.cloud.channel.v1.CustomerRepricingConfig"
163
- end
164
- add_message "google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest" do
165
- optional :customer_repricing_config, :message, 1, "google.cloud.channel.v1.CustomerRepricingConfig"
166
- end
167
- add_message "google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest" do
168
- optional :name, :string, 1
169
- end
170
- add_message "google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest" do
171
- optional :name, :string, 1
172
- end
173
- add_message "google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest" do
174
- optional :parent, :string, 1
175
- optional :page_size, :int32, 2
176
- optional :page_token, :string, 3
177
- optional :filter, :string, 4
178
- end
179
- add_message "google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse" do
180
- repeated :channel_partner_repricing_configs, :message, 1, "google.cloud.channel.v1.ChannelPartnerRepricingConfig"
181
- optional :next_page_token, :string, 2
182
- end
183
- add_message "google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest" do
184
- optional :parent, :string, 1
185
- optional :channel_partner_repricing_config, :message, 2, "google.cloud.channel.v1.ChannelPartnerRepricingConfig"
186
- end
187
- add_message "google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest" do
188
- optional :channel_partner_repricing_config, :message, 1, "google.cloud.channel.v1.ChannelPartnerRepricingConfig"
189
- end
190
- add_message "google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest" do
191
- optional :name, :string, 1
192
- end
193
- add_message "google.cloud.channel.v1.CreateEntitlementRequest" do
194
- optional :parent, :string, 1
195
- optional :entitlement, :message, 2, "google.cloud.channel.v1.Entitlement"
196
- optional :request_id, :string, 5
197
- end
198
- add_message "google.cloud.channel.v1.TransferEntitlementsRequest" do
199
- optional :parent, :string, 1
200
- repeated :entitlements, :message, 2, "google.cloud.channel.v1.Entitlement"
201
- optional :auth_token, :string, 4
202
- optional :request_id, :string, 6
203
- end
204
- add_message "google.cloud.channel.v1.TransferEntitlementsResponse" do
205
- repeated :entitlements, :message, 1, "google.cloud.channel.v1.Entitlement"
206
- end
207
- add_message "google.cloud.channel.v1.TransferEntitlementsToGoogleRequest" do
208
- optional :parent, :string, 1
209
- repeated :entitlements, :message, 2, "google.cloud.channel.v1.Entitlement"
210
- optional :request_id, :string, 3
211
- end
212
- add_message "google.cloud.channel.v1.ChangeParametersRequest" do
213
- optional :name, :string, 1
214
- repeated :parameters, :message, 2, "google.cloud.channel.v1.Parameter"
215
- optional :request_id, :string, 4
216
- optional :purchase_order_id, :string, 5
217
- end
218
- add_message "google.cloud.channel.v1.ChangeRenewalSettingsRequest" do
219
- optional :name, :string, 1
220
- optional :renewal_settings, :message, 4, "google.cloud.channel.v1.RenewalSettings"
221
- optional :request_id, :string, 5
222
- end
223
- add_message "google.cloud.channel.v1.ChangeOfferRequest" do
224
- optional :name, :string, 1
225
- optional :offer, :string, 2
226
- repeated :parameters, :message, 3, "google.cloud.channel.v1.Parameter"
227
- optional :purchase_order_id, :string, 5
228
- optional :request_id, :string, 6
229
- end
230
- add_message "google.cloud.channel.v1.StartPaidServiceRequest" do
231
- optional :name, :string, 1
232
- optional :request_id, :string, 3
233
- end
234
- add_message "google.cloud.channel.v1.CancelEntitlementRequest" do
235
- optional :name, :string, 1
236
- optional :request_id, :string, 3
237
- end
238
- add_message "google.cloud.channel.v1.SuspendEntitlementRequest" do
239
- optional :name, :string, 1
240
- optional :request_id, :string, 3
241
- end
242
- add_message "google.cloud.channel.v1.ActivateEntitlementRequest" do
243
- optional :name, :string, 1
244
- optional :request_id, :string, 3
245
- end
246
- add_message "google.cloud.channel.v1.LookupOfferRequest" do
247
- optional :entitlement, :string, 1
248
- end
249
- add_message "google.cloud.channel.v1.ListProductsRequest" do
250
- optional :account, :string, 1
251
- optional :page_size, :int32, 2
252
- optional :page_token, :string, 3
253
- optional :language_code, :string, 4
254
- end
255
- add_message "google.cloud.channel.v1.ListProductsResponse" do
256
- repeated :products, :message, 1, "google.cloud.channel.v1.Product"
257
- optional :next_page_token, :string, 2
258
- end
259
- add_message "google.cloud.channel.v1.ListSkusRequest" do
260
- optional :parent, :string, 1
261
- optional :account, :string, 2
262
- optional :page_size, :int32, 3
263
- optional :page_token, :string, 4
264
- optional :language_code, :string, 5
265
- end
266
- add_message "google.cloud.channel.v1.ListSkusResponse" do
267
- repeated :skus, :message, 1, "google.cloud.channel.v1.Sku"
268
- optional :next_page_token, :string, 2
269
- end
270
- add_message "google.cloud.channel.v1.ListOffersRequest" do
271
- optional :parent, :string, 1
272
- optional :page_size, :int32, 2
273
- optional :page_token, :string, 3
274
- optional :filter, :string, 4
275
- optional :language_code, :string, 5
276
- optional :show_future_offers, :bool, 7
277
- end
278
- add_message "google.cloud.channel.v1.ListOffersResponse" do
279
- repeated :offers, :message, 1, "google.cloud.channel.v1.Offer"
280
- optional :next_page_token, :string, 2
281
- end
282
- add_message "google.cloud.channel.v1.ListPurchasableSkusRequest" do
283
- optional :customer, :string, 1
284
- optional :page_size, :int32, 4
285
- optional :page_token, :string, 5
286
- optional :language_code, :string, 6
287
- oneof :purchase_option do
288
- optional :create_entitlement_purchase, :message, 2, "google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase"
289
- optional :change_offer_purchase, :message, 3, "google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase"
290
- end
291
- end
292
- add_message "google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchase" do
293
- optional :product, :string, 1
294
- end
295
- add_message "google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase" do
296
- optional :entitlement, :string, 1
297
- optional :change_type, :enum, 2, "google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType"
298
- end
299
- add_enum "google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeType" do
300
- value :CHANGE_TYPE_UNSPECIFIED, 0
301
- value :UPGRADE, 1
302
- value :DOWNGRADE, 2
303
- end
304
- add_message "google.cloud.channel.v1.ListPurchasableSkusResponse" do
305
- repeated :purchasable_skus, :message, 1, "google.cloud.channel.v1.PurchasableSku"
306
- optional :next_page_token, :string, 2
307
- end
308
- add_message "google.cloud.channel.v1.PurchasableSku" do
309
- optional :sku, :message, 1, "google.cloud.channel.v1.Sku"
310
- end
311
- add_message "google.cloud.channel.v1.ListPurchasableOffersRequest" do
312
- optional :customer, :string, 1
313
- optional :page_size, :int32, 4
314
- optional :page_token, :string, 5
315
- optional :language_code, :string, 6
316
- oneof :purchase_option do
317
- optional :create_entitlement_purchase, :message, 2, "google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase"
318
- optional :change_offer_purchase, :message, 3, "google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase"
319
- end
320
- end
321
- add_message "google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase" do
322
- optional :sku, :string, 1
323
- end
324
- add_message "google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchase" do
325
- optional :entitlement, :string, 1
326
- optional :new_sku, :string, 2
327
- end
328
- add_message "google.cloud.channel.v1.ListPurchasableOffersResponse" do
329
- repeated :purchasable_offers, :message, 1, "google.cloud.channel.v1.PurchasableOffer"
330
- optional :next_page_token, :string, 2
331
- end
332
- add_message "google.cloud.channel.v1.PurchasableOffer" do
333
- optional :offer, :message, 1, "google.cloud.channel.v1.Offer"
334
- end
335
- add_message "google.cloud.channel.v1.RegisterSubscriberRequest" do
336
- optional :account, :string, 1
337
- optional :service_account, :string, 2
338
- end
339
- add_message "google.cloud.channel.v1.RegisterSubscriberResponse" do
340
- optional :topic, :string, 1
341
- end
342
- add_message "google.cloud.channel.v1.UnregisterSubscriberRequest" do
343
- optional :account, :string, 1
344
- optional :service_account, :string, 2
345
- end
346
- add_message "google.cloud.channel.v1.UnregisterSubscriberResponse" do
347
- optional :topic, :string, 1
348
- end
349
- add_message "google.cloud.channel.v1.ListSubscribersRequest" do
350
- optional :account, :string, 1
351
- optional :page_size, :int32, 2
352
- optional :page_token, :string, 3
353
- end
354
- add_message "google.cloud.channel.v1.ListSubscribersResponse" do
355
- optional :topic, :string, 1
356
- repeated :service_accounts, :string, 2
357
- optional :next_page_token, :string, 3
358
- end
359
- add_message "google.cloud.channel.v1.ListEntitlementChangesRequest" do
360
- optional :parent, :string, 1
361
- optional :page_size, :int32, 2
362
- optional :page_token, :string, 3
363
- optional :filter, :string, 4
364
- end
365
- add_message "google.cloud.channel.v1.ListEntitlementChangesResponse" do
366
- repeated :entitlement_changes, :message, 1, "google.cloud.channel.v1.EntitlementChange"
367
- optional :next_page_token, :string, 2
24
+
25
+ descriptor_data = "\n%google/cloud/channel/v1/service.proto\x12\x17google.cloud.channel.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/channel/v1/channel_partner_links.proto\x1a$google/cloud/channel/v1/common.proto\x1a\'google/cloud/channel/v1/customers.proto\x1a\x31google/cloud/channel/v1/entitlement_changes.proto\x1a*google/cloud/channel/v1/entitlements.proto\x1a$google/cloud/channel/v1/offers.proto\x1a(google/cloud/channel/v1/operations.proto\x1a&google/cloud/channel/v1/products.proto\x1a\'google/cloud/channel/v1/repricing.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"R\n&CheckCloudIdentityAccountsExistRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x64omain\x18\x02 \x01(\tB\x03\xe0\x41\x02\"z\n\x1c\x43loudIdentityCustomerAccount\x12\x10\n\x08\x65xisting\x18\x01 \x01(\x08\x12\r\n\x05owned\x18\x02 \x01(\x08\x12\x15\n\rcustomer_name\x18\x03 \x01(\t\x12\"\n\x1a\x63ustomer_cloud_identity_id\x18\x04 \x01(\t\"\x81\x01\n\'CheckCloudIdentityAccountsExistResponse\x12V\n\x17\x63loud_identity_accounts\x18\x01 \x03(\x0b\x32\x35.google.cloud.channel.v1.CloudIdentityCustomerAccount\"q\n\x14ListCustomersRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"f\n\x15ListCustomersResponse\x12\x34\n\tcustomers\x18\x01 \x03(\x0b\x32!.google.cloud.channel.v1.Customer\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"P\n\x12GetCustomerRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudchannel.googleapis.com/Customer\"f\n\x15\x43reateCustomerRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\x08\x63ustomer\x18\x02 \x01(\x0b\x32!.google.cloud.channel.v1.CustomerB\x03\xe0\x41\x02\"\x82\x01\n\x15UpdateCustomerRequest\x12\x38\n\x08\x63ustomer\x18\x02 \x01(\x0b\x32!.google.cloud.channel.v1.CustomerB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"S\n\x15\x44\x65leteCustomerRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudchannel.googleapis.com/Customer\"\x96\x02\n\x15ImportCustomerRequest\x12\x15\n\x06\x64omain\x18\x02 \x01(\tB\x03\xe0\x41\x02H\x00\x12 \n\x11\x63loud_identity_id\x18\x03 \x01(\tB\x03\xe0\x41\x02H\x00\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nauth_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12 \n\x13overwrite_if_exists\x18\x05 \x01(\x08\x42\x03\xe0\x41\x02\x12\x1f\n\x12\x63hannel_partner_id\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12>\n\x08\x63ustomer\x18\x07 \x01(\tB,\xe0\x41\x01\xfa\x41&\n$cloudchannel.googleapis.com/CustomerB\x13\n\x11\x63ustomer_identity\"\xf1\x01\n\x1dProvisionCloudIdentityRequest\x12>\n\x08\x63ustomer\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudchannel.googleapis.com/Customer\x12G\n\x13\x63loud_identity_info\x18\x02 \x01(\x0b\x32*.google.cloud.channel.v1.CloudIdentityInfo\x12\x30\n\x04user\x18\x03 \x01(\x0b\x32\".google.cloud.channel.v1.AdminUser\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x88\x01\n\x17ListEntitlementsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudchannel.googleapis.com/Customer\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"o\n\x18ListEntitlementsResponse\x12:\n\x0c\x65ntitlements\x18\x01 \x03(\x0b\x32$.google.cloud.channel.v1.Entitlement\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xe0\x01\n\x1bListTransferableSkusRequest\x12\x1b\n\x11\x63loud_identity_id\x18\x04 \x01(\tH\x00\x12\x17\n\rcustomer_name\x18\x07 \x01(\tH\x00\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x17\n\nauth_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\rlanguage_code\x18\x06 \x01(\tB\x1f\n\x1dtransferred_customer_identity\"|\n\x1cListTransferableSkusResponse\x12\x43\n\x11transferable_skus\x18\x01 \x03(\x0b\x32(.google.cloud.channel.v1.TransferableSku\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xe0\x01\n\x1dListTransferableOffersRequest\x12\x1b\n\x11\x63loud_identity_id\x18\x04 \x01(\tH\x00\x12\x17\n\rcustomer_name\x18\x05 \x01(\tH\x00\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x03sku\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rlanguage_code\x18\x07 \x01(\tB\x03\xe0\x41\x01\x42\x1f\n\x1dtransferred_customer_identity\"\x82\x01\n\x1eListTransferableOffersResponse\x12G\n\x13transferable_offers\x18\x01 \x03(\x0b\x32*.google.cloud.channel.v1.TransferableOffer\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"B\n\x11TransferableOffer\x12-\n\x05offer\x18\x01 \x01(\x0b\x32\x1e.google.cloud.channel.v1.Offer\"V\n\x15GetEntitlementRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'cloudchannel.googleapis.com/Entitlement\"\xaa\x01\n\x1eListChannelPartnerLinksRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x42\n\x04view\x18\x04 \x01(\x0e\x32/.google.cloud.channel.v1.ChannelPartnerLinkViewB\x03\xe0\x41\x01\"\x86\x01\n\x1fListChannelPartnerLinksResponse\x12J\n\x15\x63hannel_partner_links\x18\x01 \x03(\x0b\x32+.google.cloud.channel.v1.ChannelPartnerLink\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"u\n\x1cGetChannelPartnerLinkRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x42\n\x04view\x18\x02 \x01(\x0e\x32/.google.cloud.channel.v1.ChannelPartnerLinkViewB\x03\xe0\x41\x01\"\x86\x01\n\x1f\x43reateChannelPartnerLinkRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12N\n\x14\x63hannel_partner_link\x18\x02 \x01(\x0b\x32+.google.cloud.channel.v1.ChannelPartnerLinkB\x03\xe0\x41\x02\"\xba\x01\n\x1fUpdateChannelPartnerLinkRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12N\n\x14\x63hannel_partner_link\x18\x02 \x01(\x0b\x32+.google.cloud.channel.v1.ChannelPartnerLinkB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"n\n!GetCustomerRepricingConfigRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3cloudchannel.googleapis.com/CustomerRepricingConfig\"\xa9\x01\n#ListCustomerRepricingConfigsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudchannel.googleapis.com/Customer\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x95\x01\n$ListCustomerRepricingConfigsResponse\x12T\n\x1a\x63ustomer_repricing_configs\x18\x01 \x03(\x0b\x32\x30.google.cloud.channel.v1.CustomerRepricingConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xbe\x01\n$CreateCustomerRepricingConfigRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudchannel.googleapis.com/Customer\x12X\n\x19\x63ustomer_repricing_config\x18\x02 \x01(\x0b\x32\x30.google.cloud.channel.v1.CustomerRepricingConfigB\x03\xe0\x41\x02\"\x80\x01\n$UpdateCustomerRepricingConfigRequest\x12X\n\x19\x63ustomer_repricing_config\x18\x01 \x01(\x0b\x32\x30.google.cloud.channel.v1.CustomerRepricingConfigB\x03\xe0\x41\x02\"q\n$DeleteCustomerRepricingConfigRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3cloudchannel.googleapis.com/CustomerRepricingConfig\"z\n\'GetChannelPartnerRepricingConfigRequest\x12O\n\x04name\x18\x01 \x01(\tBA\xe0\x41\x02\xfa\x41;\n9cloudchannel.googleapis.com/ChannelPartnerRepricingConfig\"\xb9\x01\n)ListChannelPartnerRepricingConfigsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.cloudchannel.googleapis.com/ChannelPartnerLink\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa8\x01\n*ListChannelPartnerRepricingConfigsResponse\x12\x61\n!channel_partner_repricing_configs\x18\x01 \x03(\x0b\x32\x36.google.cloud.channel.v1.ChannelPartnerRepricingConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xdb\x01\n*CreateChannelPartnerRepricingConfigRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.cloudchannel.googleapis.com/ChannelPartnerLink\x12\x65\n channel_partner_repricing_config\x18\x02 \x01(\x0b\x32\x36.google.cloud.channel.v1.ChannelPartnerRepricingConfigB\x03\xe0\x41\x02\"\x93\x01\n*UpdateChannelPartnerRepricingConfigRequest\x12\x65\n channel_partner_repricing_config\x18\x01 \x01(\x0b\x32\x36.google.cloud.channel.v1.ChannelPartnerRepricingConfigB\x03\xe0\x41\x02\"}\n*DeleteChannelPartnerRepricingConfigRequest\x12O\n\x04name\x18\x01 \x01(\tBA\xe0\x41\x02\xfa\x41;\n9cloudchannel.googleapis.com/ChannelPartnerRepricingConfig\"\xb1\x01\n\x18\x43reateEntitlementRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudchannel.googleapis.com/Customer\x12>\n\x0b\x65ntitlement\x18\x02 \x01(\x0b\x32$.google.cloud.channel.v1.EntitlementB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xa0\x01\n\x1bTransferEntitlementsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12?\n\x0c\x65ntitlements\x18\x02 \x03(\x0b\x32$.google.cloud.channel.v1.EntitlementB\x03\xe0\x41\x02\x12\x12\n\nauth_token\x18\x04 \x01(\t\x12\x17\n\nrequest_id\x18\x06 \x01(\tB\x03\xe0\x41\x01\"Z\n\x1cTransferEntitlementsResponse\x12:\n\x0c\x65ntitlements\x18\x01 \x03(\x0b\x32$.google.cloud.channel.v1.Entitlement\"\x94\x01\n#TransferEntitlementsToGoogleRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12?\n\x0c\x65ntitlements\x18\x02 \x03(\x0b\x32$.google.cloud.channel.v1.EntitlementB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xa2\x01\n\x17\x43hangeParametersRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12;\n\nparameters\x18\x02 \x03(\x0b\x32\".google.cloud.channel.v1.ParameterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11purchase_order_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x93\x01\n\x1c\x43hangeRenewalSettingsRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12G\n\x10renewal_settings\x18\x04 \x01(\x0b\x32(.google.cloud.channel.v1.RenewalSettingsB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xd7\x01\n\x12\x43hangeOfferRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\x05offer\x18\x02 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!cloudchannel.googleapis.com/Offer\x12;\n\nparameters\x18\x03 \x03(\x0b\x32\".google.cloud.channel.v1.ParameterB\x03\xe0\x41\x01\x12\x1e\n\x11purchase_order_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x06 \x01(\tB\x03\xe0\x41\x01\"E\n\x17StartPaidServiceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"F\n\x18\x43\x61ncelEntitlementRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"G\n\x19SuspendEntitlementRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"H\n\x1a\x41\x63tivateEntitlementRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"Z\n\x12LookupOfferRequest\x12\x44\n\x0b\x65ntitlement\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'cloudchannel.googleapis.com/Entitlement\"x\n\x13ListProductsRequest\x12\x14\n\x07\x61\x63\x63ount\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rlanguage_code\x18\x04 \x01(\tB\x03\xe0\x41\x01\"c\n\x14ListProductsResponse\x12\x32\n\x08products\x18\x01 \x03(\x0b\x32 .google.cloud.channel.v1.Product\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb1\x01\n\x0fListSkusRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#cloudchannel.googleapis.com/Product\x12\x14\n\x07\x61\x63\x63ount\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rlanguage_code\x18\x05 \x01(\tB\x03\xe0\x41\x01\"W\n\x10ListSkusResponse\x12*\n\x04skus\x18\x01 \x03(\x0b\x32\x1c.google.cloud.channel.v1.Sku\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xab\x01\n\x11ListOffersRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rlanguage_code\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12show_future_offers\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\"]\n\x12ListOffersResponse\x12.\n\x06offers\x18\x01 \x03(\x0b\x32\x1e.google.cloud.channel.v1.Offer\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb6\x05\n\x1aListPurchasableSkusRequest\x12t\n\x1b\x63reate_entitlement_purchase\x18\x02 \x01(\x0b\x32M.google.cloud.channel.v1.ListPurchasableSkusRequest.CreateEntitlementPurchaseH\x00\x12h\n\x15\x63hange_offer_purchase\x18\x03 \x01(\x0b\x32G.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchaseH\x00\x12>\n\x08\x63ustomer\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudchannel.googleapis.com/Customer\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rlanguage_code\x18\x06 \x01(\tB\x03\xe0\x41\x01\x1a\x31\n\x19\x43reateEntitlementPurchase\x12\x14\n\x07product\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a\xe4\x01\n\x13\x43hangeOfferPurchase\x12\x18\n\x0b\x65ntitlement\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12l\n\x0b\x63hange_type\x18\x02 \x01(\x0e\x32R.google.cloud.channel.v1.ListPurchasableSkusRequest.ChangeOfferPurchase.ChangeTypeB\x03\xe0\x41\x02\"E\n\nChangeType\x12\x1b\n\x17\x43HANGE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07UPGRADE\x10\x01\x12\r\n\tDOWNGRADE\x10\x02\x42\x11\n\x0fpurchase_option\"y\n\x1bListPurchasableSkusResponse\x12\x41\n\x10purchasable_skus\x18\x01 \x03(\x0b\x32\'.google.cloud.channel.v1.PurchasableSku\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\";\n\x0ePurchasableSku\x12)\n\x03sku\x18\x01 \x01(\x0b\x32\x1c.google.cloud.channel.v1.Sku\"\x98\x04\n\x1cListPurchasableOffersRequest\x12v\n\x1b\x63reate_entitlement_purchase\x18\x02 \x01(\x0b\x32O.google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchaseH\x00\x12j\n\x15\x63hange_offer_purchase\x18\x03 \x01(\x0b\x32I.google.cloud.channel.v1.ListPurchasableOffersRequest.ChangeOfferPurchaseH\x00\x12>\n\x08\x63ustomer\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$cloudchannel.googleapis.com/Customer\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rlanguage_code\x18\x06 \x01(\tB\x03\xe0\x41\x01\x1a-\n\x19\x43reateEntitlementPurchase\x12\x10\n\x03sku\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a\x45\n\x13\x43hangeOfferPurchase\x12\x18\n\x0b\x65ntitlement\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07new_sku\x18\x02 \x01(\tB\x03\xe0\x41\x01\x42\x11\n\x0fpurchase_option\"\x7f\n\x1dListPurchasableOffersResponse\x12\x45\n\x12purchasable_offers\x18\x01 \x03(\x0b\x32).google.cloud.channel.v1.PurchasableOffer\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"A\n\x10PurchasableOffer\x12-\n\x05offer\x18\x01 \x01(\x0b\x32\x1e.google.cloud.channel.v1.Offer\"O\n\x19RegisterSubscriberRequest\x12\x14\n\x07\x61\x63\x63ount\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0fservice_account\x18\x02 \x01(\tB\x03\xe0\x41\x02\"+\n\x1aRegisterSubscriberResponse\x12\r\n\x05topic\x18\x01 \x01(\t\"Q\n\x1bUnregisterSubscriberRequest\x12\x14\n\x07\x61\x63\x63ount\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0fservice_account\x18\x02 \x01(\tB\x03\xe0\x41\x02\"-\n\x1cUnregisterSubscriberResponse\x12\r\n\x05topic\x18\x01 \x01(\t\"_\n\x16ListSubscribersRequest\x12\x14\n\x07\x61\x63\x63ount\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"[\n\x17ListSubscribersResponse\x12\r\n\x05topic\x18\x01 \x01(\t\x12\x18\n\x10service_accounts\x18\x02 \x03(\t\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\"\xa6\x01\n\x1dListEntitlementChangesRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'cloudchannel.googleapis.com/Entitlement\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x82\x01\n\x1eListEntitlementChangesResponse\x12G\n\x13\x65ntitlement_changes\x18\x01 \x03(\x0b\x32*.google.cloud.channel.v1.EntitlementChange\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xe1M\n\x13\x43loudChannelService\x12\xd4\x01\n\rListCustomers\x12-.google.cloud.channel.v1.ListCustomersRequest\x1a..google.cloud.channel.v1.ListCustomersResponse\"d\x82\xd3\xe4\x93\x02^\x12!/v1/{parent=accounts/*}/customersZ9\x12\x37/v1/{parent=accounts/*/channelPartnerLinks/*}/customers\x12\xca\x01\n\x0bGetCustomer\x12+.google.cloud.channel.v1.GetCustomerRequest\x1a!.google.cloud.channel.v1.Customer\"k\x82\xd3\xe4\x93\x02^\x12!/v1/{name=accounts/*/customers/*}Z9\x12\x37/v1/{name=accounts/*/channelPartnerLinks/*/customers/*}\xda\x41\x04name\x12\xe8\x01\n\x1f\x43heckCloudIdentityAccountsExist\x12?.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest\x1a@.google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse\"B\x82\xd3\xe4\x93\x02<\"7/v1/{parent=accounts/*}:checkCloudIdentityAccountsExist:\x01*\x12\xdd\x01\n\x0e\x43reateCustomer\x12..google.cloud.channel.v1.CreateCustomerRequest\x1a!.google.cloud.channel.v1.Customer\"x\x82\xd3\xe4\x93\x02r\"!/v1/{parent=accounts/*}/customers:\x08\x63ustomerZC\"7/v1/{parent=accounts/*/channelPartnerLinks/*}/customers:\x08\x63ustomer\x12\xf1\x01\n\x0eUpdateCustomer\x12..google.cloud.channel.v1.UpdateCustomerRequest\x1a!.google.cloud.channel.v1.Customer\"\x8b\x01\x82\xd3\xe4\x93\x02\x84\x01\x32*/v1/{customer.name=accounts/*/customers/*}:\x08\x63ustomerZL2@/v1/{customer.name=accounts/*/channelPartnerLinks/*/customers/*}:\x08\x63ustomer\x12\xc5\x01\n\x0e\x44\x65leteCustomer\x12..google.cloud.channel.v1.DeleteCustomerRequest\x1a\x16.google.protobuf.Empty\"k\x82\xd3\xe4\x93\x02^*!/v1/{name=accounts/*/customers/*}Z9*7/v1/{name=accounts/*/channelPartnerLinks/*/customers/*}\xda\x41\x04name\x12\xdd\x01\n\x0eImportCustomer\x12..google.cloud.channel.v1.ImportCustomerRequest\x1a!.google.cloud.channel.v1.Customer\"x\x82\xd3\xe4\x93\x02r\"(/v1/{parent=accounts/*}/customers:import:\x01*ZC\">/v1/{parent=accounts/*/channelPartnerLinks/*}/customers:import:\x01*\x12\xd8\x01\n\x16ProvisionCloudIdentity\x12\x36.google.cloud.channel.v1.ProvisionCloudIdentityRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02\x41\"</v1/{customer=accounts/*/customers/*}:provisionCloudIdentity:\x01*\xca\x41\x1d\n\x08\x43ustomer\x12\x11OperationMetadata\x12\xb1\x01\n\x10ListEntitlements\x12\x30.google.cloud.channel.v1.ListEntitlementsRequest\x1a\x31.google.cloud.channel.v1.ListEntitlementsResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=accounts/*/customers/*}/entitlements\x12\xbc\x01\n\x14ListTransferableSkus\x12\x34.google.cloud.channel.v1.ListTransferableSkusRequest\x1a\x35.google.cloud.channel.v1.ListTransferableSkusResponse\"7\x82\xd3\xe4\x93\x02\x31\",/v1/{parent=accounts/*}:listTransferableSkus:\x01*\x12\xc4\x01\n\x16ListTransferableOffers\x12\x36.google.cloud.channel.v1.ListTransferableOffersRequest\x1a\x37.google.cloud.channel.v1.ListTransferableOffersResponse\"9\x82\xd3\xe4\x93\x02\x33\"./v1/{parent=accounts/*}:listTransferableOffers:\x01*\x12\xa0\x01\n\x0eGetEntitlement\x12..google.cloud.channel.v1.GetEntitlementRequest\x1a$.google.cloud.channel.v1.Entitlement\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=accounts/*/customers/*/entitlements/*}\x12\xc5\x01\n\x11\x43reateEntitlement\x12\x31.google.cloud.channel.v1.CreateEntitlementRequest\x1a\x1d.google.longrunning.Operation\"^\x82\xd3\xe4\x93\x02\x35\"0/v1/{parent=accounts/*/customers/*}/entitlements:\x01*\xca\x41 \n\x0b\x45ntitlement\x12\x11OperationMetadata\x12\xd4\x01\n\x10\x43hangeParameters\x12\x30.google.cloud.channel.v1.ChangeParametersRequest\x1a\x1d.google.longrunning.Operation\"o\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=accounts/*/customers/*/entitlements/*}:changeParameters:\x01*\xca\x41 \n\x0b\x45ntitlement\x12\x11OperationMetadata\x12\xe3\x01\n\x15\x43hangeRenewalSettings\x12\x35.google.cloud.channel.v1.ChangeRenewalSettingsRequest\x1a\x1d.google.longrunning.Operation\"t\x82\xd3\xe4\x93\x02K\"F/v1/{name=accounts/*/customers/*/entitlements/*}:changeRenewalSettings:\x01*\xca\x41 \n\x0b\x45ntitlement\x12\x11OperationMetadata\x12\xc5\x01\n\x0b\x43hangeOffer\x12+.google.cloud.channel.v1.ChangeOfferRequest\x1a\x1d.google.longrunning.Operation\"j\x82\xd3\xe4\x93\x02\x41\"</v1/{name=accounts/*/customers/*/entitlements/*}:changeOffer:\x01*\xca\x41 \n\x0b\x45ntitlement\x12\x11OperationMetadata\x12\xd4\x01\n\x10StartPaidService\x12\x30.google.cloud.channel.v1.StartPaidServiceRequest\x1a\x1d.google.longrunning.Operation\"o\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=accounts/*/customers/*/entitlements/*}:startPaidService:\x01*\xca\x41 \n\x0b\x45ntitlement\x12\x11OperationMetadata\x12\xcf\x01\n\x12SuspendEntitlement\x12\x32.google.cloud.channel.v1.SuspendEntitlementRequest\x1a\x1d.google.longrunning.Operation\"f\x82\xd3\xe4\x93\x02=\"8/v1/{name=accounts/*/customers/*/entitlements/*}:suspend:\x01*\xca\x41 \n\x0b\x45ntitlement\x12\x11OperationMetadata\x12\xd6\x01\n\x11\x43\x61ncelEntitlement\x12\x31.google.cloud.channel.v1.CancelEntitlementRequest\x1a\x1d.google.longrunning.Operation\"o\x82\xd3\xe4\x93\x02<\"7/v1/{name=accounts/*/customers/*/entitlements/*}:cancel:\x01*\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xd2\x01\n\x13\x41\x63tivateEntitlement\x12\x33.google.cloud.channel.v1.ActivateEntitlementRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02>\"9/v1/{name=accounts/*/customers/*/entitlements/*}:activate:\x01*\xca\x41 \n\x0b\x45ntitlement\x12\x11OperationMetadata\x12\xe4\x01\n\x14TransferEntitlements\x12\x34.google.cloud.channel.v1.TransferEntitlementsRequest\x1a\x1d.google.longrunning.Operation\"w\x82\xd3\xe4\x93\x02=\"8/v1/{parent=accounts/*/customers/*}:transferEntitlements:\x01*\xca\x41\x31\n\x1cTransferEntitlementsResponse\x12\x11OperationMetadata\x12\xf5\x01\n\x1cTransferEntitlementsToGoogle\x12<.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest\x1a\x1d.google.longrunning.Operation\"x\x82\xd3\xe4\x93\x02\x45\"@/v1/{parent=accounts/*/customers/*}:transferEntitlementsToGoogle:\x01*\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xc1\x01\n\x17ListChannelPartnerLinks\x12\x37.google.cloud.channel.v1.ListChannelPartnerLinksRequest\x1a\x38.google.cloud.channel.v1.ListChannelPartnerLinksResponse\"3\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=accounts/*}/channelPartnerLinks\x12\xb0\x01\n\x15GetChannelPartnerLink\x12\x35.google.cloud.channel.v1.GetChannelPartnerLinkRequest\x1a+.google.cloud.channel.v1.ChannelPartnerLink\"3\x82\xd3\xe4\x93\x02-\x12+/v1/{name=accounts/*/channelPartnerLinks/*}\x12\xcc\x01\n\x18\x43reateChannelPartnerLink\x12\x38.google.cloud.channel.v1.CreateChannelPartnerLinkRequest\x1a+.google.cloud.channel.v1.ChannelPartnerLink\"I\x82\xd3\xe4\x93\x02\x43\"+/v1/{parent=accounts/*}/channelPartnerLinks:\x14\x63hannel_partner_link\x12\xb9\x01\n\x18UpdateChannelPartnerLink\x12\x38.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest\x1a+.google.cloud.channel.v1.ChannelPartnerLink\"6\x82\xd3\xe4\x93\x02\x30\x32+/v1/{name=accounts/*/channelPartnerLinks/*}:\x01*\x12\xd7\x01\n\x1aGetCustomerRepricingConfig\x12:.google.cloud.channel.v1.GetCustomerRepricingConfigRequest\x1a\x30.google.cloud.channel.v1.CustomerRepricingConfig\"K\x82\xd3\xe4\x93\x02>\x12</v1/{name=accounts/*/customers/*/customerRepricingConfigs/*}\xda\x41\x04name\x12\xea\x01\n\x1cListCustomerRepricingConfigs\x12<.google.cloud.channel.v1.ListCustomerRepricingConfigsRequest\x1a=.google.cloud.channel.v1.ListCustomerRepricingConfigsResponse\"M\x82\xd3\xe4\x93\x02>\x12</v1/{parent=accounts/*/customers/*}/customerRepricingConfigs\xda\x41\x06parent\x12\x95\x02\n\x1d\x43reateCustomerRepricingConfig\x12=.google.cloud.channel.v1.CreateCustomerRepricingConfigRequest\x1a\x30.google.cloud.channel.v1.CustomerRepricingConfig\"\x82\x01\x82\xd3\xe4\x93\x02Y\"</v1/{parent=accounts/*/customers/*}/customerRepricingConfigs:\x19\x63ustomer_repricing_config\xda\x41 parent,customer_repricing_config\x12\xa8\x02\n\x1dUpdateCustomerRepricingConfig\x12=.google.cloud.channel.v1.UpdateCustomerRepricingConfigRequest\x1a\x30.google.cloud.channel.v1.CustomerRepricingConfig\"\x95\x01\x82\xd3\xe4\x93\x02s2V/v1/{customer_repricing_config.name=accounts/*/customers/*/customerRepricingConfigs/*}:\x19\x63ustomer_repricing_config\xda\x41\x19\x63ustomer_repricing_config\x12\xc3\x01\n\x1d\x44\x65leteCustomerRepricingConfig\x12=.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest\x1a\x16.google.protobuf.Empty\"K\x82\xd3\xe4\x93\x02>*</v1/{name=accounts/*/customers/*/customerRepricingConfigs/*}\xda\x41\x04name\x12\xf9\x01\n GetChannelPartnerRepricingConfig\x12@.google.cloud.channel.v1.GetChannelPartnerRepricingConfigRequest\x1a\x36.google.cloud.channel.v1.ChannelPartnerRepricingConfig\"[\x82\xd3\xe4\x93\x02N\x12L/v1/{name=accounts/*/channelPartnerLinks/*/channelPartnerRepricingConfigs/*}\xda\x41\x04name\x12\x8c\x02\n\"ListChannelPartnerRepricingConfigs\x12\x42.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest\x1a\x43.google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse\"]\x82\xd3\xe4\x93\x02N\x12L/v1/{parent=accounts/*/channelPartnerLinks/*}/channelPartnerRepricingConfigs\xda\x41\x06parent\x12\xc5\x02\n#CreateChannelPartnerRepricingConfig\x12\x43.google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest\x1a\x36.google.cloud.channel.v1.ChannelPartnerRepricingConfig\"\xa0\x01\x82\xd3\xe4\x93\x02p\"L/v1/{parent=accounts/*/channelPartnerLinks/*}/channelPartnerRepricingConfigs: channel_partner_repricing_config\xda\x41\'parent,channel_partner_repricing_config\x12\xe0\x02\n#UpdateChannelPartnerRepricingConfig\x12\x43.google.cloud.channel.v1.UpdateChannelPartnerRepricingConfigRequest\x1a\x36.google.cloud.channel.v1.ChannelPartnerRepricingConfig\"\xbb\x01\x82\xd3\xe4\x93\x02\x91\x01\x32m/v1/{channel_partner_repricing_config.name=accounts/*/channelPartnerLinks/*/channelPartnerRepricingConfigs/*}: channel_partner_repricing_config\xda\x41 channel_partner_repricing_config\x12\xdf\x01\n#DeleteChannelPartnerRepricingConfig\x12\x43.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest\x1a\x16.google.protobuf.Empty\"[\x82\xd3\xe4\x93\x02N*L/v1/{name=accounts/*/channelPartnerLinks/*/channelPartnerRepricingConfigs/*}\xda\x41\x04name\x12\xa7\x01\n\x0bLookupOffer\x12+.google.cloud.channel.v1.LookupOfferRequest\x1a\x1e.google.cloud.channel.v1.Offer\"K\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{entitlement=accounts/*/customers/*/entitlements/*}:lookupOffer\x12\x81\x01\n\x0cListProducts\x12,.google.cloud.channel.v1.ListProductsRequest\x1a-.google.cloud.channel.v1.ListProductsResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/v1/products\x12\x85\x01\n\x08ListSkus\x12(.google.cloud.channel.v1.ListSkusRequest\x1a).google.cloud.channel.v1.ListSkusResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/{parent=products/*}/skus\x12\x8d\x01\n\nListOffers\x12*.google.cloud.channel.v1.ListOffersRequest\x1a+.google.cloud.channel.v1.ListOffersResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{parent=accounts/*}/offers\x12\xc3\x01\n\x13ListPurchasableSkus\x12\x33.google.cloud.channel.v1.ListPurchasableSkusRequest\x1a\x34.google.cloud.channel.v1.ListPurchasableSkusResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/v1/{customer=accounts/*/customers/*}:listPurchasableSkus\x12\xcb\x01\n\x15ListPurchasableOffers\x12\x35.google.cloud.channel.v1.ListPurchasableOffersRequest\x1a\x36.google.cloud.channel.v1.ListPurchasableOffersResponse\"C\x82\xd3\xe4\x93\x02=\x12;/v1/{customer=accounts/*/customers/*}:listPurchasableOffers\x12\xab\x01\n\x12RegisterSubscriber\x12\x32.google.cloud.channel.v1.RegisterSubscriberRequest\x1a\x33.google.cloud.channel.v1.RegisterSubscriberResponse\",\x82\xd3\xe4\x93\x02&\"!/v1/{account=accounts/*}:register:\x01*\x12\xb3\x01\n\x14UnregisterSubscriber\x12\x34.google.cloud.channel.v1.UnregisterSubscriberRequest\x1a\x35.google.cloud.channel.v1.UnregisterSubscriberResponse\".\x82\xd3\xe4\x93\x02(\"#/v1/{account=accounts/*}:unregister:\x01*\x12\xa6\x01\n\x0fListSubscribers\x12/.google.cloud.channel.v1.ListSubscribersRequest\x1a\x30.google.cloud.channel.v1.ListSubscribersResponse\"0\x82\xd3\xe4\x93\x02*\x12(/v1/{account=accounts/*}:listSubscribers\x12\xe5\x01\n\x16ListEntitlementChanges\x12\x36.google.cloud.channel.v1.ListEntitlementChangesRequest\x1a\x37.google.cloud.channel.v1.ListEntitlementChangesResponse\"Z\x82\xd3\xe4\x93\x02K\x12I/v1/{parent=accounts/*/customers/*/entitlements/*}:listEntitlementChanges\xda\x41\x06parent\x1aK\xca\x41\x1b\x63loudchannel.googleapis.com\xd2\x41*https://www.googleapis.com/auth/apps.orderBd\n\x1b\x63om.google.cloud.channel.v1B\x0cServiceProtoP\x01Z5cloud.google.com/go/channel/apiv1/channelpb;channelpbb\x06proto3"
26
+
27
+ pool = Google::Protobuf::DescriptorPool.generated_pool
28
+
29
+ begin
30
+ pool.add_serialized_file(descriptor_data)
31
+ rescue TypeError => e
32
+ # Compatibility code: will be removed in the next major version.
33
+ require 'google/protobuf/descriptor_pb'
34
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
35
+ parsed.clear_dependency
36
+ serialized = parsed.class.encode(parsed)
37
+ file = pool.add_serialized_file(serialized)
38
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
39
+ imports = [
40
+ ["google.cloud.channel.v1.Customer", "google/cloud/channel/v1/customers.proto"],
41
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
42
+ ["google.cloud.channel.v1.CloudIdentityInfo", "google/cloud/channel/v1/common.proto"],
43
+ ["google.cloud.channel.v1.Entitlement", "google/cloud/channel/v1/entitlements.proto"],
44
+ ["google.cloud.channel.v1.Offer", "google/cloud/channel/v1/offers.proto"],
45
+ ["google.cloud.channel.v1.ChannelPartnerLink", "google/cloud/channel/v1/channel_partner_links.proto"],
46
+ ["google.cloud.channel.v1.CustomerRepricingConfig", "google/cloud/channel/v1/repricing.proto"],
47
+ ["google.cloud.channel.v1.Product", "google/cloud/channel/v1/products.proto"],
48
+ ["google.cloud.channel.v1.EntitlementChange", "google/cloud/channel/v1/entitlement_changes.proto"],
49
+ ]
50
+ imports.each do |type_name, expected_filename|
51
+ import_file = pool.lookup(type_name).file_descriptor
52
+ if import_file.name != expected_filename
53
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
368
54
  end
369
55
  end
56
+ warn "Each proto file must use a consistent fully-qualified name."
57
+ warn "This will become an error in the next major version."
370
58
  end
371
59
 
372
60
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/channel/v1/subscriber_event.proto
3
4
 
@@ -5,43 +6,31 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/api/resource_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/cloud/channel/v1/subscriber_event.proto", :syntax => :proto3) do
10
- add_message "google.cloud.channel.v1.CustomerEvent" do
11
- optional :customer, :string, 1
12
- optional :event_type, :enum, 2, "google.cloud.channel.v1.CustomerEvent.Type"
13
- end
14
- add_enum "google.cloud.channel.v1.CustomerEvent.Type" do
15
- value :TYPE_UNSPECIFIED, 0
16
- value :PRIMARY_DOMAIN_CHANGED, 1
17
- value :PRIMARY_DOMAIN_VERIFIED, 2
18
- end
19
- add_message "google.cloud.channel.v1.EntitlementEvent" do
20
- optional :entitlement, :string, 1
21
- optional :event_type, :enum, 2, "google.cloud.channel.v1.EntitlementEvent.Type"
22
- end
23
- add_enum "google.cloud.channel.v1.EntitlementEvent.Type" do
24
- value :TYPE_UNSPECIFIED, 0
25
- value :CREATED, 1
26
- value :PRICE_PLAN_SWITCHED, 3
27
- value :COMMITMENT_CHANGED, 4
28
- value :RENEWED, 5
29
- value :SUSPENDED, 6
30
- value :ACTIVATED, 7
31
- value :CANCELLED, 8
32
- value :SKU_CHANGED, 9
33
- value :RENEWAL_SETTING_CHANGED, 10
34
- value :PAID_SERVICE_STARTED, 11
35
- value :LICENSE_ASSIGNMENT_CHANGED, 12
36
- value :LICENSE_CAP_CHANGED, 13
37
- end
38
- add_message "google.cloud.channel.v1.SubscriberEvent" do
39
- oneof :event do
40
- optional :customer_event, :message, 1, "google.cloud.channel.v1.CustomerEvent"
41
- optional :entitlement_event, :message, 2, "google.cloud.channel.v1.EntitlementEvent"
42
- end
9
+
10
+ descriptor_data = "\n.google/cloud/channel/v1/subscriber_event.proto\x12\x17google.cloud.channel.v1\x1a\x19google/api/resource.proto\"\xe4\x01\n\rCustomerEvent\x12;\n\x08\x63ustomer\x18\x01 \x01(\tB)\xfa\x41&\n$cloudchannel.googleapis.com/Customer\x12?\n\nevent_type\x18\x02 \x01(\x0e\x32+.google.cloud.channel.v1.CustomerEvent.Type\"U\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x1a\n\x16PRIMARY_DOMAIN_CHANGED\x10\x01\x12\x1b\n\x17PRIMARY_DOMAIN_VERIFIED\x10\x02\"\xb1\x03\n\x10\x45ntitlementEvent\x12\x41\n\x0b\x65ntitlement\x18\x01 \x01(\tB,\xfa\x41)\n\'cloudchannel.googleapis.com/Entitlement\x12\x42\n\nevent_type\x18\x02 \x01(\x0e\x32..google.cloud.channel.v1.EntitlementEvent.Type\"\x95\x02\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\x17\n\x13PRICE_PLAN_SWITCHED\x10\x03\x12\x16\n\x12\x43OMMITMENT_CHANGED\x10\x04\x12\x0b\n\x07RENEWED\x10\x05\x12\r\n\tSUSPENDED\x10\x06\x12\r\n\tACTIVATED\x10\x07\x12\r\n\tCANCELLED\x10\x08\x12\x0f\n\x0bSKU_CHANGED\x10\t\x12\x1b\n\x17RENEWAL_SETTING_CHANGED\x10\n\x12\x18\n\x14PAID_SERVICE_STARTED\x10\x0b\x12\x1e\n\x1aLICENSE_ASSIGNMENT_CHANGED\x10\x0c\x12\x17\n\x13LICENSE_CAP_CHANGED\x10\r\"\xa4\x01\n\x0fSubscriberEvent\x12@\n\x0e\x63ustomer_event\x18\x01 \x01(\x0b\x32&.google.cloud.channel.v1.CustomerEventH\x00\x12\x46\n\x11\x65ntitlement_event\x18\x02 \x01(\x0b\x32).google.cloud.channel.v1.EntitlementEventH\x00\x42\x07\n\x05\x65ventBl\n\x1b\x63om.google.cloud.channel.v1B\x14SubscriberEventProtoP\x01Z5cloud.google.com/go/channel/apiv1/channelpb;channelpbb\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ]
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
43
30
  end
44
31
  end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
45
34
  end
46
35
 
47
36
  module Google
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Channel
23
23
  module V1
24
- VERSION = "0.19.0"
24
+ VERSION = "0.20.0"
25
25
  end
26
26
  end
27
27
  end
@@ -43,8 +43,12 @@ module Google
43
43
  # if (any.is(Foo.class)) {
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
46
50
  #
47
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
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.19.0
4
+ version: 0.20.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: 2023-05-19 00:00:00.000000000 Z
11
+ date: 2023-06-06 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.18.0
19
+ version: 0.19.1
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.18.0
29
+ version: 0.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a