google-cloud-channel-v1 0.24.0 → 1.0.1

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: 9c183f1ef7af585a05c87269e34c711a3fae50e70295d94a69cae909aa95f52b
4
- data.tar.gz: 1b235f3928c0540fd97d81137b675908dc29dba0d8653495f78656e895f5b8b0
3
+ metadata.gz: 4ade7569b6b1e46e168e1025c697259be946297f55fc60bf75662b405ab14863
4
+ data.tar.gz: 3a2c65ab841a075fcfafbcc72fce3871fb1c244cb1dded99afc7cd1f754a8c18
5
5
  SHA512:
6
- metadata.gz: cfc8361be1135200dbbbd2a7a3b36ab98dccf6dc9c96b8569211570c8b1e0c67936056ef236ed7d603f9ce0baa84f825189a17bf0df2f5eb6a3dc3ae500f91a1
7
- data.tar.gz: dd775e85a0af70d16affc7fae16ef4a0fe8cd931c4a2dede7308626159368ea93bb362702b4d74cecf589929777d53bdbb9618e646fad585c2b00bc140ec2af7
6
+ metadata.gz: 63e62d40cba372befe8d458cb5711b7c2de21ba1aa460fdf5ef0b98008ccfd93f8ff038b81f20029522600f6c597dbd1f9a9607453b2a76c9808c525b2b715ea
7
+ data.tar.gz: 17dbd3b67c748fe433fd54afb685f5c3f2ee2ab90205ae4823c243a2f969303c3141273f240ca275a7bd59ab079118f6b48a12df7351cbe9cf8d80430d79e36d
@@ -37,6 +37,9 @@ module Google
37
37
  # instead.
38
38
  #
39
39
  class Client
40
+ # @private
41
+ API_VERSION = ""
42
+
40
43
  # @private
41
44
  DEFAULT_ENDPOINT_TEMPLATE = "cloudchannel.$UNIVERSE_DOMAIN$"
42
45
 
@@ -297,10 +300,11 @@ module Google
297
300
  # Customize the options with defaults
298
301
  metadata = @config.rpcs.run_report_job.metadata.to_h
299
302
 
300
- # Set x-goog-api-client and x-goog-user-project headers
303
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
301
304
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
302
305
  lib_name: @config.lib_name, lib_version: @config.lib_version,
303
306
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
307
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
304
308
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
305
309
 
306
310
  header_params = {}
@@ -414,10 +418,11 @@ module Google
414
418
  # Customize the options with defaults
415
419
  metadata = @config.rpcs.fetch_report_results.metadata.to_h
416
420
 
417
- # Set x-goog-api-client and x-goog-user-project headers
421
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
418
422
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
419
423
  lib_name: @config.lib_name, lib_version: @config.lib_version,
420
424
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
425
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
421
426
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
422
427
 
423
428
  header_params = {}
@@ -528,10 +533,11 @@ module Google
528
533
  # Customize the options with defaults
529
534
  metadata = @config.rpcs.list_reports.metadata.to_h
530
535
 
531
- # Set x-goog-api-client and x-goog-user-project headers
536
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
532
537
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
533
538
  lib_name: @config.lib_name, lib_version: @config.lib_version,
534
539
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
540
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
535
541
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
536
542
 
537
543
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module CloudChannelReportsService
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "cloudchannel.$UNIVERSE_DOMAIN$"
31
34
 
@@ -191,10 +194,11 @@ module Google
191
194
  # Customize the options with defaults
192
195
  metadata = @config.rpcs.list_operations.metadata.to_h
193
196
 
194
- # Set x-goog-api-client and x-goog-user-project headers
197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
195
198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
196
199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
197
200
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
198
202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
199
203
 
200
204
  header_params = {}
@@ -287,10 +291,11 @@ module Google
287
291
  # Customize the options with defaults
288
292
  metadata = @config.rpcs.get_operation.metadata.to_h
289
293
 
290
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
291
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
297
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
300
 
296
301
  header_params = {}
@@ -376,10 +381,11 @@ module Google
376
381
  # Customize the options with defaults
377
382
  metadata = @config.rpcs.delete_operation.metadata.to_h
378
383
 
379
- # Set x-goog-api-client and x-goog-user-project headers
384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
380
385
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
381
386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
382
387
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
388
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
383
389
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
384
390
 
385
391
  header_params = {}
@@ -470,10 +476,11 @@ module Google
470
476
  # Customize the options with defaults
471
477
  metadata = @config.rpcs.cancel_operation.metadata.to_h
472
478
 
473
- # Set x-goog-api-client and x-goog-user-project headers
479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
480
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
481
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
482
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
483
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
484
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
485
 
