google-cloud-vmware_engine-v1 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81e27c9807d35469a4c7973989ac421a7f47330265dda51291641411e01b1c68
4
- data.tar.gz: 9f5604fd907459ef6b31540465b3a03c2f22ea37a3e668fd8470666103a5b97b
3
+ metadata.gz: 47e0ef9f087638cda6d4803aa7af1f8a842aa08b584e8d51f1f8ab908ee49197
4
+ data.tar.gz: ffb9659d9d9de2d9895084d2b1b77df55e3dfeb41c39c257a518ad329c356a76
5
5
  SHA512:
6
- metadata.gz: e8ee269091ef78a95def74296fd3fc4bc230d9a435a6c1466e0b496e78cbdc0866c24be74992aa572b51f2176a266c480ab2d2041b4e937542e9b9bc71460dc0
7
- data.tar.gz: f30a055630e7fb374e32ac8aeac9e7b62dd390ee7bfbb57a992d21cf0b5680587130b9ad667bfefd7329bd4d020aed1a19cb8cf62528a350e58ea7e5dfeb7cad
6
+ metadata.gz: 963e75f27b7f081178a95a0a171341e9b66e05576b11ee704b7736d6f09ba98cd3a18a1b5fd1a10f9b360fc90d9b3b508d09e60afe3575fbb42bcb3fb86378e6
7
+ data.tar.gz: a9fa3f7521c6b827cfc4026188f8ec053f725b07176e40f51ded877141ce9be17a0e8f47bc7c797ba3854b3ed17ac2d2b76ad92f16f603435e4d59dfcbd9c0c0
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module VmwareEngine
23
23
  module V1
24
- VERSION = "0.4.0"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -257,7 +257,8 @@ module Google
257
257
  credentials: credentials,
258
258
  endpoint: @config.endpoint,
259
259
  channel_args: @config.channel_args,
260
- interceptors: @config.interceptors
260
+ interceptors: @config.interceptors,
261
+ channel_pool_config: @config.channel_pool
261
262
  )
262
263
  end
263
264
 
@@ -4769,6 +4770,14 @@ module Google
4769
4770
  end
4770
4771
  end
4771
4772
 
4773
+ ##
4774
+ # Configuration for the channel pool
4775
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
4776
+ #
4777
+ def channel_pool
4778
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
4779
+ end
4780
+
4772
4781
  ##
4773
4782
  # Configuration RPC class for the VmwareEngine API.
4774
4783
  #
@@ -93,7 +93,8 @@ module Google
93
93
  credentials: credentials,
94
94
  endpoint: @config.endpoint,
95
95
  channel_args: @config.channel_args,
96
- interceptors: @config.interceptors
96
+ interceptors: @config.interceptors,
97
+ channel_pool_config: @config.channel_pool
97
98
  )
98
99
 
99
100
  # Used by an LRO wrapper for some methods of this service
@@ -701,6 +702,14 @@ module Google
701
702
  end
702
703
  end
703
704
 
705
+ ##
706
+ # Configuration for the channel pool
707
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
708
+ #
709
+ def channel_pool
710
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
711
+ end
712
+
704
713
  ##
705
714
  # Configuration RPC class for the Operations API.
706
715
  #
@@ -352,6 +352,26 @@ module Google
352
352
  # @return [::Google::Cloud::VmwareEngine::V1::ListPrivateCloudsResponse]
353
353
  #
354
354
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
355
+ #
356
+ # @example Basic example
357
+ # require "google/cloud/vmware_engine/v1"
358
+ #
359
+ # # Create a client object. The client can be reused for multiple calls.
360
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
361
+ #
362
+ # # Create a request. To set request fields, pass in keyword arguments.
363
+ # request = Google::Cloud::VmwareEngine::V1::ListPrivateCloudsRequest.new
364
+ #
365
+ # # Call the list_private_clouds method.
366
+ # result = client.list_private_clouds request
367
+ #
368
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
369
+ # # over elements, and API calls will be issued to fetch pages as needed.
370
+ # result.each do |item|
371
+ # # Each element is of type ::Google::Cloud::VmwareEngine::V1::PrivateCloud.
372
+ # p item
373
+ # end
374
+ #
355
375
  def list_private_clouds request, options = nil
356
376
  raise ::ArgumentError, "request must be provided" if request.nil?
357
377
 
@@ -418,6 +438,22 @@ module Google
418
438
  # @return [::Google::Cloud::VmwareEngine::V1::PrivateCloud]
419
439
  #
420
440
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
441
+ #
442
+ # @example Basic example
443
+ # require "google/cloud/vmware_engine/v1"
444
+ #
445
+ # # Create a client object. The client can be reused for multiple calls.
446
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
447
+ #
448
+ # # Create a request. To set request fields, pass in keyword arguments.
449
+ # request = Google::Cloud::VmwareEngine::V1::GetPrivateCloudRequest.new
450
+ #
451
+ # # Call the get_private_cloud method.
452
+ # result = client.get_private_cloud request
453
+ #
454
+ # # The returned object is of type Google::Cloud::VmwareEngine::V1::PrivateCloud.
455
+ # p result
456
+ #
421
457
  def get_private_cloud request, options = nil
422
458
  raise ::ArgumentError, "request must be provided" if request.nil?
423
459
 
@@ -510,6 +546,29 @@ module Google
510
546
  # @return [::Gapic::Operation]
511
547
  #
512
548
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
549
+ #
550
+ # @example Basic example
551
+ # require "google/cloud/vmware_engine/v1"
552
+ #
553
+ # # Create a client object. The client can be reused for multiple calls.
554
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
555
+ #
556
+ # # Create a request. To set request fields, pass in keyword arguments.
557
+ # request = Google::Cloud::VmwareEngine::V1::CreatePrivateCloudRequest.new
558
+ #
559
+ # # Call the create_private_cloud method.
560
+ # result = client.create_private_cloud request
561
+ #
562
+ # # The returned object is of type Gapic::Operation. You can use it to
563
+ # # check the status of an operation, cancel it, or wait for results.
564
+ # # Here is how to wait for a response.
565
+ # result.wait_until_done! timeout: 60
566
+ # if result.response?
567
+ # p result.response
568
+ # else
569
+ # puts "No response received."
570
+ # end
571
+ #
513
572
  def create_private_cloud request, options = nil
514
573
  raise ::ArgumentError, "request must be provided" if request.nil?
515
574
 
@@ -589,6 +648,29 @@ module Google
589
648
  # @return [::Gapic::Operation]
590
649
  #
