google-cloud-channel-v1 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5566da74a754c65656f754a01c8f1b0bc897b7ecb9c9391a4079111367e1fd27
4
- data.tar.gz: ca025b2e1ea002ad41309bf689edef56009942842532a838a046f7922888313e
3
+ metadata.gz: f2c17c7215f7f7b7d29f6a470bcaae01e4ea390bb0ba57050eece921c969d394
4
+ data.tar.gz: fb544c4f0786ec81f4b65a0eec48d3fce30c463b8786d547bf1e6adf922fe7af
5
5
  SHA512:
6
- metadata.gz: ecb279fbcec3ac0e83afe89a83a0f2dfc9af4774c99659af9597192df13fb1f3b661290c018ad8fd80a84ff6a2855ab363af2c50e4f170a354b91727187d924b
7
- data.tar.gz: 463cf47b6dd9f1ee46d7f7b4c71afc14c742deb1a38fb7d983580111c13f1ab0ca5227893e051c6c936d2acbab173ff7cff3c84542ab72440bb5a08c0ebc872a
6
+ metadata.gz: d1af54f5b44582fbd75eb0d4cec0e10c47650d0b2498f3edb2cb852146cc134e507ded696375517b9705a2883a3938bdebf45ad3c1faf4a4dcd3a4d10a1157b4
7
+ data.tar.gz: 80d4224531a08b5523ac8b2086654b54d7f8b0698fbc134b967c7a6b30da1540312fc99667ae516702f9b3f2739ea3a551c32ff7209dc3e0009aab3587897337
@@ -1,12 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/channel/v1/channel_partner_links.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/field_behavior_pb'
5
+ require 'google/api/resource_pb'
7
6
  require 'google/cloud/channel/v1/common_pb'
8
7
  require 'google/protobuf/timestamp_pb'
9
8
  require 'google/api/annotations_pb'
9
+ require 'google/protobuf'
10
+
10
11
  Google::Protobuf::DescriptorPool.generated_pool.build do
11
12
  add_file("google/cloud/channel/v1/channel_partner_links.proto", :syntax => :proto3) do
12
13
  add_message "google.cloud.channel.v1.ChannelPartnerLink" do
@@ -266,9 +266,11 @@ module Google
266
266
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
267
267
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
268
268
 
269
- header_params = {
270
- "parent" => request.parent
271
- }
269
+ header_params = {}
270
+ if request.parent
271
+ header_params["parent"] = request.parent
272
+ end
273
+
272
274
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
273
275
  metadata[:"x-goog-request-params"] ||= request_params_header
274
276
 
@@ -347,9 +349,11 @@ module Google
347
349
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
348
350
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
349
351
 
350
- header_params = {
351
- "name" => request.name
352
- }
352
+ header_params = {}
353
+ if request.name
354
+ header_params["name"] = request.name
355
+ end
356
+
353
357
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
354
358
  metadata[:"x-goog-request-params"] ||= request_params_header
355
359
 
@@ -433,9 +437,11 @@ module Google
433
437
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
434
438
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
435
439
 
436
- header_params = {
437
- "parent" => request.parent
438
- }
440
+ header_params = {}
441
+ if request.parent
442
+ header_params["parent"] = request.parent
443
+ end
444
+
439
445
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
440
446
  metadata[:"x-goog-request-params"] ||= request_params_header
441
447
 
@@ -516,9 +522,11 @@ module Google
516
522
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
517
523
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
518
524
 
519
- header_params = {
520
- "parent" => request.parent
521
- }
525
+ header_params = {}
526
+ if request.parent
527
+ header_params["parent"] = request.parent
528
+ end
529
+
522
530
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
523
531
  metadata[:"x-goog-request-params"] ||= request_params_header
524
532
 
@@ -598,9 +606,11 @@ module Google
598
606
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
599
607
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
600
608
 
601
- header_params = {
602
- "customer.name" => request.customer.name
603
- }
609
+ header_params = {}
610
+ if request.customer&.name
611
+ header_params["customer.name"] = request.customer.name
612
+ end
613
+
604
614
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
605
615
  metadata[:"x-goog-request-params"] ||= request_params_header
606
616
 
@@ -674,9 +684,11 @@ module Google
674
684
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
675
685
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
676
686
 
677
- header_params = {
678
- "name" => request.name
679
- }
687
+ header_params = {}
688
+ if request.name
689
+ header_params["name"] = request.name
690
+ end
691
+
680
692
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
681
693
  metadata[:"x-goog-request-params"] ||= request_params_header
682
694
 
@@ -781,9 +793,11 @@ module Google
781
793
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
782
794
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
783
795
 