479
486
  header_params = {}
@@ -574,10 +581,11 @@ module Google
574
581
  # Customize the options with defaults
575
582
  metadata = @config.rpcs.wait_operation.metadata.to_h
576
583
 
577
- # Set x-goog-api-client and x-goog-user-project headers
584
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
578
585
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
579
586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
580
587
  gapic_version: ::Google::Cloud::Channel::V1::VERSION
588
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
581
589
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
582
590
 
583
591
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -39,6 +39,9 @@ module Google
39
39
  # instead.
40
40
  #
41
41
  class Client
42
+ # @private
43
+ API_VERSION = ""
44
+
42
45
  # @private
43
46
  DEFAULT_ENDPOINT_TEMPLATE = "cloudchannel.$UNIVERSE_DOMAIN$"
44
47
 
@@ -286,12 +289,13 @@ module Google
286
289
  # Customize the options with defaults
287
290
  call_metadata = @config.rpcs.run_report_job.metadata.to_h
288
291
 
289
- # Set x-goog-api-client and x-goog-user-project headers
292
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
290
293
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
291
294
  lib_name: @config.lib_name, lib_version: @config.lib_version,
292
295
  gapic_version: ::Google::Cloud::Channel::V1::VERSION,
293
296
  transports_version_send: [:rest]
294
297
 
298
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
295
299
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
296
300
 
297
301
  options.apply_defaults timeout: @config.rpcs.run_report_job.timeout,
@@ -394,12 +398,13 @@ module Google
394
398
  # Customize the options with defaults
395
399
  call_metadata = @config.rpcs.fetch_report_results.metadata.to_h
396
400
 
397
- # Set x-goog-api-client and x-goog-user-project headers
401
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
398
402
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
399
403
  lib_name: @config.lib_name, lib_version: @config.lib_version,
400
404
  gapic_version: ::Google::Cloud::Channel::V1::VERSION,
401
405
  transports_version_send: [:rest]
402
406
 
407
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
403
408
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
404
409
 
405
410
  options.apply_defaults timeout: @config.rpcs.fetch_report_results.timeout,
@@ -499,12 +504,13 @@ module Google
499
504
  # Customize the options with defaults
500
505
  call_metadata = @config.rpcs.list_reports.metadata.to_h
501
506
 
502
- # Set x-goog-api-client and x-goog-user-project headers
507
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
503
508
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
504
509
  lib_name: @config.lib_name, lib_version: @config.lib_version,
505
510
  gapic_version: ::Google::Cloud::Channel::V1::VERSION,
506
511
  transports_version_send: [:rest]
507
512
 
513
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
508
514
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
509
515
 
510
516
  options.apply_defaults timeout: @config.rpcs.list_reports.timeout,
@@ -26,6 +26,9 @@ module Google
26
26
  module Rest
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "cloudchannel.$UNIVERSE_DOMAIN$"
31
34
 
@@ -181,12 +184,13 @@ module Google
181
184
  # Customize the options with defaults
182
185
  call_metadata = @config.rpcs.list_operations.metadata.to_h
183
186
 
184
- # Set x-goog-api-client and x-goog-user-project headers
187
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
185
188
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
186
189
  lib_name: @config.lib_name, lib_version: @config.lib_version,
187
190
  gapic_version: ::Google::Cloud::Channel::V1::VERSION,
188
191
  transports_version_send: [:rest]
189
192
 
193
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
190
194
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
191
195
 
192
196
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -269,12 +273,13 @@ module Google
269
273
  # Customize the options with defaults
270
274
  call_metadata = @config.rpcs.get_operation.metadata.to_h
271
275
 
272
- # Set x-goog-api-client and x-goog-user-project headers
276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
273
277
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
274
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
275
279
  gapic_version: ::Google::Cloud::Channel::V1::VERSION,
276
280
  transports_version_send: [:rest]
277
281
 
282
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
278
283
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
279
284
 
280
285
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -351,12 +356,13 @@ module Google
351
356
  # Customize the options with defaults
352
357
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
353
358
 
354
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
355
360
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
356
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
357
362
  gapic_version: ::Google::Cloud::Channel::V1::VERSION,
358
363
  transports_version_send: [:rest]
359
364
 
365
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
360
366
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
361
367
 
362
368
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -438,12 +444,13 @@ module Google
438
444
  # Customize the options with defaults
439
445
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
440
446
 
441
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
442
448
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
443
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
444
450
  gapic_version: ::Google::Cloud::Channel::V1::VERSION,
445
451
  transports_version_send: [:rest]
446
452
 
453
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
454
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
455
 
449
456
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,