591
650
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
651
+ #
652
+ # @example Basic example
653
+ # require "google/cloud/vmware_engine/v1"
654
+ #
655
+ # # Create a client object. The client can be reused for multiple calls.
656
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
657
+ #
658
+ # # Create a request. To set request fields, pass in keyword arguments.
659
+ # request = Google::Cloud::VmwareEngine::V1::UpdatePrivateCloudRequest.new
660
+ #
661
+ # # Call the update_private_cloud method.
662
+ # result = client.update_private_cloud request
663
+ #
664
+ # # The returned object is of type Gapic::Operation. You can use it to
665
+ # # check the status of an operation, cancel it, or wait for results.
666
+ # # Here is how to wait for a response.
667
+ # result.wait_until_done! timeout: 60
668
+ # if result.response?
669
+ # p result.response
670
+ # else
671
+ # puts "No response received."
672
+ # end
673
+ #
592
674
  def update_private_cloud request, options = nil
593
675
  raise ::ArgumentError, "request must be provided" if request.nil?
594
676
 
@@ -688,6 +770,29 @@ module Google
688
770
  # @return [::Gapic::Operation]
689
771
  #
690
772
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
773
+ #
774
+ # @example Basic example
775
+ # require "google/cloud/vmware_engine/v1"
776
+ #
777
+ # # Create a client object. The client can be reused for multiple calls.
778
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
779
+ #
780
+ # # Create a request. To set request fields, pass in keyword arguments.
781
+ # request = Google::Cloud::VmwareEngine::V1::DeletePrivateCloudRequest.new
782
+ #
783
+ # # Call the delete_private_cloud method.
784
+ # result = client.delete_private_cloud request
785
+ #
786
+ # # The returned object is of type Gapic::Operation. You can use it to
787
+ # # check the status of an operation, cancel it, or wait for results.
788
+ # # Here is how to wait for a response.
789
+ # result.wait_until_done! timeout: 60
790
+ # if result.response?
791
+ # p result.response
792
+ # else
793
+ # puts "No response received."
794
+ # end
795
+ #
691
796
  def delete_private_cloud request, options = nil
692
797
  raise ::ArgumentError, "request must be provided" if request.nil?
693
798
 
@@ -761,6 +866,29 @@ module Google
761
866
  # @return [::Gapic::Operation]
762
867
  #
763
868
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
869
+ #
870
+ # @example Basic example
871
+ # require "google/cloud/vmware_engine/v1"
872
+ #
873
+ # # Create a client object. The client can be reused for multiple calls.
874
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
875
+ #
876
+ # # Create a request. To set request fields, pass in keyword arguments.
877
+ # request = Google::Cloud::VmwareEngine::V1::UndeletePrivateCloudRequest.new
878
+ #
879
+ # # Call the undelete_private_cloud method.
880
+ # result = client.undelete_private_cloud request
881
+ #
882
+ # # The returned object is of type Gapic::Operation. You can use it to
883
+ # # check the status of an operation, cancel it, or wait for results.
884
+ # # Here is how to wait for a response.
885
+ # result.wait_until_done! timeout: 60
886
+ # if result.response?
887
+ # p result.response
888
+ # else
889
+ # puts "No response received."
890
+ # end
891
+ #
764
892
  def undelete_private_cloud request, options = nil
765
893
  raise ::ArgumentError, "request must be provided" if request.nil?
766
894
 
@@ -859,6 +987,26 @@ module Google
859
987
  # @return [::Google::Cloud::VmwareEngine::V1::ListClustersResponse]
860
988
  #
861
989
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
990
+ #
991
+ # @example Basic example
992
+ # require "google/cloud/vmware_engine/v1"
993
+ #
994
+ # # Create a client object. The client can be reused for multiple calls.
995
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
996
+ #
997
+ # # Create a request. To set request fields, pass in keyword arguments.
998
+ # request = Google::Cloud::VmwareEngine::V1::ListClustersRequest.new
999
+ #
1000
+ # # Call the list_clusters method.
1001
+ # result = client.list_clusters request
1002
+ #
1003
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1004
+ # # over elements, and API calls will be issued to fetch pages as needed.
1005
+ # result.each do |item|
1006
+ # # Each element is of type ::Google::Cloud::VmwareEngine::V1::Cluster.
1007
+ # p item
1008
+ # end
1009
+ #
862
1010
  def list_clusters request, options = nil
863
1011
  raise ::ArgumentError, "request must be provided" if request.nil?
864
1012
 
@@ -925,6 +1073,22 @@ module Google
925
1073
  # @return [::Google::Cloud::VmwareEngine::V1::Cluster]
926
1074
  #
927
1075
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1076
+ #
1077
+ # @example Basic example
1078
+ # require "google/cloud/vmware_engine/v1"
1079
+ #
1080
+ # # Create a client object. The client can be reused for multiple calls.
1081
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
1082
+ #
1083
+ # # Create a request. To set request fields, pass in keyword arguments.
1084
+ # request = Google::Cloud::VmwareEngine::V1::GetClusterRequest.new
1085
+ #
1086
+ # # Call the get_cluster method.
1087
+ # result = client.get_cluster request
1088
+ #
1089
+ # # The returned object is of type Google::Cloud::VmwareEngine::V1::Cluster.
1090
+ # p result
1091
+ #
928
1092
  def get_cluster request, options = nil
929
1093
  raise ::ArgumentError, "request must be provided" if request.nil?
930
1094
 
@@ -1014,6 +1178,29 @@ module Google
1014
1178
  # @return [::Gapic::Operation]
1015
1179
  #
1016
1180
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1181
+ #
1182
+ # @example Basic example
1183
+ # require "google/cloud/vmware_engine/v1"
1184
+ #
1185
+ # # Create a client object. The client can be reused for multiple calls.
1186
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
1187
+ #
1188
+ # # Create a request. To set request fields, pass in keyword arguments.
1189
+ # request = Google::Cloud::VmwareEngine::V1::CreateClusterRequest.new
1190
+ #
1191
+ # # Call the create_cluster method.
1192
+ # result = client.create_cluster request
1193
+ #
1194
+ # # The returned object is of type Gapic::Operation. You can use it to
1195
+ # # check the status of an operation, cancel it, or wait for results.
1196
+ # # Here is how to wait for a response.
1197
+ # result.wait_until_done! timeout: 60
1198
+ # if result.response?
1199
+ # p result.response
1200
+ # else
1201
+ # puts "No response received."
1202
+ # end
1203
+ #
1017
1204
  def create_cluster request, options = nil
1018
1205
  raise ::ArgumentError, "request must be provided" if request.nil?
1019
1206
 
@@ -1096,6 +1283,29 @@ module Google
1096
1283
  # @return [::Gapic::Operation]