784
- header_params = {
785
- "parent" => request.parent
786
- }
796
+ header_params = {}
797
+ if request.parent
798
+ header_params["parent"] = request.parent
799
+ end
800
+
787
801
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
788
802
  metadata[:"x-goog-request-params"] ||= request_params_header
789
803
 
@@ -876,9 +890,11 @@ module Google
876
890
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
877
891
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
878
892
 
879
- header_params = {
880
- "customer" => request.customer
881
- }
893
+ header_params = {}
894
+ if request.customer
895
+ header_params["customer"] = request.customer
896
+ end
897
+
882
898
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
883
899
  metadata[:"x-goog-request-params"] ||= request_params_header
884
900
 
@@ -964,9 +980,11 @@ module Google
964
980
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
965
981
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
966
982
 
967
- header_params = {
968
- "parent" => request.parent
969
- }
983
+ header_params = {}
984
+ if request.parent
985
+ header_params["parent"] = request.parent
986
+ end
987
+
970
988
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
971
989
  metadata[:"x-goog-request-params"] ||= request_params_header
972
990
 
@@ -1079,9 +1097,11 @@ module Google
1079
1097
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
1080
1098
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1081
1099
 
1082
- header_params = {
1083
- "parent" => request.parent
1084
- }
1100
+ header_params = {}
1101
+ if request.parent
1102
+ header_params["parent"] = request.parent
1103
+ end
1104
+
1085
1105
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1086
1106
  metadata[:"x-goog-request-params"] ||= request_params_header
1087
1107
 
@@ -1185,9 +1205,11 @@ module Google
1185
1205
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
1186
1206
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1187
1207
 
1188
- header_params = {
1189
- "parent" => request.parent
1190
- }
1208
+ header_params = {}
1209
+ if request.parent
1210
+ header_params["parent"] = request.parent
1211
+ end
1212
+
1191
1213
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1192
1214
  metadata[:"x-goog-request-params"] ||= request_params_header
1193
1215
 
@@ -1265,9 +1287,11 @@ module Google
1265
1287
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
1266
1288
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1267
1289
 
1268
- header_params = {
1269
- "name" => request.name
1270
- }
1290
+ header_params = {}
1291
+ if request.name
1292
+ header_params["name"] = request.name
1293
+ end
1294
+
1271
1295
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1272
1296
  metadata[:"x-goog-request-params"] ||= request_params_header
1273
1297
 
@@ -1384,9 +1408,11 @@ module Google
1384
1408
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
1385
1409
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1386
1410
 
1387
- header_params = {
1388
- "parent" => request.parent
1389
- }
1411
+ header_params = {}
1412
+ if request.parent
1413
+ header_params["parent"] = request.parent
1414
+ end
1415
+
1390
1416
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1391
1417
  metadata[:"x-goog-request-params"] ||= request_params_header
1392
1418
 
@@ -1493,9 +1519,11 @@ module Google
1493
1519
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
1494
1520
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1495
1521
 
1496
- header_params = {
1497
- "name" => request.name
1498
- }
1522
+ header_params = {}
1523
+ if request.name
1524
+ header_params["name"] = request.name
1525
+ end
1526
+
1499
1527
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1500
1528
  metadata[:"x-goog-request-params"] ||= request_params_header
1501
1529
 
@@ -1600,9 +1628,11 @@ module Google
1600
1628
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
1601
1629
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1602
1630
 
1603
- header_params = {
1604
- "name" => request.name
1605
- }
1631
+ header_params = {}
1632
+ if request.name
1633
+ header_params["name"] = request.name
1634
+ end
1635
+
1606
1636
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1607
1637
  metadata[:"x-goog-request-params"] ||= request_params_header
1608
1638
 
@@ -1710,9 +1740,11 @@ module Google
1710
1740
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
1711
1741
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1712
1742
 
1713
- header_params = {
1714
- "name" => request.name
1715
- }
1743
+ header_params = {}
1744
+ if request.name
1745
+ header_params["name"] = request.name
1746
+ end
1747
+
1716
1748
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1717
1749
  metadata[:"x-goog-request-params"] ||= request_params_header
1718
1750
 
@@ -1816,9 +1848,11 @@ module Google
1816
1848
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
1817
1849
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1818
1850
 
1819
- header_params = {
1820
- "name" => request.name
1821
- }
1851
+ header_params = {}
1852
+ if request.name
1853
+ header_params["name"] = request.name
1854
+ end
1855
+
1822
1856
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1823
1857
  metadata[:"x-goog-request-params"] ||= request_params_header
1824
1858
 
