google-cloud-vmware_engine-v1 0.1.0 → 0.2.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.
@@ -285,7 +285,7 @@ module Google
285
285
  # clusters. Resource names are schemeless URIs that follow the conventions in
286
286
  # https://cloud.google.com/apis/design/resource_names.
287
287
  # For example:
288
- # `projects/my-project/locations/us-west1-a`
288
+ # `projects/my-project/locations/us-central1-a`
289
289
  # @param page_size [::Integer]
290
290
  # The maximum number of private clouds to return in one page.
291
291
  # The service may return fewer than this value.
@@ -351,13 +351,11 @@ module Google
351
351
  # # Call the list_private_clouds method.
352
352
  # result = client.list_private_clouds request
353
353
  #
354
- # # The returned object is of type Gapic::PagedEnumerable. You can
355
- # # iterate over all elements by calling #each, and the enumerable
356
- # # will lazily make API calls to fetch subsequent pages. Other
357
- # # methods are also available for managing paging directly.
358
- # result.each do |response|
354
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
355
+ # # over elements, and API calls will be issued to fetch pages as needed.
356
+ # result.each do |item|
359
357
  # # Each element is of type ::Google::Cloud::VmwareEngine::V1::PrivateCloud.
360
- # p response
358
+ # p item
361
359
  # end
362
360
  #
363
361
  def list_private_clouds request, options = nil
@@ -425,7 +423,7 @@ module Google
425
423
  # Resource names are schemeless URIs that follow the conventions in
426
424
  # https://cloud.google.com/apis/design/resource_names.
427
425
  # For example:
428
- # `projects/my-project/locations/us-west1-a/privateClouds/my-cloud`
426
+ # `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
429
427
  #
430
428
  # @yield [response, operation] Access the result along with the RPC operation
431
429
  # @yieldparam response [::Google::Cloud::VmwareEngine::V1::PrivateCloud]
@@ -520,7 +518,7 @@ module Google
520
518
  # private cloud in. Resource names are schemeless URIs that follow the
521
519
  # conventions in https://cloud.google.com/apis/design/resource_names.
522
520
  # For example:
523
- # `projects/my-project/locations/us-west1-a`
521
+ # `projects/my-project/locations/us-central1-a`
524
522
  # @param private_cloud_id [::String]
525
523
  # Required. The user-provided identifier of the private cloud to be created.
526
524
  # This identifier must be unique among each `PrivateCloud` within the parent
@@ -536,11 +534,11 @@ module Google
536
534
  # @param private_cloud [::Google::Cloud::VmwareEngine::V1::PrivateCloud, ::Hash]
537
535
  # Required. The initial description of the new private cloud.
538
536
  # @param request_id [::String]
539
- # Optional. The request ID must be a valid UUID with the exception that zero UUID is
540
- # not supported (00000000-0000-0000-0000-000000000000).
537
+ # Optional. The request ID must be a valid UUID with the exception that zero
538
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
541
539
  # @param validate_only [::Boolean]
542
- # Optional. True if you want the request to be validated and not executed; false
543
- # otherwise.
540
+ # Optional. True if you want the request to be validated and not executed;
541
+ # false otherwise.
544
542
  #
545
543
  # @yield [response, operation] Access the result along with the RPC operation
546
544
  # @yieldparam response [::Gapic::Operation]
@@ -562,14 +560,14 @@ module Google
562
560
  # # Call the create_private_cloud method.
563
561
  # result = client.create_private_cloud request
564
562
  #
565
- # # The returned object is of type Gapic::Operation. You can use this
566
- # # object to check the status of an operation, cancel it, or wait
567
- # # for results. Here is how to block until completion:
563
+ # # The returned object is of type Gapic::Operation. You can use it to
564
+ # # check the status of an operation, cancel it, or wait for results.
565
+ # # Here is how to wait for a response.
568
566
  # result.wait_until_done! timeout: 60
569
567
  # if result.response?
570
568
  # p result.response
571
569
  # else
572
- # puts "Error!"
570
+ # puts "No response received."
573
571
  # end
574
572
  #
575
573
  def create_private_cloud request, options = nil
@@ -648,8 +646,8 @@ module Google
648
646
  # overwritten if it is in the mask. If the user does not provide a mask then
649
647
  # all fields will be overwritten.
650
648
  # @param request_id [::String]
651
- # Optional. The request ID must be a valid UUID with the exception that zero UUID is
652
- # not supported (00000000-0000-0000-0000-000000000000).
649
+ # Optional. The request ID must be a valid UUID with the exception that zero
650
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
653
651
  #