1097
1284
  #
1098
1285
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1286
+ #
1287
+ # @example Basic example
1288
+ # require "google/cloud/vmware_engine/v1"
1289
+ #
1290
+ # # Create a client object. The client can be reused for multiple calls.
1291
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
1292
+ #
1293
+ # # Create a request. To set request fields, pass in keyword arguments.
1294
+ # request = Google::Cloud::VmwareEngine::V1::UpdateClusterRequest.new
1295
+ #
1296
+ # # Call the update_cluster method.
1297
+ # result = client.update_cluster request
1298
+ #
1299
+ # # The returned object is of type Gapic::Operation. You can use it to
1300
+ # # check the status of an operation, cancel it, or wait for results.
1301
+ # # Here is how to wait for a response.
1302
+ # result.wait_until_done! timeout: 60
1303
+ # if result.response?
1304
+ # p result.response
1305
+ # else
1306
+ # puts "No response received."
1307
+ # end
1308
+ #
1099
1309
  def update_cluster request, options = nil
1100
1310
  raise ::ArgumentError, "request must be provided" if request.nil?
1101
1311
 
@@ -1169,6 +1379,29 @@ module Google
1169
1379
  # @return [::Gapic::Operation]
1170
1380
  #
1171
1381
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1382
+ #
1383
+ # @example Basic example
1384
+ # require "google/cloud/vmware_engine/v1"
1385
+ #
1386
+ # # Create a client object. The client can be reused for multiple calls.
1387
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
1388
+ #
1389
+ # # Create a request. To set request fields, pass in keyword arguments.
1390
+ # request = Google::Cloud::VmwareEngine::V1::DeleteClusterRequest.new
1391
+ #
1392
+ # # Call the delete_cluster method.
1393
+ # result = client.delete_cluster request
1394
+ #
1395
+ # # The returned object is of type Gapic::Operation. You can use it to
1396
+ # # check the status of an operation, cancel it, or wait for results.
1397
+ # # Here is how to wait for a response.
1398
+ # result.wait_until_done! timeout: 60
1399
+ # if result.response?
1400
+ # p result.response
1401
+ # else
1402
+ # puts "No response received."
1403
+ # end
1404
+ #
1172
1405
  def delete_cluster request, options = nil
1173
1406
  raise ::ArgumentError, "request must be provided" if request.nil?
1174
1407
 
@@ -1248,6 +1481,26 @@ module Google
1248
1481
  # @return [::Google::Cloud::VmwareEngine::V1::ListSubnetsResponse]
1249
1482
  #
1250
1483
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1484
+ #
1485
+ # @example Basic example
1486
+ # require "google/cloud/vmware_engine/v1"
1487
+ #
1488
+ # # Create a client object. The client can be reused for multiple calls.
1489
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
1490
+ #
1491
+ # # Create a request. To set request fields, pass in keyword arguments.
1492
+ # request = Google::Cloud::VmwareEngine::V1::ListSubnetsRequest.new
1493
+ #
1494
+ # # Call the list_subnets method.
1495
+ # result = client.list_subnets request
1496
+ #
1497
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1498
+ # # over elements, and API calls will be issued to fetch pages as needed.
1499
+ # result.each do |item|
1500
+ # # Each element is of type ::Google::Cloud::VmwareEngine::V1::Subnet.
1501
+ # p item
1502
+ # end
1503
+ #
1251
1504
  def list_subnets request, options = nil
1252
1505
  raise ::ArgumentError, "request must be provided" if request.nil?
1253
1506
 
@@ -1314,6 +1567,22 @@ module Google
1314
1567
  # @return [::Google::Cloud::VmwareEngine::V1::Subnet]
1315
1568
  #
1316
1569
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1570
+ #
1571
+ # @example Basic example
1572
+ # require "google/cloud/vmware_engine/v1"
1573
+ #
1574
+ # # Create a client object. The client can be reused for multiple calls.
1575
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
1576
+ #
1577
+ # # Create a request. To set request fields, pass in keyword arguments.
1578
+ # request = Google::Cloud::VmwareEngine::V1::GetSubnetRequest.new
1579
+ #
1580
+ # # Call the get_subnet method.
1581
+ # result = client.get_subnet request
1582
+ #
1583
+ # # The returned object is of type Google::Cloud::VmwareEngine::V1::Subnet.
1584
+ # p result
1585
+ #
1317
1586
  def get_subnet request, options = nil
1318
1587
  raise ::ArgumentError, "request must be provided" if request.nil?
1319
1588
 
@@ -1387,6 +1656,29 @@ module Google
1387
1656
  # @return [::Gapic::Operation]
1388
1657
  #
1389
1658
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1659
+ #
1660
+ # @example Basic example
1661
+ # require "google/cloud/vmware_engine/v1"
1662
+ #
1663
+ # # Create a client object. The client can be reused for multiple calls.
1664
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
1665
+ #
1666
+ # # Create a request. To set request fields, pass in keyword arguments.
1667
+ # request = Google::Cloud::VmwareEngine::V1::UpdateSubnetRequest.new
1668
+ #
1669
+ # # Call the update_subnet method.
1670
+ # result = client.update_subnet request
1671
+ #
1672
+ # # The returned object is of type Gapic::Operation. You can use it to
1673
+ # # check the status of an operation, cancel it, or wait for results.
1674
+ # # Here is how to wait for a response.
1675
+ # result.wait_until_done! timeout: 60
1676
+ # if result.response?
1677
+ # p result.response
1678
+ # else
1679
+ # puts "No response received."
1680
+ # end
1681
+ #
1390
1682
  def update_subnet request, options = nil
1391
1683
  raise ::ArgumentError, "request must be provided" if request.nil?
1392
1684
 
@@ -1491,6 +1783,26 @@ module Google
1491
1783
  # @return [::Google::Cloud::VmwareEngine::V1::ListNodeTypesResponse]
1492
1784
  #
1493
1785
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1786
+ #
1787
+ # @example Basic example
1788
+ # require "google/cloud/vmware_engine/v1"
1789
+ #
1790
+ # # Create a client object. The client can be reused for multiple calls.
1791
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
1792
+ #
1793
+ # # Create a request. To set request fields, pass in keyword arguments.
1794
+ # request = Google::Cloud::VmwareEngine::V1::ListNodeTypesRequest.new
1795
+ #
1796
+ # # Call the list_node_types method.
1797
+ # result = client.list_node_types request
1798
+ #
1799
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1800
+ # # over elements, and API calls will be issued to fetch pages as needed.
1801
+ # result.each do |item|
1802
+ # # Each element is of type ::Google::Cloud::VmwareEngine::V1::NodeType.
1803
+ # p item
1804
+ # end
1805
+ #
1494
1806
  def list_node_types request, options = nil