@@ -1919,9 +1953,11 @@ module Google
1919
1953
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
1920
1954
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1921
1955
 
1922
- header_params = {
1923
- "name" => request.name
1924
- }
1956
+ header_params = {}
1957
+ if request.name
1958
+ header_params["name"] = request.name
1959
+ end
1960
+
1925
1961
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1926
1962
  metadata[:"x-goog-request-params"] ||= request_params_header
1927
1963
 
@@ -2027,9 +2063,11 @@ module Google
2027
2063
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
2028
2064
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2029
2065
 
2030
- header_params = {
2031
- "name" => request.name
2032
- }
2066
+ header_params = {}
2067
+ if request.name
2068
+ header_params["name"] = request.name
2069
+ end
2070
+
2033
2071
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2034
2072
  metadata[:"x-goog-request-params"] ||= request_params_header
2035
2073
 
@@ -2136,9 +2174,11 @@ module Google
2136
2174
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
2137
2175
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2138
2176
 
2139
- header_params = {
2140
- "name" => request.name
2141
- }
2177
+ header_params = {}
2178
+ if request.name
2179
+ header_params["name"] = request.name
2180
+ end
2181
+
2142
2182
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2143
2183
  metadata[:"x-goog-request-params"] ||= request_params_header
2144
2184
 
@@ -2254,9 +2294,11 @@ module Google
2254
2294
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
2255
2295
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2256
2296
 
2257
- header_params = {
2258
- "parent" => request.parent
2259
- }
2297
+ header_params = {}
2298
+ if request.parent
2299
+ header_params["parent"] = request.parent
2300
+ end
2301
+
2260
2302
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2261
2303
  metadata[:"x-goog-request-params"] ||= request_params_header
2262
2304
 
@@ -2367,9 +2409,11 @@ module Google
2367
2409
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
2368
2410
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2369
2411
 
2370
- header_params = {
2371
- "parent" => request.parent
2372
- }
2412
+ header_params = {}
2413
+ if request.parent
2414
+ header_params["parent"] = request.parent
2415
+ end
2416
+
2373
2417
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2374
2418
  metadata[:"x-goog-request-params"] ||= request_params_header
2375
2419
 
@@ -2459,9 +2503,11 @@ module Google
2459
2503
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
2460
2504
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2461
2505
 
2462
- header_params = {
2463
- "parent" => request.parent
2464
- }
2506
+ header_params = {}
2507
+ if request.parent
2508
+ header_params["parent"] = request.parent
2509
+ end
2510
+
2465
2511
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2466
2512
  metadata[:"x-goog-request-params"] ||= request_params_header
2467
2513
 
@@ -2544,9 +2590,11 @@ module Google
2544
2590
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
2545
2591
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2546
2592
 
2547
- header_params = {
2548
- "name" => request.name
2549
- }
2593
+ header_params = {}
2594
+ if request.name
2595
+ header_params["name"] = request.name
2596
+ end
2597
+
2550
2598
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2551
2599
  metadata[:"x-goog-request-params"] ||= request_params_header
2552
2600
 
@@ -2639,9 +2687,11 @@ module Google
2639
2687
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
2640
2688
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2641
2689
 
2642
- header_params = {
2643
- "parent" => request.parent
2644
- }
2690
+ header_params = {}
2691
+ if request.parent
2692
+ header_params["parent"] = request.parent
2693
+ end
2694
+
2645
2695
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2646
2696
  metadata[:"x-goog-request-params"] ||= request_params_header
2647
2697
 
@@ -2736,9 +2786,11 @@ module Google
2736
2786
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
2737
2787
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2738
2788
 
2739
- header_params = {
2740
- "name" => request.name
2741
- }
2789
+ header_params = {}
2790
+ if request.name
2791
+ header_params["name"] = request.name
2792
+ end
2793
+
2742
2794
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2743
2795
  metadata[:"x-goog-request-params"] ||= request_params_header
2744
2796
 
@@ -2815,9 +2867,11 @@ module Google
2815
2867
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
2816
2868
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2817
2869
 
2818
- header_params = {
2819
- "entitlement" => request.entitlement
2820
- }
2870
+ header_params = {}
2871
+ if request.entitlement
2872
+ header_params["entitlement"] = request.entitlement
2873
+ end
2874
+
2821
2875
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2822
2876
  metadata[:"x-goog-request-params"] ||= request_params_header
2823
2877
 
@@ -2981,9 +3035,11 @@ module Google
2981
3035
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
2982
3036
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2983
3037
 
2984
- header_params = {
2985
- "parent" => request.parent
2986
- }
3038
+ header_params = {}
3039
+ if request.parent
3040
+ header_params["parent"] = request.parent
3041
+ end
3042
+
2987
3043
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2988
3044
  metadata[:"x-goog-request-params"] ||= request_params_header
