google-cloud-vmware_engine-v1 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/vmware_engine/v1/version.rb +1 -1
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/client.rb +5375 -1042
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/paths.rb +162 -0
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/rest/client.rb +5198 -1115
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/rest/service_stub.rb +2378 -290
- data/lib/google/cloud/vmwareengine/v1/vmwareengine_pb.rb +48 -4
- data/lib/google/cloud/vmwareengine/v1/vmwareengine_resources_pb.rb +26 -1
- data/lib/google/cloud/vmwareengine/v1/vmwareengine_services_pb.rb +119 -5
- data/proto_docs/google/api/field_info.rb +65 -0
- data/proto_docs/google/cloud/vmwareengine/v1/vmwareengine.rb +1363 -15
- data/proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb +666 -1
- metadata +3 -2
@@ -52,6 +52,15 @@ module Google
|
|
52
52
|
@client_stub.universe_domain
|
53
53
|
end
|
54
54
|
|
55
|
+
##
|
56
|
+
# The effective endpoint
|
57
|
+
#
|
58
|
+
# @return [String]
|
59
|
+
#
|
60
|
+
def endpoint
|
61
|
+
@client_stub.endpoint
|
62
|
+
end
|
63
|
+
|
55
64
|
##
|
56
65
|
# Baseline implementation for the list_private_clouds REST call
|
57
66
|
#
|
@@ -471,23 +480,23 @@ module Google
|
|
471
480
|
end
|
472
481
|
|
473
482
|
##
|
474
|
-
# Baseline implementation for the
|
483
|
+
# Baseline implementation for the list_nodes REST call
|
475
484
|
#
|
476
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
485
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListNodesRequest]
|
477
486
|
# A request object representing the call parameters. Required.
|
478
487
|
# @param options [::Gapic::CallOptions]
|
479
488
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
480
489
|
#
|
481
490
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
482
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
491
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListNodesResponse]
|
483
492
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
484
493
|
#
|
485
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
494
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListNodesResponse]
|
486
495
|
# A result object deserialized from the server's reply
|
487
|
-
def
|
496
|
+
def list_nodes request_pb, options = nil
|
488
497
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
489
498
|
|
490
|
-
verb, uri, query_string_params, body = ServiceStub.
|
499
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_nodes_request request_pb
|
491
500
|
query_string_params = if query_string_params.any?
|
492
501
|
query_string_params.to_h { |p| p.split "=", 2 }
|
493
502
|
else
|
@@ -502,30 +511,30 @@ module Google
|
|
502
511
|
options: options
|
503
512
|
)
|
504
513
|
operation = ::Gapic::Rest::TransportOperation.new response
|
505
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
514
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListNodesResponse.decode_json response.body, ignore_unknown_fields: true
|
506
515
|
|
507
516
|
yield result, operation if block_given?
|
508
517
|
result
|
509
518
|
end
|
510
519
|
|
511
520
|
##
|
512
|
-
# Baseline implementation for the
|
521
|
+
# Baseline implementation for the get_node REST call
|
513
522
|
#
|
514
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
523
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetNodeRequest]
|
515
524
|
# A request object representing the call parameters. Required.
|
516
525
|
# @param options [::Gapic::CallOptions]
|
517
526
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
518
527
|
#
|
519
528
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
520
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
529
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::Node]
|
521
530
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
522
531
|
#
|
523
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
532
|
+
# @return [::Google::Cloud::VmwareEngine::V1::Node]
|
524
533
|
# A result object deserialized from the server's reply
|
525
|
-
def
|
534
|
+
def get_node request_pb, options = nil
|
526
535
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
527
536
|
|
528
|
-
verb, uri, query_string_params, body = ServiceStub.
|
537
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_node_request request_pb
|
529
538
|
query_string_params = if query_string_params.any?
|
530
539
|
query_string_params.to_h { |p| p.split "=", 2 }
|
531
540
|
else
|
@@ -540,30 +549,30 @@ module Google
|
|
540
549
|
options: options
|
541
550
|
)
|
542
551
|
operation = ::Gapic::Rest::TransportOperation.new response
|
543
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
552
|
+
result = ::Google::Cloud::VmwareEngine::V1::Node.decode_json response.body, ignore_unknown_fields: true
|
544
553
|
|
545
554
|
yield result, operation if block_given?
|
546
555
|
result
|
547
556
|
end
|
548
557
|
|
549
558
|
##
|
550
|
-
# Baseline implementation for the
|
559
|
+
# Baseline implementation for the list_external_addresses REST call
|
551
560
|
#
|
552
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
561
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListExternalAddressesRequest]
|
553
562
|
# A request object representing the call parameters. Required.
|
554
563
|
# @param options [::Gapic::CallOptions]
|
555
564
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
556
565
|
#
|
557
566
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
558
|
-
# @yieldparam result [::Google::
|
567
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListExternalAddressesResponse]
|
559
568
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
560
569
|
#
|
561
|
-
# @return [::Google::
|
570
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListExternalAddressesResponse]
|
562
571
|
# A result object deserialized from the server's reply
|
563
|
-
def
|
572
|
+
def list_external_addresses request_pb, options = nil
|
564
573
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
565
574
|
|
566
|
-
verb, uri, query_string_params, body = ServiceStub.
|
575
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_external_addresses_request request_pb
|
567
576
|
query_string_params = if query_string_params.any?
|
568
577
|
query_string_params.to_h { |p| p.split "=", 2 }
|
569
578
|
else
|
@@ -578,30 +587,30 @@ module Google
|
|
578
587
|
options: options
|
579
588
|
)
|
580
589
|
operation = ::Gapic::Rest::TransportOperation.new response
|
581
|
-
result = ::Google::
|
590
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListExternalAddressesResponse.decode_json response.body, ignore_unknown_fields: true
|
582
591
|
|
583
592
|
yield result, operation if block_given?
|
584
593
|
result
|
585
594
|
end
|
586
595
|
|
587
596
|
##
|
588
|
-
# Baseline implementation for the
|
597
|
+
# Baseline implementation for the fetch_network_policy_external_addresses REST call
|
589
598
|
#
|
590
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
599
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::FetchNetworkPolicyExternalAddressesRequest]
|
591
600
|
# A request object representing the call parameters. Required.
|
592
601
|
# @param options [::Gapic::CallOptions]
|
593
602
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
594
603
|
#
|
595
604
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
596
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
605
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::FetchNetworkPolicyExternalAddressesResponse]
|
597
606
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
598
607
|
#
|
599
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
608
|
+
# @return [::Google::Cloud::VmwareEngine::V1::FetchNetworkPolicyExternalAddressesResponse]
|
600
609
|
# A result object deserialized from the server's reply
|
601
|
-
def
|
610
|
+
def fetch_network_policy_external_addresses request_pb, options = nil
|
602
611
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
603
612
|
|
604
|
-
verb, uri, query_string_params, body = ServiceStub.
|
613
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_fetch_network_policy_external_addresses_request request_pb
|
605
614
|
query_string_params = if query_string_params.any?
|
606
615
|
query_string_params.to_h { |p| p.split "=", 2 }
|
607
616
|
else
|
@@ -616,30 +625,30 @@ module Google
|
|
616
625
|
options: options
|
617
626
|
)
|
618
627
|
operation = ::Gapic::Rest::TransportOperation.new response
|
619
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
628
|
+
result = ::Google::Cloud::VmwareEngine::V1::FetchNetworkPolicyExternalAddressesResponse.decode_json response.body, ignore_unknown_fields: true
|
620
629
|
|
621
630
|
yield result, operation if block_given?
|
622
631
|
result
|
623
632
|
end
|
624
633
|
|
625
634
|
##
|
626
|
-
# Baseline implementation for the
|
635
|
+
# Baseline implementation for the get_external_address REST call
|
627
636
|
#
|
628
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
637
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetExternalAddressRequest]
|
629
638
|
# A request object representing the call parameters. Required.
|
630
639
|
# @param options [::Gapic::CallOptions]
|
631
640
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
632
641
|
#
|
633
642
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
634
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
643
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ExternalAddress]
|
635
644
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
636
645
|
#
|
637
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
646
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ExternalAddress]
|
638
647
|
# A result object deserialized from the server's reply
|
639
|
-
def
|
648
|
+
def get_external_address request_pb, options = nil
|
640
649
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
641
650
|
|
642
|
-
verb, uri, query_string_params, body = ServiceStub.
|
651
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_external_address_request request_pb
|
643
652
|
query_string_params = if query_string_params.any?
|
644
653
|
query_string_params.to_h { |p| p.split "=", 2 }
|
645
654
|
else
|
@@ -654,30 +663,30 @@ module Google
|
|
654
663
|
options: options
|
655
664
|
)
|
656
665
|
operation = ::Gapic::Rest::TransportOperation.new response
|
657
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
666
|
+
result = ::Google::Cloud::VmwareEngine::V1::ExternalAddress.decode_json response.body, ignore_unknown_fields: true
|
658
667
|
|
659
668
|
yield result, operation if block_given?
|
660
669
|
result
|
661
670
|
end
|
662
671
|
|
663
672
|
##
|
664
|
-
# Baseline implementation for the
|
673
|
+
# Baseline implementation for the create_external_address REST call
|
665
674
|
#
|
666
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
675
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreateExternalAddressRequest]
|
667
676
|
# A request object representing the call parameters. Required.
|
668
677
|
# @param options [::Gapic::CallOptions]
|
669
678
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
670
679
|
#
|
671
680
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
672
|
-
# @yieldparam result [::Google::
|
681
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
673
682
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
674
683
|
#
|
675
|
-
# @return [::Google::
|
684
|
+
# @return [::Google::Longrunning::Operation]
|
676
685
|
# A result object deserialized from the server's reply
|
677
|
-
def
|
686
|
+
def create_external_address request_pb, options = nil
|
678
687
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
679
688
|
|
680
|
-
verb, uri, query_string_params, body = ServiceStub.
|
689
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_external_address_request request_pb
|
681
690
|
query_string_params = if query_string_params.any?
|
682
691
|
query_string_params.to_h { |p| p.split "=", 2 }
|
683
692
|
else
|
@@ -692,30 +701,30 @@ module Google
|
|
692
701
|
options: options
|
693
702
|
)
|
694
703
|
operation = ::Gapic::Rest::TransportOperation.new response
|
695
|
-
result = ::Google::
|
704
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
696
705
|
|
697
706
|
yield result, operation if block_given?
|
698
707
|
result
|
699
708
|
end
|
700
709
|
|
701
710
|
##
|
702
|
-
# Baseline implementation for the
|
711
|
+
# Baseline implementation for the update_external_address REST call
|
703
712
|
#
|
704
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
713
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateExternalAddressRequest]
|
705
714
|
# A request object representing the call parameters. Required.
|
706
715
|
# @param options [::Gapic::CallOptions]
|
707
716
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
708
717
|
#
|
709
718
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
710
|
-
# @yieldparam result [::Google::
|
719
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
711
720
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
712
721
|
#
|
713
|
-
# @return [::Google::
|
722
|
+
# @return [::Google::Longrunning::Operation]
|
714
723
|
# A result object deserialized from the server's reply
|
715
|
-
def
|
724
|
+
def update_external_address request_pb, options = nil
|
716
725
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
717
726
|
|
718
|
-
verb, uri, query_string_params, body = ServiceStub.
|
727
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_external_address_request request_pb
|
719
728
|
query_string_params = if query_string_params.any?
|
720
729
|
query_string_params.to_h { |p| p.split "=", 2 }
|
721
730
|
else
|
@@ -730,16 +739,16 @@ module Google
|
|
730
739
|
options: options
|
731
740
|
)
|
732
741
|
operation = ::Gapic::Rest::TransportOperation.new response
|
733
|
-
result = ::Google::
|
742
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
734
743
|
|
735
744
|
yield result, operation if block_given?
|
736
745
|
result
|
737
746
|
end
|
738
747
|
|
739
748
|
##
|
740
|
-
# Baseline implementation for the
|
749
|
+
# Baseline implementation for the delete_external_address REST call
|
741
750
|
#
|
742
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
751
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeleteExternalAddressRequest]
|
743
752
|
# A request object representing the call parameters. Required.
|
744
753
|
# @param options [::Gapic::CallOptions]
|
745
754
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
@@ -750,10 +759,10 @@ module Google
|
|
750
759
|
#
|
751
760
|
# @return [::Google::Longrunning::Operation]
|
752
761
|
# A result object deserialized from the server's reply
|
753
|
-
def
|
762
|
+
def delete_external_address request_pb, options = nil
|
754
763
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
755
764
|
|
756
|
-
verb, uri, query_string_params, body = ServiceStub.
|
765
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_external_address_request request_pb
|
757
766
|
query_string_params = if query_string_params.any?
|
758
767
|
query_string_params.to_h { |p| p.split "=", 2 }
|
759
768
|
else
|
@@ -775,23 +784,23 @@ module Google
|
|
775
784
|
end
|
776
785
|
|
777
786
|
##
|
778
|
-
# Baseline implementation for the
|
787
|
+
# Baseline implementation for the list_subnets REST call
|
779
788
|
#
|
780
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
789
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListSubnetsRequest]
|
781
790
|
# A request object representing the call parameters. Required.
|
782
791
|
# @param options [::Gapic::CallOptions]
|
783
792
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
784
793
|
#
|
785
794
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
786
|
-
# @yieldparam result [::Google::
|
795
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListSubnetsResponse]
|
787
796
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
788
797
|
#
|
789
|
-
# @return [::Google::
|
798
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListSubnetsResponse]
|
790
799
|
# A result object deserialized from the server's reply
|
791
|
-
def
|
800
|
+
def list_subnets request_pb, options = nil
|
792
801
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
793
802
|
|
794
|
-
verb, uri, query_string_params, body = ServiceStub.
|
803
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_subnets_request request_pb
|
795
804
|
query_string_params = if query_string_params.any?
|
796
805
|
query_string_params.to_h { |p| p.split "=", 2 }
|
797
806
|
else
|
@@ -806,30 +815,30 @@ module Google
|
|
806
815
|
options: options
|
807
816
|
)
|
808
817
|
operation = ::Gapic::Rest::TransportOperation.new response
|
809
|
-
result = ::Google::
|
818
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListSubnetsResponse.decode_json response.body, ignore_unknown_fields: true
|
810
819
|
|
811
820
|
yield result, operation if block_given?
|
812
821
|
result
|
813
822
|
end
|
814
823
|
|
815
824
|
##
|
816
|
-
# Baseline implementation for the
|
825
|
+
# Baseline implementation for the get_subnet REST call
|
817
826
|
#
|
818
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
827
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetSubnetRequest]
|
819
828
|
# A request object representing the call parameters. Required.
|
820
829
|
# @param options [::Gapic::CallOptions]
|
821
830
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
822
831
|
#
|
823
832
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
824
|
-
# @yieldparam result [::Google::
|
833
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::Subnet]
|
825
834
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
826
835
|
#
|
827
|
-
# @return [::Google::
|
836
|
+
# @return [::Google::Cloud::VmwareEngine::V1::Subnet]
|
828
837
|
# A result object deserialized from the server's reply
|
829
|
-
def
|
838
|
+
def get_subnet request_pb, options = nil
|
830
839
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
831
840
|
|
832
|
-
verb, uri, query_string_params, body = ServiceStub.
|
841
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_subnet_request request_pb
|
833
842
|
query_string_params = if query_string_params.any?
|
834
843
|
query_string_params.to_h { |p| p.split "=", 2 }
|
835
844
|
else
|
@@ -844,30 +853,30 @@ module Google
|
|
844
853
|
options: options
|
845
854
|
)
|
846
855
|
operation = ::Gapic::Rest::TransportOperation.new response
|
847
|
-
result = ::Google::
|
856
|
+
result = ::Google::Cloud::VmwareEngine::V1::Subnet.decode_json response.body, ignore_unknown_fields: true
|
848
857
|
|
849
858
|
yield result, operation if block_given?
|
850
859
|
result
|
851
860
|
end
|
852
861
|
|
853
862
|
##
|
854
|
-
# Baseline implementation for the
|
863
|
+
# Baseline implementation for the update_subnet REST call
|
855
864
|
#
|
856
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
865
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateSubnetRequest]
|
857
866
|
# A request object representing the call parameters. Required.
|
858
867
|
# @param options [::Gapic::CallOptions]
|
859
868
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
860
869
|
#
|
861
870
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
862
|
-
# @yieldparam result [::Google::
|
871
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
863
872
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
864
873
|
#
|
865
|
-
# @return [::Google::
|
874
|
+
# @return [::Google::Longrunning::Operation]
|
866
875
|
# A result object deserialized from the server's reply
|
867
|
-
def
|
876
|
+
def update_subnet request_pb, options = nil
|
868
877
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
869
878
|
|
870
|
-
verb, uri, query_string_params, body = ServiceStub.
|
879
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_subnet_request request_pb
|
871
880
|
query_string_params = if query_string_params.any?
|
872
881
|
query_string_params.to_h { |p| p.split "=", 2 }
|
873
882
|
else
|
@@ -882,30 +891,30 @@ module Google
|
|
882
891
|
options: options
|
883
892
|
)
|
884
893
|
operation = ::Gapic::Rest::TransportOperation.new response
|
885
|
-
result = ::Google::
|
894
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
886
895
|
|
887
896
|
yield result, operation if block_given?
|
888
897
|
result
|
889
898
|
end
|
890
899
|
|
891
900
|
##
|
892
|
-
# Baseline implementation for the
|
901
|
+
# Baseline implementation for the list_external_access_rules REST call
|
893
902
|
#
|
894
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
903
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListExternalAccessRulesRequest]
|
895
904
|
# A request object representing the call parameters. Required.
|
896
905
|
# @param options [::Gapic::CallOptions]
|
897
906
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
898
907
|
#
|
899
908
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
900
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
909
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListExternalAccessRulesResponse]
|
901
910
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
902
911
|
#
|
903
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
912
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListExternalAccessRulesResponse]
|
904
913
|
# A result object deserialized from the server's reply
|
905
|
-
def
|
914
|
+
def list_external_access_rules request_pb, options = nil
|
906
915
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
907
916
|
|
908
|
-
verb, uri, query_string_params, body = ServiceStub.
|
917
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_external_access_rules_request request_pb
|
909
918
|
query_string_params = if query_string_params.any?
|
910
919
|
query_string_params.to_h { |p| p.split "=", 2 }
|
911
920
|
else
|
@@ -920,30 +929,30 @@ module Google
|
|
920
929
|
options: options
|
921
930
|
)
|
922
931
|
operation = ::Gapic::Rest::TransportOperation.new response
|
923
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
932
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListExternalAccessRulesResponse.decode_json response.body, ignore_unknown_fields: true
|
924
933
|
|
925
934
|
yield result, operation if block_given?
|
926
935
|
result
|
927
936
|
end
|
928
937
|
|
929
938
|
##
|
930
|
-
# Baseline implementation for the
|
939
|
+
# Baseline implementation for the get_external_access_rule REST call
|
931
940
|
#
|
932
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
941
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetExternalAccessRuleRequest]
|
933
942
|
# A request object representing the call parameters. Required.
|
934
943
|
# @param options [::Gapic::CallOptions]
|
935
944
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
936
945
|
#
|
937
946
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
938
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
947
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ExternalAccessRule]
|
939
948
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
940
949
|
#
|
941
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
950
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ExternalAccessRule]
|
942
951
|
# A result object deserialized from the server's reply
|
943
|
-
def
|
952
|
+
def get_external_access_rule request_pb, options = nil
|
944
953
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
945
954
|
|
946
|
-
verb, uri, query_string_params, body = ServiceStub.
|
955
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_external_access_rule_request request_pb
|
947
956
|
query_string_params = if query_string_params.any?
|
948
957
|
query_string_params.to_h { |p| p.split "=", 2 }
|
949
958
|
else
|
@@ -958,30 +967,30 @@ module Google
|
|
958
967
|
options: options
|
959
968
|
)
|
960
969
|
operation = ::Gapic::Rest::TransportOperation.new response
|
961
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
970
|
+
result = ::Google::Cloud::VmwareEngine::V1::ExternalAccessRule.decode_json response.body, ignore_unknown_fields: true
|
962
971
|
|
963
972
|
yield result, operation if block_given?
|
964
973
|
result
|
965
974
|
end
|
966
975
|
|
967
976
|
##
|
968
|
-
# Baseline implementation for the
|
977
|
+
# Baseline implementation for the create_external_access_rule REST call
|
969
978
|
#
|
970
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
979
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreateExternalAccessRuleRequest]
|
971
980
|
# A request object representing the call parameters. Required.
|
972
981
|
# @param options [::Gapic::CallOptions]
|
973
982
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
974
983
|
#
|
975
984
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
976
|
-
# @yieldparam result [::Google::
|
985
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
977
986
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
978
987
|
#
|
979
|
-
# @return [::Google::
|
988
|
+
# @return [::Google::Longrunning::Operation]
|
980
989
|
# A result object deserialized from the server's reply
|
981
|
-
def
|
990
|
+
def create_external_access_rule request_pb, options = nil
|
982
991
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
983
992
|
|
984
|
-
verb, uri, query_string_params, body = ServiceStub.
|
993
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_external_access_rule_request request_pb
|
985
994
|
query_string_params = if query_string_params.any?
|
986
995
|
query_string_params.to_h { |p| p.split "=", 2 }
|
987
996
|
else
|
@@ -996,16 +1005,16 @@ module Google
|
|
996
1005
|
options: options
|
997
1006
|
)
|
998
1007
|
operation = ::Gapic::Rest::TransportOperation.new response
|
999
|
-
result = ::Google::
|
1008
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
1000
1009
|
|
1001
1010
|
yield result, operation if block_given?
|
1002
1011
|
result
|
1003
1012
|
end
|
1004
1013
|
|
1005
1014
|
##
|
1006
|
-
# Baseline implementation for the
|
1015
|
+
# Baseline implementation for the update_external_access_rule REST call
|
1007
1016
|
#
|
1008
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1017
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateExternalAccessRuleRequest]
|
1009
1018
|
# A request object representing the call parameters. Required.
|
1010
1019
|
# @param options [::Gapic::CallOptions]
|
1011
1020
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
@@ -1016,10 +1025,10 @@ module Google
|
|
1016
1025
|
#
|
1017
1026
|
# @return [::Google::Longrunning::Operation]
|
1018
1027
|
# A result object deserialized from the server's reply
|
1019
|
-
def
|
1028
|
+
def update_external_access_rule request_pb, options = nil
|
1020
1029
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1021
1030
|
|
1022
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1031
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_external_access_rule_request request_pb
|
1023
1032
|
query_string_params = if query_string_params.any?
|
1024
1033
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1025
1034
|
else
|
@@ -1041,9 +1050,9 @@ module Google
|
|
1041
1050
|
end
|
1042
1051
|
|
1043
1052
|
##
|
1044
|
-
# Baseline implementation for the
|
1053
|
+
# Baseline implementation for the delete_external_access_rule REST call
|
1045
1054
|
#
|
1046
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1055
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeleteExternalAccessRuleRequest]
|
1047
1056
|
# A request object representing the call parameters. Required.
|
1048
1057
|
# @param options [::Gapic::CallOptions]
|
1049
1058
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
@@ -1054,10 +1063,10 @@ module Google
|
|
1054
1063
|
#
|
1055
1064
|
# @return [::Google::Longrunning::Operation]
|
1056
1065
|
# A result object deserialized from the server's reply
|
1057
|
-
def
|
1066
|
+
def delete_external_access_rule request_pb, options = nil
|
1058
1067
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1059
1068
|
|
1060
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1069
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_external_access_rule_request request_pb
|
1061
1070
|
query_string_params = if query_string_params.any?
|
1062
1071
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1063
1072
|
else
|
@@ -1079,23 +1088,23 @@ module Google
|
|
1079
1088
|
end
|
1080
1089
|
|
1081
1090
|
##
|
1082
|
-
# Baseline implementation for the
|
1091
|
+
# Baseline implementation for the list_logging_servers REST call
|
1083
1092
|
#
|
1084
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1093
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListLoggingServersRequest]
|
1085
1094
|
# A request object representing the call parameters. Required.
|
1086
1095
|
# @param options [::Gapic::CallOptions]
|
1087
1096
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1088
1097
|
#
|
1089
1098
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1090
|
-
# @yieldparam result [::Google::
|
1099
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListLoggingServersResponse]
|
1091
1100
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1092
1101
|
#
|
1093
|
-
# @return [::Google::
|
1102
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListLoggingServersResponse]
|
1094
1103
|
# A result object deserialized from the server's reply
|
1095
|
-
def
|
1104
|
+
def list_logging_servers request_pb, options = nil
|
1096
1105
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1097
1106
|
|
1098
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1107
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_logging_servers_request request_pb
|
1099
1108
|
query_string_params = if query_string_params.any?
|
1100
1109
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1101
1110
|
else
|
@@ -1110,30 +1119,30 @@ module Google
|
|
1110
1119
|
options: options
|
1111
1120
|
)
|
1112
1121
|
operation = ::Gapic::Rest::TransportOperation.new response
|
1113
|
-
result = ::Google::
|
1122
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListLoggingServersResponse.decode_json response.body, ignore_unknown_fields: true
|
1114
1123
|
|
1115
1124
|
yield result, operation if block_given?
|
1116
1125
|
result
|
1117
1126
|
end
|
1118
1127
|
|
1119
1128
|
##
|
1120
|
-
# Baseline implementation for the
|
1129
|
+
# Baseline implementation for the get_logging_server REST call
|
1121
1130
|
#
|
1122
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1131
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetLoggingServerRequest]
|
1123
1132
|
# A request object representing the call parameters. Required.
|
1124
1133
|
# @param options [::Gapic::CallOptions]
|
1125
1134
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1126
1135
|
#
|
1127
1136
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1128
|
-
# @yieldparam result [::Google::
|
1137
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::LoggingServer]
|
1129
1138
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1130
1139
|
#
|
1131
|
-
# @return [::Google::
|
1140
|
+
# @return [::Google::Cloud::VmwareEngine::V1::LoggingServer]
|
1132
1141
|
# A result object deserialized from the server's reply
|
1133
|
-
def
|
1142
|
+
def get_logging_server request_pb, options = nil
|
1134
1143
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1135
1144
|
|
1136
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1145
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_logging_server_request request_pb
|
1137
1146
|
query_string_params = if query_string_params.any?
|
1138
1147
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1139
1148
|
else
|
@@ -1148,16 +1157,16 @@ module Google
|
|
1148
1157
|
options: options
|
1149
1158
|
)
|
1150
1159
|
operation = ::Gapic::Rest::TransportOperation.new response
|
1151
|
-
result = ::Google::
|
1160
|
+
result = ::Google::Cloud::VmwareEngine::V1::LoggingServer.decode_json response.body, ignore_unknown_fields: true
|
1152
1161
|
|
1153
1162
|
yield result, operation if block_given?
|
1154
1163
|
result
|
1155
1164
|
end
|
1156
1165
|
|
1157
1166
|
##
|
1158
|
-
# Baseline implementation for the
|
1167
|
+
# Baseline implementation for the create_logging_server REST call
|
1159
1168
|
#
|
1160
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1169
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreateLoggingServerRequest]
|
1161
1170
|
# A request object representing the call parameters. Required.
|
1162
1171
|
# @param options [::Gapic::CallOptions]
|
1163
1172
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
@@ -1168,10 +1177,10 @@ module Google
|
|
1168
1177
|
#
|
1169
1178
|
# @return [::Google::Longrunning::Operation]
|
1170
1179
|
# A result object deserialized from the server's reply
|
1171
|
-
def
|
1180
|
+
def create_logging_server request_pb, options = nil
|
1172
1181
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1173
1182
|
|
1174
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1183
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_logging_server_request request_pb
|
1175
1184
|
query_string_params = if query_string_params.any?
|
1176
1185
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1177
1186
|
else
|
@@ -1193,9 +1202,9 @@ module Google
|
|
1193
1202
|
end
|
1194
1203
|
|
1195
1204
|
##
|
1196
|
-
# Baseline implementation for the
|
1205
|
+
# Baseline implementation for the update_logging_server REST call
|
1197
1206
|
#
|
1198
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1207
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateLoggingServerRequest]
|
1199
1208
|
# A request object representing the call parameters. Required.
|
1200
1209
|
# @param options [::Gapic::CallOptions]
|
1201
1210
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
@@ -1206,10 +1215,10 @@ module Google
|
|
1206
1215
|
#
|
1207
1216
|
# @return [::Google::Longrunning::Operation]
|
1208
1217
|
# A result object deserialized from the server's reply
|
1209
|
-
def
|
1218
|
+
def update_logging_server request_pb, options = nil
|
1210
1219
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1211
1220
|
|
1212
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1221
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_logging_server_request request_pb
|
1213
1222
|
query_string_params = if query_string_params.any?
|
1214
1223
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1215
1224
|
else
|
@@ -1231,23 +1240,23 @@ module Google
|
|
1231
1240
|
end
|
1232
1241
|
|
1233
1242
|
##
|
1234
|
-
# Baseline implementation for the
|
1243
|
+
# Baseline implementation for the delete_logging_server REST call
|
1235
1244
|
#
|
1236
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1245
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeleteLoggingServerRequest]
|
1237
1246
|
# A request object representing the call parameters. Required.
|
1238
1247
|
# @param options [::Gapic::CallOptions]
|
1239
1248
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1240
1249
|
#
|
1241
1250
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1242
|
-
# @yieldparam result [::Google::
|
1251
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
1243
1252
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1244
1253
|
#
|
1245
|
-
# @return [::Google::
|
1254
|
+
# @return [::Google::Longrunning::Operation]
|
1246
1255
|
# A result object deserialized from the server's reply
|
1247
|
-
def
|
1256
|
+
def delete_logging_server request_pb, options = nil
|
1248
1257
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1249
1258
|
|
1250
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1259
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_logging_server_request request_pb
|
1251
1260
|
query_string_params = if query_string_params.any?
|
1252
1261
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1253
1262
|
else
|
@@ -1262,30 +1271,30 @@ module Google
|
|
1262
1271
|
options: options
|
1263
1272
|
)
|
1264
1273
|
operation = ::Gapic::Rest::TransportOperation.new response
|
1265
|
-
result = ::Google::
|
1274
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
1266
1275
|
|
1267
1276
|
yield result, operation if block_given?
|
1268
1277
|
result
|
1269
1278
|
end
|
1270
1279
|
|
1271
1280
|
##
|
1272
|
-
# Baseline implementation for the
|
1281
|
+
# Baseline implementation for the list_node_types REST call
|
1273
1282
|
#
|
1274
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1283
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListNodeTypesRequest]
|
1275
1284
|
# A request object representing the call parameters. Required.
|
1276
1285
|
# @param options [::Gapic::CallOptions]
|
1277
1286
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1278
1287
|
#
|
1279
1288
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1280
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
1289
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListNodeTypesResponse]
|
1281
1290
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1282
1291
|
#
|
1283
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
1292
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListNodeTypesResponse]
|
1284
1293
|
# A result object deserialized from the server's reply
|
1285
|
-
def
|
1294
|
+
def list_node_types request_pb, options = nil
|
1286
1295
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1287
1296
|
|
1288
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1297
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_node_types_request request_pb
|
1289
1298
|
query_string_params = if query_string_params.any?
|
1290
1299
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1291
1300
|
else
|
@@ -1300,30 +1309,30 @@ module Google
|
|
1300
1309
|
options: options
|
1301
1310
|
)
|
1302
1311
|
operation = ::Gapic::Rest::TransportOperation.new response
|
1303
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
1312
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListNodeTypesResponse.decode_json response.body, ignore_unknown_fields: true
|
1304
1313
|
|
1305
1314
|
yield result, operation if block_given?
|
1306
1315
|
result
|
1307
1316
|
end
|
1308
1317
|
|
1309
1318
|
##
|
1310
|
-
# Baseline implementation for the
|
1319
|
+
# Baseline implementation for the get_node_type REST call
|
1311
1320
|
#
|
1312
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1321
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetNodeTypeRequest]
|
1313
1322
|
# A request object representing the call parameters. Required.
|
1314
1323
|
# @param options [::Gapic::CallOptions]
|
1315
1324
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1316
1325
|
#
|
1317
1326
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1318
|
-
# @yieldparam result [::Google::
|
1327
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::NodeType]
|
1319
1328
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1320
1329
|
#
|
1321
|
-
# @return [::Google::
|
1330
|
+
# @return [::Google::Cloud::VmwareEngine::V1::NodeType]
|
1322
1331
|
# A result object deserialized from the server's reply
|
1323
|
-
def
|
1332
|
+
def get_node_type request_pb, options = nil
|
1324
1333
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1325
1334
|
|
1326
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1335
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_node_type_request request_pb
|
1327
1336
|
query_string_params = if query_string_params.any?
|
1328
1337
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1329
1338
|
else
|
@@ -1338,30 +1347,30 @@ module Google
|
|
1338
1347
|
options: options
|
1339
1348
|
)
|
1340
1349
|
operation = ::Gapic::Rest::TransportOperation.new response
|
1341
|
-
result = ::Google::
|
1350
|
+
result = ::Google::Cloud::VmwareEngine::V1::NodeType.decode_json response.body, ignore_unknown_fields: true
|
1342
1351
|
|
1343
1352
|
yield result, operation if block_given?
|
1344
1353
|
result
|
1345
1354
|
end
|
1346
1355
|
|
1347
1356
|
##
|
1348
|
-
# Baseline implementation for the
|
1357
|
+
# Baseline implementation for the show_nsx_credentials REST call
|
1349
1358
|
#
|
1350
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1359
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ShowNsxCredentialsRequest]
|
1351
1360
|
# A request object representing the call parameters. Required.
|
1352
1361
|
# @param options [::Gapic::CallOptions]
|
1353
1362
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1354
1363
|
#
|
1355
1364
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1356
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
1365
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::Credentials]
|
1357
1366
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1358
1367
|
#
|
1359
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
1368
|
+
# @return [::Google::Cloud::VmwareEngine::V1::Credentials]
|
1360
1369
|
# A result object deserialized from the server's reply
|
1361
|
-
def
|
1370
|
+
def show_nsx_credentials request_pb, options = nil
|
1362
1371
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1363
1372
|
|
1364
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1373
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_show_nsx_credentials_request request_pb
|
1365
1374
|
query_string_params = if query_string_params.any?
|
1366
1375
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1367
1376
|
else
|
@@ -1376,30 +1385,30 @@ module Google
|
|
1376
1385
|
options: options
|
1377
1386
|
)
|
1378
1387
|
operation = ::Gapic::Rest::TransportOperation.new response
|
1379
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
1388
|
+
result = ::Google::Cloud::VmwareEngine::V1::Credentials.decode_json response.body, ignore_unknown_fields: true
|
1380
1389
|
|
1381
1390
|
yield result, operation if block_given?
|
1382
1391
|
result
|
1383
1392
|
end
|
1384
1393
|
|
1385
1394
|
##
|
1386
|
-
# Baseline implementation for the
|
1395
|
+
# Baseline implementation for the show_vcenter_credentials REST call
|
1387
1396
|
#
|
1388
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1397
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ShowVcenterCredentialsRequest]
|
1389
1398
|
# A request object representing the call parameters. Required.
|
1390
1399
|
# @param options [::Gapic::CallOptions]
|
1391
1400
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1392
1401
|
#
|
1393
1402
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1394
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
1403
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::Credentials]
|
1395
1404
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1396
1405
|
#
|
1397
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
1406
|
+
# @return [::Google::Cloud::VmwareEngine::V1::Credentials]
|
1398
1407
|
# A result object deserialized from the server's reply
|
1399
|
-
def
|
1408
|
+
def show_vcenter_credentials request_pb, options = nil
|
1400
1409
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1401
1410
|
|
1402
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1411
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_show_vcenter_credentials_request request_pb
|
1403
1412
|
query_string_params = if query_string_params.any?
|
1404
1413
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1405
1414
|
else
|
@@ -1414,16 +1423,16 @@ module Google
|
|
1414
1423
|
options: options
|
1415
1424
|
)
|
1416
1425
|
operation = ::Gapic::Rest::TransportOperation.new response
|
1417
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
1426
|
+
result = ::Google::Cloud::VmwareEngine::V1::Credentials.decode_json response.body, ignore_unknown_fields: true
|
1418
1427
|
|
1419
1428
|
yield result, operation if block_given?
|
1420
1429
|
result
|
1421
1430
|
end
|
1422
1431
|
|
1423
1432
|
##
|
1424
|
-
# Baseline implementation for the
|
1433
|
+
# Baseline implementation for the reset_nsx_credentials REST call
|
1425
1434
|
#
|
1426
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1435
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ResetNsxCredentialsRequest]
|
1427
1436
|
# A request object representing the call parameters. Required.
|
1428
1437
|
# @param options [::Gapic::CallOptions]
|
1429
1438
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
@@ -1434,10 +1443,10 @@ module Google
|
|
1434
1443
|
#
|
1435
1444
|
# @return [::Google::Longrunning::Operation]
|
1436
1445
|
# A result object deserialized from the server's reply
|
1437
|
-
def
|
1446
|
+
def reset_nsx_credentials request_pb, options = nil
|
1438
1447
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1439
1448
|
|
1440
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1449
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_reset_nsx_credentials_request request_pb
|
1441
1450
|
query_string_params = if query_string_params.any?
|
1442
1451
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1443
1452
|
else
|
@@ -1459,9 +1468,9 @@ module Google
|
|
1459
1468
|
end
|
1460
1469
|
|
1461
1470
|
##
|
1462
|
-
# Baseline implementation for the
|
1471
|
+
# Baseline implementation for the reset_vcenter_credentials REST call
|
1463
1472
|
#
|
1464
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1473
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ResetVcenterCredentialsRequest]
|
1465
1474
|
# A request object representing the call parameters. Required.
|
1466
1475
|
# @param options [::Gapic::CallOptions]
|
1467
1476
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
@@ -1472,10 +1481,10 @@ module Google
|
|
1472
1481
|
#
|
1473
1482
|
# @return [::Google::Longrunning::Operation]
|
1474
1483
|
# A result object deserialized from the server's reply
|
1475
|
-
def
|
1484
|
+
def reset_vcenter_credentials request_pb, options = nil
|
1476
1485
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1477
1486
|
|
1478
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1487
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_reset_vcenter_credentials_request request_pb
|
1479
1488
|
query_string_params = if query_string_params.any?
|
1480
1489
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1481
1490
|
else
|
@@ -1497,23 +1506,23 @@ module Google
|
|
1497
1506
|
end
|
1498
1507
|
|
1499
1508
|
##
|
1500
|
-
# Baseline implementation for the
|
1509
|
+
# Baseline implementation for the get_dns_forwarding REST call
|
1501
1510
|
#
|
1502
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1511
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetDnsForwardingRequest]
|
1503
1512
|
# A request object representing the call parameters. Required.
|
1504
1513
|
# @param options [::Gapic::CallOptions]
|
1505
1514
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1506
1515
|
#
|
1507
1516
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1508
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
1517
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::DnsForwarding]
|
1509
1518
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1510
1519
|
#
|
1511
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
1520
|
+
# @return [::Google::Cloud::VmwareEngine::V1::DnsForwarding]
|
1512
1521
|
# A result object deserialized from the server's reply
|
1513
|
-
def
|
1522
|
+
def get_dns_forwarding request_pb, options = nil
|
1514
1523
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1515
1524
|
|
1516
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1525
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_dns_forwarding_request request_pb
|
1517
1526
|
query_string_params = if query_string_params.any?
|
1518
1527
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1519
1528
|
else
|
@@ -1528,28 +1537,1678 @@ module Google
|
|
1528
1537
|
options: options
|
1529
1538
|
)
|
1530
1539
|
operation = ::Gapic::Rest::TransportOperation.new response
|
1531
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
1540
|
+
result = ::Google::Cloud::VmwareEngine::V1::DnsForwarding.decode_json response.body, ignore_unknown_fields: true
|
1532
1541
|
|
1533
1542
|
yield result, operation if block_given?
|
1534
1543
|
result
|
1535
1544
|
end
|
1536
1545
|
|
1537
1546
|
##
|
1538
|
-
#
|
1539
|
-
#
|
1540
|
-
# GRPC transcoding helper method for the list_private_clouds REST call
|
1547
|
+
# Baseline implementation for the update_dns_forwarding REST call
|
1541
1548
|
#
|
1542
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1549
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateDnsForwardingRequest]
|
1543
1550
|
# A request object representing the call parameters. Required.
|
1544
|
-
# @
|
1545
|
-
#
|
1551
|
+
# @param options [::Gapic::CallOptions]
|
1552
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1553
|
+
#
|
1554
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1555
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
1556
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1557
|
+
#
|
1558
|
+
# @return [::Google::Longrunning::Operation]
|
1559
|
+
# A result object deserialized from the server's reply
|
1560
|
+
def update_dns_forwarding request_pb, options = nil
|
1561
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1562
|
+
|
1563
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_dns_forwarding_request request_pb
|
1564
|
+
query_string_params = if query_string_params.any?
|
1565
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1566
|
+
else
|
1567
|
+
{}
|
1568
|
+
end
|
1569
|
+
|
1570
|
+
response = @client_stub.make_http_request(
|
1571
|
+
verb,
|
1572
|
+
uri: uri,
|
1573
|
+
body: body || "",
|
1574
|
+
params: query_string_params,
|
1575
|
+
options: options
|
1576
|
+
)
|
1577
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1578
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
1579
|
+
|
1580
|
+
yield result, operation if block_given?
|
1581
|
+
result
|
1582
|
+
end
|
1583
|
+
|
1584
|
+
##
|
1585
|
+
# Baseline implementation for the get_network_peering REST call
|
1586
|
+
#
|
1587
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetNetworkPeeringRequest]
|
1588
|
+
# A request object representing the call parameters. Required.
|
1589
|
+
# @param options [::Gapic::CallOptions]
|
1590
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1591
|
+
#
|
1592
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1593
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::NetworkPeering]
|
1594
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1595
|
+
#
|
1596
|
+
# @return [::Google::Cloud::VmwareEngine::V1::NetworkPeering]
|
1597
|
+
# A result object deserialized from the server's reply
|
1598
|
+
def get_network_peering request_pb, options = nil
|
1599
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1600
|
+
|
1601
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_network_peering_request request_pb
|
1602
|
+
query_string_params = if query_string_params.any?
|
1603
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1604
|
+
else
|
1605
|
+
{}
|
1606
|
+
end
|
1607
|
+
|
1608
|
+
response = @client_stub.make_http_request(
|
1609
|
+
verb,
|
1610
|
+
uri: uri,
|
1611
|
+
body: body || "",
|
1612
|
+
params: query_string_params,
|
1613
|
+
options: options
|
1614
|
+
)
|
1615
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1616
|
+
result = ::Google::Cloud::VmwareEngine::V1::NetworkPeering.decode_json response.body, ignore_unknown_fields: true
|
1617
|
+
|
1618
|
+
yield result, operation if block_given?
|
1619
|
+
result
|
1620
|
+
end
|
1621
|
+
|
1622
|
+
##
|
1623
|
+
# Baseline implementation for the list_network_peerings REST call
|
1624
|
+
#
|
1625
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListNetworkPeeringsRequest]
|
1626
|
+
# A request object representing the call parameters. Required.
|
1627
|
+
# @param options [::Gapic::CallOptions]
|
1628
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1629
|
+
#
|
1630
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1631
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListNetworkPeeringsResponse]
|
1632
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1633
|
+
#
|
1634
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListNetworkPeeringsResponse]
|
1635
|
+
# A result object deserialized from the server's reply
|
1636
|
+
def list_network_peerings request_pb, options = nil
|
1637
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1638
|
+
|
1639
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_network_peerings_request request_pb
|
1640
|
+
query_string_params = if query_string_params.any?
|
1641
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1642
|
+
else
|
1643
|
+
{}
|
1644
|
+
end
|
1645
|
+
|
1646
|
+
response = @client_stub.make_http_request(
|
1647
|
+
verb,
|
1648
|
+
uri: uri,
|
1649
|
+
body: body || "",
|
1650
|
+
params: query_string_params,
|
1651
|
+
options: options
|
1652
|
+
)
|
1653
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1654
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListNetworkPeeringsResponse.decode_json response.body, ignore_unknown_fields: true
|
1655
|
+
|
1656
|
+
yield result, operation if block_given?
|
1657
|
+
result
|
1658
|
+
end
|
1659
|
+
|
1660
|
+
##
|
1661
|
+
# Baseline implementation for the create_network_peering REST call
|
1662
|
+
#
|
1663
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreateNetworkPeeringRequest]
|
1664
|
+
# A request object representing the call parameters. Required.
|
1665
|
+
# @param options [::Gapic::CallOptions]
|
1666
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1667
|
+
#
|
1668
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1669
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
1670
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1671
|
+
#
|
1672
|
+
# @return [::Google::Longrunning::Operation]
|
1673
|
+
# A result object deserialized from the server's reply
|
1674
|
+
def create_network_peering request_pb, options = nil
|
1675
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1676
|
+
|
1677
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_network_peering_request request_pb
|
1678
|
+
query_string_params = if query_string_params.any?
|
1679
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1680
|
+
else
|
1681
|
+
{}
|
1682
|
+
end
|
1683
|
+
|
1684
|
+
response = @client_stub.make_http_request(
|
1685
|
+
verb,
|
1686
|
+
uri: uri,
|
1687
|
+
body: body || "",
|
1688
|
+
params: query_string_params,
|
1689
|
+
options: options
|
1690
|
+
)
|
1691
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1692
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
1693
|
+
|
1694
|
+
yield result, operation if block_given?
|
1695
|
+
result
|
1696
|
+
end
|
1697
|
+
|
1698
|
+
##
|
1699
|
+
# Baseline implementation for the delete_network_peering REST call
|
1700
|
+
#
|
1701
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeleteNetworkPeeringRequest]
|
1702
|
+
# A request object representing the call parameters. Required.
|
1703
|
+
# @param options [::Gapic::CallOptions]
|
1704
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1705
|
+
#
|
1706
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1707
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
1708
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1709
|
+
#
|
1710
|
+
# @return [::Google::Longrunning::Operation]
|
1711
|
+
# A result object deserialized from the server's reply
|
1712
|
+
def delete_network_peering request_pb, options = nil
|
1713
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1714
|
+
|
1715
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_network_peering_request request_pb
|
1716
|
+
query_string_params = if query_string_params.any?
|
1717
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1718
|
+
else
|
1719
|
+
{}
|
1720
|
+
end
|
1721
|
+
|
1722
|
+
response = @client_stub.make_http_request(
|
1723
|
+
verb,
|
1724
|
+
uri: uri,
|
1725
|
+
body: body || "",
|
1726
|
+
params: query_string_params,
|
1727
|
+
options: options
|
1728
|
+
)
|
1729
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1730
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
1731
|
+
|
1732
|
+
yield result, operation if block_given?
|
1733
|
+
result
|
1734
|
+
end
|
1735
|
+
|
1736
|
+
##
|
1737
|
+
# Baseline implementation for the update_network_peering REST call
|
1738
|
+
#
|
1739
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateNetworkPeeringRequest]
|
1740
|
+
# A request object representing the call parameters. Required.
|
1741
|
+
# @param options [::Gapic::CallOptions]
|
1742
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1743
|
+
#
|
1744
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1745
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
1746
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1747
|
+
#
|
1748
|
+
# @return [::Google::Longrunning::Operation]
|
1749
|
+
# A result object deserialized from the server's reply
|
1750
|
+
def update_network_peering request_pb, options = nil
|
1751
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1752
|
+
|
1753
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_network_peering_request request_pb
|
1754
|
+
query_string_params = if query_string_params.any?
|
1755
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1756
|
+
else
|
1757
|
+
{}
|
1758
|
+
end
|
1759
|
+
|
1760
|
+
response = @client_stub.make_http_request(
|
1761
|
+
verb,
|
1762
|
+
uri: uri,
|
1763
|
+
body: body || "",
|
1764
|
+
params: query_string_params,
|
1765
|
+
options: options
|
1766
|
+
)
|
1767
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1768
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
1769
|
+
|
1770
|
+
yield result, operation if block_given?
|
1771
|
+
result
|
1772
|
+
end
|
1773
|
+
|
1774
|
+
##
|
1775
|
+
# Baseline implementation for the list_peering_routes REST call
|
1776
|
+
#
|
1777
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListPeeringRoutesRequest]
|
1778
|
+
# A request object representing the call parameters. Required.
|
1779
|
+
# @param options [::Gapic::CallOptions]
|
1780
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1781
|
+
#
|
1782
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1783
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListPeeringRoutesResponse]
|
1784
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1785
|
+
#
|
1786
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListPeeringRoutesResponse]
|
1787
|
+
# A result object deserialized from the server's reply
|
1788
|
+
def list_peering_routes request_pb, options = nil
|
1789
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1790
|
+
|
1791
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_peering_routes_request request_pb
|
1792
|
+
query_string_params = if query_string_params.any?
|
1793
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1794
|
+
else
|
1795
|
+
{}
|
1796
|
+
end
|
1797
|
+
|
1798
|
+
response = @client_stub.make_http_request(
|
1799
|
+
verb,
|
1800
|
+
uri: uri,
|
1801
|
+
body: body || "",
|
1802
|
+
params: query_string_params,
|
1803
|
+
options: options
|
1804
|
+
)
|
1805
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1806
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListPeeringRoutesResponse.decode_json response.body, ignore_unknown_fields: true
|
1807
|
+
|
1808
|
+
yield result, operation if block_given?
|
1809
|
+
result
|
1810
|
+
end
|
1811
|
+
|
1812
|
+
##
|
1813
|
+
# Baseline implementation for the create_hcx_activation_key REST call
|
1814
|
+
#
|
1815
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreateHcxActivationKeyRequest]
|
1816
|
+
# A request object representing the call parameters. Required.
|
1817
|
+
# @param options [::Gapic::CallOptions]
|
1818
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1819
|
+
#
|
1820
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1821
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
1822
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1823
|
+
#
|
1824
|
+
# @return [::Google::Longrunning::Operation]
|
1825
|
+
# A result object deserialized from the server's reply
|
1826
|
+
def create_hcx_activation_key request_pb, options = nil
|
1827
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1828
|
+
|
1829
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_hcx_activation_key_request request_pb
|
1830
|
+
query_string_params = if query_string_params.any?
|
1831
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1832
|
+
else
|
1833
|
+
{}
|
1834
|
+
end
|
1835
|
+
|
1836
|
+
response = @client_stub.make_http_request(
|
1837
|
+
verb,
|
1838
|
+
uri: uri,
|
1839
|
+
body: body || "",
|
1840
|
+
params: query_string_params,
|
1841
|
+
options: options
|
1842
|
+
)
|
1843
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1844
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
1845
|
+
|
1846
|
+
yield result, operation if block_given?
|
1847
|
+
result
|
1848
|
+
end
|
1849
|
+
|
1850
|
+
##
|
1851
|
+
# Baseline implementation for the list_hcx_activation_keys REST call
|
1852
|
+
#
|
1853
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListHcxActivationKeysRequest]
|
1854
|
+
# A request object representing the call parameters. Required.
|
1855
|
+
# @param options [::Gapic::CallOptions]
|
1856
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1857
|
+
#
|
1858
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1859
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListHcxActivationKeysResponse]
|
1860
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1861
|
+
#
|
1862
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListHcxActivationKeysResponse]
|
1863
|
+
# A result object deserialized from the server's reply
|
1864
|
+
def list_hcx_activation_keys request_pb, options = nil
|
1865
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1866
|
+
|
1867
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_hcx_activation_keys_request request_pb
|
1868
|
+
query_string_params = if query_string_params.any?
|
1869
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1870
|
+
else
|
1871
|
+
{}
|
1872
|
+
end
|
1873
|
+
|
1874
|
+
response = @client_stub.make_http_request(
|
1875
|
+
verb,
|
1876
|
+
uri: uri,
|
1877
|
+
body: body || "",
|
1878
|
+
params: query_string_params,
|
1879
|
+
options: options
|
1880
|
+
)
|
1881
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1882
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListHcxActivationKeysResponse.decode_json response.body, ignore_unknown_fields: true
|
1883
|
+
|
1884
|
+
yield result, operation if block_given?
|
1885
|
+
result
|
1886
|
+
end
|
1887
|
+
|
1888
|
+
##
|
1889
|
+
# Baseline implementation for the get_hcx_activation_key REST call
|
1890
|
+
#
|
1891
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetHcxActivationKeyRequest]
|
1892
|
+
# A request object representing the call parameters. Required.
|
1893
|
+
# @param options [::Gapic::CallOptions]
|
1894
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1895
|
+
#
|
1896
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1897
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::HcxActivationKey]
|
1898
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1899
|
+
#
|
1900
|
+
# @return [::Google::Cloud::VmwareEngine::V1::HcxActivationKey]
|
1901
|
+
# A result object deserialized from the server's reply
|
1902
|
+
def get_hcx_activation_key request_pb, options = nil
|
1903
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1904
|
+
|
1905
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_hcx_activation_key_request request_pb
|
1906
|
+
query_string_params = if query_string_params.any?
|
1907
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1908
|
+
else
|
1909
|
+
{}
|
1910
|
+
end
|
1911
|
+
|
1912
|
+
response = @client_stub.make_http_request(
|
1913
|
+
verb,
|
1914
|
+
uri: uri,
|
1915
|
+
body: body || "",
|
1916
|
+
params: query_string_params,
|
1917
|
+
options: options
|
1918
|
+
)
|
1919
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1920
|
+
result = ::Google::Cloud::VmwareEngine::V1::HcxActivationKey.decode_json response.body, ignore_unknown_fields: true
|
1921
|
+
|
1922
|
+
yield result, operation if block_given?
|
1923
|
+
result
|
1924
|
+
end
|
1925
|
+
|
1926
|
+
##
|
1927
|
+
# Baseline implementation for the get_network_policy REST call
|
1928
|
+
#
|
1929
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetNetworkPolicyRequest]
|
1930
|
+
# A request object representing the call parameters. Required.
|
1931
|
+
# @param options [::Gapic::CallOptions]
|
1932
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1933
|
+
#
|
1934
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1935
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::NetworkPolicy]
|
1936
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1937
|
+
#
|
1938
|
+
# @return [::Google::Cloud::VmwareEngine::V1::NetworkPolicy]
|
1939
|
+
# A result object deserialized from the server's reply
|
1940
|
+
def get_network_policy request_pb, options = nil
|
1941
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1942
|
+
|
1943
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_network_policy_request request_pb
|
1944
|
+
query_string_params = if query_string_params.any?
|
1945
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1946
|
+
else
|
1947
|
+
{}
|
1948
|
+
end
|
1949
|
+
|
1950
|
+
response = @client_stub.make_http_request(
|
1951
|
+
verb,
|
1952
|
+
uri: uri,
|
1953
|
+
body: body || "",
|
1954
|
+
params: query_string_params,
|
1955
|
+
options: options
|
1956
|
+
)
|
1957
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1958
|
+
result = ::Google::Cloud::VmwareEngine::V1::NetworkPolicy.decode_json response.body, ignore_unknown_fields: true
|
1959
|
+
|
1960
|
+
yield result, operation if block_given?
|
1961
|
+
result
|
1962
|
+
end
|
1963
|
+
|
1964
|
+
##
|
1965
|
+
# Baseline implementation for the list_network_policies REST call
|
1966
|
+
#
|
1967
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListNetworkPoliciesRequest]
|
1968
|
+
# A request object representing the call parameters. Required.
|
1969
|
+
# @param options [::Gapic::CallOptions]
|
1970
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1971
|
+
#
|
1972
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1973
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListNetworkPoliciesResponse]
|
1974
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1975
|
+
#
|
1976
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListNetworkPoliciesResponse]
|
1977
|
+
# A result object deserialized from the server's reply
|
1978
|
+
def list_network_policies request_pb, options = nil
|
1979
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1980
|
+
|
1981
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_network_policies_request request_pb
|
1982
|
+
query_string_params = if query_string_params.any?
|
1983
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
1984
|
+
else
|
1985
|
+
{}
|
1986
|
+
end
|
1987
|
+
|
1988
|
+
response = @client_stub.make_http_request(
|
1989
|
+
verb,
|
1990
|
+
uri: uri,
|
1991
|
+
body: body || "",
|
1992
|
+
params: query_string_params,
|
1993
|
+
options: options
|
1994
|
+
)
|
1995
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1996
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListNetworkPoliciesResponse.decode_json response.body, ignore_unknown_fields: true
|
1997
|
+
|
1998
|
+
yield result, operation if block_given?
|
1999
|
+
result
|
2000
|
+
end
|
2001
|
+
|
2002
|
+
##
|
2003
|
+
# Baseline implementation for the create_network_policy REST call
|
2004
|
+
#
|
2005
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreateNetworkPolicyRequest]
|
2006
|
+
# A request object representing the call parameters. Required.
|
2007
|
+
# @param options [::Gapic::CallOptions]
|
2008
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2009
|
+
#
|
2010
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2011
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
2012
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2013
|
+
#
|
2014
|
+
# @return [::Google::Longrunning::Operation]
|
2015
|
+
# A result object deserialized from the server's reply
|
2016
|
+
def create_network_policy request_pb, options = nil
|
2017
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2018
|
+
|
2019
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_network_policy_request request_pb
|
2020
|
+
query_string_params = if query_string_params.any?
|
2021
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2022
|
+
else
|
2023
|
+
{}
|
2024
|
+
end
|
2025
|
+
|
2026
|
+
response = @client_stub.make_http_request(
|
2027
|
+
verb,
|
2028
|
+
uri: uri,
|
2029
|
+
body: body || "",
|
2030
|
+
params: query_string_params,
|
2031
|
+
options: options
|
2032
|
+
)
|
2033
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2034
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
2035
|
+
|
2036
|
+
yield result, operation if block_given?
|
2037
|
+
result
|
2038
|
+
end
|
2039
|
+
|
2040
|
+
##
|
2041
|
+
# Baseline implementation for the update_network_policy REST call
|
2042
|
+
#
|
2043
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateNetworkPolicyRequest]
|
2044
|
+
# A request object representing the call parameters. Required.
|
2045
|
+
# @param options [::Gapic::CallOptions]
|
2046
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2047
|
+
#
|
2048
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2049
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
2050
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2051
|
+
#
|
2052
|
+
# @return [::Google::Longrunning::Operation]
|
2053
|
+
# A result object deserialized from the server's reply
|
2054
|
+
def update_network_policy request_pb, options = nil
|
2055
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2056
|
+
|
2057
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_network_policy_request request_pb
|
2058
|
+
query_string_params = if query_string_params.any?
|
2059
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2060
|
+
else
|
2061
|
+
{}
|
2062
|
+
end
|
2063
|
+
|
2064
|
+
response = @client_stub.make_http_request(
|
2065
|
+
verb,
|
2066
|
+
uri: uri,
|
2067
|
+
body: body || "",
|
2068
|
+
params: query_string_params,
|
2069
|
+
options: options
|
2070
|
+
)
|
2071
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2072
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
2073
|
+
|
2074
|
+
yield result, operation if block_given?
|
2075
|
+
result
|
2076
|
+
end
|
2077
|
+
|
2078
|
+
##
|
2079
|
+
# Baseline implementation for the delete_network_policy REST call
|
2080
|
+
#
|
2081
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeleteNetworkPolicyRequest]
|
2082
|
+
# A request object representing the call parameters. Required.
|
2083
|
+
# @param options [::Gapic::CallOptions]
|
2084
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2085
|
+
#
|
2086
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2087
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
2088
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2089
|
+
#
|
2090
|
+
# @return [::Google::Longrunning::Operation]
|
2091
|
+
# A result object deserialized from the server's reply
|
2092
|
+
def delete_network_policy request_pb, options = nil
|
2093
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2094
|
+
|
2095
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_network_policy_request request_pb
|
2096
|
+
query_string_params = if query_string_params.any?
|
2097
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2098
|
+
else
|
2099
|
+
{}
|
2100
|
+
end
|
2101
|
+
|
2102
|
+
response = @client_stub.make_http_request(
|
2103
|
+
verb,
|
2104
|
+
uri: uri,
|
2105
|
+
body: body || "",
|
2106
|
+
params: query_string_params,
|
2107
|
+
options: options
|
2108
|
+
)
|
2109
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2110
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
2111
|
+
|
2112
|
+
yield result, operation if block_given?
|
2113
|
+
result
|
2114
|
+
end
|
2115
|
+
|
2116
|
+
##
|
2117
|
+
# Baseline implementation for the list_management_dns_zone_bindings REST call
|
2118
|
+
#
|
2119
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListManagementDnsZoneBindingsRequest]
|
2120
|
+
# A request object representing the call parameters. Required.
|
2121
|
+
# @param options [::Gapic::CallOptions]
|
2122
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2123
|
+
#
|
2124
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2125
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListManagementDnsZoneBindingsResponse]
|
2126
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2127
|
+
#
|
2128
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListManagementDnsZoneBindingsResponse]
|
2129
|
+
# A result object deserialized from the server's reply
|
2130
|
+
def list_management_dns_zone_bindings request_pb, options = nil
|
2131
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2132
|
+
|
2133
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_management_dns_zone_bindings_request request_pb
|
2134
|
+
query_string_params = if query_string_params.any?
|
2135
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2136
|
+
else
|
2137
|
+
{}
|
2138
|
+
end
|
2139
|
+
|
2140
|
+
response = @client_stub.make_http_request(
|
2141
|
+
verb,
|
2142
|
+
uri: uri,
|
2143
|
+
body: body || "",
|
2144
|
+
params: query_string_params,
|
2145
|
+
options: options
|
2146
|
+
)
|
2147
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2148
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListManagementDnsZoneBindingsResponse.decode_json response.body, ignore_unknown_fields: true
|
2149
|
+
|
2150
|
+
yield result, operation if block_given?
|
2151
|
+
result
|
2152
|
+
end
|
2153
|
+
|
2154
|
+
##
|
2155
|
+
# Baseline implementation for the get_management_dns_zone_binding REST call
|
2156
|
+
#
|
2157
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetManagementDnsZoneBindingRequest]
|
2158
|
+
# A request object representing the call parameters. Required.
|
2159
|
+
# @param options [::Gapic::CallOptions]
|
2160
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2161
|
+
#
|
2162
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2163
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ManagementDnsZoneBinding]
|
2164
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2165
|
+
#
|
2166
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ManagementDnsZoneBinding]
|
2167
|
+
# A result object deserialized from the server's reply
|
2168
|
+
def get_management_dns_zone_binding request_pb, options = nil
|
2169
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2170
|
+
|
2171
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_management_dns_zone_binding_request request_pb
|
2172
|
+
query_string_params = if query_string_params.any?
|
2173
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2174
|
+
else
|
2175
|
+
{}
|
2176
|
+
end
|
2177
|
+
|
2178
|
+
response = @client_stub.make_http_request(
|
2179
|
+
verb,
|
2180
|
+
uri: uri,
|
2181
|
+
body: body || "",
|
2182
|
+
params: query_string_params,
|
2183
|
+
options: options
|
2184
|
+
)
|
2185
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2186
|
+
result = ::Google::Cloud::VmwareEngine::V1::ManagementDnsZoneBinding.decode_json response.body, ignore_unknown_fields: true
|
2187
|
+
|
2188
|
+
yield result, operation if block_given?
|
2189
|
+
result
|
2190
|
+
end
|
2191
|
+
|
2192
|
+
##
|
2193
|
+
# Baseline implementation for the create_management_dns_zone_binding REST call
|
2194
|
+
#
|
2195
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreateManagementDnsZoneBindingRequest]
|
2196
|
+
# A request object representing the call parameters. Required.
|
2197
|
+
# @param options [::Gapic::CallOptions]
|
2198
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2199
|
+
#
|
2200
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2201
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
2202
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2203
|
+
#
|
2204
|
+
# @return [::Google::Longrunning::Operation]
|
2205
|
+
# A result object deserialized from the server's reply
|
2206
|
+
def create_management_dns_zone_binding request_pb, options = nil
|
2207
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2208
|
+
|
2209
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_management_dns_zone_binding_request request_pb
|
2210
|
+
query_string_params = if query_string_params.any?
|
2211
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2212
|
+
else
|
2213
|
+
{}
|
2214
|
+
end
|
2215
|
+
|
2216
|
+
response = @client_stub.make_http_request(
|
2217
|
+
verb,
|
2218
|
+
uri: uri,
|
2219
|
+
body: body || "",
|
2220
|
+
params: query_string_params,
|
2221
|
+
options: options
|
2222
|
+
)
|
2223
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2224
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
2225
|
+
|
2226
|
+
yield result, operation if block_given?
|
2227
|
+
result
|
2228
|
+
end
|
2229
|
+
|
2230
|
+
##
|
2231
|
+
# Baseline implementation for the update_management_dns_zone_binding REST call
|
2232
|
+
#
|
2233
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateManagementDnsZoneBindingRequest]
|
2234
|
+
# A request object representing the call parameters. Required.
|
2235
|
+
# @param options [::Gapic::CallOptions]
|
2236
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2237
|
+
#
|
2238
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2239
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
2240
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2241
|
+
#
|
2242
|
+
# @return [::Google::Longrunning::Operation]
|
2243
|
+
# A result object deserialized from the server's reply
|
2244
|
+
def update_management_dns_zone_binding request_pb, options = nil
|
2245
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2246
|
+
|
2247
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_management_dns_zone_binding_request request_pb
|
2248
|
+
query_string_params = if query_string_params.any?
|
2249
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2250
|
+
else
|
2251
|
+
{}
|
2252
|
+
end
|
2253
|
+
|
2254
|
+
response = @client_stub.make_http_request(
|
2255
|
+
verb,
|
2256
|
+
uri: uri,
|
2257
|
+
body: body || "",
|
2258
|
+
params: query_string_params,
|
2259
|
+
options: options
|
2260
|
+
)
|
2261
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2262
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
2263
|
+
|
2264
|
+
yield result, operation if block_given?
|
2265
|
+
result
|
2266
|
+
end
|
2267
|
+
|
2268
|
+
##
|
2269
|
+
# Baseline implementation for the delete_management_dns_zone_binding REST call
|
2270
|
+
#
|
2271
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeleteManagementDnsZoneBindingRequest]
|
2272
|
+
# A request object representing the call parameters. Required.
|
2273
|
+
# @param options [::Gapic::CallOptions]
|
2274
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2275
|
+
#
|
2276
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2277
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
2278
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2279
|
+
#
|
2280
|
+
# @return [::Google::Longrunning::Operation]
|
2281
|
+
# A result object deserialized from the server's reply
|
2282
|
+
def delete_management_dns_zone_binding request_pb, options = nil
|
2283
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2284
|
+
|
2285
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_management_dns_zone_binding_request request_pb
|
2286
|
+
query_string_params = if query_string_params.any?
|
2287
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2288
|
+
else
|
2289
|
+
{}
|
2290
|
+
end
|
2291
|
+
|
2292
|
+
response = @client_stub.make_http_request(
|
2293
|
+
verb,
|
2294
|
+
uri: uri,
|
2295
|
+
body: body || "",
|
2296
|
+
params: query_string_params,
|
2297
|
+
options: options
|
2298
|
+
)
|
2299
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2300
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
2301
|
+
|
2302
|
+
yield result, operation if block_given?
|
2303
|
+
result
|
2304
|
+
end
|
2305
|
+
|
2306
|
+
##
|
2307
|
+
# Baseline implementation for the repair_management_dns_zone_binding REST call
|
2308
|
+
#
|
2309
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::RepairManagementDnsZoneBindingRequest]
|
2310
|
+
# A request object representing the call parameters. Required.
|
2311
|
+
# @param options [::Gapic::CallOptions]
|
2312
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2313
|
+
#
|
2314
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2315
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
2316
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2317
|
+
#
|
2318
|
+
# @return [::Google::Longrunning::Operation]
|
2319
|
+
# A result object deserialized from the server's reply
|
2320
|
+
def repair_management_dns_zone_binding request_pb, options = nil
|
2321
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2322
|
+
|
2323
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_repair_management_dns_zone_binding_request request_pb
|
2324
|
+
query_string_params = if query_string_params.any?
|
2325
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2326
|
+
else
|
2327
|
+
{}
|
2328
|
+
end
|
2329
|
+
|
2330
|
+
response = @client_stub.make_http_request(
|
2331
|
+
verb,
|
2332
|
+
uri: uri,
|
2333
|
+
body: body || "",
|
2334
|
+
params: query_string_params,
|
2335
|
+
options: options
|
2336
|
+
)
|
2337
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2338
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
2339
|
+
|
2340
|
+
yield result, operation if block_given?
|
2341
|
+
result
|
2342
|
+
end
|
2343
|
+
|
2344
|
+
##
|
2345
|
+
# Baseline implementation for the create_vmware_engine_network REST call
|
2346
|
+
#
|
2347
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreateVmwareEngineNetworkRequest]
|
2348
|
+
# A request object representing the call parameters. Required.
|
2349
|
+
# @param options [::Gapic::CallOptions]
|
2350
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2351
|
+
#
|
2352
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2353
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
2354
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2355
|
+
#
|
2356
|
+
# @return [::Google::Longrunning::Operation]
|
2357
|
+
# A result object deserialized from the server's reply
|
2358
|
+
def create_vmware_engine_network request_pb, options = nil
|
2359
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2360
|
+
|
2361
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_vmware_engine_network_request request_pb
|
2362
|
+
query_string_params = if query_string_params.any?
|
2363
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2364
|
+
else
|
2365
|
+
{}
|
2366
|
+
end
|
2367
|
+
|
2368
|
+
response = @client_stub.make_http_request(
|
2369
|
+
verb,
|
2370
|
+
uri: uri,
|
2371
|
+
body: body || "",
|
2372
|
+
params: query_string_params,
|
2373
|
+
options: options
|
2374
|
+
)
|
2375
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2376
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
2377
|
+
|
2378
|
+
yield result, operation if block_given?
|
2379
|
+
result
|
2380
|
+
end
|
2381
|
+
|
2382
|
+
##
|
2383
|
+
# Baseline implementation for the update_vmware_engine_network REST call
|
2384
|
+
#
|
2385
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateVmwareEngineNetworkRequest]
|
2386
|
+
# A request object representing the call parameters. Required.
|
2387
|
+
# @param options [::Gapic::CallOptions]
|
2388
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2389
|
+
#
|
2390
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2391
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
2392
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2393
|
+
#
|
2394
|
+
# @return [::Google::Longrunning::Operation]
|
2395
|
+
# A result object deserialized from the server's reply
|
2396
|
+
def update_vmware_engine_network request_pb, options = nil
|
2397
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2398
|
+
|
2399
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_vmware_engine_network_request request_pb
|
2400
|
+
query_string_params = if query_string_params.any?
|
2401
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2402
|
+
else
|
2403
|
+
{}
|
2404
|
+
end
|
2405
|
+
|
2406
|
+
response = @client_stub.make_http_request(
|
2407
|
+
verb,
|
2408
|
+
uri: uri,
|
2409
|
+
body: body || "",
|
2410
|
+
params: query_string_params,
|
2411
|
+
options: options
|
2412
|
+
)
|
2413
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2414
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
2415
|
+
|
2416
|
+
yield result, operation if block_given?
|
2417
|
+
result
|
2418
|
+
end
|
2419
|
+
|
2420
|
+
##
|
2421
|
+
# Baseline implementation for the delete_vmware_engine_network REST call
|
2422
|
+
#
|
2423
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeleteVmwareEngineNetworkRequest]
|
2424
|
+
# A request object representing the call parameters. Required.
|
2425
|
+
# @param options [::Gapic::CallOptions]
|
2426
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2427
|
+
#
|
2428
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2429
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
2430
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2431
|
+
#
|
2432
|
+
# @return [::Google::Longrunning::Operation]
|
2433
|
+
# A result object deserialized from the server's reply
|
2434
|
+
def delete_vmware_engine_network request_pb, options = nil
|
2435
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2436
|
+
|
2437
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_vmware_engine_network_request request_pb
|
2438
|
+
query_string_params = if query_string_params.any?
|
2439
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2440
|
+
else
|
2441
|
+
{}
|
2442
|
+
end
|
2443
|
+
|
2444
|
+
response = @client_stub.make_http_request(
|
2445
|
+
verb,
|
2446
|
+
uri: uri,
|
2447
|
+
body: body || "",
|
2448
|
+
params: query_string_params,
|
2449
|
+
options: options
|
2450
|
+
)
|
2451
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2452
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
2453
|
+
|
2454
|
+
yield result, operation if block_given?
|
2455
|
+
result
|
2456
|
+
end
|
2457
|
+
|
2458
|
+
##
|
2459
|
+
# Baseline implementation for the get_vmware_engine_network REST call
|
2460
|
+
#
|
2461
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetVmwareEngineNetworkRequest]
|
2462
|
+
# A request object representing the call parameters. Required.
|
2463
|
+
# @param options [::Gapic::CallOptions]
|
2464
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2465
|
+
#
|
2466
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2467
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::VmwareEngineNetwork]
|
2468
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2469
|
+
#
|
2470
|
+
# @return [::Google::Cloud::VmwareEngine::V1::VmwareEngineNetwork]
|
2471
|
+
# A result object deserialized from the server's reply
|
2472
|
+
def get_vmware_engine_network request_pb, options = nil
|
2473
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2474
|
+
|
2475
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_vmware_engine_network_request request_pb
|
2476
|
+
query_string_params = if query_string_params.any?
|
2477
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2478
|
+
else
|
2479
|
+
{}
|
2480
|
+
end
|
2481
|
+
|
2482
|
+
response = @client_stub.make_http_request(
|
2483
|
+
verb,
|
2484
|
+
uri: uri,
|
2485
|
+
body: body || "",
|
2486
|
+
params: query_string_params,
|
2487
|
+
options: options
|
2488
|
+
)
|
2489
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2490
|
+
result = ::Google::Cloud::VmwareEngine::V1::VmwareEngineNetwork.decode_json response.body, ignore_unknown_fields: true
|
2491
|
+
|
2492
|
+
yield result, operation if block_given?
|
2493
|
+
result
|
2494
|
+
end
|
2495
|
+
|
2496
|
+
##
|
2497
|
+
# Baseline implementation for the list_vmware_engine_networks REST call
|
2498
|
+
#
|
2499
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListVmwareEngineNetworksRequest]
|
2500
|
+
# A request object representing the call parameters. Required.
|
2501
|
+
# @param options [::Gapic::CallOptions]
|
2502
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2503
|
+
#
|
2504
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2505
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListVmwareEngineNetworksResponse]
|
2506
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2507
|
+
#
|
2508
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListVmwareEngineNetworksResponse]
|
2509
|
+
# A result object deserialized from the server's reply
|
2510
|
+
def list_vmware_engine_networks request_pb, options = nil
|
2511
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2512
|
+
|
2513
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_vmware_engine_networks_request request_pb
|
2514
|
+
query_string_params = if query_string_params.any?
|
2515
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2516
|
+
else
|
2517
|
+
{}
|
2518
|
+
end
|
2519
|
+
|
2520
|
+
response = @client_stub.make_http_request(
|
2521
|
+
verb,
|
2522
|
+
uri: uri,
|
2523
|
+
body: body || "",
|
2524
|
+
params: query_string_params,
|
2525
|
+
options: options
|
2526
|
+
)
|
2527
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2528
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListVmwareEngineNetworksResponse.decode_json response.body, ignore_unknown_fields: true
|
2529
|
+
|
2530
|
+
yield result, operation if block_given?
|
2531
|
+
result
|
2532
|
+
end
|
2533
|
+
|
2534
|
+
##
|
2535
|
+
# Baseline implementation for the create_private_connection REST call
|
2536
|
+
#
|
2537
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreatePrivateConnectionRequest]
|
2538
|
+
# A request object representing the call parameters. Required.
|
2539
|
+
# @param options [::Gapic::CallOptions]
|
2540
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2541
|
+
#
|
2542
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2543
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
2544
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2545
|
+
#
|
2546
|
+
# @return [::Google::Longrunning::Operation]
|
2547
|
+
# A result object deserialized from the server's reply
|
2548
|
+
def create_private_connection request_pb, options = nil
|
2549
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2550
|
+
|
2551
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_private_connection_request request_pb
|
2552
|
+
query_string_params = if query_string_params.any?
|
2553
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2554
|
+
else
|
2555
|
+
{}
|
2556
|
+
end
|
2557
|
+
|
2558
|
+
response = @client_stub.make_http_request(
|
2559
|
+
verb,
|
2560
|
+
uri: uri,
|
2561
|
+
body: body || "",
|
2562
|
+
params: query_string_params,
|
2563
|
+
options: options
|
2564
|
+
)
|
2565
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2566
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
2567
|
+
|
2568
|
+
yield result, operation if block_given?
|
2569
|
+
result
|
2570
|
+
end
|
2571
|
+
|
2572
|
+
##
|
2573
|
+
# Baseline implementation for the get_private_connection REST call
|
2574
|
+
#
|
2575
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetPrivateConnectionRequest]
|
2576
|
+
# A request object representing the call parameters. Required.
|
2577
|
+
# @param options [::Gapic::CallOptions]
|
2578
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2579
|
+
#
|
2580
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2581
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::PrivateConnection]
|
2582
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2583
|
+
#
|
2584
|
+
# @return [::Google::Cloud::VmwareEngine::V1::PrivateConnection]
|
2585
|
+
# A result object deserialized from the server's reply
|
2586
|
+
def get_private_connection request_pb, options = nil
|
2587
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2588
|
+
|
2589
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_private_connection_request request_pb
|
2590
|
+
query_string_params = if query_string_params.any?
|
2591
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2592
|
+
else
|
2593
|
+
{}
|
2594
|
+
end
|
2595
|
+
|
2596
|
+
response = @client_stub.make_http_request(
|
2597
|
+
verb,
|
2598
|
+
uri: uri,
|
2599
|
+
body: body || "",
|
2600
|
+
params: query_string_params,
|
2601
|
+
options: options
|
2602
|
+
)
|
2603
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2604
|
+
result = ::Google::Cloud::VmwareEngine::V1::PrivateConnection.decode_json response.body, ignore_unknown_fields: true
|
2605
|
+
|
2606
|
+
yield result, operation if block_given?
|
2607
|
+
result
|
2608
|
+
end
|
2609
|
+
|
2610
|
+
##
|
2611
|
+
# Baseline implementation for the list_private_connections REST call
|
2612
|
+
#
|
2613
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListPrivateConnectionsRequest]
|
2614
|
+
# A request object representing the call parameters. Required.
|
2615
|
+
# @param options [::Gapic::CallOptions]
|
2616
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2617
|
+
#
|
2618
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2619
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListPrivateConnectionsResponse]
|
2620
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2621
|
+
#
|
2622
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListPrivateConnectionsResponse]
|
2623
|
+
# A result object deserialized from the server's reply
|
2624
|
+
def list_private_connections request_pb, options = nil
|
2625
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2626
|
+
|
2627
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_private_connections_request request_pb
|
2628
|
+
query_string_params = if query_string_params.any?
|
2629
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2630
|
+
else
|
2631
|
+
{}
|
2632
|
+
end
|
2633
|
+
|
2634
|
+
response = @client_stub.make_http_request(
|
2635
|
+
verb,
|
2636
|
+
uri: uri,
|
2637
|
+
body: body || "",
|
2638
|
+
params: query_string_params,
|
2639
|
+
options: options
|
2640
|
+
)
|
2641
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2642
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListPrivateConnectionsResponse.decode_json response.body, ignore_unknown_fields: true
|
2643
|
+
|
2644
|
+
yield result, operation if block_given?
|
2645
|
+
result
|
2646
|
+
end
|
2647
|
+
|
2648
|
+
##
|
2649
|
+
# Baseline implementation for the update_private_connection REST call
|
2650
|
+
#
|
2651
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdatePrivateConnectionRequest]
|
2652
|
+
# A request object representing the call parameters. Required.
|
2653
|
+
# @param options [::Gapic::CallOptions]
|
2654
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2655
|
+
#
|
2656
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2657
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
2658
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2659
|
+
#
|
2660
|
+
# @return [::Google::Longrunning::Operation]
|
2661
|
+
# A result object deserialized from the server's reply
|
2662
|
+
def update_private_connection request_pb, options = nil
|
2663
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2664
|
+
|
2665
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_private_connection_request request_pb
|
2666
|
+
query_string_params = if query_string_params.any?
|
2667
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2668
|
+
else
|
2669
|
+
{}
|
2670
|
+
end
|
2671
|
+
|
2672
|
+
response = @client_stub.make_http_request(
|
2673
|
+
verb,
|
2674
|
+
uri: uri,
|
2675
|
+
body: body || "",
|
2676
|
+
params: query_string_params,
|
2677
|
+
options: options
|
2678
|
+
)
|
2679
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2680
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
2681
|
+
|
2682
|
+
yield result, operation if block_given?
|
2683
|
+
result
|
2684
|
+
end
|
2685
|
+
|
2686
|
+
##
|
2687
|
+
# Baseline implementation for the delete_private_connection REST call
|
2688
|
+
#
|
2689
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeletePrivateConnectionRequest]
|
2690
|
+
# A request object representing the call parameters. Required.
|
2691
|
+
# @param options [::Gapic::CallOptions]
|
2692
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2693
|
+
#
|
2694
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2695
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
2696
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2697
|
+
#
|
2698
|
+
# @return [::Google::Longrunning::Operation]
|
2699
|
+
# A result object deserialized from the server's reply
|
2700
|
+
def delete_private_connection request_pb, options = nil
|
2701
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2702
|
+
|
2703
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_private_connection_request request_pb
|
2704
|
+
query_string_params = if query_string_params.any?
|
2705
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2706
|
+
else
|
2707
|
+
{}
|
2708
|
+
end
|
2709
|
+
|
2710
|
+
response = @client_stub.make_http_request(
|
2711
|
+
verb,
|
2712
|
+
uri: uri,
|
2713
|
+
body: body || "",
|
2714
|
+
params: query_string_params,
|
2715
|
+
options: options
|
2716
|
+
)
|
2717
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2718
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
2719
|
+
|
2720
|
+
yield result, operation if block_given?
|
2721
|
+
result
|
2722
|
+
end
|
2723
|
+
|
2724
|
+
##
|
2725
|
+
# Baseline implementation for the list_private_connection_peering_routes REST call
|
2726
|
+
#
|
2727
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListPrivateConnectionPeeringRoutesRequest]
|
2728
|
+
# A request object representing the call parameters. Required.
|
2729
|
+
# @param options [::Gapic::CallOptions]
|
2730
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2731
|
+
#
|
2732
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2733
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListPrivateConnectionPeeringRoutesResponse]
|
2734
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2735
|
+
#
|
2736
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListPrivateConnectionPeeringRoutesResponse]
|
2737
|
+
# A result object deserialized from the server's reply
|
2738
|
+
def list_private_connection_peering_routes request_pb, options = nil
|
2739
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2740
|
+
|
2741
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_private_connection_peering_routes_request request_pb
|
2742
|
+
query_string_params = if query_string_params.any?
|
2743
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2744
|
+
else
|
2745
|
+
{}
|
2746
|
+
end
|
2747
|
+
|
2748
|
+
response = @client_stub.make_http_request(
|
2749
|
+
verb,
|
2750
|
+
uri: uri,
|
2751
|
+
body: body || "",
|
2752
|
+
params: query_string_params,
|
2753
|
+
options: options
|
2754
|
+
)
|
2755
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2756
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListPrivateConnectionPeeringRoutesResponse.decode_json response.body, ignore_unknown_fields: true
|
2757
|
+
|
2758
|
+
yield result, operation if block_given?
|
2759
|
+
result
|
2760
|
+
end
|
2761
|
+
|
2762
|
+
##
|
2763
|
+
# Baseline implementation for the grant_dns_bind_permission REST call
|
2764
|
+
#
|
2765
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GrantDnsBindPermissionRequest]
|
2766
|
+
# A request object representing the call parameters. Required.
|
2767
|
+
# @param options [::Gapic::CallOptions]
|
2768
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2769
|
+
#
|
2770
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2771
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
2772
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2773
|
+
#
|
2774
|
+
# @return [::Google::Longrunning::Operation]
|
2775
|
+
# A result object deserialized from the server's reply
|
2776
|
+
def grant_dns_bind_permission request_pb, options = nil
|
2777
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2778
|
+
|
2779
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_grant_dns_bind_permission_request request_pb
|
2780
|
+
query_string_params = if query_string_params.any?
|
2781
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2782
|
+
else
|
2783
|
+
{}
|
2784
|
+
end
|
2785
|
+
|
2786
|
+
response = @client_stub.make_http_request(
|
2787
|
+
verb,
|
2788
|
+
uri: uri,
|
2789
|
+
body: body || "",
|
2790
|
+
params: query_string_params,
|
2791
|
+
options: options
|
2792
|
+
)
|
2793
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2794
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
2795
|
+
|
2796
|
+
yield result, operation if block_given?
|
2797
|
+
result
|
2798
|
+
end
|
2799
|
+
|
2800
|
+
##
|
2801
|
+
# Baseline implementation for the get_dns_bind_permission REST call
|
2802
|
+
#
|
2803
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetDnsBindPermissionRequest]
|
2804
|
+
# A request object representing the call parameters. Required.
|
2805
|
+
# @param options [::Gapic::CallOptions]
|
2806
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2807
|
+
#
|
2808
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2809
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::DnsBindPermission]
|
2810
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2811
|
+
#
|
2812
|
+
# @return [::Google::Cloud::VmwareEngine::V1::DnsBindPermission]
|
2813
|
+
# A result object deserialized from the server's reply
|
2814
|
+
def get_dns_bind_permission request_pb, options = nil
|
2815
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2816
|
+
|
2817
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_dns_bind_permission_request request_pb
|
2818
|
+
query_string_params = if query_string_params.any?
|
2819
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2820
|
+
else
|
2821
|
+
{}
|
2822
|
+
end
|
2823
|
+
|
2824
|
+
response = @client_stub.make_http_request(
|
2825
|
+
verb,
|
2826
|
+
uri: uri,
|
2827
|
+
body: body || "",
|
2828
|
+
params: query_string_params,
|
2829
|
+
options: options
|
2830
|
+
)
|
2831
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2832
|
+
result = ::Google::Cloud::VmwareEngine::V1::DnsBindPermission.decode_json response.body, ignore_unknown_fields: true
|
2833
|
+
|
2834
|
+
yield result, operation if block_given?
|
2835
|
+
result
|
2836
|
+
end
|
2837
|
+
|
2838
|
+
##
|
2839
|
+
# Baseline implementation for the revoke_dns_bind_permission REST call
|
2840
|
+
#
|
2841
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::RevokeDnsBindPermissionRequest]
|
2842
|
+
# A request object representing the call parameters. Required.
|
2843
|
+
# @param options [::Gapic::CallOptions]
|
2844
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
2845
|
+
#
|
2846
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
2847
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
2848
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2849
|
+
#
|
2850
|
+
# @return [::Google::Longrunning::Operation]
|
2851
|
+
# A result object deserialized from the server's reply
|
2852
|
+
def revoke_dns_bind_permission request_pb, options = nil
|
2853
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
2854
|
+
|
2855
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_revoke_dns_bind_permission_request request_pb
|
2856
|
+
query_string_params = if query_string_params.any?
|
2857
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
2858
|
+
else
|
2859
|
+
{}
|
2860
|
+
end
|
2861
|
+
|
2862
|
+
response = @client_stub.make_http_request(
|
2863
|
+
verb,
|
2864
|
+
uri: uri,
|
2865
|
+
body: body || "",
|
2866
|
+
params: query_string_params,
|
2867
|
+
options: options
|
2868
|
+
)
|
2869
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
2870
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
2871
|
+
|
2872
|
+
yield result, operation if block_given?
|
2873
|
+
result
|
2874
|
+
end
|
2875
|
+
|
2876
|
+
##
|
2877
|
+
# @private
|
2878
|
+
#
|
2879
|
+
# GRPC transcoding helper method for the list_private_clouds REST call
|
2880
|
+
#
|
2881
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListPrivateCloudsRequest]
|
2882
|
+
# A request object representing the call parameters. Required.
|
2883
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
2884
|
+
# Uri, Body, Query string parameters
|
1546
2885
|
def self.transcode_list_private_clouds_request request_pb
|
1547
2886
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1548
2887
|
.with_bindings(
|
1549
2888
|
uri_method: :get,
|
1550
|
-
uri_template: "/v1/{parent}/privateClouds",
|
2889
|
+
uri_template: "/v1/{parent}/privateClouds",
|
2890
|
+
matches: [
|
2891
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
2892
|
+
]
|
2893
|
+
)
|
2894
|
+
transcoder.transcode request_pb
|
2895
|
+
end
|
2896
|
+
|
2897
|
+
##
|
2898
|
+
# @private
|
2899
|
+
#
|
2900
|
+
# GRPC transcoding helper method for the get_private_cloud REST call
|
2901
|
+
#
|
2902
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetPrivateCloudRequest]
|
2903
|
+
# A request object representing the call parameters. Required.
|
2904
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
2905
|
+
# Uri, Body, Query string parameters
|
2906
|
+
def self.transcode_get_private_cloud_request request_pb
|
2907
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
2908
|
+
.with_bindings(
|
2909
|
+
uri_method: :get,
|
2910
|
+
uri_template: "/v1/{name}",
|
2911
|
+
matches: [
|
2912
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
2913
|
+
]
|
2914
|
+
)
|
2915
|
+
transcoder.transcode request_pb
|
2916
|
+
end
|
2917
|
+
|
2918
|
+
##
|
2919
|
+
# @private
|
2920
|
+
#
|
2921
|
+
# GRPC transcoding helper method for the create_private_cloud REST call
|
2922
|
+
#
|
2923
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreatePrivateCloudRequest]
|
2924
|
+
# A request object representing the call parameters. Required.
|
2925
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
2926
|
+
# Uri, Body, Query string parameters
|
2927
|
+
def self.transcode_create_private_cloud_request request_pb
|
2928
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
2929
|
+
.with_bindings(
|
2930
|
+
uri_method: :post,
|
2931
|
+
uri_template: "/v1/{parent}/privateClouds",
|
2932
|
+
body: "private_cloud",
|
2933
|
+
matches: [
|
2934
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
2935
|
+
]
|
2936
|
+
)
|
2937
|
+
transcoder.transcode request_pb
|
2938
|
+
end
|
2939
|
+
|
2940
|
+
##
|
2941
|
+
# @private
|
2942
|
+
#
|
2943
|
+
# GRPC transcoding helper method for the update_private_cloud REST call
|
2944
|
+
#
|
2945
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdatePrivateCloudRequest]
|
2946
|
+
# A request object representing the call parameters. Required.
|
2947
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
2948
|
+
# Uri, Body, Query string parameters
|
2949
|
+
def self.transcode_update_private_cloud_request request_pb
|
2950
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
2951
|
+
.with_bindings(
|
2952
|
+
uri_method: :patch,
|
2953
|
+
uri_template: "/v1/{private_cloud.name}",
|
2954
|
+
body: "private_cloud",
|
2955
|
+
matches: [
|
2956
|
+
["private_cloud.name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
2957
|
+
]
|
2958
|
+
)
|
2959
|
+
transcoder.transcode request_pb
|
2960
|
+
end
|
2961
|
+
|
2962
|
+
##
|
2963
|
+
# @private
|
2964
|
+
#
|
2965
|
+
# GRPC transcoding helper method for the delete_private_cloud REST call
|
2966
|
+
#
|
2967
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeletePrivateCloudRequest]
|
2968
|
+
# A request object representing the call parameters. Required.
|
2969
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
2970
|
+
# Uri, Body, Query string parameters
|
2971
|
+
def self.transcode_delete_private_cloud_request request_pb
|
2972
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
2973
|
+
.with_bindings(
|
2974
|
+
uri_method: :delete,
|
2975
|
+
uri_template: "/v1/{name}",
|
2976
|
+
matches: [
|
2977
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
2978
|
+
]
|
2979
|
+
)
|
2980
|
+
transcoder.transcode request_pb
|
2981
|
+
end
|
2982
|
+
|
2983
|
+
##
|
2984
|
+
# @private
|
2985
|
+
#
|
2986
|
+
# GRPC transcoding helper method for the undelete_private_cloud REST call
|
2987
|
+
#
|
2988
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UndeletePrivateCloudRequest]
|
2989
|
+
# A request object representing the call parameters. Required.
|
2990
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
2991
|
+
# Uri, Body, Query string parameters
|
2992
|
+
def self.transcode_undelete_private_cloud_request request_pb
|
2993
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
2994
|
+
.with_bindings(
|
2995
|
+
uri_method: :post,
|
2996
|
+
uri_template: "/v1/{name}:undelete",
|
2997
|
+
body: "*",
|
2998
|
+
matches: [
|
2999
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
3000
|
+
]
|
3001
|
+
)
|
3002
|
+
transcoder.transcode request_pb
|
3003
|
+
end
|
3004
|
+
|
3005
|
+
##
|
3006
|
+
# @private
|
3007
|
+
#
|
3008
|
+
# GRPC transcoding helper method for the list_clusters REST call
|
3009
|
+
#
|
3010
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListClustersRequest]
|
3011
|
+
# A request object representing the call parameters. Required.
|
3012
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3013
|
+
# Uri, Body, Query string parameters
|
3014
|
+
def self.transcode_list_clusters_request request_pb
|
3015
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3016
|
+
.with_bindings(
|
3017
|
+
uri_method: :get,
|
3018
|
+
uri_template: "/v1/{parent}/clusters",
|
3019
|
+
matches: [
|
3020
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
3021
|
+
]
|
3022
|
+
)
|
3023
|
+
transcoder.transcode request_pb
|
3024
|
+
end
|
3025
|
+
|
3026
|
+
##
|
3027
|
+
# @private
|
3028
|
+
#
|
3029
|
+
# GRPC transcoding helper method for the get_cluster REST call
|
3030
|
+
#
|
3031
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetClusterRequest]
|
3032
|
+
# A request object representing the call parameters. Required.
|
3033
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3034
|
+
# Uri, Body, Query string parameters
|
3035
|
+
def self.transcode_get_cluster_request request_pb
|
3036
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3037
|
+
.with_bindings(
|
3038
|
+
uri_method: :get,
|
3039
|
+
uri_template: "/v1/{name}",
|
3040
|
+
matches: [
|
3041
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/clusters/[^/]+/?$}, false]
|
3042
|
+
]
|
3043
|
+
)
|
3044
|
+
transcoder.transcode request_pb
|
3045
|
+
end
|
3046
|
+
|
3047
|
+
##
|
3048
|
+
# @private
|
3049
|
+
#
|
3050
|
+
# GRPC transcoding helper method for the create_cluster REST call
|
3051
|
+
#
|
3052
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreateClusterRequest]
|
3053
|
+
# A request object representing the call parameters. Required.
|
3054
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3055
|
+
# Uri, Body, Query string parameters
|
3056
|
+
def self.transcode_create_cluster_request request_pb
|
3057
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3058
|
+
.with_bindings(
|
3059
|
+
uri_method: :post,
|
3060
|
+
uri_template: "/v1/{parent}/clusters",
|
3061
|
+
body: "cluster",
|
3062
|
+
matches: [
|
3063
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
3064
|
+
]
|
3065
|
+
)
|
3066
|
+
transcoder.transcode request_pb
|
3067
|
+
end
|
3068
|
+
|
3069
|
+
##
|
3070
|
+
# @private
|
3071
|
+
#
|
3072
|
+
# GRPC transcoding helper method for the update_cluster REST call
|
3073
|
+
#
|
3074
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateClusterRequest]
|
3075
|
+
# A request object representing the call parameters. Required.
|
3076
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3077
|
+
# Uri, Body, Query string parameters
|
3078
|
+
def self.transcode_update_cluster_request request_pb
|
3079
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3080
|
+
.with_bindings(
|
3081
|
+
uri_method: :patch,
|
3082
|
+
uri_template: "/v1/{cluster.name}",
|
3083
|
+
body: "cluster",
|
3084
|
+
matches: [
|
3085
|
+
["cluster.name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/clusters/[^/]+/?$}, false]
|
3086
|
+
]
|
3087
|
+
)
|
3088
|
+
transcoder.transcode request_pb
|
3089
|
+
end
|
3090
|
+
|
3091
|
+
##
|
3092
|
+
# @private
|
3093
|
+
#
|
3094
|
+
# GRPC transcoding helper method for the delete_cluster REST call
|
3095
|
+
#
|
3096
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeleteClusterRequest]
|
3097
|
+
# A request object representing the call parameters. Required.
|
3098
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3099
|
+
# Uri, Body, Query string parameters
|
3100
|
+
def self.transcode_delete_cluster_request request_pb
|
3101
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3102
|
+
.with_bindings(
|
3103
|
+
uri_method: :delete,
|
3104
|
+
uri_template: "/v1/{name}",
|
3105
|
+
matches: [
|
3106
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/clusters/[^/]+/?$}, false]
|
3107
|
+
]
|
3108
|
+
)
|
3109
|
+
transcoder.transcode request_pb
|
3110
|
+
end
|
3111
|
+
|
3112
|
+
##
|
3113
|
+
# @private
|
3114
|
+
#
|
3115
|
+
# GRPC transcoding helper method for the list_nodes REST call
|
3116
|
+
#
|
3117
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListNodesRequest]
|
3118
|
+
# A request object representing the call parameters. Required.
|
3119
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3120
|
+
# Uri, Body, Query string parameters
|
3121
|
+
def self.transcode_list_nodes_request request_pb
|
3122
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3123
|
+
.with_bindings(
|
3124
|
+
uri_method: :get,
|
3125
|
+
uri_template: "/v1/{parent}/nodes",
|
3126
|
+
matches: [
|
3127
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/clusters/[^/]+/?$}, false]
|
3128
|
+
]
|
3129
|
+
)
|
3130
|
+
transcoder.transcode request_pb
|
3131
|
+
end
|
3132
|
+
|
3133
|
+
##
|
3134
|
+
# @private
|
3135
|
+
#
|
3136
|
+
# GRPC transcoding helper method for the get_node REST call
|
3137
|
+
#
|
3138
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetNodeRequest]
|
3139
|
+
# A request object representing the call parameters. Required.
|
3140
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3141
|
+
# Uri, Body, Query string parameters
|
3142
|
+
def self.transcode_get_node_request request_pb
|
3143
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3144
|
+
.with_bindings(
|
3145
|
+
uri_method: :get,
|
3146
|
+
uri_template: "/v1/{name}",
|
3147
|
+
matches: [
|
3148
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/clusters/[^/]+/nodes/[^/]+/?$}, false]
|
3149
|
+
]
|
3150
|
+
)
|
3151
|
+
transcoder.transcode request_pb
|
3152
|
+
end
|
3153
|
+
|
3154
|
+
##
|
3155
|
+
# @private
|
3156
|
+
#
|
3157
|
+
# GRPC transcoding helper method for the list_external_addresses REST call
|
3158
|
+
#
|
3159
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListExternalAddressesRequest]
|
3160
|
+
# A request object representing the call parameters. Required.
|
3161
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3162
|
+
# Uri, Body, Query string parameters
|
3163
|
+
def self.transcode_list_external_addresses_request request_pb
|
3164
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3165
|
+
.with_bindings(
|
3166
|
+
uri_method: :get,
|
3167
|
+
uri_template: "/v1/{parent}/externalAddresses",
|
3168
|
+
matches: [
|
3169
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
3170
|
+
]
|
3171
|
+
)
|
3172
|
+
transcoder.transcode request_pb
|
3173
|
+
end
|
3174
|
+
|
3175
|
+
##
|
3176
|
+
# @private
|
3177
|
+
#
|
3178
|
+
# GRPC transcoding helper method for the fetch_network_policy_external_addresses REST call
|
3179
|
+
#
|
3180
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::FetchNetworkPolicyExternalAddressesRequest]
|
3181
|
+
# A request object representing the call parameters. Required.
|
3182
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3183
|
+
# Uri, Body, Query string parameters
|
3184
|
+
def self.transcode_fetch_network_policy_external_addresses_request request_pb
|
3185
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3186
|
+
.with_bindings(
|
3187
|
+
uri_method: :get,
|
3188
|
+
uri_template: "/v1/{network_policy}:fetchExternalAddresses",
|
3189
|
+
matches: [
|
3190
|
+
["network_policy", %r{^projects/[^/]+/locations/[^/]+/networkPolicies/[^/]+/?$}, false]
|
3191
|
+
]
|
3192
|
+
)
|
3193
|
+
transcoder.transcode request_pb
|
3194
|
+
end
|
3195
|
+
|
3196
|
+
##
|
3197
|
+
# @private
|
3198
|
+
#
|
3199
|
+
# GRPC transcoding helper method for the get_external_address REST call
|
3200
|
+
#
|
3201
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetExternalAddressRequest]
|
3202
|
+
# A request object representing the call parameters. Required.
|
3203
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3204
|
+
# Uri, Body, Query string parameters
|
3205
|
+
def self.transcode_get_external_address_request request_pb
|
3206
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3207
|
+
.with_bindings(
|
3208
|
+
uri_method: :get,
|
3209
|
+
uri_template: "/v1/{name}",
|
1551
3210
|
matches: [
|
1552
|
-
["
|
3211
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/externalAddresses/[^/]+/?$}, false]
|
1553
3212
|
]
|
1554
3213
|
)
|
1555
3214
|
transcoder.transcode request_pb
|
@@ -1558,19 +3217,105 @@ module Google
|
|
1558
3217
|
##
|
1559
3218
|
# @private
|
1560
3219
|
#
|
1561
|
-
# GRPC transcoding helper method for the
|
3220
|
+
# GRPC transcoding helper method for the create_external_address REST call
|
1562
3221
|
#
|
1563
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3222
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreateExternalAddressRequest]
|
1564
3223
|
# A request object representing the call parameters. Required.
|
1565
3224
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1566
3225
|
# Uri, Body, Query string parameters
|
1567
|
-
def self.
|
3226
|
+
def self.transcode_create_external_address_request request_pb
|
3227
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3228
|
+
.with_bindings(
|
3229
|
+
uri_method: :post,
|
3230
|
+
uri_template: "/v1/{parent}/externalAddresses",
|
3231
|
+
body: "external_address",
|
3232
|
+
matches: [
|
3233
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
3234
|
+
]
|
3235
|
+
)
|
3236
|
+
transcoder.transcode request_pb
|
3237
|
+
end
|
3238
|
+
|
3239
|
+
##
|
3240
|
+
# @private
|
3241
|
+
#
|
3242
|
+
# GRPC transcoding helper method for the update_external_address REST call
|
3243
|
+
#
|
3244
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateExternalAddressRequest]
|
3245
|
+
# A request object representing the call parameters. Required.
|
3246
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3247
|
+
# Uri, Body, Query string parameters
|
3248
|
+
def self.transcode_update_external_address_request request_pb
|
3249
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3250
|
+
.with_bindings(
|
3251
|
+
uri_method: :patch,
|
3252
|
+
uri_template: "/v1/{external_address.name}",
|
3253
|
+
body: "external_address",
|
3254
|
+
matches: [
|
3255
|
+
["external_address.name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/externalAddresses/[^/]+/?$}, false]
|
3256
|
+
]
|
3257
|
+
)
|
3258
|
+
transcoder.transcode request_pb
|
3259
|
+
end
|
3260
|
+
|
3261
|
+
##
|
3262
|
+
# @private
|
3263
|
+
#
|
3264
|
+
# GRPC transcoding helper method for the delete_external_address REST call
|
3265
|
+
#
|
3266
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeleteExternalAddressRequest]
|
3267
|
+
# A request object representing the call parameters. Required.
|
3268
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3269
|
+
# Uri, Body, Query string parameters
|
3270
|
+
def self.transcode_delete_external_address_request request_pb
|
3271
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3272
|
+
.with_bindings(
|
3273
|
+
uri_method: :delete,
|
3274
|
+
uri_template: "/v1/{name}",
|
3275
|
+
matches: [
|
3276
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/externalAddresses/[^/]+/?$}, false]
|
3277
|
+
]
|
3278
|
+
)
|
3279
|
+
transcoder.transcode request_pb
|
3280
|
+
end
|
3281
|
+
|
3282
|
+
##
|
3283
|
+
# @private
|
3284
|
+
#
|
3285
|
+
# GRPC transcoding helper method for the list_subnets REST call
|
3286
|
+
#
|
3287
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListSubnetsRequest]
|
3288
|
+
# A request object representing the call parameters. Required.
|
3289
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3290
|
+
# Uri, Body, Query string parameters
|
3291
|
+
def self.transcode_list_subnets_request request_pb
|
3292
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3293
|
+
.with_bindings(
|
3294
|
+
uri_method: :get,
|
3295
|
+
uri_template: "/v1/{parent}/subnets",
|
3296
|
+
matches: [
|
3297
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
3298
|
+
]
|
3299
|
+
)
|
3300
|
+
transcoder.transcode request_pb
|
3301
|
+
end
|
3302
|
+
|
3303
|
+
##
|
3304
|
+
# @private
|
3305
|
+
#
|
3306
|
+
# GRPC transcoding helper method for the get_subnet REST call
|
3307
|
+
#
|
3308
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetSubnetRequest]
|
3309
|
+
# A request object representing the call parameters. Required.
|
3310
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3311
|
+
# Uri, Body, Query string parameters
|
3312
|
+
def self.transcode_get_subnet_request request_pb
|
1568
3313
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1569
3314
|
.with_bindings(
|
1570
3315
|
uri_method: :get,
|
1571
3316
|
uri_template: "/v1/{name}",
|
1572
3317
|
matches: [
|
1573
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
3318
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/subnets/[^/]+/?$}, false]
|
1574
3319
|
]
|
1575
3320
|
)
|
1576
3321
|
transcoder.transcode request_pb
|
@@ -1579,20 +3324,84 @@ module Google
|
|
1579
3324
|
##
|
1580
3325
|
# @private
|
1581
3326
|
#
|
1582
|
-
# GRPC transcoding helper method for the
|
3327
|
+
# GRPC transcoding helper method for the update_subnet REST call
|
1583
3328
|
#
|
1584
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3329
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateSubnetRequest]
|
1585
3330
|
# A request object representing the call parameters. Required.
|
1586
3331
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1587
3332
|
# Uri, Body, Query string parameters
|
1588
|
-
def self.
|
3333
|
+
def self.transcode_update_subnet_request request_pb
|
3334
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3335
|
+
.with_bindings(
|
3336
|
+
uri_method: :patch,
|
3337
|
+
uri_template: "/v1/{subnet.name}",
|
3338
|
+
body: "subnet",
|
3339
|
+
matches: [
|
3340
|
+
["subnet.name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/subnets/[^/]+/?$}, false]
|
3341
|
+
]
|
3342
|
+
)
|
3343
|
+
transcoder.transcode request_pb
|
3344
|
+
end
|
3345
|
+
|
3346
|
+
##
|
3347
|
+
# @private
|
3348
|
+
#
|
3349
|
+
# GRPC transcoding helper method for the list_external_access_rules REST call
|
3350
|
+
#
|
3351
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListExternalAccessRulesRequest]
|
3352
|
+
# A request object representing the call parameters. Required.
|
3353
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3354
|
+
# Uri, Body, Query string parameters
|
3355
|
+
def self.transcode_list_external_access_rules_request request_pb
|
3356
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3357
|
+
.with_bindings(
|
3358
|
+
uri_method: :get,
|
3359
|
+
uri_template: "/v1/{parent}/externalAccessRules",
|
3360
|
+
matches: [
|
3361
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/networkPolicies/[^/]+/?$}, false]
|
3362
|
+
]
|
3363
|
+
)
|
3364
|
+
transcoder.transcode request_pb
|
3365
|
+
end
|
3366
|
+
|
3367
|
+
##
|
3368
|
+
# @private
|
3369
|
+
#
|
3370
|
+
# GRPC transcoding helper method for the get_external_access_rule REST call
|
3371
|
+
#
|
3372
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetExternalAccessRuleRequest]
|
3373
|
+
# A request object representing the call parameters. Required.
|
3374
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3375
|
+
# Uri, Body, Query string parameters
|
3376
|
+
def self.transcode_get_external_access_rule_request request_pb
|
3377
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3378
|
+
.with_bindings(
|
3379
|
+
uri_method: :get,
|
3380
|
+
uri_template: "/v1/{name}",
|
3381
|
+
matches: [
|
3382
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/networkPolicies/[^/]+/externalAccessRules/[^/]+/?$}, false]
|
3383
|
+
]
|
3384
|
+
)
|
3385
|
+
transcoder.transcode request_pb
|
3386
|
+
end
|
3387
|
+
|
3388
|
+
##
|
3389
|
+
# @private
|
3390
|
+
#
|
3391
|
+
# GRPC transcoding helper method for the create_external_access_rule REST call
|
3392
|
+
#
|
3393
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreateExternalAccessRuleRequest]
|
3394
|
+
# A request object representing the call parameters. Required.
|
3395
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3396
|
+
# Uri, Body, Query string parameters
|
3397
|
+
def self.transcode_create_external_access_rule_request request_pb
|
1589
3398
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1590
3399
|
.with_bindings(
|
1591
3400
|
uri_method: :post,
|
1592
|
-
uri_template: "/v1/{parent}/
|
1593
|
-
body: "
|
3401
|
+
uri_template: "/v1/{parent}/externalAccessRules",
|
3402
|
+
body: "external_access_rule",
|
1594
3403
|
matches: [
|
1595
|
-
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
3404
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/networkPolicies/[^/]+/?$}, false]
|
1596
3405
|
]
|
1597
3406
|
)
|
1598
3407
|
transcoder.transcode request_pb
|
@@ -1601,20 +3410,20 @@ module Google
|
|
1601
3410
|
##
|
1602
3411
|
# @private
|
1603
3412
|
#
|
1604
|
-
# GRPC transcoding helper method for the
|
3413
|
+
# GRPC transcoding helper method for the update_external_access_rule REST call
|
1605
3414
|
#
|
1606
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3415
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateExternalAccessRuleRequest]
|
1607
3416
|
# A request object representing the call parameters. Required.
|
1608
3417
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1609
3418
|
# Uri, Body, Query string parameters
|
1610
|
-
def self.
|
3419
|
+
def self.transcode_update_external_access_rule_request request_pb
|
1611
3420
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1612
3421
|
.with_bindings(
|
1613
3422
|
uri_method: :patch,
|
1614
|
-
uri_template: "/v1/{
|
1615
|
-
body: "
|
3423
|
+
uri_template: "/v1/{external_access_rule.name}",
|
3424
|
+
body: "external_access_rule",
|
1616
3425
|
matches: [
|
1617
|
-
["
|
3426
|
+
["external_access_rule.name", %r{^projects/[^/]+/locations/[^/]+/networkPolicies/[^/]+/externalAccessRules/[^/]+/?$}, false]
|
1618
3427
|
]
|
1619
3428
|
)
|
1620
3429
|
transcoder.transcode request_pb
|
@@ -1623,19 +3432,19 @@ module Google
|
|
1623
3432
|
##
|
1624
3433
|
# @private
|
1625
3434
|
#
|
1626
|
-
# GRPC transcoding helper method for the
|
3435
|
+
# GRPC transcoding helper method for the delete_external_access_rule REST call
|
1627
3436
|
#
|
1628
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3437
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeleteExternalAccessRuleRequest]
|
1629
3438
|
# A request object representing the call parameters. Required.
|
1630
3439
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1631
3440
|
# Uri, Body, Query string parameters
|
1632
|
-
def self.
|
3441
|
+
def self.transcode_delete_external_access_rule_request request_pb
|
1633
3442
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1634
3443
|
.with_bindings(
|
1635
3444
|
uri_method: :delete,
|
1636
3445
|
uri_template: "/v1/{name}",
|
1637
3446
|
matches: [
|
1638
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
3447
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/networkPolicies/[^/]+/externalAccessRules/[^/]+/?$}, false]
|
1639
3448
|
]
|
1640
3449
|
)
|
1641
3450
|
transcoder.transcode request_pb
|
@@ -1644,20 +3453,19 @@ module Google
|
|
1644
3453
|
##
|
1645
3454
|
# @private
|
1646
3455
|
#
|
1647
|
-
# GRPC transcoding helper method for the
|
3456
|
+
# GRPC transcoding helper method for the list_logging_servers REST call
|
1648
3457
|
#
|
1649
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3458
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListLoggingServersRequest]
|
1650
3459
|
# A request object representing the call parameters. Required.
|
1651
3460
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1652
3461
|
# Uri, Body, Query string parameters
|
1653
|
-
def self.
|
3462
|
+
def self.transcode_list_logging_servers_request request_pb
|
1654
3463
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1655
3464
|
.with_bindings(
|
1656
|
-
uri_method: :
|
1657
|
-
uri_template: "/v1/{
|
1658
|
-
body: "*",
|
3465
|
+
uri_method: :get,
|
3466
|
+
uri_template: "/v1/{parent}/loggingServers",
|
1659
3467
|
matches: [
|
1660
|
-
["
|
3468
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
1661
3469
|
]
|
1662
3470
|
)
|
1663
3471
|
transcoder.transcode request_pb
|
@@ -1666,17 +3474,39 @@ module Google
|
|
1666
3474
|
##
|
1667
3475
|
# @private
|
1668
3476
|
#
|
1669
|
-
# GRPC transcoding helper method for the
|
3477
|
+
# GRPC transcoding helper method for the get_logging_server REST call
|
1670
3478
|
#
|
1671
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3479
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetLoggingServerRequest]
|
1672
3480
|
# A request object representing the call parameters. Required.
|
1673
3481
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1674
3482
|
# Uri, Body, Query string parameters
|
1675
|
-
def self.
|
3483
|
+
def self.transcode_get_logging_server_request request_pb
|
1676
3484
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1677
3485
|
.with_bindings(
|
1678
3486
|
uri_method: :get,
|
1679
|
-
uri_template: "/v1/{
|
3487
|
+
uri_template: "/v1/{name}",
|
3488
|
+
matches: [
|
3489
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/loggingServers/[^/]+/?$}, false]
|
3490
|
+
]
|
3491
|
+
)
|
3492
|
+
transcoder.transcode request_pb
|
3493
|
+
end
|
3494
|
+
|
3495
|
+
##
|
3496
|
+
# @private
|
3497
|
+
#
|
3498
|
+
# GRPC transcoding helper method for the create_logging_server REST call
|
3499
|
+
#
|
3500
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreateLoggingServerRequest]
|
3501
|
+
# A request object representing the call parameters. Required.
|
3502
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3503
|
+
# Uri, Body, Query string parameters
|
3504
|
+
def self.transcode_create_logging_server_request request_pb
|
3505
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3506
|
+
.with_bindings(
|
3507
|
+
uri_method: :post,
|
3508
|
+
uri_template: "/v1/{parent}/loggingServers",
|
3509
|
+
body: "logging_server",
|
1680
3510
|
matches: [
|
1681
3511
|
["parent", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
1682
3512
|
]
|
@@ -1687,19 +3517,83 @@ module Google
|
|
1687
3517
|
##
|
1688
3518
|
# @private
|
1689
3519
|
#
|
1690
|
-
# GRPC transcoding helper method for the
|
3520
|
+
# GRPC transcoding helper method for the update_logging_server REST call
|
1691
3521
|
#
|
1692
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3522
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateLoggingServerRequest]
|
1693
3523
|
# A request object representing the call parameters. Required.
|
1694
3524
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1695
3525
|
# Uri, Body, Query string parameters
|
1696
|
-
def self.
|
3526
|
+
def self.transcode_update_logging_server_request request_pb
|
3527
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3528
|
+
.with_bindings(
|
3529
|
+
uri_method: :patch,
|
3530
|
+
uri_template: "/v1/{logging_server.name}",
|
3531
|
+
body: "logging_server",
|
3532
|
+
matches: [
|
3533
|
+
["logging_server.name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/loggingServers/[^/]+/?$}, false]
|
3534
|
+
]
|
3535
|
+
)
|
3536
|
+
transcoder.transcode request_pb
|
3537
|
+
end
|
3538
|
+
|
3539
|
+
##
|
3540
|
+
# @private
|
3541
|
+
#
|
3542
|
+
# GRPC transcoding helper method for the delete_logging_server REST call
|
3543
|
+
#
|
3544
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeleteLoggingServerRequest]
|
3545
|
+
# A request object representing the call parameters. Required.
|
3546
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3547
|
+
# Uri, Body, Query string parameters
|
3548
|
+
def self.transcode_delete_logging_server_request request_pb
|
3549
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3550
|
+
.with_bindings(
|
3551
|
+
uri_method: :delete,
|
3552
|
+
uri_template: "/v1/{name}",
|
3553
|
+
matches: [
|
3554
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/loggingServers/[^/]+/?$}, false]
|
3555
|
+
]
|
3556
|
+
)
|
3557
|
+
transcoder.transcode request_pb
|
3558
|
+
end
|
3559
|
+
|
3560
|
+
##
|
3561
|
+
# @private
|
3562
|
+
#
|
3563
|
+
# GRPC transcoding helper method for the list_node_types REST call
|
3564
|
+
#
|
3565
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListNodeTypesRequest]
|
3566
|
+
# A request object representing the call parameters. Required.
|
3567
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3568
|
+
# Uri, Body, Query string parameters
|
3569
|
+
def self.transcode_list_node_types_request request_pb
|
3570
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
3571
|
+
.with_bindings(
|
3572
|
+
uri_method: :get,
|
3573
|
+
uri_template: "/v1/{parent}/nodeTypes",
|
3574
|
+
matches: [
|
3575
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
3576
|
+
]
|
3577
|
+
)
|
3578
|
+
transcoder.transcode request_pb
|
3579
|
+
end
|
3580
|
+
|
3581
|
+
##
|
3582
|
+
# @private
|
3583
|
+
#
|
3584
|
+
# GRPC transcoding helper method for the get_node_type REST call
|
3585
|
+
#
|
3586
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetNodeTypeRequest]
|
3587
|
+
# A request object representing the call parameters. Required.
|
3588
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
3589
|
+
# Uri, Body, Query string parameters
|
3590
|
+
def self.transcode_get_node_type_request request_pb
|
1697
3591
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1698
3592
|
.with_bindings(
|
1699
3593
|
uri_method: :get,
|
1700
3594
|
uri_template: "/v1/{name}",
|
1701
3595
|
matches: [
|
1702
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
3596
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/nodeTypes/[^/]+/?$}, false]
|
1703
3597
|
]
|
1704
3598
|
)
|
1705
3599
|
transcoder.transcode request_pb
|
@@ -1708,20 +3602,19 @@ module Google
|
|
1708
3602
|
##
|
1709
3603
|
# @private
|
1710
3604
|
#
|
1711
|
-
# GRPC transcoding helper method for the
|
3605
|
+
# GRPC transcoding helper method for the show_nsx_credentials REST call
|
1712
3606
|
#
|
1713
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3607
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ShowNsxCredentialsRequest]
|
1714
3608
|
# A request object representing the call parameters. Required.
|
1715
3609
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1716
3610
|
# Uri, Body, Query string parameters
|
1717
|
-
def self.
|
3611
|
+
def self.transcode_show_nsx_credentials_request request_pb
|
1718
3612
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1719
3613
|
.with_bindings(
|
1720
|
-
uri_method: :
|
1721
|
-
uri_template: "/v1/{
|
1722
|
-
body: "cluster",
|
3614
|
+
uri_method: :get,
|
3615
|
+
uri_template: "/v1/{private_cloud}:showNsxCredentials",
|
1723
3616
|
matches: [
|
1724
|
-
["
|
3617
|
+
["private_cloud", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
1725
3618
|
]
|
1726
3619
|
)
|
1727
3620
|
transcoder.transcode request_pb
|
@@ -1730,20 +3623,19 @@ module Google
|
|
1730
3623
|
##
|
1731
3624
|
# @private
|
1732
3625
|
#
|
1733
|
-
# GRPC transcoding helper method for the
|
3626
|
+
# GRPC transcoding helper method for the show_vcenter_credentials REST call
|
1734
3627
|
#
|
1735
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3628
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ShowVcenterCredentialsRequest]
|
1736
3629
|
# A request object representing the call parameters. Required.
|
1737
3630
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1738
3631
|
# Uri, Body, Query string parameters
|
1739
|
-
def self.
|
3632
|
+
def self.transcode_show_vcenter_credentials_request request_pb
|
1740
3633
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1741
3634
|
.with_bindings(
|
1742
|
-
uri_method: :
|
1743
|
-
uri_template: "/v1/{
|
1744
|
-
body: "cluster",
|
3635
|
+
uri_method: :get,
|
3636
|
+
uri_template: "/v1/{private_cloud}:showVcenterCredentials",
|
1745
3637
|
matches: [
|
1746
|
-
["
|
3638
|
+
["private_cloud", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
1747
3639
|
]
|
1748
3640
|
)
|
1749
3641
|
transcoder.transcode request_pb
|
@@ -1752,19 +3644,20 @@ module Google
|
|
1752
3644
|
##
|
1753
3645
|
# @private
|
1754
3646
|
#
|
1755
|
-
# GRPC transcoding helper method for the
|
3647
|
+
# GRPC transcoding helper method for the reset_nsx_credentials REST call
|
1756
3648
|
#
|
1757
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3649
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ResetNsxCredentialsRequest]
|
1758
3650
|
# A request object representing the call parameters. Required.
|
1759
3651
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1760
3652
|
# Uri, Body, Query string parameters
|
1761
|
-
def self.
|
3653
|
+
def self.transcode_reset_nsx_credentials_request request_pb
|
1762
3654
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1763
3655
|
.with_bindings(
|
1764
|
-
uri_method: :
|
1765
|
-
uri_template: "/v1/{
|
3656
|
+
uri_method: :post,
|
3657
|
+
uri_template: "/v1/{private_cloud}:resetNsxCredentials",
|
3658
|
+
body: "*",
|
1766
3659
|
matches: [
|
1767
|
-
["
|
3660
|
+
["private_cloud", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
1768
3661
|
]
|
1769
3662
|
)
|
1770
3663
|
transcoder.transcode request_pb
|
@@ -1773,19 +3666,20 @@ module Google
|
|
1773
3666
|
##
|
1774
3667
|
# @private
|
1775
3668
|
#
|
1776
|
-
# GRPC transcoding helper method for the
|
3669
|
+
# GRPC transcoding helper method for the reset_vcenter_credentials REST call
|
1777
3670
|
#
|
1778
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3671
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ResetVcenterCredentialsRequest]
|
1779
3672
|
# A request object representing the call parameters. Required.
|
1780
3673
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1781
3674
|
# Uri, Body, Query string parameters
|
1782
|
-
def self.
|
3675
|
+
def self.transcode_reset_vcenter_credentials_request request_pb
|
1783
3676
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1784
3677
|
.with_bindings(
|
1785
|
-
uri_method: :
|
1786
|
-
uri_template: "/v1/{
|
3678
|
+
uri_method: :post,
|
3679
|
+
uri_template: "/v1/{private_cloud}:resetVcenterCredentials",
|
3680
|
+
body: "*",
|
1787
3681
|
matches: [
|
1788
|
-
["
|
3682
|
+
["private_cloud", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
1789
3683
|
]
|
1790
3684
|
)
|
1791
3685
|
transcoder.transcode request_pb
|
@@ -1794,19 +3688,19 @@ module Google
|
|
1794
3688
|
##
|
1795
3689
|
# @private
|
1796
3690
|
#
|
1797
|
-
# GRPC transcoding helper method for the
|
3691
|
+
# GRPC transcoding helper method for the get_dns_forwarding REST call
|
1798
3692
|
#
|
1799
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3693
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetDnsForwardingRequest]
|
1800
3694
|
# A request object representing the call parameters. Required.
|
1801
3695
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1802
3696
|
# Uri, Body, Query string parameters
|
1803
|
-
def self.
|
3697
|
+
def self.transcode_get_dns_forwarding_request request_pb
|
1804
3698
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1805
3699
|
.with_bindings(
|
1806
3700
|
uri_method: :get,
|
1807
3701
|
uri_template: "/v1/{name}",
|
1808
3702
|
matches: [
|
1809
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/
|
3703
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/dnsForwarding/?$}, false]
|
1810
3704
|
]
|
1811
3705
|
)
|
1812
3706
|
transcoder.transcode request_pb
|
@@ -1815,20 +3709,20 @@ module Google
|
|
1815
3709
|
##
|
1816
3710
|
# @private
|
1817
3711
|
#
|
1818
|
-
# GRPC transcoding helper method for the
|
3712
|
+
# GRPC transcoding helper method for the update_dns_forwarding REST call
|
1819
3713
|
#
|
1820
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3714
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateDnsForwardingRequest]
|
1821
3715
|
# A request object representing the call parameters. Required.
|
1822
3716
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1823
3717
|
# Uri, Body, Query string parameters
|
1824
|
-
def self.
|
3718
|
+
def self.transcode_update_dns_forwarding_request request_pb
|
1825
3719
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1826
3720
|
.with_bindings(
|
1827
3721
|
uri_method: :patch,
|
1828
|
-
uri_template: "/v1/{
|
1829
|
-
body: "
|
3722
|
+
uri_template: "/v1/{dns_forwarding.name}",
|
3723
|
+
body: "dns_forwarding",
|
1830
3724
|
matches: [
|
1831
|
-
["
|
3725
|
+
["dns_forwarding.name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/dnsForwarding/?$}, false]
|
1832
3726
|
]
|
1833
3727
|
)
|
1834
3728
|
transcoder.transcode request_pb
|
@@ -1837,19 +3731,19 @@ module Google
|
|
1837
3731
|
##
|
1838
3732
|
# @private
|
1839
3733
|
#
|
1840
|
-
# GRPC transcoding helper method for the
|
3734
|
+
# GRPC transcoding helper method for the get_network_peering REST call
|
1841
3735
|
#
|
1842
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3736
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetNetworkPeeringRequest]
|
1843
3737
|
# A request object representing the call parameters. Required.
|
1844
3738
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1845
3739
|
# Uri, Body, Query string parameters
|
1846
|
-
def self.
|
3740
|
+
def self.transcode_get_network_peering_request request_pb
|
1847
3741
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1848
3742
|
.with_bindings(
|
1849
3743
|
uri_method: :get,
|
1850
|
-
uri_template: "/v1/{
|
3744
|
+
uri_template: "/v1/{name}",
|
1851
3745
|
matches: [
|
1852
|
-
["
|
3746
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+/?$}, false]
|
1853
3747
|
]
|
1854
3748
|
)
|
1855
3749
|
transcoder.transcode request_pb
|
@@ -1858,19 +3752,19 @@ module Google
|
|
1858
3752
|
##
|
1859
3753
|
# @private
|
1860
3754
|
#
|
1861
|
-
# GRPC transcoding helper method for the
|
3755
|
+
# GRPC transcoding helper method for the list_network_peerings REST call
|
1862
3756
|
#
|
1863
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3757
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListNetworkPeeringsRequest]
|
1864
3758
|
# A request object representing the call parameters. Required.
|
1865
3759
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1866
3760
|
# Uri, Body, Query string parameters
|
1867
|
-
def self.
|
3761
|
+
def self.transcode_list_network_peerings_request request_pb
|
1868
3762
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1869
3763
|
.with_bindings(
|
1870
3764
|
uri_method: :get,
|
1871
|
-
uri_template: "/v1/{
|
3765
|
+
uri_template: "/v1/{parent}/networkPeerings",
|
1872
3766
|
matches: [
|
1873
|
-
["
|
3767
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
1874
3768
|
]
|
1875
3769
|
)
|
1876
3770
|
transcoder.transcode request_pb
|
@@ -1879,19 +3773,20 @@ module Google
|
|
1879
3773
|
##
|
1880
3774
|
# @private
|
1881
3775
|
#
|
1882
|
-
# GRPC transcoding helper method for the
|
3776
|
+
# GRPC transcoding helper method for the create_network_peering REST call
|
1883
3777
|
#
|
1884
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3778
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreateNetworkPeeringRequest]
|
1885
3779
|
# A request object representing the call parameters. Required.
|
1886
3780
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1887
3781
|
# Uri, Body, Query string parameters
|
1888
|
-
def self.
|
3782
|
+
def self.transcode_create_network_peering_request request_pb
|
1889
3783
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1890
3784
|
.with_bindings(
|
1891
|
-
uri_method: :
|
1892
|
-
uri_template: "/v1/{
|
3785
|
+
uri_method: :post,
|
3786
|
+
uri_template: "/v1/{parent}/networkPeerings",
|
3787
|
+
body: "network_peering",
|
1893
3788
|
matches: [
|
1894
|
-
["
|
3789
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
1895
3790
|
]
|
1896
3791
|
)
|
1897
3792
|
transcoder.transcode request_pb
|
@@ -1900,19 +3795,19 @@ module Google
|
|
1900
3795
|
##
|
1901
3796
|
# @private
|
1902
3797
|
#
|
1903
|
-
# GRPC transcoding helper method for the
|
3798
|
+
# GRPC transcoding helper method for the delete_network_peering REST call
|
1904
3799
|
#
|
1905
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3800
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeleteNetworkPeeringRequest]
|
1906
3801
|
# A request object representing the call parameters. Required.
|
1907
3802
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1908
3803
|
# Uri, Body, Query string parameters
|
1909
|
-
def self.
|
3804
|
+
def self.transcode_delete_network_peering_request request_pb
|
1910
3805
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1911
3806
|
.with_bindings(
|
1912
|
-
uri_method: :
|
1913
|
-
uri_template: "/v1/{
|
3807
|
+
uri_method: :delete,
|
3808
|
+
uri_template: "/v1/{name}",
|
1914
3809
|
matches: [
|
1915
|
-
["
|
3810
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+/?$}, false]
|
1916
3811
|
]
|
1917
3812
|
)
|
1918
3813
|
transcoder.transcode request_pb
|
@@ -1921,20 +3816,20 @@ module Google
|
|
1921
3816
|
##
|
1922
3817
|
# @private
|
1923
3818
|
#
|
1924
|
-
# GRPC transcoding helper method for the
|
3819
|
+
# GRPC transcoding helper method for the update_network_peering REST call
|
1925
3820
|
#
|
1926
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3821
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateNetworkPeeringRequest]
|
1927
3822
|
# A request object representing the call parameters. Required.
|
1928
3823
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1929
3824
|
# Uri, Body, Query string parameters
|
1930
|
-
def self.
|
3825
|
+
def self.transcode_update_network_peering_request request_pb
|
1931
3826
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1932
3827
|
.with_bindings(
|
1933
|
-
uri_method: :
|
1934
|
-
uri_template: "/v1/{
|
1935
|
-
body: "
|
3828
|
+
uri_method: :patch,
|
3829
|
+
uri_template: "/v1/{network_peering.name}",
|
3830
|
+
body: "network_peering",
|
1936
3831
|
matches: [
|
1937
|
-
["
|
3832
|
+
["network_peering.name", %r{^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+/?$}, false]
|
1938
3833
|
]
|
1939
3834
|
)
|
1940
3835
|
transcoder.transcode request_pb
|
@@ -1943,20 +3838,19 @@ module Google
|
|
1943
3838
|
##
|
1944
3839
|
# @private
|
1945
3840
|
#
|
1946
|
-
# GRPC transcoding helper method for the
|
3841
|
+
# GRPC transcoding helper method for the list_peering_routes REST call
|
1947
3842
|
#
|
1948
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3843
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListPeeringRoutesRequest]
|
1949
3844
|
# A request object representing the call parameters. Required.
|
1950
3845
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1951
3846
|
# Uri, Body, Query string parameters
|
1952
|
-
def self.
|
3847
|
+
def self.transcode_list_peering_routes_request request_pb
|
1953
3848
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1954
3849
|
.with_bindings(
|
1955
|
-
uri_method: :
|
1956
|
-
uri_template: "/v1/{
|
1957
|
-
body: "*",
|
3850
|
+
uri_method: :get,
|
3851
|
+
uri_template: "/v1/{parent}/peeringRoutes",
|
1958
3852
|
matches: [
|
1959
|
-
["
|
3853
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+/?$}, false]
|
1960
3854
|
]
|
1961
3855
|
)
|
1962
3856
|
transcoder.transcode request_pb
|
@@ -2133,6 +4027,135 @@ module Google
|
|
2133
4027
|
transcoder.transcode request_pb
|
2134
4028
|
end
|
2135
4029
|
|
4030
|
+
##
|
4031
|
+
# @private
|
4032
|
+
#
|
4033
|
+
# GRPC transcoding helper method for the list_management_dns_zone_bindings REST call
|
4034
|
+
#
|
4035
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListManagementDnsZoneBindingsRequest]
|
4036
|
+
# A request object representing the call parameters. Required.
|
4037
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
4038
|
+
# Uri, Body, Query string parameters
|
4039
|
+
def self.transcode_list_management_dns_zone_bindings_request request_pb
|
4040
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
4041
|
+
.with_bindings(
|
4042
|
+
uri_method: :get,
|
4043
|
+
uri_template: "/v1/{parent}/managementDnsZoneBindings",
|
4044
|
+
matches: [
|
4045
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
4046
|
+
]
|
4047
|
+
)
|
4048
|
+
transcoder.transcode request_pb
|
4049
|
+
end
|
4050
|
+
|
4051
|
+
##
|
4052
|
+
# @private
|
4053
|
+
#
|
4054
|
+
# GRPC transcoding helper method for the get_management_dns_zone_binding REST call
|
4055
|
+
#
|
4056
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetManagementDnsZoneBindingRequest]
|
4057
|
+
# A request object representing the call parameters. Required.
|
4058
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
4059
|
+
# Uri, Body, Query string parameters
|
4060
|
+
def self.transcode_get_management_dns_zone_binding_request request_pb
|
4061
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
4062
|
+
.with_bindings(
|
4063
|
+
uri_method: :get,
|
4064
|
+
uri_template: "/v1/{name}",
|
4065
|
+
matches: [
|
4066
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/managementDnsZoneBindings/[^/]+/?$}, false]
|
4067
|
+
]
|
4068
|
+
)
|
4069
|
+
transcoder.transcode request_pb
|
4070
|
+
end
|
4071
|
+
|
4072
|
+
##
|
4073
|
+
# @private
|
4074
|
+
#
|
4075
|
+
# GRPC transcoding helper method for the create_management_dns_zone_binding REST call
|
4076
|
+
#
|
4077
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreateManagementDnsZoneBindingRequest]
|
4078
|
+
# A request object representing the call parameters. Required.
|
4079
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
4080
|
+
# Uri, Body, Query string parameters
|
4081
|
+
def self.transcode_create_management_dns_zone_binding_request request_pb
|
4082
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
4083
|
+
.with_bindings(
|
4084
|
+
uri_method: :post,
|
4085
|
+
uri_template: "/v1/{parent}/managementDnsZoneBindings",
|
4086
|
+
body: "management_dns_zone_binding",
|
4087
|
+
matches: [
|
4088
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
4089
|
+
]
|
4090
|
+
)
|
4091
|
+
transcoder.transcode request_pb
|
4092
|
+
end
|
4093
|
+
|
4094
|
+
##
|
4095
|
+
# @private
|
4096
|
+
#
|
4097
|
+
# GRPC transcoding helper method for the update_management_dns_zone_binding REST call
|
4098
|
+
#
|
4099
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateManagementDnsZoneBindingRequest]
|
4100
|
+
# A request object representing the call parameters. Required.
|
4101
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
4102
|
+
# Uri, Body, Query string parameters
|
4103
|
+
def self.transcode_update_management_dns_zone_binding_request request_pb
|
4104
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
4105
|
+
.with_bindings(
|
4106
|
+
uri_method: :patch,
|
4107
|
+
uri_template: "/v1/{management_dns_zone_binding.name}",
|
4108
|
+
body: "management_dns_zone_binding",
|
4109
|
+
matches: [
|
4110
|
+
["management_dns_zone_binding.name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/managementDnsZoneBindings/[^/]+/?$}, false]
|
4111
|
+
]
|
4112
|
+
)
|
4113
|
+
transcoder.transcode request_pb
|
4114
|
+
end
|
4115
|
+
|
4116
|
+
##
|
4117
|
+
# @private
|
4118
|
+
#
|
4119
|
+
# GRPC transcoding helper method for the delete_management_dns_zone_binding REST call
|
4120
|
+
#
|
4121
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeleteManagementDnsZoneBindingRequest]
|
4122
|
+
# A request object representing the call parameters. Required.
|
4123
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
4124
|
+
# Uri, Body, Query string parameters
|
4125
|
+
def self.transcode_delete_management_dns_zone_binding_request request_pb
|
4126
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
4127
|
+
.with_bindings(
|
4128
|
+
uri_method: :delete,
|
4129
|
+
uri_template: "/v1/{name}",
|
4130
|
+
matches: [
|
4131
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/managementDnsZoneBindings/[^/]+/?$}, false]
|
4132
|
+
]
|
4133
|
+
)
|
4134
|
+
transcoder.transcode request_pb
|
4135
|
+
end
|
4136
|
+
|
4137
|
+
##
|
4138
|
+
# @private
|
4139
|
+
#
|
4140
|
+
# GRPC transcoding helper method for the repair_management_dns_zone_binding REST call
|
4141
|
+
#
|
4142
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::RepairManagementDnsZoneBindingRequest]
|
4143
|
+
# A request object representing the call parameters. Required.
|
4144
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
4145
|
+
# Uri, Body, Query string parameters
|
4146
|
+
def self.transcode_repair_management_dns_zone_binding_request request_pb
|
4147
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
4148
|
+
.with_bindings(
|
4149
|
+
uri_method: :post,
|
4150
|
+
uri_template: "/v1/{name}:repair",
|
4151
|
+
body: "*",
|
4152
|
+
matches: [
|
4153
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/managementDnsZoneBindings/[^/]+/?$}, false]
|
4154
|
+
]
|
4155
|
+
)
|
4156
|
+
transcoder.transcode request_pb
|
4157
|
+
end
|
4158
|
+
|
2136
4159
|
##
|
2137
4160
|
# @private
|
2138
4161
|
#
|
@@ -2367,6 +4390,71 @@ module Google
|
|
2367
4390
|
)
|
2368
4391
|
transcoder.transcode request_pb
|
2369
4392
|
end
|
4393
|
+
|
4394
|
+
##
|
4395
|
+
# @private
|
4396
|
+
#
|
4397
|
+
# GRPC transcoding helper method for the grant_dns_bind_permission REST call
|
4398
|
+
#
|
4399
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GrantDnsBindPermissionRequest]
|
4400
|
+
# A request object representing the call parameters. Required.
|
4401
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
4402
|
+
# Uri, Body, Query string parameters
|
4403
|
+
def self.transcode_grant_dns_bind_permission_request request_pb
|
4404
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
4405
|
+
.with_bindings(
|
4406
|
+
uri_method: :post,
|
4407
|
+
uri_template: "/v1/{name}:grant",
|
4408
|
+
body: "*",
|
4409
|
+
matches: [
|
4410
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/dnsBindPermission/?$}, false]
|
4411
|
+
]
|
4412
|
+
)
|
4413
|
+
transcoder.transcode request_pb
|
4414
|
+
end
|
4415
|
+
|
4416
|
+
##
|
4417
|
+
# @private
|
4418
|
+
#
|
4419
|
+
# GRPC transcoding helper method for the get_dns_bind_permission REST call
|
4420
|
+
#
|
4421
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetDnsBindPermissionRequest]
|
4422
|
+
# A request object representing the call parameters. Required.
|
4423
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
4424
|
+
# Uri, Body, Query string parameters
|
4425
|
+
def self.transcode_get_dns_bind_permission_request request_pb
|
4426
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
4427
|
+
.with_bindings(
|
4428
|
+
uri_method: :get,
|
4429
|
+
uri_template: "/v1/{name}",
|
4430
|
+
matches: [
|
4431
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/dnsBindPermission/?$}, false]
|
4432
|
+
]
|
4433
|
+
)
|
4434
|
+
transcoder.transcode request_pb
|
4435
|
+
end
|
4436
|
+
|
4437
|
+
##
|
4438
|
+
# @private
|
4439
|
+
#
|
4440
|
+
# GRPC transcoding helper method for the revoke_dns_bind_permission REST call
|
4441
|
+
#
|
4442
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::RevokeDnsBindPermissionRequest]
|
4443
|
+
# A request object representing the call parameters. Required.
|
4444
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
4445
|
+
# Uri, Body, Query string parameters
|
4446
|
+
def self.transcode_revoke_dns_bind_permission_request request_pb
|
4447
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
4448
|
+
.with_bindings(
|
4449
|
+
uri_method: :post,
|
4450
|
+
uri_template: "/v1/{name}:revoke",
|
4451
|
+
body: "*",
|
4452
|
+
matches: [
|
4453
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/dnsBindPermission/?$}, false]
|
4454
|
+
]
|
4455
|
+
)
|
4456
|
+
transcoder.transcode request_pb
|
4457
|
+
end
|
2370
4458
|
end
|
2371
4459
|
end
|
2372
4460
|
end
|