1495
1807
  raise ::ArgumentError, "request must be provided" if request.nil?
1496
1808
 
@@ -1557,6 +1869,22 @@ module Google
1557
1869
  # @return [::Google::Cloud::VmwareEngine::V1::NodeType]
1558
1870
  #
1559
1871
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1872
+ #
1873
+ # @example Basic example
1874
+ # require "google/cloud/vmware_engine/v1"
1875
+ #
1876
+ # # Create a client object. The client can be reused for multiple calls.
1877
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
1878
+ #
1879
+ # # Create a request. To set request fields, pass in keyword arguments.
1880
+ # request = Google::Cloud::VmwareEngine::V1::GetNodeTypeRequest.new
1881
+ #
1882
+ # # Call the get_node_type method.
1883
+ # result = client.get_node_type request
1884
+ #
1885
+ # # The returned object is of type Google::Cloud::VmwareEngine::V1::NodeType.
1886
+ # p result
1887
+ #
1560
1888
  def get_node_type request, options = nil
1561
1889
  raise ::ArgumentError, "request must be provided" if request.nil?
1562
1890
 
@@ -1624,6 +1952,22 @@ module Google
1624
1952
  # @return [::Google::Cloud::VmwareEngine::V1::Credentials]
1625
1953
  #
1626
1954
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1955
+ #
1956
+ # @example Basic example
1957
+ # require "google/cloud/vmware_engine/v1"
1958
+ #
1959
+ # # Create a client object. The client can be reused for multiple calls.
1960
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
1961
+ #
1962
+ # # Create a request. To set request fields, pass in keyword arguments.
1963
+ # request = Google::Cloud::VmwareEngine::V1::ShowNsxCredentialsRequest.new
1964
+ #
1965
+ # # Call the show_nsx_credentials method.
1966
+ # result = client.show_nsx_credentials request
1967
+ #
1968
+ # # The returned object is of type Google::Cloud::VmwareEngine::V1::Credentials.
1969
+ # p result
1970
+ #
1627
1971
  def show_nsx_credentials request, options = nil
1628
1972
  raise ::ArgumentError, "request must be provided" if request.nil?
1629
1973
 
@@ -1691,6 +2035,22 @@ module Google
1691
2035
  # @return [::Google::Cloud::VmwareEngine::V1::Credentials]
1692
2036
  #
1693
2037
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2038
+ #
2039
+ # @example Basic example
2040
+ # require "google/cloud/vmware_engine/v1"
2041
+ #
2042
+ # # Create a client object. The client can be reused for multiple calls.
2043
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
2044
+ #
2045
+ # # Create a request. To set request fields, pass in keyword arguments.
2046
+ # request = Google::Cloud::VmwareEngine::V1::ShowVcenterCredentialsRequest.new
2047
+ #
2048
+ # # Call the show_vcenter_credentials method.
2049
+ # result = client.show_vcenter_credentials request
2050
+ #
2051
+ # # The returned object is of type Google::Cloud::VmwareEngine::V1::Credentials.
2052
+ # p result
2053
+ #
1694
2054
  def show_vcenter_credentials request, options = nil
1695
2055
  raise ::ArgumentError, "request must be provided" if request.nil?
1696
2056
 
@@ -1773,6 +2133,29 @@ module Google
1773
2133
  # @return [::Gapic::Operation]
1774
2134
  #
1775
2135
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2136
+ #
2137
+ # @example Basic example
2138
+ # require "google/cloud/vmware_engine/v1"
2139
+ #
2140
+ # # Create a client object. The client can be reused for multiple calls.
2141
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
2142
+ #
2143
+ # # Create a request. To set request fields, pass in keyword arguments.
2144
+ # request = Google::Cloud::VmwareEngine::V1::ResetNsxCredentialsRequest.new
2145
+ #
2146
+ # # Call the reset_nsx_credentials method.
2147
+ # result = client.reset_nsx_credentials request
2148
+ #
2149
+ # # The returned object is of type Gapic::Operation. You can use it to
2150
+ # # check the status of an operation, cancel it, or wait for results.
2151
+ # # Here is how to wait for a response.
2152
+ # result.wait_until_done! timeout: 60
2153
+ # if result.response?
2154
+ # p result.response
2155
+ # else
2156
+ # puts "No response received."
2157
+ # end
2158
+ #
1776
2159
  def reset_nsx_credentials request, options = nil
1777
2160
  raise ::ArgumentError, "request must be provided" if request.nil?
1778
2161
 
@@ -1856,6 +2239,29 @@ module Google
1856
2239
  # @return [::Gapic::Operation]
1857
2240
  #
1858
2241
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2242
+ #
2243
+ # @example Basic example
2244
+ # require "google/cloud/vmware_engine/v1"
2245
+ #
2246
+ # # Create a client object. The client can be reused for multiple calls.
2247
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
2248
+ #
2249
+ # # Create a request. To set request fields, pass in keyword arguments.
2250
+ # request = Google::Cloud::VmwareEngine::V1::ResetVcenterCredentialsRequest.new
2251
+ #
2252
+ # # Call the reset_vcenter_credentials method.
2253
+ # result = client.reset_vcenter_credentials request
2254
+ #
2255
+ # # The returned object is of type Gapic::Operation. You can use it to
2256
+ # # check the status of an operation, cancel it, or wait for results.
2257
+ # # Here is how to wait for a response.
2258
+ # result.wait_until_done! timeout: 60
2259
+ # if result.response?
2260
+ # p result.response
2261
+ # else
2262
+ # puts "No response received."
2263
+ # end
2264
+ #
1859
2265
  def reset_vcenter_credentials request, options = nil
1860
2266
  raise ::ArgumentError, "request must be provided" if request.nil?
1861
2267
 
@@ -1953,6 +2359,29 @@ module Google
1953
2359
  # @return [::Gapic::Operation]
1954
2360
  #
1955
2361
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2362
+ #
2363
+ # @example Basic example
2364
+ # require "google/cloud/vmware_engine/v1"
2365
+ #
2366
+ # # Create a client object. The client can be reused for multiple calls.
2367
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
2368
+ #
2369
+ # # Create a request. To set request fields, pass in keyword arguments.
2370
+ # request = Google::Cloud::VmwareEngine::V1::CreateHcxActivationKeyRequest.new
2371
+ #
2372
+ # # Call the create_hcx_activation_key method.
2373
+ # result = client.create_hcx_activation_key request
2374
+ #
2375
+ # # The returned object is of type Gapic::Operation. You can use it to
2376
+ # # check the status of an operation, cancel it, or wait for results.
2377
+ # # Here is how to wait for a response.
2378
+ # result.wait_until_done! timeout: 60
2379
+ # if result.response?
2380
+ # p result.response
2381
+ # else
2382
+ # puts "No response received."
2383
+ # end
2384
+ #
1956
2385
  def create_hcx_activation_key request, options = nil
