google-cloud-network_services-v1 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -273,6 +273,366 @@ module Google
273
273
  end
274
274
  end
275
275
 
276
+ ##
277
+ # Baseline implementation for the list_wasm_plugin_versions REST call
278
+ #
279
+ # @param request_pb [::Google::Cloud::NetworkServices::V1::ListWasmPluginVersionsRequest]
280
+ # A request object representing the call parameters. Required.
281
+ # @param options [::Gapic::CallOptions]
282
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
283
+ #
284
+ # @yield [result, operation] Access the result along with the TransportOperation object
285
+ # @yieldparam result [::Google::Cloud::NetworkServices::V1::ListWasmPluginVersionsResponse]
286
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
287
+ #
288
+ # @return [::Google::Cloud::NetworkServices::V1::ListWasmPluginVersionsResponse]
289
+ # A result object deserialized from the server's reply
290
+ def list_wasm_plugin_versions request_pb, options = nil
291
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
292
+
293
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_wasm_plugin_versions_request request_pb
294
+ query_string_params = if query_string_params.any?
295
+ query_string_params.to_h { |p| p.split "=", 2 }
296
+ else
297
+ {}
298
+ end
299
+
300
+ response = @client_stub.make_http_request(
301
+ verb,
302
+ uri: uri,
303
+ body: body || "",
304
+ params: query_string_params,
305
+ method_name: "list_wasm_plugin_versions",
306
+ options: options
307
+ )
308
+ operation = ::Gapic::Rest::TransportOperation.new response
309
+ result = ::Google::Cloud::NetworkServices::V1::ListWasmPluginVersionsResponse.decode_json response.body, ignore_unknown_fields: true
310
+ catch :response do
311
+ yield result, operation if block_given?
312
+ result
313
+ end
314
+ end
315
+
316
+ ##
317
+ # Baseline implementation for the get_wasm_plugin_version REST call
318
+ #
319
+ # @param request_pb [::Google::Cloud::NetworkServices::V1::GetWasmPluginVersionRequest]
320
+ # A request object representing the call parameters. Required.
321
+ # @param options [::Gapic::CallOptions]
322
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
323
+ #
324
+ # @yield [result, operation] Access the result along with the TransportOperation object
325
+ # @yieldparam result [::Google::Cloud::NetworkServices::V1::WasmPluginVersion]
326
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
327
+ #
328
+ # @return [::Google::Cloud::NetworkServices::V1::WasmPluginVersion]
329
+ # A result object deserialized from the server's reply
330
+ def get_wasm_plugin_version request_pb, options = nil
331
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
332
+
333
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_wasm_plugin_version_request request_pb
334
+ query_string_params = if query_string_params.any?
335
+ query_string_params.to_h { |p| p.split "=", 2 }
336
+ else
337
+ {}
338
+ end
339
+
340
+ response = @client_stub.make_http_request(
341
+ verb,
342
+ uri: uri,
343
+ body: body || "",
344
+ params: query_string_params,
345
+ method_name: "get_wasm_plugin_version",
346
+ options: options
347
+ )
348
+ operation = ::Gapic::Rest::TransportOperation.new response
349
+ result = ::Google::Cloud::NetworkServices::V1::WasmPluginVersion.decode_json response.body, ignore_unknown_fields: true
350
+ catch :response do
351
+ yield result, operation if block_given?
352
+ result
353
+ end
354
+ end
355
+
356
+ ##
357
+ # Baseline implementation for the create_wasm_plugin_version REST call
358
+ #
359
+ # @param request_pb [::Google::Cloud::NetworkServices::V1::CreateWasmPluginVersionRequest]
360
+ # A request object representing the call parameters. Required.
361
+ # @param options [::Gapic::CallOptions]
362
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
363
+ #
364
+ # @yield [result, operation] Access the result along with the TransportOperation object
365
+ # @yieldparam result [::Google::Longrunning::Operation]
366
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
367
+ #
368
+ # @return [::Google::Longrunning::Operation]
369
+ # A result object deserialized from the server's reply
370
+ def create_wasm_plugin_version request_pb, options = nil
371
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
372
+
373
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_wasm_plugin_version_request request_pb
374
+ query_string_params = if query_string_params.any?
375
+ query_string_params.to_h { |p| p.split "=", 2 }
376
+ else
377
+ {}
378
+ end
379
+
380
+ response = @client_stub.make_http_request(
381
+ verb,
382
+ uri: uri,
383
+ body: body || "",
384
+ params: query_string_params,
385
+ method_name: "create_wasm_plugin_version",
386
+ options: options
387
+ )
388
+ operation = ::Gapic::Rest::TransportOperation.new response
389
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
390
+ catch :response do
391
+ yield result, operation if block_given?
392
+ result
393
+ end
394
+ end
395
+
396
+ ##
397
+ # Baseline implementation for the delete_wasm_plugin_version REST call
398
+ #
399
+ # @param request_pb [::Google::Cloud::NetworkServices::V1::DeleteWasmPluginVersionRequest]
400
+ # A request object representing the call parameters. Required.
401
+ # @param options [::Gapic::CallOptions]
402
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
403
+ #
404
+ # @yield [result, operation] Access the result along with the TransportOperation object
405
+ # @yieldparam result [::Google::Longrunning::Operation]
406
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
407
+ #
408
+ # @return [::Google::Longrunning::Operation]
409
+ # A result object deserialized from the server's reply
410
+ def delete_wasm_plugin_version request_pb, options = nil
411
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
412
+
413
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_wasm_plugin_version_request request_pb
414
+ query_string_params = if query_string_params.any?
415
+ query_string_params.to_h { |p| p.split "=", 2 }
416
+ else
417
+ {}
418
+ end
419
+
420
+ response = @client_stub.make_http_request(
421
+ verb,
422
+ uri: uri,
423
+ body: body || "",
424
+ params: query_string_params,
425
+ method_name: "delete_wasm_plugin_version",
426
+ options: options
427
+ )
428
+ operation = ::Gapic::Rest::TransportOperation.new response
429
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
430
+ catch :response do
431
+ yield result, operation if block_given?
432
+ result
433
+ end
434
+ end
435
+
436
+ ##
437
+ # Baseline implementation for the list_wasm_plugins REST call
438
+ #
439
+ # @param request_pb [::Google::Cloud::NetworkServices::V1::ListWasmPluginsRequest]
440
+ # A request object representing the call parameters. Required.
441
+ # @param options [::Gapic::CallOptions]
442
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
443
+ #
444
+ # @yield [result, operation] Access the result along with the TransportOperation object
445
+ # @yieldparam result [::Google::Cloud::NetworkServices::V1::ListWasmPluginsResponse]
446
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
447
+ #
448
+ # @return [::Google::Cloud::NetworkServices::V1::ListWasmPluginsResponse]
449
+ # A result object deserialized from the server's reply
450
+ def list_wasm_plugins request_pb, options = nil
451
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
452
+
453
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_wasm_plugins_request request_pb
454
+ query_string_params = if query_string_params.any?
455
+ query_string_params.to_h { |p| p.split "=", 2 }
456
+ else
457
+ {}
458
+ end
459
+
460
+ response = @client_stub.make_http_request(
461
+ verb,
462
+ uri: uri,
463
+ body: body || "",
464
+ params: query_string_params,
465
+ method_name: "list_wasm_plugins",
466
+ options: options
467
+ )
468
+ operation = ::Gapic::Rest::TransportOperation.new response
469
+ result = ::Google::Cloud::NetworkServices::V1::ListWasmPluginsResponse.decode_json response.body, ignore_unknown_fields: true
470
+ catch :response do
471
+ yield result, operation if block_given?
472
+ result
473
+ end
474
+ end
475
+
476
+ ##
477
+ # Baseline implementation for the get_wasm_plugin REST call
478
+ #
479
+ # @param request_pb [::Google::Cloud::NetworkServices::V1::GetWasmPluginRequest]
480
+ # A request object representing the call parameters. Required.
481
+ # @param options [::Gapic::CallOptions]
482
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
483
+ #
484
+ # @yield [result, operation] Access the result along with the TransportOperation object
485
+ # @yieldparam result [::Google::Cloud::NetworkServices::V1::WasmPlugin]
486
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
487
+ #
488
+ # @return [::Google::Cloud::NetworkServices::V1::WasmPlugin]
489
+ # A result object deserialized from the server's reply
490
+ def get_wasm_plugin request_pb, options = nil
491
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
492
+
493
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_wasm_plugin_request request_pb
494
+ query_string_params = if query_string_params.any?
495
+ query_string_params.to_h { |p| p.split "=", 2 }
496
+ else
497
+ {}
498
+ end
499
+
500
+ response = @client_stub.make_http_request(
501
+ verb,
502
+ uri: uri,
503
+ body: body || "",
504
+ params: query_string_params,
505
+ method_name: "get_wasm_plugin",
506
+ options: options
507
+ )
508
+ operation = ::Gapic::Rest::TransportOperation.new response
509
+ result = ::Google::Cloud::NetworkServices::V1::WasmPlugin.decode_json response.body, ignore_unknown_fields: true
510
+ catch :response do
511
+ yield result, operation if block_given?
512
+ result
513
+ end
514
+ end
515
+
516
+ ##
517
+ # Baseline implementation for the create_wasm_plugin REST call
518
+ #
519
+ # @param request_pb [::Google::Cloud::NetworkServices::V1::CreateWasmPluginRequest]
520
+ # A request object representing the call parameters. Required.
521
+ # @param options [::Gapic::CallOptions]
522
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
523
+ #
524
+ # @yield [result, operation] Access the result along with the TransportOperation object
525
+ # @yieldparam result [::Google::Longrunning::Operation]
526
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
527
+ #
528
+ # @return [::Google::Longrunning::Operation]
529
+ # A result object deserialized from the server's reply
530
+ def create_wasm_plugin request_pb, options = nil
531
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
532
+
533
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_wasm_plugin_request request_pb
534
+ query_string_params = if query_string_params.any?
535
+ query_string_params.to_h { |p| p.split "=", 2 }
536
+ else
537
+ {}
538
+ end
539
+
540
+ response = @client_stub.make_http_request(
541
+ verb,
542
+ uri: uri,
543
+ body: body || "",
544
+ params: query_string_params,
545
+ method_name: "create_wasm_plugin",
546
+ options: options
547
+ )
548
+ operation = ::Gapic::Rest::TransportOperation.new response
549
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
550
+ catch :response do
551
+ yield result, operation if block_given?
552
+ result
553
+ end
554
+ end
555
+
556
+ ##
557
+ # Baseline implementation for the update_wasm_plugin REST call
558
+ #
559
+ # @param request_pb [::Google::Cloud::NetworkServices::V1::UpdateWasmPluginRequest]
560
+ # A request object representing the call parameters. Required.
561
+ # @param options [::Gapic::CallOptions]
562
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
563
+ #
564
+ # @yield [result, operation] Access the result along with the TransportOperation object
565
+ # @yieldparam result [::Google::Longrunning::Operation]
566
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
567
+ #
568
+ # @return [::Google::Longrunning::Operation]
569
+ # A result object deserialized from the server's reply
570
+ def update_wasm_plugin request_pb, options = nil
571
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
572
+
573
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_wasm_plugin_request request_pb
574
+ query_string_params = if query_string_params.any?
575
+ query_string_params.to_h { |p| p.split "=", 2 }
576
+ else
577
+ {}
578
+ end
579
+
580
+ response = @client_stub.make_http_request(
581
+ verb,
582
+ uri: uri,
583
+ body: body || "",
584
+ params: query_string_params,
585
+ method_name: "update_wasm_plugin",
586
+ options: options
587
+ )
588
+ operation = ::Gapic::Rest::TransportOperation.new response
589
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
590
+ catch :response do
591
+ yield result, operation if block_given?
592
+ result
593
+ end
594
+ end
595
+
596
+ ##
597
+ # Baseline implementation for the delete_wasm_plugin REST call
598
+ #
599
+ # @param request_pb [::Google::Cloud::NetworkServices::V1::DeleteWasmPluginRequest]
600
+ # A request object representing the call parameters. Required.
601
+ # @param options [::Gapic::CallOptions]
602
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
603
+ #
604
+ # @yield [result, operation] Access the result along with the TransportOperation object
605
+ # @yieldparam result [::Google::Longrunning::Operation]
606
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
607
+ #
608
+ # @return [::Google::Longrunning::Operation]
609
+ # A result object deserialized from the server's reply
610
+ def delete_wasm_plugin request_pb, options = nil
611
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
612
+
613
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_wasm_plugin_request request_pb
614
+ query_string_params = if query_string_params.any?
615
+ query_string_params.to_h { |p| p.split "=", 2 }
616
+ else
617
+ {}
618
+ end
619
+
620
+ response = @client_stub.make_http_request(
621
+ verb,
622
+ uri: uri,
623
+ body: body || "",
624
+ params: query_string_params,
625
+ method_name: "delete_wasm_plugin",
626
+ options: options
627
+ )
628
+ operation = ::Gapic::Rest::TransportOperation.new response
629
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
630
+ catch :response do
631
+ yield result, operation if block_given?
632
+ result
633
+ end
634
+ end
635
+
276
636
  ##