2989
3045
 
@@ -3071,9 +3127,11 @@ module Google
3071
3127
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
3072
3128
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3073
3129
 
3074
- header_params = {
3075
- "parent" => request.parent
3076
- }
3130
+ header_params = {}
3131
+ if request.parent
3132
+ header_params["parent"] = request.parent
3133
+ end
3134
+
3077
3135
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3078
3136
  metadata[:"x-goog-request-params"] ||= request_params_header
3079
3137
 
@@ -3163,9 +3221,11 @@ module Google
3163
3221
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
3164
3222
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3165
3223
 
3166
- header_params = {
3167
- "customer" => request.customer
3168
- }
3224
+ header_params = {}
3225
+ if request.customer
3226
+ header_params["customer"] = request.customer
3227
+ end
3228
+
3169
3229
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3170
3230
  metadata[:"x-goog-request-params"] ||= request_params_header
3171
3231
 
@@ -3255,9 +3315,11 @@ module Google
3255
3315
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
3256
3316
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3257
3317
 
3258
- header_params = {
3259
- "customer" => request.customer
3260
- }
3318
+ header_params = {}
3319
+ if request.customer
3320
+ header_params["customer"] = request.customer
3321
+ end
3322
+
3261
3323
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3262
3324
  metadata[:"x-goog-request-params"] ||= request_params_header
3263
3325
 
@@ -3342,9 +3404,11 @@ module Google
3342
3404
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
3343
3405
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3344
3406
 
3345
- header_params = {
3346
- "account" => request.account
3347
- }
3407
+ header_params = {}
3408
+ if request.account
3409
+ header_params["account"] = request.account
3410
+ end
3411
+
3348
3412
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3349
3413
  metadata[:"x-goog-request-params"] ||= request_params_header
3350
3414
 
@@ -3432,9 +3496,11 @@ module Google
3432
3496
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
3433
3497
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3434
3498
 
3435
- header_params = {
3436
- "account" => request.account
3437
- }
3499
+ header_params = {}
3500
+ if request.account
3501
+ header_params["account"] = request.account
3502
+ end
3503
+
3438
3504
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3439
3505
  metadata[:"x-goog-request-params"] ||= request_params_header
3440
3506
 
@@ -3527,9 +3593,11 @@ module Google
3527
3593
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
3528
3594
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3529
3595
 
3530
- header_params = {
3531
- "account" => request.account
3532
- }
3596
+ header_params = {}
3597
+ if request.account
3598
+ header_params["account"] = request.account
3599
+ end
3600
+
3533
3601
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3534
3602
  metadata[:"x-goog-request-params"] ||= request_params_header
3535
3603
 
@@ -160,9 +160,11 @@ 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
- "name" => request.name
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
 
@@ -232,9 +234,11 @@ module Google
232
234
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
233
235
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
234
236
 
235
- header_params = {
236
- "name" => request.name
237
- }
237
+ header_params = {}
238
+ if request.name
239
+ header_params["name"] = request.name
240
+ end
241
+
238
242
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
239
243
  metadata[:"x-goog-request-params"] ||= request_params_header
240
244
 
@@ -304,9 +308,11 @@ module Google
304
308
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
305
309
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
306
310
 
307
- header_params = {
308
- "name" => request.name
309
- }
311
+ header_params = {}
312
+ if request.name
313
+ header_params["name"] = request.name
314
+ end
315
+
310
316
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
311
317
  metadata[:"x-goog-request-params"] ||= request_params_header
312
318
 
@@ -381,9 +387,11 @@ module Google
381
387
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
382
388
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
383
389
 
384
- header_params = {
385
- "name" => request.name
386
- }
390
+ header_params = {}
391
+ if request.name
392
+ header_params["name"] = request.name
393
+ end
394
+
387
395
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
388
396
  metadata[:"x-goog-request-params"] ||= request_params_header
389
397
 
@@ -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
@@ -45,7 +45,7 @@ module Google
45
45
  # distributors and their indirect resellers in a channel.
46
46
  class Service
47
47
 
48
- include GRPC::GenericService
48
+ include ::GRPC::GenericService
49
49
 
50
50
  self.marshal_class_method = :encode
51
51
  self.unmarshal_class_method = :decode
@@ -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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Channel
23
23
  module V1
24
- VERSION = "0.8.0"
24
+ VERSION = "0.9.0"
25
25
  end
26
26
  end
27
27
  end
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.8.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-09-08 00:00:00.000000000 Z
11
+ date: 2021-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common