1957
2386
  raise ::ArgumentError, "request must be provided" if request.nil?
1958
2387
 
@@ -2033,6 +2462,26 @@ module Google
2033
2462
  # @return [::Google::Cloud::VmwareEngine::V1::ListHcxActivationKeysResponse]
2034
2463
  #
2035
2464
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2465
+ #
2466
+ # @example Basic example
2467
+ # require "google/cloud/vmware_engine/v1"
2468
+ #
2469
+ # # Create a client object. The client can be reused for multiple calls.
2470
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
2471
+ #
2472
+ # # Create a request. To set request fields, pass in keyword arguments.
2473
+ # request = Google::Cloud::VmwareEngine::V1::ListHcxActivationKeysRequest.new
2474
+ #
2475
+ # # Call the list_hcx_activation_keys method.
2476
+ # result = client.list_hcx_activation_keys request
2477
+ #
2478
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2479
+ # # over elements, and API calls will be issued to fetch pages as needed.
2480
+ # result.each do |item|
2481
+ # # Each element is of type ::Google::Cloud::VmwareEngine::V1::HcxActivationKey.
2482
+ # p item
2483
+ # end
2484
+ #
2036
2485
  def list_hcx_activation_keys request, options = nil
2037
2486
  raise ::ArgumentError, "request must be provided" if request.nil?
2038
2487
 
@@ -2099,6 +2548,22 @@ module Google
2099
2548
  # @return [::Google::Cloud::VmwareEngine::V1::HcxActivationKey]
2100
2549
  #
2101
2550
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2551
+ #
2552
+ # @example Basic example
2553
+ # require "google/cloud/vmware_engine/v1"
2554
+ #
2555
+ # # Create a client object. The client can be reused for multiple calls.
2556
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
2557
+ #
2558
+ # # Create a request. To set request fields, pass in keyword arguments.
2559
+ # request = Google::Cloud::VmwareEngine::V1::GetHcxActivationKeyRequest.new
2560
+ #
2561
+ # # Call the get_hcx_activation_key method.
2562
+ # result = client.get_hcx_activation_key request
2563
+ #
2564
+ # # The returned object is of type Google::Cloud::VmwareEngine::V1::HcxActivationKey.
2565
+ # p result
2566
+ #
2102
2567
  def get_hcx_activation_key request, options = nil
2103
2568
  raise ::ArgumentError, "request must be provided" if request.nil?
2104
2569
 
@@ -2165,6 +2630,22 @@ module Google
2165
2630
  # @return [::Google::Cloud::VmwareEngine::V1::NetworkPolicy]
2166
2631
  #
2167
2632
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2633
+ #
2634
+ # @example Basic example
2635
+ # require "google/cloud/vmware_engine/v1"
2636
+ #
2637
+ # # Create a client object. The client can be reused for multiple calls.
2638
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
2639
+ #
2640
+ # # Create a request. To set request fields, pass in keyword arguments.
2641
+ # request = Google::Cloud::VmwareEngine::V1::GetNetworkPolicyRequest.new
2642
+ #
2643
+ # # Call the get_network_policy method.
2644
+ # result = client.get_network_policy request
2645
+ #
2646
+ # # The returned object is of type Google::Cloud::VmwareEngine::V1::NetworkPolicy.
2647
+ # p result
2648
+ #
2168
2649
  def get_network_policy request, options = nil
2169
2650
  raise ::ArgumentError, "request must be provided" if request.nil?
2170
2651
 
@@ -2274,6 +2755,26 @@ module Google
2274
2755
  # @return [::Google::Cloud::VmwareEngine::V1::ListNetworkPoliciesResponse]
2275
2756
  #
2276
2757
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2758
+ #
2759
+ # @example Basic example
2760
+ # require "google/cloud/vmware_engine/v1"
2761
+ #
2762
+ # # Create a client object. The client can be reused for multiple calls.
2763
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
2764
+ #
2765
+ # # Create a request. To set request fields, pass in keyword arguments.
2766
+ # request = Google::Cloud::VmwareEngine::V1::ListNetworkPoliciesRequest.new
2767
+ #
2768
+ # # Call the list_network_policies method.
2769
+ # result = client.list_network_policies request
2770
+ #
2771
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2772
+ # # over elements, and API calls will be issued to fetch pages as needed.
2773
+ # result.each do |item|
2774
+ # # Each element is of type ::Google::Cloud::VmwareEngine::V1::NetworkPolicy.
2775
+ # p item
2776
+ # end
2777
+ #
2277
2778
  def list_network_policies request, options = nil
2278
2779
  raise ::ArgumentError, "request must be provided" if request.nil?
2279
2780
 
@@ -2373,6 +2874,29 @@ module Google
2373
2874
  # @return [::Gapic::Operation]
2374
2875
  #
2375
2876
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2877
+ #
2878
+ # @example Basic example
2879
+ # require "google/cloud/vmware_engine/v1"
2880
+ #
2881
+ # # Create a client object. The client can be reused for multiple calls.
2882
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
2883
+ #
2884
+ # # Create a request. To set request fields, pass in keyword arguments.
2885
+ # request = Google::Cloud::VmwareEngine::V1::CreateNetworkPolicyRequest.new
2886
+ #
2887
+ # # Call the create_network_policy method.
2888
+ # result = client.create_network_policy request
2889
+ #
2890
+ # # The returned object is of type Gapic::Operation. You can use it to
2891
+ # # check the status of an operation, cancel it, or wait for results.
2892
+ # # Here is how to wait for a response.
2893
+ # result.wait_until_done! timeout: 60
2894
+ # if result.response?
2895
+ # p result.response
2896
+ # else
2897
+ # puts "No response received."
2898
+ # end
2899
+ #
2376
2900
  def create_network_policy request, options = nil
2377
2901
  raise ::ArgumentError, "request must be provided" if request.nil?
2378
2902
 
@@ -2468,6 +2992,29 @@ module Google
2468
2992
  # @return [::Gapic::Operation]
2469
2993
  #