277
637
  # Baseline implementation for the list_gateways REST call
278
638
  #
@@ -2140,6 +2500,198 @@ module Google
2140
2500
  transcoder.transcode request_pb
2141
2501
  end
2142
2502
 
2503
+ ##
2504
+ # @private
2505
+ #
2506
+ # GRPC transcoding helper method for the list_wasm_plugin_versions REST call
2507
+ #
2508
+ # @param request_pb [::Google::Cloud::NetworkServices::V1::ListWasmPluginVersionsRequest]
2509
+ # A request object representing the call parameters. Required.
2510
+ # @return [Array(String, [String, nil], Hash{String => String})]
2511
+ # Uri, Body, Query string parameters
2512
+ def self.transcode_list_wasm_plugin_versions_request request_pb
2513
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2514
+ .with_bindings(
2515
+ uri_method: :get,
2516
+ uri_template: "/v1/{parent}/versions",
2517
+ matches: [
2518
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+/?$}, false]
2519
+ ]
2520
+ )
2521
+ transcoder.transcode request_pb
2522
+ end
2523
+
2524
+ ##
2525
+ # @private
2526
+ #
2527
+ # GRPC transcoding helper method for the get_wasm_plugin_version REST call
2528
+ #
2529
+ # @param request_pb [::Google::Cloud::NetworkServices::V1::GetWasmPluginVersionRequest]
2530
+ # A request object representing the call parameters. Required.
2531
+ # @return [Array(String, [String, nil], Hash{String => String})]
2532
+ # Uri, Body, Query string parameters
2533
+ def self.transcode_get_wasm_plugin_version_request request_pb
2534
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2535
+ .with_bindings(
2536
+ uri_method: :get,
2537
+ uri_template: "/v1/{name}",
2538
+ matches: [
2539
+ ["name", %r{^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+/versions/[^/]+/?$}, false]
2540
+ ]
2541
+ )
2542
+ transcoder.transcode request_pb
2543
+ end
2544
+
2545
+ ##
2546
+ # @private
2547
+ #
2548
+ # GRPC transcoding helper method for the create_wasm_plugin_version REST call
2549
+ #
2550
+ # @param request_pb [::Google::Cloud::NetworkServices::V1::CreateWasmPluginVersionRequest]
2551
+ # A request object representing the call parameters. Required.
2552
+ # @return [Array(String, [String, nil], Hash{String => String})]
2553
+ # Uri, Body, Query string parameters
2554
+ def self.transcode_create_wasm_plugin_version_request request_pb
2555
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2556
+ .with_bindings(
2557
+ uri_method: :post,
2558
+ uri_template: "/v1/{parent}/versions",
2559
+ body: "wasm_plugin_version",
2560
+ matches: [
2561
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+/?$}, false]
2562
+ ]
2563
+ )
2564
+ transcoder.transcode request_pb
2565
+ end
2566
+
2567
+ ##
2568
+ # @private
2569
+ #
2570
+ # GRPC transcoding helper method for the delete_wasm_plugin_version REST call
2571
+ #
2572
+ # @param request_pb [::Google::Cloud::NetworkServices::V1::DeleteWasmPluginVersionRequest]
2573
+ # A request object representing the call parameters. Required.
2574
+ # @return [Array(String, [String, nil], Hash{String => String})]
2575
+ # Uri, Body, Query string parameters
2576
+ def self.transcode_delete_wasm_plugin_version_request request_pb
2577
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2578
+ .with_bindings(
2579
+ uri_method: :delete,
2580
+ uri_template: "/v1/{name}",
2581
+ matches: [
2582
+ ["name", %r{^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+/versions/[^/]+/?$}, false]
2583
+ ]
2584
+ )
2585
+ transcoder.transcode request_pb
2586
+ end
2587
+
2588
+ ##
2589
+ # @private
2590
+ #
2591
+ # GRPC transcoding helper method for the list_wasm_plugins REST call
2592
+ #
2593
+ # @param request_pb [::Google::Cloud::NetworkServices::V1::ListWasmPluginsRequest]
2594
+ # A request object representing the call parameters. Required.
2595
+ # @return [Array(String, [String, nil], Hash{String => String})]
2596
+ # Uri, Body, Query string parameters
2597
+ def self.transcode_list_wasm_plugins_request request_pb
2598
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2599
+ .with_bindings(
2600
+ uri_method: :get,
2601
+ uri_template: "/v1/{parent}/wasmPlugins",
2602
+ matches: [
2603
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
2604
+ ]
2605
+ )
2606
+ transcoder.transcode request_pb
2607
+ end
2608
+
2609
+ ##
2610
+ # @private
2611
+ #
2612
+ # GRPC transcoding helper method for the get_wasm_plugin REST call
2613
+ #
2614
+ # @param request_pb [::Google::Cloud::NetworkServices::V1::GetWasmPluginRequest]
2615
+ # A request object representing the call parameters. Required.
2616
+ # @return [Array(String, [String, nil], Hash{String => String})]
2617
+ # Uri, Body, Query string parameters
2618
+ def self.transcode_get_wasm_plugin_request request_pb
2619
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2620
+ .with_bindings(
2621
+ uri_method: :get,
2622
+ uri_template: "/v1/{name}",
2623
+ matches: [
2624
+ ["name", %r{^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+/?$}, false]
2625
+ ]
2626
+ )
2627
+ transcoder.transcode request_pb
2628
+ end
2629
+
2630
+ ##
2631
+ # @private
2632
+ #
2633
+ # GRPC transcoding helper method for the create_wasm_plugin REST call
2634
+ #
2635
+ # @param request_pb [::Google::Cloud::NetworkServices::V1::CreateWasmPluginRequest]
2636
+ # A request object representing the call parameters. Required.
2637
+ # @return [Array(String, [String, nil], Hash{String => String})]
2638
+ # Uri, Body, Query string parameters
2639
+ def self.transcode_create_wasm_plugin_request request_pb
2640
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2641
+ .with_bindings(
2642
+ uri_method: :post,
2643
+ uri_template: "/v1/{parent}/wasmPlugins",
2644
+ body: "wasm_plugin",
2645
+ matches: [
2646
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
2647
+ ]
2648
+ )
2649
+ transcoder.transcode request_pb
2650
+ end
2651
+
2652
+ ##
2653
+ # @private
2654
+ #
2655
+ # GRPC transcoding helper method for the update_wasm_plugin REST call
2656
+ #
2657
+ # @param request_pb [::Google::Cloud::NetworkServices::V1::UpdateWasmPluginRequest]
2658
+ # A request object representing the call parameters. Required.
2659
+ # @return [Array(String, [String, nil], Hash{String => String})]
2660
+ # Uri, Body, Query string parameters
2661
+ def self.transcode_update_wasm_plugin_request request_pb
2662
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2663
+ .with_bindings(
2664
+ uri_method: :patch,
2665
+ uri_template: "/v1/{wasm_plugin.name}",
2666
+ body: "wasm_plugin",
2667
+ matches: [
2668
+ ["wasm_plugin.name", %r{^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+/?$}, false]
2669
+ ]
2670
+ )
2671
+ transcoder.transcode request_pb
2672
+ end
2673
+
2674
+ ##
2675
+ # @private
2676
+ #
2677
+ # GRPC transcoding helper method for the delete_wasm_plugin REST call
2678
+ #
2679
+ # @param request_pb [::Google::Cloud::NetworkServices::V1::DeleteWasmPluginRequest]
2680
+ # A request object representing the call parameters. Required.
2681
+ # @return [Array(String, [String, nil], Hash{String => String})]
2682
+ # Uri, Body, Query string parameters
2683
+ def self.transcode_delete_wasm_plugin_request request_pb
2684
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2685
+ .with_bindings(
2686
+ uri_method: :delete,
2687
+ uri_template: "/v1/{name}",
2688
+ matches: [
2689
+ ["name", %r{^projects/[^/]+/locations/[^/]+/wasmPlugins/[^/]+/?$}, false]
2690
+ ]
2691
+ )
2692
+ transcoder.transcode request_pb
2693
+ end
2694
+
2143
2695
  ##
2144
2696
  # @private
2145
2697
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module NetworkServices
23
23
  module V1
24
- VERSION = "2.2.0"
24
+ VERSION = "2.3.0"
25
25
  end
26
26
  end
27
27
  end