654
652
  # @yield [response, operation] Access the result along with the RPC operation
655
653
  # @yieldparam response [::Gapic::Operation]
@@ -671,14 +669,14 @@ module Google
671
669
  # # Call the update_private_cloud method.
672
670
  # result = client.update_private_cloud request
673
671
  #
674
- # # The returned object is of type Gapic::Operation. You can use this
675
- # # object to check the status of an operation, cancel it, or wait
676
- # # for results. Here is how to block until completion:
672
+ # # The returned object is of type Gapic::Operation. You can use it to
673
+ # # check the status of an operation, cancel it, or wait for results.
674
+ # # Here is how to wait for a response.
677
675
  # result.wait_until_done! timeout: 60
678
676
  # if result.response?
679
677
  # p result.response
680
678
  # else
681
- # puts "Error!"
679
+ # puts "No response received."
682
680
  # end
683
681
  #
684
682
  def update_private_cloud request, options = nil
@@ -760,24 +758,25 @@ module Google
760
758
  # Resource names are schemeless URIs that follow the conventions in
761
759
  # https://cloud.google.com/apis/design/resource_names.
762
760
  # For example:
763
- # `projects/my-project/locations/us-west1-a/privateClouds/my-cloud`
761
+ # `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
764
762
  # @param request_id [::String]
765
- # Optional. The request ID must be a valid UUID with the exception that zero UUID is
766
- # not supported (00000000-0000-0000-0000-000000000000).
763
+ # Optional. The request ID must be a valid UUID with the exception that zero
764
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
767
765
  # @param force [::Boolean]
768
- # Optional. If set to true, cascade delete is enabled and all children of this private
769
- # cloud resource are also deleted. When this flag is set to false, the
770
- # private cloud will not be deleted if there are any children other than the
771
- # management cluster. The management cluster is always deleted.
766
+ # Optional. If set to true, cascade delete is enabled and all children of
767
+ # this private cloud resource are also deleted. When this flag is set to
768
+ # false, the private cloud will not be deleted if there are any children
769
+ # other than the management cluster. The management cluster is always
770
+ # deleted.
772
771
  # @param delay_hours [::Integer]
773
772
  # Optional. Time delay of the deletion specified in hours. The default value
774
773
  # is `3`. Specifying a non-zero value for this field changes the value of
775
774
  # `PrivateCloud.state` to `DELETED` and sets `expire_time` to the planned
776
775
  # deletion time. Deletion can be cancelled before `expire_time` elapses using
777
- # {::Google::Cloud::VmwareEngine::V1::VmwareEngine::Client#undelete_private_cloud VmwareEngine.UndeletePrivateCloud}. Specifying a value of `0` for
778
- # this field instead begins the deletion process and ceases billing
779
- # immediately. During the final deletion process, the value of
780
- # `PrivateCloud.state` becomes `PURGING`.
776
+ # {::Google::Cloud::VmwareEngine::V1::VmwareEngine::Client#undelete_private_cloud VmwareEngine.UndeletePrivateCloud}.
777
+ # Specifying a value of `0` for this field instead begins the deletion
778
+ # process and ceases billing immediately. During the final deletion process,
779
+ # the value of `PrivateCloud.state` becomes `PURGING`.
781
780
  #
782
781
  # @yield [response, operation] Access the result along with the RPC operation
783
782
  # @yieldparam response [::Gapic::Operation]
@@ -799,14 +798,14 @@ module Google
799
798
  # # Call the delete_private_cloud method.
800
799
  # result = client.delete_private_cloud request
801
800
  #
802
- # # The returned object is of type Gapic::Operation. You can use this
803
- # # object to check the status of an operation, cancel it, or wait
804
- # # for results. Here is how to block until completion:
801
+ # # The returned object is of type Gapic::Operation. You can use it to
802
+ # # check the status of an operation, cancel it, or wait for results.
803
+ # # Here is how to wait for a response.
805
804
  # result.wait_until_done! timeout: 60
806
805
  # if result.response?
807
806
  # p result.response
808
807
  # else
809
- # puts "Error!"
808
+ # puts "No response received."
810
809
  # end
811
810
  #
812
811
  def delete_private_cloud request, options = nil
@@ -877,10 +876,10 @@ module Google
877
876
  # Resource names are schemeless URIs that follow the conventions in
878
877
  # https://cloud.google.com/apis/design/resource_names.
879
878
  # For example:
880
- # `projects/my-project/locations/us-west1-a/privateClouds/my-cloud`
879
+ # `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
881
880
  # @param request_id [::String]
882
- # Optional. The request ID must be a valid UUID with the exception that zero UUID is
883
- # not supported (00000000-0000-0000-0000-000000000000).
881
+ # Optional. The request ID must be a valid UUID with the exception that zero
882
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
884
883
  #
885
884
  # @yield [response, operation] Access the result along with the RPC operation
886
885
  # @yieldparam response [::Gapic::Operation]
@@ -902,14 +901,14 @@ module Google
902
901
  # # Call the undelete_private_cloud method.
903
902
  # result = client.undelete_private_cloud request
904
903
  #
905
- # # The returned object is of type Gapic::Operation. You can use this
906
- # # object to check the status of an operation, cancel it, or wait
907
- # # for results. Here is how to block until completion:
904
+ # # The returned object is of type Gapic::Operation. You can use it to
905
+ # # check the status of an operation, cancel it, or wait for results.
906
+ # # Here is how to wait for a response.
908
907
  # result.wait_until_done! timeout: 60
909
908
  # if result.response?
910
909
  # p result.response
911
910
  # else
912
- # puts "Error!"
911
+ # puts "No response received."
913
912
  # end
914
913
  #
915
914
  def undelete_private_cloud request, options = nil
@@ -977,7 +976,7 @@ module Google
977
976
  # Resource names are schemeless URIs that follow the conventions in
978
977
  # https://cloud.google.com/apis/design/resource_names.
979
978
  # For example:
980
- # `projects/my-project/locations/us-west1-a/privateClouds/my-cloud`
979
+ # `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
981
980
  # @param page_size [::Integer]
982
981
  # The maximum number of clusters to return in one page.
983
982
  # The service may return fewer than this value.
@@ -1030,13 +1029,11 @@ module Google
1030
1029
  # # Call the list_clusters method.
1031
1030
  # result = client.list_clusters request
1032
1031
  #
1033
- # # The returned object is of type Gapic::PagedEnumerable. You can
1034
- # # iterate over all elements by calling #each, and the enumerable
1035
- # # will lazily make API calls to fetch subsequent pages. Other
1036
- # # methods are also available for managing paging directly.
1037
- # result.each do |response|
1032
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1033
+ # # over elements, and API calls will be issued to fetch pages as needed.
1034
+ # result.each do |item|
1038
1035
  # # Each element is of type ::Google::Cloud::VmwareEngine::V1::Cluster.
1039
- # p response
1036
+ # p item
1040
1037
  # end
1041
1038
  #
1042
1039
  def list_clusters request, options = nil
@@ -1104,7 +1101,7 @@ module Google
1104
1101
  # Resource names are schemeless URIs that follow the conventions in
1105
1102
  # https://cloud.google.com/apis/design/resource_names.
1106
1103
  # For example:
1107
- # `projects/my-project/locations/us-west1-a/privateClouds/my-cloud/clusters/my-cluster`
1104
+ # `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`
1108
1105
  #
1109
1106
  # @yield [response, operation] Access the result along with the RPC operation
1110
1107
  # @yieldparam response [::Google::Cloud::VmwareEngine::V1::Cluster]
@@ -1196,7 +1193,7 @@ module Google
1196
1193
  # in. Resource names are schemeless URIs that follow the conventions in
1197
1194
  # https://cloud.google.com/apis/design/resource_names.
1198
1195
  # For example:
1199
- # `projects/my-project/locations/us-west1-a/privateClouds/my-cloud`
1196
+ # `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
1200
1197
  # @param cluster_id [::String]
1201
1198
  # Required. The user-provided identifier of the new `Cluster`.
1202
1199
  # This identifier must be unique among clusters within the parent and becomes
@@ -1212,11 +1209,11 @@ module Google
1212
1209
  # @param cluster [::Google::Cloud::VmwareEngine::V1::Cluster, ::Hash]
1213
1210
  # Required. The initial description of the new cluster.
1214
1211
  # @param request_id [::String]
1215
- # Optional. The request ID must be a valid UUID with the exception that zero UUID is
1216
- # not supported (00000000-0000-0000-0000-000000000000).
1212
+ # Optional. The request ID must be a valid UUID with the exception that zero
1213
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1217
1214
  # @param validate_only [::Boolean]
1218
- # Optional. True if you want the request to be validated and not executed; false
1219
- # otherwise.
1215
+ # Optional. True if you want the request to be validated and not executed;
1216
+ # false otherwise.
1220
1217
  #