2470
2994
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2995
+ #
2996
+ # @example Basic example
2997
+ # require "google/cloud/vmware_engine/v1"
2998
+ #
2999
+ # # Create a client object. The client can be reused for multiple calls.
3000
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
3001
+ #
3002
+ # # Create a request. To set request fields, pass in keyword arguments.
3003
+ # request = Google::Cloud::VmwareEngine::V1::UpdateNetworkPolicyRequest.new
3004
+ #
3005
+ # # Call the update_network_policy method.
3006
+ # result = client.update_network_policy request
3007
+ #
3008
+ # # The returned object is of type Gapic::Operation. You can use it to
3009
+ # # check the status of an operation, cancel it, or wait for results.
3010
+ # # Here is how to wait for a response.
3011
+ # result.wait_until_done! timeout: 60
3012
+ # if result.response?
3013
+ # p result.response
3014
+ # else
3015
+ # puts "No response received."
3016
+ # end
3017
+ #
2471
3018
  def update_network_policy request, options = nil
2472
3019
  raise ::ArgumentError, "request must be provided" if request.nil?
2473
3020
 
@@ -2552,6 +3099,29 @@ module Google
2552
3099
  # @return [::Gapic::Operation]
2553
3100
  #
2554
3101
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3102
+ #
3103
+ # @example Basic example
3104
+ # require "google/cloud/vmware_engine/v1"
3105
+ #
3106
+ # # Create a client object. The client can be reused for multiple calls.
3107
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
3108
+ #
3109
+ # # Create a request. To set request fields, pass in keyword arguments.
3110
+ # request = Google::Cloud::VmwareEngine::V1::DeleteNetworkPolicyRequest.new
3111
+ #
3112
+ # # Call the delete_network_policy method.
3113
+ # result = client.delete_network_policy request
3114
+ #
3115
+ # # The returned object is of type Gapic::Operation. You can use it to
3116
+ # # check the status of an operation, cancel it, or wait for results.
3117
+ # # Here is how to wait for a response.
3118
+ # result.wait_until_done! timeout: 60
3119
+ # if result.response?
3120
+ # p result.response
3121
+ # else
3122
+ # puts "No response received."
3123
+ # end
3124
+ #
2555
3125
  def delete_network_policy request, options = nil
2556
3126
  raise ::ArgumentError, "request must be provided" if request.nil?
2557
3127
 
@@ -2653,6 +3223,29 @@ module Google
2653
3223
  # @return [::Gapic::Operation]
2654
3224
  #
2655
3225
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3226
+ #
3227
+ # @example Basic example
3228
+ # require "google/cloud/vmware_engine/v1"
3229
+ #
3230
+ # # Create a client object. The client can be reused for multiple calls.
3231
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
3232
+ #
3233
+ # # Create a request. To set request fields, pass in keyword arguments.
3234
+ # request = Google::Cloud::VmwareEngine::V1::CreateVmwareEngineNetworkRequest.new
3235
+ #
3236
+ # # Call the create_vmware_engine_network method.
3237
+ # result = client.create_vmware_engine_network request
3238
+ #
3239
+ # # The returned object is of type Gapic::Operation. You can use it to
3240
+ # # check the status of an operation, cancel it, or wait for results.
3241
+ # # Here is how to wait for a response.
3242
+ # result.wait_until_done! timeout: 60
3243
+ # if result.response?
3244
+ # p result.response
3245
+ # else
3246
+ # puts "No response received."
3247
+ # end
3248
+ #
2656
3249
  def create_vmware_engine_network request, options = nil
2657
3250
  raise ::ArgumentError, "request must be provided" if request.nil?
2658
3251
 
@@ -2740,6 +3333,29 @@ module Google
2740
3333
  # @return [::Gapic::Operation]
2741
3334
  #
2742
3335
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3336
+ #
3337
+ # @example Basic example
3338
+ # require "google/cloud/vmware_engine/v1"
3339
+ #
3340
+ # # Create a client object. The client can be reused for multiple calls.
3341
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
3342
+ #
3343
+ # # Create a request. To set request fields, pass in keyword arguments.
3344
+ # request = Google::Cloud::VmwareEngine::V1::UpdateVmwareEngineNetworkRequest.new
3345
+ #
3346
+ # # Call the update_vmware_engine_network method.
3347
+ # result = client.update_vmware_engine_network request
3348
+ #
3349
+ # # The returned object is of type Gapic::Operation. You can use it to
3350
+ # # check the status of an operation, cancel it, or wait for results.
3351
+ # # Here is how to wait for a response.
3352
+ # result.wait_until_done! timeout: 60
3353
+ # if result.response?
3354
+ # p result.response
3355
+ # else
3356
+ # puts "No response received."
3357
+ # end
3358
+ #
2743
3359
  def update_vmware_engine_network request, options = nil
2744
3360
  raise ::ArgumentError, "request must be provided" if request.nil?
2745
3361
 
@@ -2830,6 +3446,29 @@ module Google
2830
3446
  # @return [::Gapic::Operation]
2831
3447
  #
2832
3448
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3449
+ #
3450
+ # @example Basic example
3451
+ # require "google/cloud/vmware_engine/v1"
3452
+ #
3453
+ # # Create a client object. The client can be reused for multiple calls.
3454
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
3455
+ #
3456
+ # # Create a request. To set request fields, pass in keyword arguments.
3457
+ # request = Google::Cloud::VmwareEngine::V1::DeleteVmwareEngineNetworkRequest.new
3458
+ #
3459
+ # # Call the delete_vmware_engine_network method.
3460
+ # result = client.delete_vmware_engine_network request
3461
+ #
3462
+ # # The returned object is of type Gapic::Operation. You can use it to
3463
+ # # check the status of an operation, cancel it, or wait for results.
3464
+ # # Here is how to wait for a response.
3465
+ # result.wait_until_done! timeout: 60
3466
+ # if result.response?
3467
+ # p result.response
3468
+ # else
3469
+ # puts "No response received."
3470
+ # end
3471
+ #
2833
3472
  def delete_vmware_engine_network request, options = nil
2834
3473
  raise ::ArgumentError, "request must be provided" if request.nil?
2835
3474
 
@@ -2900,6 +3539,22 @@ module Google
2900
3539
  # @return [::Google::Cloud::VmwareEngine::V1::VmwareEngineNetwork]
2901
3540
  #
2902
3541
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3542
+ #
3543
+ # @example Basic example
3544
+ # require "google/cloud/vmware_engine/v1"
3545
+ #
3546
+ # # Create a client object. The client can be reused for multiple calls.
3547
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
3548
+ #
3549
+ # # Create a request. To set request fields, pass in keyword arguments.
3550
+ # request = Google::Cloud::VmwareEngine::V1::GetVmwareEngineNetworkRequest.new
3551
+ #
3552
+ # # Call the get_vmware_engine_network method.
3553
+ # result = client.get_vmware_engine_network request
3554
+ #
3555
+ # # The returned object is of type Google::Cloud::VmwareEngine::V1::VmwareEngineNetwork.
3556
+ # p result
3557
+ #
2903
3558
  def get_vmware_engine_network request, options = nil
