google-cloud-vmware_engine-v1 0.6.1 → 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 +5394 -1061
- 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 +5039 -956
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/rest/service_stub.rb +2373 -294
- 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
@@ -480,23 +480,23 @@ module Google
|
|
480
480
|
end
|
481
481
|
|
482
482
|
##
|
483
|
-
# Baseline implementation for the
|
483
|
+
# Baseline implementation for the list_nodes REST call
|
484
484
|
#
|
485
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
485
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListNodesRequest]
|
486
486
|
# A request object representing the call parameters. Required.
|
487
487
|
# @param options [::Gapic::CallOptions]
|
488
488
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
489
489
|
#
|
490
490
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
491
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
491
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListNodesResponse]
|
492
492
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
493
493
|
#
|
494
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
494
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListNodesResponse]
|
495
495
|
# A result object deserialized from the server's reply
|
496
|
-
def
|
496
|
+
def list_nodes request_pb, options = nil
|
497
497
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
498
498
|
|
499
|
-
verb, uri, query_string_params, body = ServiceStub.
|
499
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_nodes_request request_pb
|
500
500
|
query_string_params = if query_string_params.any?
|
501
501
|
query_string_params.to_h { |p| p.split "=", 2 }
|
502
502
|
else
|
@@ -511,30 +511,30 @@ module Google
|
|
511
511
|
options: options
|
512
512
|
)
|
513
513
|
operation = ::Gapic::Rest::TransportOperation.new response
|
514
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
514
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListNodesResponse.decode_json response.body, ignore_unknown_fields: true
|
515
515
|
|
516
516
|
yield result, operation if block_given?
|
517
517
|
result
|
518
518
|
end
|
519
519
|
|
520
520
|
##
|
521
|
-
# Baseline implementation for the
|
521
|
+
# Baseline implementation for the get_node REST call
|
522
522
|
#
|
523
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
523
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetNodeRequest]
|
524
524
|
# A request object representing the call parameters. Required.
|
525
525
|
# @param options [::Gapic::CallOptions]
|
526
526
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
527
527
|
#
|
528
528
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
529
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
529
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::Node]
|
530
530
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
531
531
|
#
|
532
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
532
|
+
# @return [::Google::Cloud::VmwareEngine::V1::Node]
|
533
533
|
# A result object deserialized from the server's reply
|
534
|
-
def
|
534
|
+
def get_node request_pb, options = nil
|
535
535
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
536
536
|
|
537
|
-
verb, uri, query_string_params, body = ServiceStub.
|
537
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_node_request request_pb
|
538
538
|
query_string_params = if query_string_params.any?
|
539
539
|
query_string_params.to_h { |p| p.split "=", 2 }
|
540
540
|
else
|
@@ -549,30 +549,30 @@ module Google
|
|
549
549
|
options: options
|
550
550
|
)
|
551
551
|
operation = ::Gapic::Rest::TransportOperation.new response
|
552
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
552
|
+
result = ::Google::Cloud::VmwareEngine::V1::Node.decode_json response.body, ignore_unknown_fields: true
|
553
553
|
|
554
554
|
yield result, operation if block_given?
|
555
555
|
result
|
556
556
|
end
|
557
557
|
|
558
558
|
##
|
559
|
-
# Baseline implementation for the
|
559
|
+
# Baseline implementation for the list_external_addresses REST call
|
560
560
|
#
|
561
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
561
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListExternalAddressesRequest]
|
562
562
|
# A request object representing the call parameters. Required.
|
563
563
|
# @param options [::Gapic::CallOptions]
|
564
564
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
565
565
|
#
|
566
566
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
567
|
-
# @yieldparam result [::Google::
|
567
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListExternalAddressesResponse]
|
568
568
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
569
569
|
#
|
570
|
-
# @return [::Google::
|
570
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListExternalAddressesResponse]
|
571
571
|
# A result object deserialized from the server's reply
|
572
|
-
def
|
572
|
+
def list_external_addresses request_pb, options = nil
|
573
573
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
574
574
|
|
575
|
-
verb, uri, query_string_params, body = ServiceStub.
|
575
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_external_addresses_request request_pb
|
576
576
|
query_string_params = if query_string_params.any?
|
577
577
|
query_string_params.to_h { |p| p.split "=", 2 }
|
578
578
|
else
|
@@ -587,30 +587,30 @@ module Google
|
|
587
587
|
options: options
|
588
588
|
)
|
589
589
|
operation = ::Gapic::Rest::TransportOperation.new response
|
590
|
-
result = ::Google::
|
590
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListExternalAddressesResponse.decode_json response.body, ignore_unknown_fields: true
|
591
591
|
|
592
592
|
yield result, operation if block_given?
|
593
593
|
result
|
594
594
|
end
|
595
595
|
|
596
596
|
##
|
597
|
-
# Baseline implementation for the
|
597
|
+
# Baseline implementation for the fetch_network_policy_external_addresses REST call
|
598
598
|
#
|
599
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
599
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::FetchNetworkPolicyExternalAddressesRequest]
|
600
600
|
# A request object representing the call parameters. Required.
|
601
601
|
# @param options [::Gapic::CallOptions]
|
602
602
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
603
603
|
#
|
604
604
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
605
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
605
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::FetchNetworkPolicyExternalAddressesResponse]
|
606
606
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
607
607
|
#
|
608
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
608
|
+
# @return [::Google::Cloud::VmwareEngine::V1::FetchNetworkPolicyExternalAddressesResponse]
|
609
609
|
# A result object deserialized from the server's reply
|
610
|
-
def
|
610
|
+
def fetch_network_policy_external_addresses request_pb, options = nil
|
611
611
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
612
612
|
|
613
|
-
verb, uri, query_string_params, body = ServiceStub.
|
613
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_fetch_network_policy_external_addresses_request request_pb
|
614
614
|
query_string_params = if query_string_params.any?
|
615
615
|
query_string_params.to_h { |p| p.split "=", 2 }
|
616
616
|
else
|
@@ -625,30 +625,30 @@ module Google
|
|
625
625
|
options: options
|
626
626
|
)
|
627
627
|
operation = ::Gapic::Rest::TransportOperation.new response
|
628
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
628
|
+
result = ::Google::Cloud::VmwareEngine::V1::FetchNetworkPolicyExternalAddressesResponse.decode_json response.body, ignore_unknown_fields: true
|
629
629
|
|
630
630
|
yield result, operation if block_given?
|
631
631
|
result
|
632
632
|
end
|
633
633
|
|
634
634
|
##
|
635
|
-
# Baseline implementation for the
|
635
|
+
# Baseline implementation for the get_external_address REST call
|
636
636
|
#
|
637
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
637
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetExternalAddressRequest]
|
638
638
|
# A request object representing the call parameters. Required.
|
639
639
|
# @param options [::Gapic::CallOptions]
|
640
640
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
641
641
|
#
|
642
642
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
643
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
643
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ExternalAddress]
|
644
644
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
645
645
|
#
|
646
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
646
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ExternalAddress]
|
647
647
|
# A result object deserialized from the server's reply
|
648
|
-
def
|
648
|
+
def get_external_address request_pb, options = nil
|
649
649
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
650
650
|
|
651
|
-
verb, uri, query_string_params, body = ServiceStub.
|
651
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_external_address_request request_pb
|
652
652
|
query_string_params = if query_string_params.any?
|
653
653
|
query_string_params.to_h { |p| p.split "=", 2 }
|
654
654
|
else
|
@@ -663,30 +663,30 @@ module Google
|
|
663
663
|
options: options
|
664
664
|
)
|
665
665
|
operation = ::Gapic::Rest::TransportOperation.new response
|
666
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
666
|
+
result = ::Google::Cloud::VmwareEngine::V1::ExternalAddress.decode_json response.body, ignore_unknown_fields: true
|
667
667
|
|
668
668
|
yield result, operation if block_given?
|
669
669
|
result
|
670
670
|
end
|
671
671
|
|
672
672
|
##
|
673
|
-
# Baseline implementation for the
|
673
|
+
# Baseline implementation for the create_external_address REST call
|
674
674
|
#
|
675
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
675
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreateExternalAddressRequest]
|
676
676
|
# A request object representing the call parameters. Required.
|
677
677
|
# @param options [::Gapic::CallOptions]
|
678
678
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
679
679
|
#
|
680
680
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
681
|
-
# @yieldparam result [::Google::
|
681
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
682
682
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
683
683
|
#
|
684
|
-
# @return [::Google::
|
684
|
+
# @return [::Google::Longrunning::Operation]
|
685
685
|
# A result object deserialized from the server's reply
|
686
|
-
def
|
686
|
+
def create_external_address request_pb, options = nil
|
687
687
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
688
688
|
|
689
|
-
verb, uri, query_string_params, body = ServiceStub.
|
689
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_external_address_request request_pb
|
690
690
|
query_string_params = if query_string_params.any?
|
691
691
|
query_string_params.to_h { |p| p.split "=", 2 }
|
692
692
|
else
|
@@ -701,30 +701,30 @@ module Google
|
|
701
701
|
options: options
|
702
702
|
)
|
703
703
|
operation = ::Gapic::Rest::TransportOperation.new response
|
704
|
-
result = ::Google::
|
704
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
705
705
|
|
706
706
|
yield result, operation if block_given?
|
707
707
|
result
|
708
708
|
end
|
709
709
|
|
710
710
|
##
|
711
|
-
# Baseline implementation for the
|
711
|
+
# Baseline implementation for the update_external_address REST call
|
712
712
|
#
|
713
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
713
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateExternalAddressRequest]
|
714
714
|
# A request object representing the call parameters. Required.
|
715
715
|
# @param options [::Gapic::CallOptions]
|
716
716
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
717
717
|
#
|
718
718
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
719
|
-
# @yieldparam result [::Google::
|
719
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
720
720
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
721
721
|
#
|
722
|
-
# @return [::Google::
|
722
|
+
# @return [::Google::Longrunning::Operation]
|
723
723
|
# A result object deserialized from the server's reply
|
724
|
-
def
|
724
|
+
def update_external_address request_pb, options = nil
|
725
725
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
726
726
|
|
727
|
-
verb, uri, query_string_params, body = ServiceStub.
|
727
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_external_address_request request_pb
|
728
728
|
query_string_params = if query_string_params.any?
|
729
729
|
query_string_params.to_h { |p| p.split "=", 2 }
|
730
730
|
else
|
@@ -739,16 +739,16 @@ module Google
|
|
739
739
|
options: options
|
740
740
|
)
|
741
741
|
operation = ::Gapic::Rest::TransportOperation.new response
|
742
|
-
result = ::Google::
|
742
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
743
743
|
|
744
744
|
yield result, operation if block_given?
|
745
745
|
result
|
746
746
|
end
|
747
747
|
|
748
748
|
##
|
749
|
-
# Baseline implementation for the
|
749
|
+
# Baseline implementation for the delete_external_address REST call
|
750
750
|
#
|
751
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
751
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeleteExternalAddressRequest]
|
752
752
|
# A request object representing the call parameters. Required.
|
753
753
|
# @param options [::Gapic::CallOptions]
|
754
754
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
@@ -759,10 +759,10 @@ module Google
|
|
759
759
|
#
|
760
760
|
# @return [::Google::Longrunning::Operation]
|
761
761
|
# A result object deserialized from the server's reply
|
762
|
-
def
|
762
|
+
def delete_external_address request_pb, options = nil
|
763
763
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
764
764
|
|
765
|
-
verb, uri, query_string_params, body = ServiceStub.
|
765
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_external_address_request request_pb
|
766
766
|
query_string_params = if query_string_params.any?
|
767
767
|
query_string_params.to_h { |p| p.split "=", 2 }
|
768
768
|
else
|
@@ -784,23 +784,23 @@ module Google
|
|
784
784
|
end
|
785
785
|
|
786
786
|
##
|
787
|
-
# Baseline implementation for the
|
787
|
+
# Baseline implementation for the list_subnets REST call
|
788
788
|
#
|
789
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
789
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListSubnetsRequest]
|
790
790
|
# A request object representing the call parameters. Required.
|
791
791
|
# @param options [::Gapic::CallOptions]
|
792
792
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
793
793
|
#
|
794
794
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
795
|
-
# @yieldparam result [::Google::
|
795
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListSubnetsResponse]
|
796
796
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
797
797
|
#
|
798
|
-
# @return [::Google::
|
798
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListSubnetsResponse]
|
799
799
|
# A result object deserialized from the server's reply
|
800
|
-
def
|
800
|
+
def list_subnets request_pb, options = nil
|
801
801
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
802
802
|
|
803
|
-
verb, uri, query_string_params, body = ServiceStub.
|
803
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_subnets_request request_pb
|
804
804
|
query_string_params = if query_string_params.any?
|
805
805
|
query_string_params.to_h { |p| p.split "=", 2 }
|
806
806
|
else
|
@@ -815,30 +815,30 @@ module Google
|
|
815
815
|
options: options
|
816
816
|
)
|
817
817
|
operation = ::Gapic::Rest::TransportOperation.new response
|
818
|
-
result = ::Google::
|
818
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListSubnetsResponse.decode_json response.body, ignore_unknown_fields: true
|
819
819
|
|
820
820
|
yield result, operation if block_given?
|
821
821
|
result
|
822
822
|
end
|
823
823
|
|
824
824
|
##
|
825
|
-
# Baseline implementation for the
|
825
|
+
# Baseline implementation for the get_subnet REST call
|
826
826
|
#
|
827
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
827
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetSubnetRequest]
|
828
828
|
# A request object representing the call parameters. Required.
|
829
829
|
# @param options [::Gapic::CallOptions]
|
830
830
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
831
831
|
#
|
832
832
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
833
|
-
# @yieldparam result [::Google::
|
833
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::Subnet]
|
834
834
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
835
835
|
#
|
836
|
-
# @return [::Google::
|
836
|
+
# @return [::Google::Cloud::VmwareEngine::V1::Subnet]
|
837
837
|
# A result object deserialized from the server's reply
|
838
|
-
def
|
838
|
+
def get_subnet request_pb, options = nil
|
839
839
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
840
840
|
|
841
|
-
verb, uri, query_string_params, body = ServiceStub.
|
841
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_subnet_request request_pb
|
842
842
|
query_string_params = if query_string_params.any?
|
843
843
|
query_string_params.to_h { |p| p.split "=", 2 }
|
844
844
|
else
|
@@ -853,30 +853,30 @@ module Google
|
|
853
853
|
options: options
|
854
854
|
)
|
855
855
|
operation = ::Gapic::Rest::TransportOperation.new response
|
856
|
-
result = ::Google::
|
856
|
+
result = ::Google::Cloud::VmwareEngine::V1::Subnet.decode_json response.body, ignore_unknown_fields: true
|
857
857
|
|
858
858
|
yield result, operation if block_given?
|
859
859
|
result
|
860
860
|
end
|
861
861
|
|
862
862
|
##
|
863
|
-
# Baseline implementation for the
|
863
|
+
# Baseline implementation for the update_subnet REST call
|
864
864
|
#
|
865
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
865
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateSubnetRequest]
|
866
866
|
# A request object representing the call parameters. Required.
|
867
867
|
# @param options [::Gapic::CallOptions]
|
868
868
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
869
869
|
#
|
870
870
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
871
|
-
# @yieldparam result [::Google::
|
871
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
872
872
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
873
873
|
#
|
874
|
-
# @return [::Google::
|
874
|
+
# @return [::Google::Longrunning::Operation]
|
875
875
|
# A result object deserialized from the server's reply
|
876
|
-
def
|
876
|
+
def update_subnet request_pb, options = nil
|
877
877
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
878
878
|
|
879
|
-
verb, uri, query_string_params, body = ServiceStub.
|
879
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_subnet_request request_pb
|
880
880
|
query_string_params = if query_string_params.any?
|
881
881
|
query_string_params.to_h { |p| p.split "=", 2 }
|
882
882
|
else
|
@@ -891,30 +891,30 @@ module Google
|
|
891
891
|
options: options
|
892
892
|
)
|
893
893
|
operation = ::Gapic::Rest::TransportOperation.new response
|
894
|
-
result = ::Google::
|
894
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
895
895
|
|
896
896
|
yield result, operation if block_given?
|
897
897
|
result
|
898
898
|
end
|
899
899
|
|
900
900
|
##
|
901
|
-
# Baseline implementation for the
|
901
|
+
# Baseline implementation for the list_external_access_rules REST call
|
902
902
|
#
|
903
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
903
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListExternalAccessRulesRequest]
|
904
904
|
# A request object representing the call parameters. Required.
|
905
905
|
# @param options [::Gapic::CallOptions]
|
906
906
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
907
907
|
#
|
908
908
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
909
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
909
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListExternalAccessRulesResponse]
|
910
910
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
911
911
|
#
|
912
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
912
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListExternalAccessRulesResponse]
|
913
913
|
# A result object deserialized from the server's reply
|
914
|
-
def
|
914
|
+
def list_external_access_rules request_pb, options = nil
|
915
915
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
916
916
|
|
917
|
-
verb, uri, query_string_params, body = ServiceStub.
|
917
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_external_access_rules_request request_pb
|
918
918
|
query_string_params = if query_string_params.any?
|
919
919
|
query_string_params.to_h { |p| p.split "=", 2 }
|
920
920
|
else
|
@@ -929,30 +929,30 @@ module Google
|
|
929
929
|
options: options
|
930
930
|
)
|
931
931
|
operation = ::Gapic::Rest::TransportOperation.new response
|
932
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
932
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListExternalAccessRulesResponse.decode_json response.body, ignore_unknown_fields: true
|
933
933
|
|
934
934
|
yield result, operation if block_given?
|
935
935
|
result
|
936
936
|
end
|
937
937
|
|
938
938
|
##
|
939
|
-
# Baseline implementation for the
|
939
|
+
# Baseline implementation for the get_external_access_rule REST call
|
940
940
|
#
|
941
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
941
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetExternalAccessRuleRequest]
|
942
942
|
# A request object representing the call parameters. Required.
|
943
943
|
# @param options [::Gapic::CallOptions]
|
944
944
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
945
945
|
#
|
946
946
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
947
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
947
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ExternalAccessRule]
|
948
948
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
949
949
|
#
|
950
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
950
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ExternalAccessRule]
|
951
951
|
# A result object deserialized from the server's reply
|
952
|
-
def
|
952
|
+
def get_external_access_rule request_pb, options = nil
|
953
953
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
954
954
|
|
955
|
-
verb, uri, query_string_params, body = ServiceStub.
|
955
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_external_access_rule_request request_pb
|
956
956
|
query_string_params = if query_string_params.any?
|
957
957
|
query_string_params.to_h { |p| p.split "=", 2 }
|
958
958
|
else
|
@@ -967,30 +967,30 @@ module Google
|
|
967
967
|
options: options
|
968
968
|
)
|
969
969
|
operation = ::Gapic::Rest::TransportOperation.new response
|
970
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
970
|
+
result = ::Google::Cloud::VmwareEngine::V1::ExternalAccessRule.decode_json response.body, ignore_unknown_fields: true
|
971
971
|
|
972
972
|
yield result, operation if block_given?
|
973
973
|
result
|
974
974
|
end
|
975
975
|
|
976
976
|
##
|
977
|
-
# Baseline implementation for the
|
977
|
+
# Baseline implementation for the create_external_access_rule REST call
|
978
978
|
#
|
979
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
979
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreateExternalAccessRuleRequest]
|
980
980
|
# A request object representing the call parameters. Required.
|
981
981
|
# @param options [::Gapic::CallOptions]
|
982
982
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
983
983
|
#
|
984
984
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
985
|
-
# @yieldparam result [::Google::
|
985
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
986
986
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
987
987
|
#
|
988
|
-
# @return [::Google::
|
988
|
+
# @return [::Google::Longrunning::Operation]
|
989
989
|
# A result object deserialized from the server's reply
|
990
|
-
def
|
990
|
+
def create_external_access_rule request_pb, options = nil
|
991
991
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
992
992
|
|
993
|
-
verb, uri, query_string_params, body = ServiceStub.
|
993
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_external_access_rule_request request_pb
|
994
994
|
query_string_params = if query_string_params.any?
|
995
995
|
query_string_params.to_h { |p| p.split "=", 2 }
|
996
996
|
else
|
@@ -1005,16 +1005,16 @@ module Google
|
|
1005
1005
|
options: options
|
1006
1006
|
)
|
1007
1007
|
operation = ::Gapic::Rest::TransportOperation.new response
|
1008
|
-
result = ::Google::
|
1008
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
1009
1009
|
|
1010
1010
|
yield result, operation if block_given?
|
1011
1011
|
result
|
1012
1012
|
end
|
1013
1013
|
|
1014
1014
|
##
|
1015
|
-
# Baseline implementation for the
|
1015
|
+
# Baseline implementation for the update_external_access_rule REST call
|
1016
1016
|
#
|
1017
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1017
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateExternalAccessRuleRequest]
|
1018
1018
|
# A request object representing the call parameters. Required.
|
1019
1019
|
# @param options [::Gapic::CallOptions]
|
1020
1020
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
@@ -1025,10 +1025,10 @@ module Google
|
|
1025
1025
|
#
|
1026
1026
|
# @return [::Google::Longrunning::Operation]
|
1027
1027
|
# A result object deserialized from the server's reply
|
1028
|
-
def
|
1028
|
+
def update_external_access_rule request_pb, options = nil
|
1029
1029
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1030
1030
|
|
1031
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1031
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_external_access_rule_request request_pb
|
1032
1032
|
query_string_params = if query_string_params.any?
|
1033
1033
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1034
1034
|
else
|
@@ -1050,9 +1050,9 @@ module Google
|
|
1050
1050
|
end
|
1051
1051
|
|
1052
1052
|
##
|
1053
|
-
# Baseline implementation for the
|
1053
|
+
# Baseline implementation for the delete_external_access_rule REST call
|
1054
1054
|
#
|
1055
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1055
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeleteExternalAccessRuleRequest]
|
1056
1056
|
# A request object representing the call parameters. Required.
|
1057
1057
|
# @param options [::Gapic::CallOptions]
|
1058
1058
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
@@ -1063,10 +1063,10 @@ module Google
|
|
1063
1063
|
#
|
1064
1064
|
# @return [::Google::Longrunning::Operation]
|
1065
1065
|
# A result object deserialized from the server's reply
|
1066
|
-
def
|
1066
|
+
def delete_external_access_rule request_pb, options = nil
|
1067
1067
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1068
1068
|
|
1069
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1069
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_external_access_rule_request request_pb
|
1070
1070
|
query_string_params = if query_string_params.any?
|
1071
1071
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1072
1072
|
else
|
@@ -1088,23 +1088,23 @@ module Google
|
|
1088
1088
|
end
|
1089
1089
|
|
1090
1090
|
##
|
1091
|
-
# Baseline implementation for the
|
1091
|
+
# Baseline implementation for the list_logging_servers REST call
|
1092
1092
|
#
|
1093
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1093
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListLoggingServersRequest]
|
1094
1094
|
# A request object representing the call parameters. Required.
|
1095
1095
|
# @param options [::Gapic::CallOptions]
|
1096
1096
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1097
1097
|
#
|
1098
1098
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1099
|
-
# @yieldparam result [::Google::
|
1099
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListLoggingServersResponse]
|
1100
1100
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1101
1101
|
#
|
1102
|
-
# @return [::Google::
|
1102
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListLoggingServersResponse]
|
1103
1103
|
# A result object deserialized from the server's reply
|
1104
|
-
def
|
1104
|
+
def list_logging_servers request_pb, options = nil
|
1105
1105
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1106
1106
|
|
1107
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1107
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_logging_servers_request request_pb
|
1108
1108
|
query_string_params = if query_string_params.any?
|
1109
1109
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1110
1110
|
else
|
@@ -1119,30 +1119,30 @@ module Google
|
|
1119
1119
|
options: options
|
1120
1120
|
)
|
1121
1121
|
operation = ::Gapic::Rest::TransportOperation.new response
|
1122
|
-
result = ::Google::
|
1122
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListLoggingServersResponse.decode_json response.body, ignore_unknown_fields: true
|
1123
1123
|
|
1124
1124
|
yield result, operation if block_given?
|
1125
1125
|
result
|
1126
1126
|
end
|
1127
1127
|
|
1128
1128
|
##
|
1129
|
-
# Baseline implementation for the
|
1129
|
+
# Baseline implementation for the get_logging_server REST call
|
1130
1130
|
#
|
1131
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1131
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetLoggingServerRequest]
|
1132
1132
|
# A request object representing the call parameters. Required.
|
1133
1133
|
# @param options [::Gapic::CallOptions]
|
1134
1134
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1135
1135
|
#
|
1136
1136
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1137
|
-
# @yieldparam result [::Google::
|
1137
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::LoggingServer]
|
1138
1138
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1139
1139
|
#
|
1140
|
-
# @return [::Google::
|
1140
|
+
# @return [::Google::Cloud::VmwareEngine::V1::LoggingServer]
|
1141
1141
|
# A result object deserialized from the server's reply
|
1142
|
-
def
|
1142
|
+
def get_logging_server request_pb, options = nil
|
1143
1143
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1144
1144
|
|
1145
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1145
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_logging_server_request request_pb
|
1146
1146
|
query_string_params = if query_string_params.any?
|
1147
1147
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1148
1148
|
else
|
@@ -1157,16 +1157,16 @@ module Google
|
|
1157
1157
|
options: options
|
1158
1158
|
)
|
1159
1159
|
operation = ::Gapic::Rest::TransportOperation.new response
|
1160
|
-
result = ::Google::
|
1160
|
+
result = ::Google::Cloud::VmwareEngine::V1::LoggingServer.decode_json response.body, ignore_unknown_fields: true
|
1161
1161
|
|
1162
1162
|
yield result, operation if block_given?
|
1163
1163
|
result
|
1164
1164
|
end
|
1165
1165
|
|
1166
1166
|
##
|
1167
|
-
# Baseline implementation for the
|
1167
|
+
# Baseline implementation for the create_logging_server REST call
|
1168
1168
|
#
|
1169
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1169
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreateLoggingServerRequest]
|
1170
1170
|
# A request object representing the call parameters. Required.
|
1171
1171
|
# @param options [::Gapic::CallOptions]
|
1172
1172
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
@@ -1177,10 +1177,10 @@ module Google
|
|
1177
1177
|
#
|
1178
1178
|
# @return [::Google::Longrunning::Operation]
|
1179
1179
|
# A result object deserialized from the server's reply
|
1180
|
-
def
|
1180
|
+
def create_logging_server request_pb, options = nil
|
1181
1181
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1182
1182
|
|
1183
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1183
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_logging_server_request request_pb
|
1184
1184
|
query_string_params = if query_string_params.any?
|
1185
1185
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1186
1186
|
else
|
@@ -1202,9 +1202,9 @@ module Google
|
|
1202
1202
|
end
|
1203
1203
|
|
1204
1204
|
##
|
1205
|
-
# Baseline implementation for the
|
1205
|
+
# Baseline implementation for the update_logging_server REST call
|
1206
1206
|
#
|
1207
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1207
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateLoggingServerRequest]
|
1208
1208
|
# A request object representing the call parameters. Required.
|
1209
1209
|
# @param options [::Gapic::CallOptions]
|
1210
1210
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
@@ -1215,10 +1215,10 @@ module Google
|
|
1215
1215
|
#
|
1216
1216
|
# @return [::Google::Longrunning::Operation]
|
1217
1217
|
# A result object deserialized from the server's reply
|
1218
|
-
def
|
1218
|
+
def update_logging_server request_pb, options = nil
|
1219
1219
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1220
1220
|
|
1221
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1221
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_logging_server_request request_pb
|
1222
1222
|
query_string_params = if query_string_params.any?
|
1223
1223
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1224
1224
|
else
|
@@ -1240,23 +1240,23 @@ module Google
|
|
1240
1240
|
end
|
1241
1241
|
|
1242
1242
|
##
|
1243
|
-
# Baseline implementation for the
|
1243
|
+
# Baseline implementation for the delete_logging_server REST call
|
1244
1244
|
#
|
1245
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1245
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeleteLoggingServerRequest]
|
1246
1246
|
# A request object representing the call parameters. Required.
|
1247
1247
|
# @param options [::Gapic::CallOptions]
|
1248
1248
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1249
1249
|
#
|
1250
1250
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1251
|
-
# @yieldparam result [::Google::
|
1251
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
1252
1252
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1253
1253
|
#
|
1254
|
-
# @return [::Google::
|
1254
|
+
# @return [::Google::Longrunning::Operation]
|
1255
1255
|
# A result object deserialized from the server's reply
|
1256
|
-
def
|
1256
|
+
def delete_logging_server request_pb, options = nil
|
1257
1257
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1258
1258
|
|
1259
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1259
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_logging_server_request request_pb
|
1260
1260
|
query_string_params = if query_string_params.any?
|
1261
1261
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1262
1262
|
else
|
@@ -1271,30 +1271,30 @@ module Google
|
|
1271
1271
|
options: options
|
1272
1272
|
)
|
1273
1273
|
operation = ::Gapic::Rest::TransportOperation.new response
|
1274
|
-
result = ::Google::
|
1274
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
1275
1275
|
|
1276
1276
|
yield result, operation if block_given?
|
1277
1277
|
result
|
1278
1278
|
end
|
1279
1279
|
|
1280
1280
|
##
|
1281
|
-
# Baseline implementation for the
|
1281
|
+
# Baseline implementation for the list_node_types REST call
|
1282
1282
|
#
|
1283
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1283
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListNodeTypesRequest]
|
1284
1284
|
# A request object representing the call parameters. Required.
|
1285
1285
|
# @param options [::Gapic::CallOptions]
|
1286
1286
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1287
1287
|
#
|
1288
1288
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1289
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
1289
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::ListNodeTypesResponse]
|
1290
1290
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1291
1291
|
#
|
1292
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
1292
|
+
# @return [::Google::Cloud::VmwareEngine::V1::ListNodeTypesResponse]
|
1293
1293
|
# A result object deserialized from the server's reply
|
1294
|
-
def
|
1294
|
+
def list_node_types request_pb, options = nil
|
1295
1295
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1296
1296
|
|
1297
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1297
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_node_types_request request_pb
|
1298
1298
|
query_string_params = if query_string_params.any?
|
1299
1299
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1300
1300
|
else
|
@@ -1309,30 +1309,30 @@ module Google
|
|
1309
1309
|
options: options
|
1310
1310
|
)
|
1311
1311
|
operation = ::Gapic::Rest::TransportOperation.new response
|
1312
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
1312
|
+
result = ::Google::Cloud::VmwareEngine::V1::ListNodeTypesResponse.decode_json response.body, ignore_unknown_fields: true
|
1313
1313
|
|
1314
1314
|
yield result, operation if block_given?
|
1315
1315
|
result
|
1316
1316
|
end
|
1317
1317
|
|
1318
1318
|
##
|
1319
|
-
# Baseline implementation for the
|
1319
|
+
# Baseline implementation for the get_node_type REST call
|
1320
1320
|
#
|
1321
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1321
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetNodeTypeRequest]
|
1322
1322
|
# A request object representing the call parameters. Required.
|
1323
1323
|
# @param options [::Gapic::CallOptions]
|
1324
1324
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1325
1325
|
#
|
1326
1326
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1327
|
-
# @yieldparam result [::Google::
|
1327
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::NodeType]
|
1328
1328
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1329
1329
|
#
|
1330
|
-
# @return [::Google::
|
1330
|
+
# @return [::Google::Cloud::VmwareEngine::V1::NodeType]
|
1331
1331
|
# A result object deserialized from the server's reply
|
1332
|
-
def
|
1332
|
+
def get_node_type request_pb, options = nil
|
1333
1333
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1334
1334
|
|
1335
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1335
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_node_type_request request_pb
|
1336
1336
|
query_string_params = if query_string_params.any?
|
1337
1337
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1338
1338
|
else
|
@@ -1347,30 +1347,30 @@ module Google
|
|
1347
1347
|
options: options
|
1348
1348
|
)
|
1349
1349
|
operation = ::Gapic::Rest::TransportOperation.new response
|
1350
|
-
result = ::Google::
|
1350
|
+
result = ::Google::Cloud::VmwareEngine::V1::NodeType.decode_json response.body, ignore_unknown_fields: true
|
1351
1351
|
|
1352
1352
|
yield result, operation if block_given?
|
1353
1353
|
result
|
1354
1354
|
end
|
1355
1355
|
|
1356
1356
|
##
|
1357
|
-
# Baseline implementation for the
|
1357
|
+
# Baseline implementation for the show_nsx_credentials REST call
|
1358
1358
|
#
|
1359
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1359
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ShowNsxCredentialsRequest]
|
1360
1360
|
# A request object representing the call parameters. Required.
|
1361
1361
|
# @param options [::Gapic::CallOptions]
|
1362
1362
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1363
1363
|
#
|
1364
1364
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1365
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
1365
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::Credentials]
|
1366
1366
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1367
1367
|
#
|
1368
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
1368
|
+
# @return [::Google::Cloud::VmwareEngine::V1::Credentials]
|
1369
1369
|
# A result object deserialized from the server's reply
|
1370
|
-
def
|
1370
|
+
def show_nsx_credentials request_pb, options = nil
|
1371
1371
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1372
1372
|
|
1373
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1373
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_show_nsx_credentials_request request_pb
|
1374
1374
|
query_string_params = if query_string_params.any?
|
1375
1375
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1376
1376
|
else
|
@@ -1385,30 +1385,30 @@ module Google
|
|
1385
1385
|
options: options
|
1386
1386
|
)
|
1387
1387
|
operation = ::Gapic::Rest::TransportOperation.new response
|
1388
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
1388
|
+
result = ::Google::Cloud::VmwareEngine::V1::Credentials.decode_json response.body, ignore_unknown_fields: true
|
1389
1389
|
|
1390
1390
|
yield result, operation if block_given?
|
1391
1391
|
result
|
1392
1392
|
end
|
1393
1393
|
|
1394
1394
|
##
|
1395
|
-
# Baseline implementation for the
|
1395
|
+
# Baseline implementation for the show_vcenter_credentials REST call
|
1396
1396
|
#
|
1397
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1397
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ShowVcenterCredentialsRequest]
|
1398
1398
|
# A request object representing the call parameters. Required.
|
1399
1399
|
# @param options [::Gapic::CallOptions]
|
1400
1400
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1401
1401
|
#
|
1402
1402
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1403
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
1403
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::Credentials]
|
1404
1404
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1405
1405
|
#
|
1406
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
1406
|
+
# @return [::Google::Cloud::VmwareEngine::V1::Credentials]
|
1407
1407
|
# A result object deserialized from the server's reply
|
1408
|
-
def
|
1408
|
+
def show_vcenter_credentials request_pb, options = nil
|
1409
1409
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1410
1410
|
|
1411
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1411
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_show_vcenter_credentials_request request_pb
|
1412
1412
|
query_string_params = if query_string_params.any?
|
1413
1413
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1414
1414
|
else
|
@@ -1423,16 +1423,16 @@ module Google
|
|
1423
1423
|
options: options
|
1424
1424
|
)
|
1425
1425
|
operation = ::Gapic::Rest::TransportOperation.new response
|
1426
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
1426
|
+
result = ::Google::Cloud::VmwareEngine::V1::Credentials.decode_json response.body, ignore_unknown_fields: true
|
1427
1427
|
|
1428
1428
|
yield result, operation if block_given?
|
1429
1429
|
result
|
1430
1430
|
end
|
1431
1431
|
|
1432
1432
|
##
|
1433
|
-
# Baseline implementation for the
|
1433
|
+
# Baseline implementation for the reset_nsx_credentials REST call
|
1434
1434
|
#
|
1435
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1435
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ResetNsxCredentialsRequest]
|
1436
1436
|
# A request object representing the call parameters. Required.
|
1437
1437
|
# @param options [::Gapic::CallOptions]
|
1438
1438
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
@@ -1443,10 +1443,10 @@ module Google
|
|
1443
1443
|
#
|
1444
1444
|
# @return [::Google::Longrunning::Operation]
|
1445
1445
|
# A result object deserialized from the server's reply
|
1446
|
-
def
|
1446
|
+
def reset_nsx_credentials request_pb, options = nil
|
1447
1447
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1448
1448
|
|
1449
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1449
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_reset_nsx_credentials_request request_pb
|
1450
1450
|
query_string_params = if query_string_params.any?
|
1451
1451
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1452
1452
|
else
|
@@ -1468,9 +1468,9 @@ module Google
|
|
1468
1468
|
end
|
1469
1469
|
|
1470
1470
|
##
|
1471
|
-
# Baseline implementation for the
|
1471
|
+
# Baseline implementation for the reset_vcenter_credentials REST call
|
1472
1472
|
#
|
1473
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1473
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ResetVcenterCredentialsRequest]
|
1474
1474
|
# A request object representing the call parameters. Required.
|
1475
1475
|
# @param options [::Gapic::CallOptions]
|
1476
1476
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
@@ -1481,10 +1481,10 @@ module Google
|
|
1481
1481
|
#
|
1482
1482
|
# @return [::Google::Longrunning::Operation]
|
1483
1483
|
# A result object deserialized from the server's reply
|
1484
|
-
def
|
1484
|
+
def reset_vcenter_credentials request_pb, options = nil
|
1485
1485
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1486
1486
|
|
1487
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1487
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_reset_vcenter_credentials_request request_pb
|
1488
1488
|
query_string_params = if query_string_params.any?
|
1489
1489
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1490
1490
|
else
|
@@ -1506,23 +1506,23 @@ module Google
|
|
1506
1506
|
end
|
1507
1507
|
|
1508
1508
|
##
|
1509
|
-
# Baseline implementation for the
|
1509
|
+
# Baseline implementation for the get_dns_forwarding REST call
|
1510
1510
|
#
|
1511
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1511
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetDnsForwardingRequest]
|
1512
1512
|
# A request object representing the call parameters. Required.
|
1513
1513
|
# @param options [::Gapic::CallOptions]
|
1514
1514
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1515
1515
|
#
|
1516
1516
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1517
|
-
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::
|
1517
|
+
# @yieldparam result [::Google::Cloud::VmwareEngine::V1::DnsForwarding]
|
1518
1518
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1519
1519
|
#
|
1520
|
-
# @return [::Google::Cloud::VmwareEngine::V1::
|
1520
|
+
# @return [::Google::Cloud::VmwareEngine::V1::DnsForwarding]
|
1521
1521
|
# A result object deserialized from the server's reply
|
1522
|
-
def
|
1522
|
+
def get_dns_forwarding request_pb, options = nil
|
1523
1523
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1524
1524
|
|
1525
|
-
verb, uri, query_string_params, body = ServiceStub.
|
1525
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_dns_forwarding_request request_pb
|
1526
1526
|
query_string_params = if query_string_params.any?
|
1527
1527
|
query_string_params.to_h { |p| p.split "=", 2 }
|
1528
1528
|
else
|
@@ -1537,27 +1537,1400 @@ module Google
|
|
1537
1537
|
options: options
|
1538
1538
|
)
|
1539
1539
|
operation = ::Gapic::Rest::TransportOperation.new response
|
1540
|
-
result = ::Google::Cloud::VmwareEngine::V1::
|
1540
|
+
result = ::Google::Cloud::VmwareEngine::V1::DnsForwarding.decode_json response.body, ignore_unknown_fields: true
|
1541
1541
|
|
1542
1542
|
yield result, operation if block_given?
|
1543
1543
|
result
|
1544
1544
|
end
|
1545
1545
|
|
1546
1546
|
##
|
1547
|
-
#
|
1548
|
-
#
|
1549
|
-
# GRPC transcoding helper method for the list_private_clouds REST call
|
1547
|
+
# Baseline implementation for the update_dns_forwarding REST call
|
1550
1548
|
#
|
1551
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
1549
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateDnsForwardingRequest]
|
1552
1550
|
# A request object representing the call parameters. Required.
|
1553
|
-
# @
|
1554
|
-
#
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1558
|
-
|
1559
|
-
|
1560
|
-
|
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
|
2885
|
+
def self.transcode_list_private_clouds_request request_pb
|
2886
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
2887
|
+
.with_bindings(
|
2888
|
+
uri_method: :get,
|
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: [
|
1561
2934
|
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
1562
2935
|
]
|
1563
2936
|
)
|
@@ -1567,19 +2940,382 @@ module Google
|
|
1567
2940
|
##
|
1568
2941
|
# @private
|
1569
2942
|
#
|
1570
|
-
# GRPC transcoding helper method for the
|
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}",
|
3210
|
+
matches: [
|
3211
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/externalAddresses/[^/]+/?$}, false]
|
3212
|
+
]
|
3213
|
+
)
|
3214
|
+
transcoder.transcode request_pb
|
3215
|
+
end
|
3216
|
+
|
3217
|
+
##
|
3218
|
+
# @private
|
3219
|
+
#
|
3220
|
+
# GRPC transcoding helper method for the create_external_address REST call
|
1571
3221
|
#
|
1572
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3222
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreateExternalAddressRequest]
|
1573
3223
|
# A request object representing the call parameters. Required.
|
1574
3224
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1575
3225
|
# Uri, Body, Query string parameters
|
1576
|
-
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
|
1577
3313
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1578
3314
|
.with_bindings(
|
1579
3315
|
uri_method: :get,
|
1580
3316
|
uri_template: "/v1/{name}",
|
1581
3317
|
matches: [
|
1582
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
3318
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/subnets/[^/]+/?$}, false]
|
1583
3319
|
]
|
1584
3320
|
)
|
1585
3321
|
transcoder.transcode request_pb
|
@@ -1588,20 +3324,84 @@ module Google
|
|
1588
3324
|
##
|
1589
3325
|
# @private
|
1590
3326
|
#
|
1591
|
-
# GRPC transcoding helper method for the
|
3327
|
+
# GRPC transcoding helper method for the update_subnet REST call
|
1592
3328
|
#
|
1593
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3329
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateSubnetRequest]
|
1594
3330
|
# A request object representing the call parameters. Required.
|
1595
3331
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1596
3332
|
# Uri, Body, Query string parameters
|
1597
|
-
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
|
1598
3398
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1599
3399
|
.with_bindings(
|
1600
3400
|
uri_method: :post,
|
1601
|
-
uri_template: "/v1/{parent}/
|
1602
|
-
body: "
|
3401
|
+
uri_template: "/v1/{parent}/externalAccessRules",
|
3402
|
+
body: "external_access_rule",
|
1603
3403
|
matches: [
|
1604
|
-
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
3404
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/networkPolicies/[^/]+/?$}, false]
|
1605
3405
|
]
|
1606
3406
|
)
|
1607
3407
|
transcoder.transcode request_pb
|
@@ -1610,20 +3410,20 @@ module Google
|
|
1610
3410
|
##
|
1611
3411
|
# @private
|
1612
3412
|
#
|
1613
|
-
# GRPC transcoding helper method for the
|
3413
|
+
# GRPC transcoding helper method for the update_external_access_rule REST call
|
1614
3414
|
#
|
1615
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3415
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateExternalAccessRuleRequest]
|
1616
3416
|
# A request object representing the call parameters. Required.
|
1617
3417
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1618
3418
|
# Uri, Body, Query string parameters
|
1619
|
-
def self.
|
3419
|
+
def self.transcode_update_external_access_rule_request request_pb
|
1620
3420
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1621
3421
|
.with_bindings(
|
1622
3422
|
uri_method: :patch,
|
1623
|
-
uri_template: "/v1/{
|
1624
|
-
body: "
|
3423
|
+
uri_template: "/v1/{external_access_rule.name}",
|
3424
|
+
body: "external_access_rule",
|
1625
3425
|
matches: [
|
1626
|
-
["
|
3426
|
+
["external_access_rule.name", %r{^projects/[^/]+/locations/[^/]+/networkPolicies/[^/]+/externalAccessRules/[^/]+/?$}, false]
|
1627
3427
|
]
|
1628
3428
|
)
|
1629
3429
|
transcoder.transcode request_pb
|
@@ -1632,19 +3432,19 @@ module Google
|
|
1632
3432
|
##
|
1633
3433
|
# @private
|
1634
3434
|
#
|
1635
|
-
# GRPC transcoding helper method for the
|
3435
|
+
# GRPC transcoding helper method for the delete_external_access_rule REST call
|
1636
3436
|
#
|
1637
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3437
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeleteExternalAccessRuleRequest]
|
1638
3438
|
# A request object representing the call parameters. Required.
|
1639
3439
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1640
3440
|
# Uri, Body, Query string parameters
|
1641
|
-
def self.
|
3441
|
+
def self.transcode_delete_external_access_rule_request request_pb
|
1642
3442
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1643
3443
|
.with_bindings(
|
1644
3444
|
uri_method: :delete,
|
1645
3445
|
uri_template: "/v1/{name}",
|
1646
3446
|
matches: [
|
1647
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
3447
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/networkPolicies/[^/]+/externalAccessRules/[^/]+/?$}, false]
|
1648
3448
|
]
|
1649
3449
|
)
|
1650
3450
|
transcoder.transcode request_pb
|
@@ -1653,20 +3453,19 @@ module Google
|
|
1653
3453
|
##
|
1654
3454
|
# @private
|
1655
3455
|
#
|
1656
|
-
# GRPC transcoding helper method for the
|
3456
|
+
# GRPC transcoding helper method for the list_logging_servers REST call
|
1657
3457
|
#
|
1658
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3458
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListLoggingServersRequest]
|
1659
3459
|
# A request object representing the call parameters. Required.
|
1660
3460
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1661
3461
|
# Uri, Body, Query string parameters
|
1662
|
-
def self.
|
3462
|
+
def self.transcode_list_logging_servers_request request_pb
|
1663
3463
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1664
3464
|
.with_bindings(
|
1665
|
-
uri_method: :
|
1666
|
-
uri_template: "/v1/{
|
1667
|
-
body: "*",
|
3465
|
+
uri_method: :get,
|
3466
|
+
uri_template: "/v1/{parent}/loggingServers",
|
1668
3467
|
matches: [
|
1669
|
-
["
|
3468
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
1670
3469
|
]
|
1671
3470
|
)
|
1672
3471
|
transcoder.transcode request_pb
|
@@ -1675,17 +3474,39 @@ module Google
|
|
1675
3474
|
##
|
1676
3475
|
# @private
|
1677
3476
|
#
|
1678
|
-
# GRPC transcoding helper method for the
|
3477
|
+
# GRPC transcoding helper method for the get_logging_server REST call
|
1679
3478
|
#
|
1680
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3479
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetLoggingServerRequest]
|
1681
3480
|
# A request object representing the call parameters. Required.
|
1682
3481
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1683
3482
|
# Uri, Body, Query string parameters
|
1684
|
-
def self.
|
3483
|
+
def self.transcode_get_logging_server_request request_pb
|
1685
3484
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1686
3485
|
.with_bindings(
|
1687
3486
|
uri_method: :get,
|
1688
|
-
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",
|
1689
3510
|
matches: [
|
1690
3511
|
["parent", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
1691
3512
|
]
|
@@ -1696,19 +3517,83 @@ module Google
|
|
1696
3517
|
##
|
1697
3518
|
# @private
|
1698
3519
|
#
|
1699
|
-
# GRPC transcoding helper method for the
|
3520
|
+
# GRPC transcoding helper method for the update_logging_server REST call
|
1700
3521
|
#
|
1701
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3522
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateLoggingServerRequest]
|
1702
3523
|
# A request object representing the call parameters. Required.
|
1703
3524
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1704
3525
|
# Uri, Body, Query string parameters
|
1705
|
-
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
|
1706
3591
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1707
3592
|
.with_bindings(
|
1708
3593
|
uri_method: :get,
|
1709
3594
|
uri_template: "/v1/{name}",
|
1710
3595
|
matches: [
|
1711
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/
|
3596
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/nodeTypes/[^/]+/?$}, false]
|
1712
3597
|
]
|
1713
3598
|
)
|
1714
3599
|
transcoder.transcode request_pb
|
@@ -1717,20 +3602,19 @@ module Google
|
|
1717
3602
|
##
|
1718
3603
|
# @private
|
1719
3604
|
#
|
1720
|
-
# GRPC transcoding helper method for the
|
3605
|
+
# GRPC transcoding helper method for the show_nsx_credentials REST call
|
1721
3606
|
#
|
1722
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3607
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ShowNsxCredentialsRequest]
|
1723
3608
|
# A request object representing the call parameters. Required.
|
1724
3609
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1725
3610
|
# Uri, Body, Query string parameters
|
1726
|
-
def self.
|
3611
|
+
def self.transcode_show_nsx_credentials_request request_pb
|
1727
3612
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1728
3613
|
.with_bindings(
|
1729
|
-
uri_method: :
|
1730
|
-
uri_template: "/v1/{
|
1731
|
-
body: "cluster",
|
3614
|
+
uri_method: :get,
|
3615
|
+
uri_template: "/v1/{private_cloud}:showNsxCredentials",
|
1732
3616
|
matches: [
|
1733
|
-
["
|
3617
|
+
["private_cloud", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
1734
3618
|
]
|
1735
3619
|
)
|
1736
3620
|
transcoder.transcode request_pb
|
@@ -1739,20 +3623,19 @@ module Google
|
|
1739
3623
|
##
|
1740
3624
|
# @private
|
1741
3625
|
#
|
1742
|
-
# GRPC transcoding helper method for the
|
3626
|
+
# GRPC transcoding helper method for the show_vcenter_credentials REST call
|
1743
3627
|
#
|
1744
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3628
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ShowVcenterCredentialsRequest]
|
1745
3629
|
# A request object representing the call parameters. Required.
|
1746
3630
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1747
3631
|
# Uri, Body, Query string parameters
|
1748
|
-
def self.
|
3632
|
+
def self.transcode_show_vcenter_credentials_request request_pb
|
1749
3633
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1750
3634
|
.with_bindings(
|
1751
|
-
uri_method: :
|
1752
|
-
uri_template: "/v1/{
|
1753
|
-
body: "cluster",
|
3635
|
+
uri_method: :get,
|
3636
|
+
uri_template: "/v1/{private_cloud}:showVcenterCredentials",
|
1754
3637
|
matches: [
|
1755
|
-
["
|
3638
|
+
["private_cloud", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
1756
3639
|
]
|
1757
3640
|
)
|
1758
3641
|
transcoder.transcode request_pb
|
@@ -1761,19 +3644,20 @@ module Google
|
|
1761
3644
|
##
|
1762
3645
|
# @private
|
1763
3646
|
#
|
1764
|
-
# GRPC transcoding helper method for the
|
3647
|
+
# GRPC transcoding helper method for the reset_nsx_credentials REST call
|
1765
3648
|
#
|
1766
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3649
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ResetNsxCredentialsRequest]
|
1767
3650
|
# A request object representing the call parameters. Required.
|
1768
3651
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1769
3652
|
# Uri, Body, Query string parameters
|
1770
|
-
def self.
|
3653
|
+
def self.transcode_reset_nsx_credentials_request request_pb
|
1771
3654
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1772
3655
|
.with_bindings(
|
1773
|
-
uri_method: :
|
1774
|
-
uri_template: "/v1/{
|
3656
|
+
uri_method: :post,
|
3657
|
+
uri_template: "/v1/{private_cloud}:resetNsxCredentials",
|
3658
|
+
body: "*",
|
1775
3659
|
matches: [
|
1776
|
-
["
|
3660
|
+
["private_cloud", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
1777
3661
|
]
|
1778
3662
|
)
|
1779
3663
|
transcoder.transcode request_pb
|
@@ -1782,19 +3666,20 @@ module Google
|
|
1782
3666
|
##
|
1783
3667
|
# @private
|
1784
3668
|
#
|
1785
|
-
# GRPC transcoding helper method for the
|
3669
|
+
# GRPC transcoding helper method for the reset_vcenter_credentials REST call
|
1786
3670
|
#
|
1787
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3671
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ResetVcenterCredentialsRequest]
|
1788
3672
|
# A request object representing the call parameters. Required.
|
1789
3673
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1790
3674
|
# Uri, Body, Query string parameters
|
1791
|
-
def self.
|
3675
|
+
def self.transcode_reset_vcenter_credentials_request request_pb
|
1792
3676
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1793
3677
|
.with_bindings(
|
1794
|
-
uri_method: :
|
1795
|
-
uri_template: "/v1/{
|
3678
|
+
uri_method: :post,
|
3679
|
+
uri_template: "/v1/{private_cloud}:resetVcenterCredentials",
|
3680
|
+
body: "*",
|
1796
3681
|
matches: [
|
1797
|
-
["
|
3682
|
+
["private_cloud", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/?$}, false]
|
1798
3683
|
]
|
1799
3684
|
)
|
1800
3685
|
transcoder.transcode request_pb
|
@@ -1803,19 +3688,19 @@ module Google
|
|
1803
3688
|
##
|
1804
3689
|
# @private
|
1805
3690
|
#
|
1806
|
-
# GRPC transcoding helper method for the
|
3691
|
+
# GRPC transcoding helper method for the get_dns_forwarding REST call
|
1807
3692
|
#
|
1808
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3693
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetDnsForwardingRequest]
|
1809
3694
|
# A request object representing the call parameters. Required.
|
1810
3695
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1811
3696
|
# Uri, Body, Query string parameters
|
1812
|
-
def self.
|
3697
|
+
def self.transcode_get_dns_forwarding_request request_pb
|
1813
3698
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1814
3699
|
.with_bindings(
|
1815
3700
|
uri_method: :get,
|
1816
3701
|
uri_template: "/v1/{name}",
|
1817
3702
|
matches: [
|
1818
|
-
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/
|
3703
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/dnsForwarding/?$}, false]
|
1819
3704
|
]
|
1820
3705
|
)
|
1821
3706
|
transcoder.transcode request_pb
|
@@ -1824,20 +3709,20 @@ module Google
|
|
1824
3709
|
##
|
1825
3710
|
# @private
|
1826
3711
|
#
|
1827
|
-
# GRPC transcoding helper method for the
|
3712
|
+
# GRPC transcoding helper method for the update_dns_forwarding REST call
|
1828
3713
|
#
|
1829
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3714
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateDnsForwardingRequest]
|
1830
3715
|
# A request object representing the call parameters. Required.
|
1831
3716
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1832
3717
|
# Uri, Body, Query string parameters
|
1833
|
-
def self.
|
3718
|
+
def self.transcode_update_dns_forwarding_request request_pb
|
1834
3719
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1835
3720
|
.with_bindings(
|
1836
3721
|
uri_method: :patch,
|
1837
|
-
uri_template: "/v1/{
|
1838
|
-
body: "
|
3722
|
+
uri_template: "/v1/{dns_forwarding.name}",
|
3723
|
+
body: "dns_forwarding",
|
1839
3724
|
matches: [
|
1840
|
-
["
|
3725
|
+
["dns_forwarding.name", %r{^projects/[^/]+/locations/[^/]+/privateClouds/[^/]+/dnsForwarding/?$}, false]
|
1841
3726
|
]
|
1842
3727
|
)
|
1843
3728
|
transcoder.transcode request_pb
|
@@ -1846,19 +3731,19 @@ module Google
|
|
1846
3731
|
##
|
1847
3732
|
# @private
|
1848
3733
|
#
|
1849
|
-
# GRPC transcoding helper method for the
|
3734
|
+
# GRPC transcoding helper method for the get_network_peering REST call
|
1850
3735
|
#
|
1851
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3736
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::GetNetworkPeeringRequest]
|
1852
3737
|
# A request object representing the call parameters. Required.
|
1853
3738
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1854
3739
|
# Uri, Body, Query string parameters
|
1855
|
-
def self.
|
3740
|
+
def self.transcode_get_network_peering_request request_pb
|
1856
3741
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1857
3742
|
.with_bindings(
|
1858
3743
|
uri_method: :get,
|
1859
|
-
uri_template: "/v1/{
|
3744
|
+
uri_template: "/v1/{name}",
|
1860
3745
|
matches: [
|
1861
|
-
["
|
3746
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+/?$}, false]
|
1862
3747
|
]
|
1863
3748
|
)
|
1864
3749
|
transcoder.transcode request_pb
|
@@ -1867,19 +3752,19 @@ module Google
|
|
1867
3752
|
##
|
1868
3753
|
# @private
|
1869
3754
|
#
|
1870
|
-
# GRPC transcoding helper method for the
|
3755
|
+
# GRPC transcoding helper method for the list_network_peerings REST call
|
1871
3756
|
#
|
1872
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3757
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListNetworkPeeringsRequest]
|
1873
3758
|
# A request object representing the call parameters. Required.
|
1874
3759
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1875
3760
|
# Uri, Body, Query string parameters
|
1876
|
-
def self.
|
3761
|
+
def self.transcode_list_network_peerings_request request_pb
|
1877
3762
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1878
3763
|
.with_bindings(
|
1879
3764
|
uri_method: :get,
|
1880
|
-
uri_template: "/v1/{
|
3765
|
+
uri_template: "/v1/{parent}/networkPeerings",
|
1881
3766
|
matches: [
|
1882
|
-
["
|
3767
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
1883
3768
|
]
|
1884
3769
|
)
|
1885
3770
|
transcoder.transcode request_pb
|
@@ -1888,19 +3773,20 @@ module Google
|
|
1888
3773
|
##
|
1889
3774
|
# @private
|
1890
3775
|
#
|
1891
|
-
# GRPC transcoding helper method for the
|
3776
|
+
# GRPC transcoding helper method for the create_network_peering REST call
|
1892
3777
|
#
|
1893
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3778
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::CreateNetworkPeeringRequest]
|
1894
3779
|
# A request object representing the call parameters. Required.
|
1895
3780
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1896
3781
|
# Uri, Body, Query string parameters
|
1897
|
-
def self.
|
3782
|
+
def self.transcode_create_network_peering_request request_pb
|
1898
3783
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1899
3784
|
.with_bindings(
|
1900
|
-
uri_method: :
|
1901
|
-
uri_template: "/v1/{
|
3785
|
+
uri_method: :post,
|
3786
|
+
uri_template: "/v1/{parent}/networkPeerings",
|
3787
|
+
body: "network_peering",
|
1902
3788
|
matches: [
|
1903
|
-
["
|
3789
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
1904
3790
|
]
|
1905
3791
|
)
|
1906
3792
|
transcoder.transcode request_pb
|
@@ -1909,19 +3795,19 @@ module Google
|
|
1909
3795
|
##
|
1910
3796
|
# @private
|
1911
3797
|
#
|
1912
|
-
# GRPC transcoding helper method for the
|
3798
|
+
# GRPC transcoding helper method for the delete_network_peering REST call
|
1913
3799
|
#
|
1914
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3800
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::DeleteNetworkPeeringRequest]
|
1915
3801
|
# A request object representing the call parameters. Required.
|
1916
3802
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1917
3803
|
# Uri, Body, Query string parameters
|
1918
|
-
def self.
|
3804
|
+
def self.transcode_delete_network_peering_request request_pb
|
1919
3805
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1920
3806
|
.with_bindings(
|
1921
|
-
uri_method: :
|
1922
|
-
uri_template: "/v1/{
|
3807
|
+
uri_method: :delete,
|
3808
|
+
uri_template: "/v1/{name}",
|
1923
3809
|
matches: [
|
1924
|
-
["
|
3810
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+/?$}, false]
|
1925
3811
|
]
|
1926
3812
|
)
|
1927
3813
|
transcoder.transcode request_pb
|
@@ -1930,20 +3816,20 @@ module Google
|
|
1930
3816
|
##
|
1931
3817
|
# @private
|
1932
3818
|
#
|
1933
|
-
# GRPC transcoding helper method for the
|
3819
|
+
# GRPC transcoding helper method for the update_network_peering REST call
|
1934
3820
|
#
|
1935
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3821
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::UpdateNetworkPeeringRequest]
|
1936
3822
|
# A request object representing the call parameters. Required.
|
1937
3823
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1938
3824
|
# Uri, Body, Query string parameters
|
1939
|
-
def self.
|
3825
|
+
def self.transcode_update_network_peering_request request_pb
|
1940
3826
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1941
3827
|
.with_bindings(
|
1942
|
-
uri_method: :
|
1943
|
-
uri_template: "/v1/{
|
1944
|
-
body: "
|
3828
|
+
uri_method: :patch,
|
3829
|
+
uri_template: "/v1/{network_peering.name}",
|
3830
|
+
body: "network_peering",
|
1945
3831
|
matches: [
|
1946
|
-
["
|
3832
|
+
["network_peering.name", %r{^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+/?$}, false]
|
1947
3833
|
]
|
1948
3834
|
)
|
1949
3835
|
transcoder.transcode request_pb
|
@@ -1952,20 +3838,19 @@ module Google
|
|
1952
3838
|
##
|
1953
3839
|
# @private
|
1954
3840
|
#
|
1955
|
-
# GRPC transcoding helper method for the
|
3841
|
+
# GRPC transcoding helper method for the list_peering_routes REST call
|
1956
3842
|
#
|
1957
|
-
# @param request_pb [::Google::Cloud::VmwareEngine::V1::
|
3843
|
+
# @param request_pb [::Google::Cloud::VmwareEngine::V1::ListPeeringRoutesRequest]
|
1958
3844
|
# A request object representing the call parameters. Required.
|
1959
3845
|
# @return [Array(String, [String, nil], Hash{String => String})]
|
1960
3846
|
# Uri, Body, Query string parameters
|
1961
|
-
def self.
|
3847
|
+
def self.transcode_list_peering_routes_request request_pb
|
1962
3848
|
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1963
3849
|
.with_bindings(
|
1964
|
-
uri_method: :
|
1965
|
-
uri_template: "/v1/{
|
1966
|
-
body: "*",
|
3850
|
+
uri_method: :get,
|
3851
|
+
uri_template: "/v1/{parent}/peeringRoutes",
|
1967
3852
|
matches: [
|
1968
|
-
["
|
3853
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+/?$}, false]
|
1969
3854
|
]
|
1970
3855
|
)
|
1971
3856
|
transcoder.transcode request_pb
|
@@ -2142,6 +4027,135 @@ module Google
|
|
2142
4027
|
transcoder.transcode request_pb
|
2143
4028
|
end
|
2144
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
|
+
|
2145
4159
|
##
|
2146
4160
|
# @private
|
2147
4161
|
#
|
@@ -2376,6 +4390,71 @@ module Google
|
|
2376
4390
|
)
|
2377
4391
|
transcoder.transcode request_pb
|
2378
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
|
2379
4458
|
end
|
2380
4459
|
end
|
2381
4460
|
end
|