1221
1218
  # @yield [response, operation] Access the result along with the RPC operation
1222
1219
  # @yieldparam response [::Gapic::Operation]
@@ -1238,14 +1235,14 @@ module Google
1238
1235
  # # Call the create_cluster method.
1239
1236
  # result = client.create_cluster request
1240
1237
  #
1241
- # # The returned object is of type Gapic::Operation. You can use this
1242
- # # object to check the status of an operation, cancel it, or wait
1243
- # # for results. Here is how to block until completion:
1238
+ # # The returned object is of type Gapic::Operation. You can use it to
1239
+ # # check the status of an operation, cancel it, or wait for results.
1240
+ # # Here is how to wait for a response.
1244
1241
  # result.wait_until_done! timeout: 60
1245
1242
  # if result.response?
1246
1243
  # p result.response
1247
1244
  # else
1248
- # puts "Error!"
1245
+ # puts "No response received."
1249
1246
  # end
1250
1247
  #
1251
1248
  def create_cluster request, options = nil
@@ -1327,8 +1324,8 @@ module Google
1327
1324
  # Optional. The request ID must be a valid UUID with the exception that
1328
1325
  # zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1329
1326
  # @param validate_only [::Boolean]
1330
- # Optional. True if you want the request to be validated and not executed; false
1331
- # otherwise.
1327
+ # Optional. True if you want the request to be validated and not executed;
1328
+ # false otherwise.
1332
1329
  #
1333
1330
  # @yield [response, operation] Access the result along with the RPC operation
1334
1331
  # @yieldparam response [::Gapic::Operation]
@@ -1350,14 +1347,14 @@ module Google
1350
1347
  # # Call the update_cluster method.
1351
1348
  # result = client.update_cluster request
1352
1349
  #
1353
- # # The returned object is of type Gapic::Operation. You can use this
1354
- # # object to check the status of an operation, cancel it, or wait
1355
- # # for results. Here is how to block until completion:
1350
+ # # The returned object is of type Gapic::Operation. You can use it to
1351
+ # # check the status of an operation, cancel it, or wait for results.
1352
+ # # Here is how to wait for a response.
1356
1353
  # result.wait_until_done! timeout: 60
1357
1354
  # if result.response?
1358
1355
  # p result.response
1359
1356
  # else
1360
- # puts "Error!"
1357
+ # puts "No response received."
1361
1358
  # end
1362
1359
  #
1363
1360
  def update_cluster request, options = nil
@@ -1428,10 +1425,10 @@ module Google
1428
1425
  # Resource names are schemeless URIs that follow the conventions in
1429
1426
  # https://cloud.google.com/apis/design/resource_names.
1430
1427
  # For example:
1431
- # `projects/my-project/locations/us-west1-a/privateClouds/my-cloud/clusters/my-cluster`
1428
+ # `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`
1432
1429
  # @param request_id [::String]
1433
- # Optional. The request ID must be a valid UUID with the exception that zero UUID is
1434
- # not supported (00000000-0000-0000-0000-000000000000).
1430
+ # Optional. The request ID must be a valid UUID with the exception that zero
1431
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1435
1432
  #
1436
1433
  # @yield [response, operation] Access the result along with the RPC operation
1437
1434
  # @yieldparam response [::Gapic::Operation]
@@ -1453,14 +1450,14 @@ module Google
1453
1450
  # # Call the delete_cluster method.
1454
1451
  # result = client.delete_cluster request
1455
1452
  #
1456
- # # The returned object is of type Gapic::Operation. You can use this
1457
- # # object to check the status of an operation, cancel it, or wait
1458
- # # for results. Here is how to block until completion:
1453
+ # # The returned object is of type Gapic::Operation. You can use it to
1454
+ # # check the status of an operation, cancel it, or wait for results.
1455
+ # # Here is how to wait for a response.
1459
1456
  # result.wait_until_done! timeout: 60
1460
1457
  # if result.response?
1461
1458
  # p result.response
1462
1459
  # else
1463
- # puts "Error!"
1460
+ # puts "No response received."
1464
1461
  # end
1465
1462
  #
1466
1463
  def delete_cluster request, options = nil
@@ -1529,7 +1526,7 @@ module Google
1529
1526
  # Resource names are schemeless URIs that follow the conventions in
1530
1527
  # https://cloud.google.com/apis/design/resource_names.
1531
1528
  # For example:
1532
- # `projects/my-project/locations/us-west1-a/privateClouds/my-cloud`
1529
+ # `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
1533
1530
  # @param page_size [::Integer]
1534
1531
  # The maximum number of subnets to return in one page.
1535
1532
  # The service may return fewer than this value.
@@ -1562,13 +1559,11 @@ module Google
1562
1559
  # # Call the list_subnets method.
1563
1560
  # result = client.list_subnets request
1564
1561
  #
1565
- # # The returned object is of type Gapic::PagedEnumerable. You can
1566
- # # iterate over all elements by calling #each, and the enumerable
1567
- # # will lazily make API calls to fetch subsequent pages. Other
1568
- # # methods are also available for managing paging directly.
1569
- # result.each do |response|
1562
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1563
+ # # over elements, and API calls will be issued to fetch pages as needed.
1564
+ # result.each do |item|
1570
1565
  # # Each element is of type ::Google::Cloud::VmwareEngine::V1::Subnet.
1571
- # p response
1566
+ # p item
1572
1567
  # end
1573
1568
  #
1574
1569
  def list_subnets request, options = nil
@@ -1636,7 +1631,7 @@ module Google
1636
1631
  # Resource names are schemeless URIs that follow the conventions in
1637
1632
  # https://cloud.google.com/apis/design/resource_names.
1638
1633
  # For example:
1639
- # `projects/my-project/locations/us-west1-a`
1634
+ # `projects/my-project/locations/us-central1-a`
1640
1635
  # @param page_size [::Integer]
1641
1636
  # The maximum number of node types to return in one page.
1642
1637
  # The service may return fewer than this value.
@@ -1695,13 +1690,11 @@ module Google
1695
1690
  # # Call the list_node_types method.
1696
1691
  # result = client.list_node_types request
1697
1692
  #
1698
- # # The returned object is of type Gapic::PagedEnumerable. You can
1699
- # # iterate over all elements by calling #each, and the enumerable
1700
- # # will lazily make API calls to fetch subsequent pages. Other
1701
- # # methods are also available for managing paging directly.
1702
- # result.each do |response|
1693
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1694
+ # # over elements, and API calls will be issued to fetch pages as needed.
1695
+ # result.each do |item|
1703
1696
  # # Each element is of type ::Google::Cloud::VmwareEngine::V1::NodeType.
1704
- # p response
1697
+ # p item
1705
1698
  # end
1706
1699
  #
1707
1700
  def list_node_types request, options = nil
@@ -1769,7 +1762,7 @@ module Google
1769
1762
  # Resource names are schemeless URIs that follow the conventions in
1770
1763
  # https://cloud.google.com/apis/design/resource_names.
1771
1764
  # For example:
1772
- # `projects/my-proj/locations/us-west1-a/nodeTypes/standard-72`
1765
+ # `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72`
1773
1766
  #
1774
1767
  # @yield [response, operation] Access the result along with the RPC operation
1775
1768
  # @yieldparam response [::Google::Cloud::VmwareEngine::V1::NodeType]
@@ -1859,7 +1852,7 @@ module Google
1859
1852
  # Resource names are schemeless URIs that follow the conventions in
1860
1853
  # https://cloud.google.com/apis/design/resource_names.
1861
1854
  # For example:
1862
- # `projects/my-project/locations/us-west1-a/privateClouds/my-cloud`
1855
+ # `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
1863
1856
  #
1864
1857
  # @yield [response, operation] Access the result along with the RPC operation
1865
1858
  # @yieldparam response [::Google::Cloud::VmwareEngine::V1::Credentials]
@@ -1949,7 +1942,7 @@ module Google
1949
1942
  # Resource names are schemeless URIs that follow the conventions in
1950
1943
  # https://cloud.google.com/apis/design/resource_names.
1951
1944
  # For example:
1952
- # `projects/my-project/locations/us-west1-a/privateClouds/my-cloud`
1945
+ # `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
1953
1946
  #
1954
1947
  # @yield [response, operation] Access the result along with the RPC operation
1955
1948
  # @yieldparam response [::Google::Cloud::VmwareEngine::V1::Credentials]
@@ -2039,7 +2032,7 @@ module Google
2039
2032
  # Resource names are schemeless URIs that follow the conventions in
2040
2033
  # https://cloud.google.com/apis/design/resource_names.
2041
2034
  # For example:
2042
- # `projects/my-project/locations/us-west1-a/privateClouds/my-cloud`
2035
+ # `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
2043
2036
  # @param request_id [::String]
2044
2037
  # Optional. A request ID to identify requests. Specify a unique request ID