2904
3559
  raise ::ArgumentError, "request must be provided" if request.nil?
2905
3560
 
@@ -3008,6 +3663,26 @@ module Google
3008
3663
  # @return [::Google::Cloud::VmwareEngine::V1::ListVmwareEngineNetworksResponse]
3009
3664
  #
3010
3665
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3666
+ #
3667
+ # @example Basic example
3668
+ # require "google/cloud/vmware_engine/v1"
3669
+ #
3670
+ # # Create a client object. The client can be reused for multiple calls.
3671
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
3672
+ #
3673
+ # # Create a request. To set request fields, pass in keyword arguments.
3674
+ # request = Google::Cloud::VmwareEngine::V1::ListVmwareEngineNetworksRequest.new
3675
+ #
3676
+ # # Call the list_vmware_engine_networks method.
3677
+ # result = client.list_vmware_engine_networks request
3678
+ #
3679
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
3680
+ # # over elements, and API calls will be issued to fetch pages as needed.
3681
+ # result.each do |item|
3682
+ # # Each element is of type ::Google::Cloud::VmwareEngine::V1::VmwareEngineNetwork.
3683
+ # p item
3684
+ # end
3685
+ #
3011
3686
  def list_vmware_engine_networks request, options = nil
3012
3687
  raise ::ArgumentError, "request must be provided" if request.nil?
3013
3688
 
@@ -3104,6 +3779,29 @@ module Google
3104
3779
  # @return [::Gapic::Operation]
3105
3780
  #
3106
3781
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3782
+ #
3783
+ # @example Basic example
3784
+ # require "google/cloud/vmware_engine/v1"
3785
+ #
3786
+ # # Create a client object. The client can be reused for multiple calls.
3787
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
3788
+ #
3789
+ # # Create a request. To set request fields, pass in keyword arguments.
3790
+ # request = Google::Cloud::VmwareEngine::V1::CreatePrivateConnectionRequest.new
3791
+ #
3792
+ # # Call the create_private_connection method.
3793
+ # result = client.create_private_connection request
3794
+ #
3795
+ # # The returned object is of type Gapic::Operation. You can use it to
3796
+ # # check the status of an operation, cancel it, or wait for results.
3797
+ # # Here is how to wait for a response.
3798
+ # result.wait_until_done! timeout: 60
3799
+ # if result.response?
3800
+ # p result.response
3801
+ # else
3802
+ # puts "No response received."
3803
+ # end
3804
+ #
3107
3805
  def create_private_connection request, options = nil
3108
3806
  raise ::ArgumentError, "request must be provided" if request.nil?
3109
3807
 
@@ -3173,6 +3871,22 @@ module Google
3173
3871
  # @return [::Google::Cloud::VmwareEngine::V1::PrivateConnection]
3174
3872
  #
3175
3873
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3874
+ #
3875
+ # @example Basic example
3876
+ # require "google/cloud/vmware_engine/v1"
3877
+ #
3878
+ # # Create a client object. The client can be reused for multiple calls.
3879
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
3880
+ #
3881
+ # # Create a request. To set request fields, pass in keyword arguments.
3882
+ # request = Google::Cloud::VmwareEngine::V1::GetPrivateConnectionRequest.new
3883
+ #
3884
+ # # Call the get_private_connection method.
3885
+ # result = client.get_private_connection request
3886
+ #
3887
+ # # The returned object is of type Google::Cloud::VmwareEngine::V1::PrivateConnection.
3888
+ # p result
3889
+ #
3176
3890
  def get_private_connection request, options = nil
3177
3891
  raise ::ArgumentError, "request must be provided" if request.nil?
3178
3892
 
@@ -3281,6 +3995,26 @@ module Google
3281
3995
  # @return [::Google::Cloud::VmwareEngine::V1::ListPrivateConnectionsResponse]
3282
3996
  #
3283
3997
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3998
+ #
3999
+ # @example Basic example
4000
+ # require "google/cloud/vmware_engine/v1"
4001
+ #
4002
+ # # Create a client object. The client can be reused for multiple calls.
4003
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
4004
+ #
4005
+ # # Create a request. To set request fields, pass in keyword arguments.
4006
+ # request = Google::Cloud::VmwareEngine::V1::ListPrivateConnectionsRequest.new
4007
+ #
4008
+ # # Call the list_private_connections method.
4009
+ # result = client.list_private_connections request
4010
+ #
4011
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
4012
+ # # over elements, and API calls will be issued to fetch pages as needed.
4013
+ # result.each do |item|
4014
+ # # Each element is of type ::Google::Cloud::VmwareEngine::V1::PrivateConnection.
4015
+ # p item
4016
+ # end
4017
+ #
3284
4018
  def list_private_connections request, options = nil
3285
4019
  raise ::ArgumentError, "request must be provided" if request.nil?
3286
4020
 
@@ -3366,6 +4100,29 @@ module Google
3366
4100
  # @return [::Gapic::Operation]
3367
4101
  #
3368
4102
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4103
+ #
4104
+ # @example Basic example
4105
+ # require "google/cloud/vmware_engine/v1"
4106
+ #
4107
+ # # Create a client object. The client can be reused for multiple calls.
4108
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
4109
+ #
4110
+ # # Create a request. To set request fields, pass in keyword arguments.
4111
+ # request = Google::Cloud::VmwareEngine::V1::UpdatePrivateConnectionRequest.new
4112
+ #
4113
+ # # Call the update_private_connection method.
4114
+ # result = client.update_private_connection request
4115
+ #
4116
+ # # The returned object is of type Gapic::Operation. You can use it to
4117
+ # # check the status of an operation, cancel it, or wait for results.
4118
+ # # Here is how to wait for a response.
4119
+ # result.wait_until_done! timeout: 60
4120
+ # if result.response?
4121
+ # p result.response
4122
+ # else
4123
+ # puts "No response received."
4124
+ # end
4125
+ #
3369
4126
  def update_private_connection request, options = nil
3370
4127
  raise ::ArgumentError, "request must be provided" if request.nil?
3371
4128
 
@@ -3450,6 +4207,29 @@ module Google
3450
4207
  # @return [::Gapic::Operation]
3451
4208
  #