2045
2038
  # so that if you must retry your request, the server will know to ignore
@@ -2076,14 +2069,14 @@ module Google
2076
2069
  # # Call the reset_nsx_credentials method.
2077
2070
  # result = client.reset_nsx_credentials request
2078
2071
  #
2079
- # # The returned object is of type Gapic::Operation. You can use this
2080
- # # object to check the status of an operation, cancel it, or wait
2081
- # # for results. Here is how to block until completion:
2072
+ # # The returned object is of type Gapic::Operation. You can use it to
2073
+ # # check the status of an operation, cancel it, or wait for results.
2074
+ # # Here is how to wait for a response.
2082
2075
  # result.wait_until_done! timeout: 60
2083
2076
  # if result.response?
2084
2077
  # p result.response
2085
2078
  # else
2086
- # puts "Error!"
2079
+ # puts "No response received."
2087
2080
  # end
2088
2081
  #
2089
2082
  def reset_nsx_credentials request, options = nil
@@ -2152,7 +2145,7 @@ module Google
2152
2145
  # Resource names are schemeless URIs that follow the conventions in
2153
2146
  # https://cloud.google.com/apis/design/resource_names.
2154
2147
  # For example:
2155
- # `projects/my-project/locations/us-west1-a/privateClouds/my-cloud`
2148
+ # `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
2156
2149
  # @param request_id [::String]
2157
2150
  # Optional. A request ID to identify requests. Specify a unique request ID
2158
2151
  # so that if you must retry your request, the server will know to ignore
@@ -2189,14 +2182,14 @@ module Google
2189
2182
  # # Call the reset_vcenter_credentials method.
2190
2183
  # result = client.reset_vcenter_credentials request
2191
2184
  #
2192
- # # The returned object is of type Gapic::Operation. You can use this
2193
- # # object to check the status of an operation, cancel it, or wait
2194
- # # for results. Here is how to block until completion:
2185
+ # # The returned object is of type Gapic::Operation. You can use it to
2186
+ # # check the status of an operation, cancel it, or wait for results.
2187
+ # # Here is how to wait for a response.
2195
2188
  # result.wait_until_done! timeout: 60
2196
2189
  # if result.response?
2197
2190
  # p result.response
2198
2191
  # else
2199
- # puts "Error!"
2192
+ # puts "No response received."
2200
2193
  # end
2201
2194
  #
2202
2195
  def reset_vcenter_credentials request, options = nil
@@ -2316,14 +2309,14 @@ module Google
2316
2309
  # # Call the create_hcx_activation_key method.
2317
2310
  # result = client.create_hcx_activation_key request
2318
2311
  #
2319
- # # The returned object is of type Gapic::Operation. You can use this
2320
- # # object to check the status of an operation, cancel it, or wait
2321
- # # for results. Here is how to block until completion:
2312
+ # # The returned object is of type Gapic::Operation. You can use it to
2313
+ # # check the status of an operation, cancel it, or wait for results.
2314
+ # # Here is how to wait for a response.
2322
2315
  # result.wait_until_done! timeout: 60
2323
2316
  # if result.response?
2324
2317
  # p result.response
2325
2318
  # else
2326
- # puts "Error!"
2319
+ # puts "No response received."
2327
2320
  # end
2328
2321
  #
2329
2322
  def create_hcx_activation_key request, options = nil
@@ -2426,13 +2419,11 @@ module Google
2426
2419
  # # Call the list_hcx_activation_keys method.
2427
2420
  # result = client.list_hcx_activation_keys request
2428
2421
  #
2429
- # # The returned object is of type Gapic::PagedEnumerable. You can
2430
- # # iterate over all elements by calling #each, and the enumerable
2431
- # # will lazily make API calls to fetch subsequent pages. Other
2432
- # # methods are also available for managing paging directly.
2433
- # result.each do |response|
2422
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2423
+ # # over elements, and API calls will be issued to fetch pages as needed.
2424
+ # result.each do |item|
2434
2425
  # # Each element is of type ::Google::Cloud::VmwareEngine::V1::HcxActivationKey.
2435
- # p response
2426
+ # p item
2436
2427
  # end
2437
2428
  #
2438
2429
  def list_hcx_activation_keys request, options = nil
@@ -2500,7 +2491,7 @@ module Google
2500
2491
  # Resource names are schemeless URIs that follow the conventions in
2501
2492
  # https://cloud.google.com/apis/design/resource_names.
2502
2493
  # For example:
2503
- # `projects/my-project/locations/us-west1/privateClouds/my-cloud/hcxActivationKeys/my-key`
2494
+ # `projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key`
2504
2495
  #
2505
2496
  # @yield [response, operation] Access the result along with the RPC operation
2506
2497
  # @yieldparam response [::Google::Cloud::VmwareEngine::V1::HcxActivationKey]
@@ -2743,13 +2734,11 @@ module Google
2743
2734
  # # Call the list_network_policies method.
2744
2735
  # result = client.list_network_policies request
2745
2736
  #
2746
- # # The returned object is of type Gapic::PagedEnumerable. You can
2747
- # # iterate over all elements by calling #each, and the enumerable
2748
- # # will lazily make API calls to fetch subsequent pages. Other
2749
- # # methods are also available for managing paging directly.
2750
- # result.each do |response|
2737
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2738
+ # # over elements, and API calls will be issued to fetch pages as needed.
2739
+ # result.each do |item|
2751
2740
  # # Each element is of type ::Google::Cloud::VmwareEngine::V1::NetworkPolicy.
2752
- # p response
2741
+ # p item
2753
2742
  # end
2754
2743
  #
2755
2744
  def list_network_policies request, options = nil
@@ -2872,14 +2861,14 @@ module Google
2872
2861
  # # Call the create_network_policy method.
2873
2862
  # result = client.create_network_policy request
2874
2863
  #
2875
- # # The returned object is of type Gapic::Operation. You can use this
2876
- # # object to check the status of an operation, cancel it, or wait
2877
- # # for results. Here is how to block until completion:
2864
+ # # The returned object is of type Gapic::Operation. You can use it to
2865
+ # # check the status of an operation, cancel it, or wait for results.
2866
+ # # Here is how to wait for a response.
2878
2867
  # result.wait_until_done! timeout: 60
2879
2868
  # if result.response?
2880
2869
  # p result.response
2881
2870
  # else
2882
- # puts "Error!"
2871
+ # puts "No response received."
2883
2872
  # end
2884
2873
  #
2885
2874
  def create_network_policy request, options = nil
@@ -2997,14 +2986,14 @@ module Google
2997
2986
  # # Call the update_network_policy method.
2998
2987
  # result = client.update_network_policy request
2999
2988
  #
3000
- # # The returned object is of type Gapic::Operation. You can use this
3001
- # # object to check the status of an operation, cancel it, or wait
3002
- # # for results. Here is how to block until completion:
2989
+ # # The returned object is of type Gapic::Operation. You can use it to
2990
+ # # check the status of an operation, cancel it, or wait for results.
2991
+ # # Here is how to wait for a response.
3003
2992
  # result.wait_until_done! timeout: 60
3004
2993
  # if result.response?
3005
2994
  # p result.response
3006
2995
  # else
3007
- # puts "Error!"
2996
+ # puts "No response received."
3008
2997
  # end
3009
2998
  #
3010
2999
  def update_network_policy request, options = nil
@@ -3111,14 +3100,14 @@ module Google
3111
3100
  # # Call the delete_network_policy method.
3112
3101
  # result = client.delete_network_policy request
3113
3102
  #
3114
- # # The returned object is of type Gapic::Operation. You can use this
3115
- # # object to check the status of an operation, cancel it, or wait
3116
- # # for results. Here is how to block until completion:
3103
+ # # The returned object is of type Gapic::Operation. You can use it to
3104
+ # # check the status of an operation, cancel it, or wait for results.
3105
+ # # Here is how to wait for a response.
3117
3106
  # result.wait_until_done! timeout: 60
3118
3107
  # if result.response?
3119
3108
  # p result.response
3120
3109
  # else
3121
- # puts "Error!"
3110
+ # puts "No response received."
3122
3111
  # end
3123
3112
  #
3124
3113
  def delete_network_policy request, options = nil
@@ -3197,7 +3186,7 @@ module Google
3197
3186
  #
3198
3187
  # * For networks of type LEGACY, adheres to the format:
3199
3188
  # `{region-id}-default`. Replace `{region-id}` with the region where you want
3200
- # to create the VMware Engine network. For example, "us-west1-default".
3189
+ # to create the VMware Engine network. For example, "us-central1-default".
3201
3190
  # * Only contains 1-63 alphanumeric characters and hyphens
3202
3191
  # * Begins with an alphabetical character
3203
3192
  # * Ends with a non-hyphen character
@@ -3242,14 +3231,14 @@ module Google
3242
3231
  # # Call the create_vmware_engine_network method.
3243
3232
  # result = client.create_vmware_engine_network request
3244
3233
  #
3245
- # # The returned object is of type Gapic::Operation. You can use this
3246
- # # object to check the status of an operation, cancel it, or wait
3247
- # # for results. Here is how to block until completion:
3234
+ # # The returned object is of type Gapic::Operation. You can use it to
3235
+ # # check the status of an operation, cancel it, or wait for results.
3236
+ # # Here is how to wait for a response.
3248
3237
  # result.wait_until_done! timeout: 60
3249
3238
  # if result.response?
3250
3239
  # p result.response
3251
3240
  # else
3252
- # puts "Error!"
3241
+ # puts "No response received."
3253
3242
  # end
3254
3243
  #
3255
3244
  def create_vmware_engine_network request, options = nil
@@ -3359,14 +3348,14 @@ module Google
3359
3348
  # # Call the update_vmware_engine_network method.
3360
3349
  # result = client.update_vmware_engine_network request
3361
3350
  #
3362
- # # The returned object is of type Gapic::Operation. You can use this
3363
- # # object to check the status of an operation, cancel it, or wait
3364
- # # for results. Here is how to block until completion:
3351
+ # # The returned object is of type Gapic::Operation. You can use it to
3352
+ # # check the status of an operation, cancel it, or wait for results.
3353
+ # # Here is how to wait for a response.
3365
3354
  # result.wait_until_done! timeout: 60
3366
3355
  # if result.response?
3367
3356
  # p result.response
3368
3357
  # else
3369
- # puts "Error!"
3358
+ # puts "No response received."
3370
3359
  # end
3371
3360
  #
3372
3361
  def update_vmware_engine_network request, options = nil
@@ -3454,10 +3443,10 @@ module Google
3454
3443
  # The request ID must be a valid UUID with the exception that zero UUID is
3455
3444
  # not supported (00000000-0000-0000-0000-000000000000).
3456
3445
  # @param etag [::String]
3457
- # Optional. Checksum used to ensure that the user-provided value is up to date before
3458
- # the server processes the request. The server compares provided checksum
3459
- # with the current checksum of the resource. If the user-provided value is
3460
- # out of date, this request returns an `ABORTED` error.
3446
+ # Optional. Checksum used to ensure that the user-provided value is up to
3447
+ # date before the server processes the request. The server compares provided
3448
+ # checksum with the current checksum of the resource. If the user-provided
3449
+ # value is out of date, this request returns an `ABORTED` error.
3461
3450
  #
3462
3451
  # @yield [response, operation] Access the result along with the RPC operation
3463
3452
  # @yieldparam response [::Gapic::Operation]
@@ -3479,14 +3468,14 @@ module Google
3479
3468
  # # Call the delete_vmware_engine_network method.
3480
3469
  # result = client.delete_vmware_engine_network request
3481
3470
  #
3482
- # # The returned object is of type Gapic::Operation. You can use this
3483
- # # object to check the status of an operation, cancel it, or wait
3484
- # # for results. Here is how to block until completion:
3471
+ # # The returned object is of type Gapic::Operation. You can use it to
3472
+ # # check the status of an operation, cancel it, or wait for results.
3473
+ # # Here is how to wait for a response.
3485
3474
  # result.wait_until_done! timeout: 60
3486
3475
  # if result.response?
3487
3476
  # p result.response
3488
3477
  # else
3489
- # puts "Error!"
3478
+ # puts "No response received."
3490
3479
  # end
3491
3480
  #
3492
3481
  def delete_vmware_engine_network request, options = nil
@@ -3710,13 +3699,11 @@ module Google
3710
3699
  # # Call the list_vmware_engine_networks method.
3711
3700
  # result = client.list_vmware_engine_networks request
3712
3701
  #
3713
- # # The returned object is of type Gapic::PagedEnumerable. You can
3714
- # # iterate over all elements by calling #each, and the enumerable
3715
- # # will lazily make API calls to fetch subsequent pages. Other
3716
- # # methods are also available for managing paging directly.
3717
- # result.each do |response|
3702
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
3703
+ # # over elements, and API calls will be issued to fetch pages as needed.
3704
+ # result.each do |item|
3718
3705
  # # Each element is of type ::Google::Cloud::VmwareEngine::V1::VmwareEngineNetwork.
3719
- # p response
3706
+ # p item
3720
3707
  # end
3721
3708
  #
3722
3709
  def list_vmware_engine_networks request, options = nil