3452
4209
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4210
+ #
4211
+ # @example Basic example
4212
+ # require "google/cloud/vmware_engine/v1"
4213
+ #
4214
+ # # Create a client object. The client can be reused for multiple calls.
4215
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
4216
+ #
4217
+ # # Create a request. To set request fields, pass in keyword arguments.
4218
+ # request = Google::Cloud::VmwareEngine::V1::DeletePrivateConnectionRequest.new
4219
+ #
4220
+ # # Call the delete_private_connection method.
4221
+ # result = client.delete_private_connection request
4222
+ #
4223
+ # # The returned object is of type Gapic::Operation. You can use it to
4224
+ # # check the status of an operation, cancel it, or wait for results.
4225
+ # # Here is how to wait for a response.
4226
+ # result.wait_until_done! timeout: 60
4227
+ # if result.response?
4228
+ # p result.response
4229
+ # else
4230
+ # puts "No response received."
4231
+ # end
4232
+ #
3453
4233
  def delete_private_connection request, options = nil
3454
4234
  raise ::ArgumentError, "request must be provided" if request.nil?
3455
4235
 
@@ -3526,6 +4306,26 @@ module Google
3526
4306
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VmwareEngine::V1::PeeringRoute>]
3527
4307
  #
3528
4308
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4309
+ #
4310
+ # @example Basic example
4311
+ # require "google/cloud/vmware_engine/v1"
4312
+ #
4313
+ # # Create a client object. The client can be reused for multiple calls.
4314
+ # client = Google::Cloud::VmwareEngine::V1::VmwareEngine::Rest::Client.new
4315
+ #
4316
+ # # Create a request. To set request fields, pass in keyword arguments.
4317
+ # request = Google::Cloud::VmwareEngine::V1::ListPrivateConnectionPeeringRoutesRequest.new
4318
+ #
4319
+ # # Call the list_private_connection_peering_routes method.
4320
+ # result = client.list_private_connection_peering_routes request
4321
+ #
4322
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
4323
+ # # over elements, and API calls will be issued to fetch pages as needed.
4324
+ # result.each do |item|
4325
+ # # Each element is of type ::Google::Cloud::VmwareEngine::V1::PeeringRoute.
4326
+ # p item
4327
+ # end
4328
+ #
3529
4329
  def list_private_connection_peering_routes request, options = nil
3530
4330
  raise ::ArgumentError, "request must be provided" if request.nil?
3531
4331
 
@@ -136,6 +136,26 @@ module Google
136
136
  # @return [::Gapic::Operation]
137
137
  #
138
138
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
139
+ #
140
+ # @example Basic example
141
+ # require "google/longrunning"
142
+ #
143
+ # # Create a client object. The client can be reused for multiple calls.
144
+ # client = Google::Longrunning::Operations::Rest::Client.new
145
+ #
146
+ # # Create a request. To set request fields, pass in keyword arguments.
147
+ # request = Google::Longrunning::ListOperationsRequest.new
148
+ #
149
+ # # Call the list_operations method.
150
+ # result = client.list_operations request
151
+ #
152
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
153
+ # # over elements, and API calls will be issued to fetch pages as needed.
154
+ # result.each do |item|
155
+ # # Each element is of type ::Google::Longrunning::Operation.
156
+ # p item
157
+ # end
158
+ #
139
159
  def list_operations request, options = nil
140
160
  raise ::ArgumentError, "request must be provided" if request.nil?
141
161
 
@@ -201,6 +221,29 @@ module Google
201
221
  # @return [::Gapic::Operation]
202
222
  #
203
223
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
224
+ #
225
+ # @example Basic example
226
+ # require "google/longrunning"
227
+ #
228
+ # # Create a client object. The client can be reused for multiple calls.
229
+ # client = Google::Longrunning::Operations::Rest::Client.new
230
+ #
231
+ # # Create a request. To set request fields, pass in keyword arguments.
232
+ # request = Google::Longrunning::GetOperationRequest.new
233
+ #
234
+ # # Call the get_operation method.
235
+ # result = client.get_operation request
236
+ #
237
+ # # The returned object is of type Gapic::Operation. You can use it to
238
+ # # check the status of an operation, cancel it, or wait for results.
239
+ # # Here is how to wait for a response.
240
+ # result.wait_until_done! timeout: 60
241
+ # if result.response?
242
+ # p result.response
243
+ # else
244
+ # puts "No response received."
245
+ # end
246
+ #
204
247
  def get_operation request, options = nil
205
248
  raise ::ArgumentError, "request must be provided" if request.nil?
206
249
 
@@ -267,6 +310,22 @@ module Google
267
310
  # @return [::Google::Protobuf::Empty]
268
311
  #
269
312
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
313
+ #
314
+ # @example Basic example
315
+ # require "google/longrunning"
316
+ #
317
+ # # Create a client object. The client can be reused for multiple calls.
318
+ # client = Google::Longrunning::Operations::Rest::Client.new
319
+ #
320
+ # # Create a request. To set request fields, pass in keyword arguments.
321
+ # request = Google::Longrunning::DeleteOperationRequest.new
322
+ #
323
+ # # Call the delete_operation method.
324
+ # result = client.delete_operation request
325
+ #
326
+ # # The returned object is of type Google::Protobuf::Empty.
327
+ # p result
328
+ #
270
329
  def delete_operation request, options = nil
271
330
  raise ::ArgumentError, "request must be provided" if request.nil?
272
331
 
@@ -338,6 +397,22 @@ module Google
338
397
  # @return [::Google::Protobuf::Empty]
339
398
  #
340
399
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
400
+ #
401
+ # @example Basic example
402
+ # require "google/longrunning"
403
+ #
404
+ # # Create a client object. The client can be reused for multiple calls.
405
+ # client = Google::Longrunning::Operations::Rest::Client.new
406
+ #
407
+ # # Create a request. To set request fields, pass in keyword arguments.
408
+ # request = Google::Longrunning::CancelOperationRequest.new
409
+ #
410
+ # # Call the cancel_operation method.
411
+ # result = client.cancel_operation request
412
+ #
413
+ # # The returned object is of type Google::Protobuf::Empty.
414
+ # p result
415
+ #
341
416
  def cancel_operation request, options = nil
342
417
  raise ::ArgumentError, "request must be provided" if request.nil?
343
418
 
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-vmware_engine-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-16 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.1
19
+ version: 0.20.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -263,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
263
263
  - !ruby/object:Gem::Version
264
264
  version: '0'
265
265
  requirements: []
266
- rubygems_version: 3.4.2
266
+ rubygems_version: 3.4.19
267
267
  signing_key:
268
268
  specification_version: 4
269
269
  summary: The Google VMware Engine API lets you programmatically manage VMware environments.