google-cloud-gke_multi_cloud-v1 0.9.0 → 0.10.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.
@@ -33,6 +33,9 @@ module Google
33
33
  # to create and manage Anthos clusters that run on Azure infrastructure.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "gkemulticloud.$UNIVERSE_DOMAIN$"
38
41
 
@@ -331,12 +334,13 @@ module Google
331
334
  # Customize the options with defaults
332
335
  call_metadata = @config.rpcs.create_azure_client.metadata.to_h
333
336
 
334
- # Set x-goog-api-client and x-goog-user-project headers
337
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
335
338
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
336
339
  lib_name: @config.lib_name, lib_version: @config.lib_version,
337
340
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
338
341
  transports_version_send: [:rest]
339
342
 
343
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
340
344
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
341
345
 
342
346
  options.apply_defaults timeout: @config.rpcs.create_azure_client.timeout,
@@ -420,12 +424,13 @@ module Google
420
424
  # Customize the options with defaults
421
425
  call_metadata = @config.rpcs.get_azure_client.metadata.to_h
422
426
 
423
- # Set x-goog-api-client and x-goog-user-project headers
427
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
424
428
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
425
429
  lib_name: @config.lib_name, lib_version: @config.lib_version,
426
430
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
427
431
  transports_version_send: [:rest]
428
432
 
433
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
429
434
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
430
435
 
431
436
  options.apply_defaults timeout: @config.rpcs.get_azure_client.timeout,
@@ -521,12 +526,13 @@ module Google
521
526
  # Customize the options with defaults
522
527
  call_metadata = @config.rpcs.list_azure_clients.metadata.to_h
523
528
 
524
- # Set x-goog-api-client and x-goog-user-project headers
529
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
525
530
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
526
531
  lib_name: @config.lib_name, lib_version: @config.lib_version,
527
532
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
528
533
  transports_version_send: [:rest]
529
534
 
535
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
530
536
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
531
537
 
532
538
  options.apply_defaults timeout: @config.rpcs.list_azure_clients.timeout,
@@ -632,12 +638,13 @@ module Google
632
638
  # Customize the options with defaults
633
639
  call_metadata = @config.rpcs.delete_azure_client.metadata.to_h
634
640
 
635
- # Set x-goog-api-client and x-goog-user-project headers
641
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
636
642
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
637
643
  lib_name: @config.lib_name, lib_version: @config.lib_version,
638
644
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
639
645
  transports_version_send: [:rest]
640
646
 
647
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
641
648
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
642
649
 
643
650
  options.apply_defaults timeout: @config.rpcs.delete_azure_client.timeout,
@@ -745,12 +752,13 @@ module Google
745
752
  # Customize the options with defaults
746
753
  call_metadata = @config.rpcs.create_azure_cluster.metadata.to_h
747
754
 
748
- # Set x-goog-api-client and x-goog-user-project headers
755
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
749
756
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
750
757
  lib_name: @config.lib_name, lib_version: @config.lib_version,
751
758
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
752
759
  transports_version_send: [:rest]
753
760
 
761
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
754
762
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
755
763
 
756
764
  options.apply_defaults timeout: @config.rpcs.create_azure_cluster.timeout,
@@ -856,12 +864,13 @@ module Google
856
864
  # Customize the options with defaults
857
865
  call_metadata = @config.rpcs.update_azure_cluster.metadata.to_h
858
866
 
859
- # Set x-goog-api-client and x-goog-user-project headers
867
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
860
868
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
861
869
  lib_name: @config.lib_name, lib_version: @config.lib_version,
862
870
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
863
871
  transports_version_send: [:rest]
864
872
 
873
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
865
874
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
866
875
 
867
876
  options.apply_defaults timeout: @config.rpcs.update_azure_cluster.timeout,
@@ -944,12 +953,13 @@ module Google
944
953
  # Customize the options with defaults
945
954
  call_metadata = @config.rpcs.get_azure_cluster.metadata.to_h
946
955
 
947
- # Set x-goog-api-client and x-goog-user-project headers
956
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
948
957
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
949
958
  lib_name: @config.lib_name, lib_version: @config.lib_version,
950
959
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
951
960
  transports_version_send: [:rest]
952
961
 
962
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
953
963
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
954
964
 
955
965
  options.apply_defaults timeout: @config.rpcs.get_azure_cluster.timeout,
@@ -1045,12 +1055,13 @@ module Google
1045
1055
  # Customize the options with defaults
1046
1056
  call_metadata = @config.rpcs.list_azure_clusters.metadata.to_h
1047
1057
 
1048
- # Set x-goog-api-client and x-goog-user-project headers
1058
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1049
1059
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1050
1060
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1051
1061
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
1052
1062
  transports_version_send: [:rest]
1053
1063
 
1064
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1054
1065
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1055
1066
 
1056
1067
  options.apply_defaults timeout: @config.rpcs.list_azure_clusters.timeout,
@@ -1091,7 +1102,7 @@ module Google
1091
1102
  # @param options [::Gapic::CallOptions, ::Hash]
1092
1103
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1093
1104
  #
1094
- # @overload delete_azure_cluster(name: nil, allow_missing: nil, validate_only: nil, etag: nil)
1105
+ # @overload delete_azure_cluster(name: nil, allow_missing: nil, validate_only: nil, etag: nil, ignore_errors: nil)
1095
1106
  # Pass arguments to `delete_azure_cluster` via keyword arguments. Note that at
1096
1107
  # least one keyword argument is required. To specify no parameters, or to keep all
1097
1108
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1122,6 +1133,11 @@ module Google
1122
1133
  #
1123
1134
  # If the provided etag does not match the current etag of the cluster,
1124
1135
  # the request will fail and an ABORTED error will be returned.
1136
+ # @param ignore_errors [::Boolean]
1137
+ # Optional. If set to true, the deletion of
1138
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource will
1139
+ # succeed even if errors occur during deleting in cluster resources. Using
1140
+ # this parameter may result in orphaned resources in the cluster.
1125
1141
  # @yield [result, operation] Access the result along with the TransportOperation object
1126
1142
  # @yieldparam result [::Gapic::Operation]
1127
1143
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1163,12 +1179,13 @@ module Google
1163
1179
  # Customize the options with defaults
1164
1180
  call_metadata = @config.rpcs.delete_azure_cluster.metadata.to_h
1165
1181
 
1166
- # Set x-goog-api-client and x-goog-user-project headers
1182
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1167
1183
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1168
1184
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1169
1185
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
1170
1186
  transports_version_send: [:rest]
1171
1187
 
1188
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1172
1189
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1173
1190
 
1174
1191
  options.apply_defaults timeout: @config.rpcs.delete_azure_cluster.timeout,
@@ -1260,12 +1277,13 @@ module Google
1260
1277
  # Customize the options with defaults
1261
1278
  call_metadata = @config.rpcs.generate_azure_cluster_agent_token.metadata.to_h
1262
1279
 
1263
- # Set x-goog-api-client and x-goog-user-project headers
1280
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1264
1281
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1265
1282
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1266
1283
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
1267
1284
  transports_version_send: [:rest]
1268
1285
 
1286
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1269
1287
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1270
1288
 
1271
1289
  options.apply_defaults timeout: @config.rpcs.generate_azure_cluster_agent_token.timeout,
@@ -1347,12 +1365,13 @@ module Google
1347
1365
  # Customize the options with defaults
1348
1366
  call_metadata = @config.rpcs.generate_azure_access_token.metadata.to_h
1349
1367
 
1350
- # Set x-goog-api-client and x-goog-user-project headers
1368
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1351
1369
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1352
1370
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1353
1371
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
1354
1372
  transports_version_send: [:rest]
1355
1373
 
1374
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1356
1375
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1357
1376
 
1358
1377
  options.apply_defaults timeout: @config.rpcs.generate_azure_access_token.timeout,
@@ -1461,12 +1480,13 @@ module Google
1461
1480
  # Customize the options with defaults
1462
1481
  call_metadata = @config.rpcs.create_azure_node_pool.metadata.to_h
1463
1482
 
1464
- # Set x-goog-api-client and x-goog-user-project headers
1483
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1465
1484
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1466
1485
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1467
1486
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
1468
1487
  transports_version_send: [:rest]
1469
1488
 
1489
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1470
1490
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1471
1491
 
1472
1492
  options.apply_defaults timeout: @config.rpcs.create_azure_node_pool.timeout,
@@ -1562,12 +1582,13 @@ module Google
1562
1582
  # Customize the options with defaults
1563
1583
  call_metadata = @config.rpcs.update_azure_node_pool.metadata.to_h
1564
1584
 
1565
- # Set x-goog-api-client and x-goog-user-project headers
1585
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1566
1586
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1567
1587
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1568
1588
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
1569
1589
  transports_version_send: [:rest]
1570
1590
 
1591
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1571
1592
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1572
1593
 
1573
1594
  options.apply_defaults timeout: @config.rpcs.update_azure_node_pool.timeout,
@@ -1650,12 +1671,13 @@ module Google
1650
1671
  # Customize the options with defaults
1651
1672
  call_metadata = @config.rpcs.get_azure_node_pool.metadata.to_h
1652
1673
 
1653
- # Set x-goog-api-client and x-goog-user-project headers
1674
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1654
1675
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1655
1676
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1656
1677
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
1657
1678
  transports_version_send: [:rest]
1658
1679
 
1680
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1659
1681
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1660
1682
 
1661
1683
  options.apply_defaults timeout: @config.rpcs.get_azure_node_pool.timeout,
@@ -1753,12 +1775,13 @@ module Google
1753
1775
  # Customize the options with defaults
1754
1776
  call_metadata = @config.rpcs.list_azure_node_pools.metadata.to_h
1755
1777
 
1756
- # Set x-goog-api-client and x-goog-user-project headers
1778
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1757
1779
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1758
1780
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1759
1781
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
1760
1782
  transports_version_send: [:rest]
1761
1783
 
1784
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1762
1785
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1763
1786
 
1764
1787
  options.apply_defaults timeout: @config.rpcs.list_azure_node_pools.timeout,
@@ -1796,7 +1819,7 @@ module Google
1796
1819
  # @param options [::Gapic::CallOptions, ::Hash]
1797
1820
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1798
1821
  #
1799
- # @overload delete_azure_node_pool(name: nil, validate_only: nil, allow_missing: nil, etag: nil)
1822
+ # @overload delete_azure_node_pool(name: nil, validate_only: nil, allow_missing: nil, etag: nil, ignore_errors: nil)
1800
1823
  # Pass arguments to `delete_azure_node_pool` via keyword arguments. Note that at
1801
1824
  # least one keyword argument is required. To specify no parameters, or to keep all
1802
1825
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1829,6 +1852,11 @@ module Google
1829
1852
  #
1830
1853
  # If the provided ETag does not match the current etag of the node pool,
1831
1854
  # the request will fail and an ABORTED error will be returned.
1855
+ # @param ignore_errors [::Boolean]
1856
+ # Optional. If set to true, the deletion of
1857
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource will
1858
+ # succeed even if errors occur during deleting in node pool resources. Using
1859
+ # this parameter may result in orphaned resources in the node pool.
1832
1860
  # @yield [result, operation] Access the result along with the TransportOperation object
1833
1861
  # @yieldparam result [::Gapic::Operation]
1834
1862
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -1870,12 +1898,13 @@ module Google
1870
1898
  # Customize the options with defaults
1871
1899
  call_metadata = @config.rpcs.delete_azure_node_pool.metadata.to_h
1872
1900
 
1873
- # Set x-goog-api-client and x-goog-user-project headers
1901
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1874
1902
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1875
1903
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1876
1904
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
1877
1905
  transports_version_send: [:rest]
1878
1906
 
1907
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1879
1908
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1880
1909
 
1881
1910
  options.apply_defaults timeout: @config.rpcs.delete_azure_node_pool.timeout,
@@ -1955,12 +1984,13 @@ module Google
1955
1984
  # Customize the options with defaults
1956
1985
  call_metadata = @config.rpcs.get_azure_open_id_config.metadata.to_h
1957
1986
 
1958
- # Set x-goog-api-client and x-goog-user-project headers
1987
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1959
1988
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1960
1989
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1961
1990
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
1962
1991
  transports_version_send: [:rest]
1963
1992
 
1993
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1964
1994
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1965
1995
 
1966
1996
  options.apply_defaults timeout: @config.rpcs.get_azure_open_id_config.timeout,
@@ -2001,7 +2031,7 @@ module Google
2001
2031
  # @param azure_cluster [::String]
2002
2032
  # Required. The AzureCluster, which owns the JsonWebKeys.
2003
2033
  # Format:
2004
- # projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
2034
+ # `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`
2005
2035
  # @yield [result, operation] Access the result along with the TransportOperation object
2006
2036
  # @yieldparam result [::Google::Cloud::GkeMultiCloud::V1::AzureJsonWebKeys]
2007
2037
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -2036,12 +2066,13 @@ module Google
2036
2066
  # Customize the options with defaults
2037
2067
  call_metadata = @config.rpcs.get_azure_json_web_keys.metadata.to_h
2038
2068
 
2039
- # Set x-goog-api-client and x-goog-user-project headers
2069
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2040
2070
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2041
2071
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2042
2072
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
2043
2073
  transports_version_send: [:rest]
2044
2074
 
2075
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2045
2076
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2046
2077
 
2047
2078
  options.apply_defaults timeout: @config.rpcs.get_azure_json_web_keys.timeout,
@@ -2123,12 +2154,13 @@ module Google
2123
2154
  # Customize the options with defaults
2124
2155
  call_metadata = @config.rpcs.get_azure_server_config.metadata.to_h
2125
2156
 
2126
- # Set x-goog-api-client and x-goog-user-project headers
2157
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2127
2158
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2128
2159
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2129
2160
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
2130
2161
  transports_version_send: [:rest]
2131
2162
 
2163
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2132
2164
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2133
2165
 
2134
2166
  options.apply_defaults timeout: @config.rpcs.get_azure_server_config.timeout,
@@ -26,6 +26,9 @@ module Google
26
26
  module Rest
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "gkemulticloud.$UNIVERSE_DOMAIN$"
31
34
 
@@ -181,12 +184,13 @@ module Google
181
184
  # Customize the options with defaults
182
185
  call_metadata = @config.rpcs.list_operations.metadata.to_h
183
186
 
184
- # Set x-goog-api-client and x-goog-user-project headers
187
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
185
188
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
186
189
  lib_name: @config.lib_name, lib_version: @config.lib_version,
187
190
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
188
191
  transports_version_send: [:rest]
189
192
 
193
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
190
194
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
191
195
 
192
196
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -269,12 +273,13 @@ module Google
269
273
  # Customize the options with defaults
270
274
  call_metadata = @config.rpcs.get_operation.metadata.to_h
271
275
 
272
- # Set x-goog-api-client and x-goog-user-project headers
276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
273
277
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
274
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
275
279
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
276
280
  transports_version_send: [:rest]
277
281
 
282
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
278
283
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
279
284
 
280
285
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -351,12 +356,13 @@ module Google
351
356
  # Customize the options with defaults
352
357
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
353
358
 
354
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
355
360
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
356
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
357
362
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
358
363
  transports_version_send: [:rest]
359
364
 
365
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
360
366
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
361
367
 
362
368
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -438,12 +444,13 @@ module Google
438
444
  # Customize the options with defaults
439
445
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
440
446
 
441
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
442
448
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
443
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
444
450
  gapic_version: ::Google::Cloud::GkeMultiCloud::V1::VERSION,
445
451
  transports_version_send: [:rest]
446
452
 
453
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
454
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
455
 
449
456
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module GkeMultiCloud
23
23
  module V1
24
- VERSION = "0.9.0"
24
+ VERSION = "0.10.0"
25
25
  end
26
26
  end
27
27
  end
@@ -16,7 +16,7 @@ require 'google/protobuf/field_mask_pb'
16
16
  require 'google/protobuf/timestamp_pb'
17
17
 
18
18
 
19
- descriptor_data = "\n1google/cloud/gkemulticloud/v1/azure_service.proto\x12\x1dgoogle.cloud.gkemulticloud.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/gkemulticloud/v1/azure_resources.proto\x1a\x34google/cloud/gkemulticloud/v1/common_resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdd\x01\n\x19\x43reateAzureClusterRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)gkemulticloud.googleapis.com/AzureCluster\x12G\n\razure_cluster\x18\x02 \x01(\x0b\x32+.google.cloud.gkemulticloud.v1.AzureClusterB\x03\xe0\x41\x02\x12\x1d\n\x10\x61zure_cluster_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xb1\x01\n\x19UpdateAzureClusterRequest\x12G\n\razure_cluster\x18\x01 \x01(\x0b\x32+.google.cloud.gkemulticloud.v1.AzureClusterB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"Y\n\x16GetAzureClusterRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster\"\x84\x01\n\x18ListAzureClustersRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)gkemulticloud.googleapis.com/AzureCluster\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"y\n\x19ListAzureClustersResponse\x12\x43\n\x0e\x61zure_clusters\x18\x01 \x03(\x0b\x32+.google.cloud.gkemulticloud.v1.AzureCluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x98\x01\n\x19\x44\x65leteAzureClusterRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t\"\xe4\x01\n\x1a\x43reateAzureNodePoolRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*gkemulticloud.googleapis.com/AzureNodePool\x12J\n\x0f\x61zure_node_pool\x18\x02 \x01(\x0b\x32,.google.cloud.gkemulticloud.v1.AzureNodePoolB\x03\xe0\x41\x02\x12\x1f\n\x12\x61zure_node_pool_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xb5\x01\n\x1aUpdateAzureNodePoolRequest\x12J\n\x0f\x61zure_node_pool\x18\x01 \x01(\x0b\x32,.google.cloud.gkemulticloud.v1.AzureNodePoolB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"[\n\x17GetAzureNodePoolRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*gkemulticloud.googleapis.com/AzureNodePool\"\x86\x01\n\x19ListAzureNodePoolsRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*gkemulticloud.googleapis.com/AzureNodePool\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"}\n\x1aListAzureNodePoolsResponse\x12\x46\n\x10\x61zure_node_pools\x18\x01 \x03(\x0b\x32,.google.cloud.gkemulticloud.v1.AzureNodePool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9a\x01\n\x1a\x44\x65leteAzureNodePoolRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*gkemulticloud.googleapis.com/AzureNodePool\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t\"g\n\x1bGetAzureOpenIdConfigRequest\x12H\n\razure_cluster\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster\"f\n\x1aGetAzureJsonWebKeysRequest\x12H\n\razure_cluster\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster\"c\n\x1bGetAzureServerConfigRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.gkemulticloud.googleapis.com/AzureServerConfig\"\xd8\x01\n\x18\x43reateAzureClientRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(gkemulticloud.googleapis.com/AzureClient\x12\x45\n\x0c\x61zure_client\x18\x02 \x01(\x0b\x32*.google.cloud.gkemulticloud.v1.AzureClientB\x03\xe0\x41\x02\x12\x1c\n\x0f\x61zure_client_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\"W\n\x15GetAzureClientRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(gkemulticloud.googleapis.com/AzureClient\"\x82\x01\n\x17ListAzureClientsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(gkemulticloud.googleapis.com/AzureClient\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"v\n\x18ListAzureClientsResponse\x12\x41\n\razure_clients\x18\x01 \x03(\x0b\x32*.google.cloud.gkemulticloud.v1.AzureClient\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x88\x01\n\x18\x44\x65leteAzureClientRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(gkemulticloud.googleapis.com/AzureClient\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\"k\n\x1fGenerateAzureAccessTokenRequest\x12H\n\razure_cluster\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster\"w\n GenerateAzureAccessTokenResponse\x12\x19\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x38\n\x0f\x65xpiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\xdc\x02\n%GenerateAzureClusterAgentTokenRequest\x12H\n\razure_cluster\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster\x12\x1a\n\rsubject_token\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\x12subject_token_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07version\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cnode_pool_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ngrant_type\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x61udience\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05scope\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14requested_token_type\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07options\x18\n \x01(\tB\x03\xe0\x41\x01\"f\n&GenerateAzureClusterAgentTokenResponse\x12\x14\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\t\x12\x12\n\nexpires_in\x18\x02 \x01(\x05\x12\x12\n\ntoken_type\x18\x03 \x01(\t2\xcc#\n\rAzureClusters\x12\xfd\x01\n\x11\x43reateAzureClient\x12\x37.google.cloud.gkemulticloud.v1.CreateAzureClientRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\xca\x41 \n\x0b\x41zureClient\x12\x11OperationMetadata\xda\x41#parent,azure_client,azure_client_id\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/azureClients:\x0c\x61zure_client\x12\xb3\x01\n\x0eGetAzureClient\x12\x34.google.cloud.gkemulticloud.v1.GetAzureClientRequest\x1a*.google.cloud.gkemulticloud.v1.AzureClient\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/azureClients/*}\x12\xc6\x01\n\x10ListAzureClients\x12\x36.google.cloud.gkemulticloud.v1.ListAzureClientsRequest\x1a\x37.google.cloud.gkemulticloud.v1.ListAzureClientsResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/azureClients\x12\xd9\x01\n\x11\x44\x65leteAzureClient\x12\x37.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/azureClients/*}\x12\x84\x02\n\x12\x43reateAzureCluster\x12\x38.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\xca\x41!\n\x0c\x41zureCluster\x12\x11OperationMetadata\xda\x41%parent,azure_cluster,azure_cluster_id\x82\xd3\xe4\x93\x02\x42\"1/v1/{parent=projects/*/locations/*}/azureClusters:\razure_cluster\x12\x86\x02\n\x12UpdateAzureCluster\x12\x38.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest\x1a\x1d.google.longrunning.Operation\"\x96\x01\xca\x41!\n\x0c\x41zureCluster\x12\x11OperationMetadata\xda\x41\x19\x61zure_cluster,update_mask\x82\xd3\xe4\x93\x02P2?/v1/{azure_cluster.name=projects/*/locations/*/azureClusters/*}:\razure_cluster\x12\xb7\x01\n\x0fGetAzureCluster\x12\x35.google.cloud.gkemulticloud.v1.GetAzureClusterRequest\x1a+.google.cloud.gkemulticloud.v1.AzureCluster\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/azureClusters/*}\x12\xca\x01\n\x11ListAzureClusters\x12\x37.google.cloud.gkemulticloud.v1.ListAzureClustersRequest\x1a\x38.google.cloud.gkemulticloud.v1.ListAzureClustersResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{parent=projects/*/locations/*}/azureClusters\x12\xdc\x01\n\x12\x44\x65leteAzureCluster\x12\x38.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1/{name=projects/*/locations/*/azureClusters/*}\x12\x93\x02\n\x1eGenerateAzureClusterAgentToken\x12\x44.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest\x1a\x45.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse\"d\x82\xd3\xe4\x93\x02^\"Y/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}:generateAzureClusterAgentToken:\x01*\x12\xf8\x01\n\x18GenerateAzureAccessToken\x12>.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest\x1a?.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse\"[\x82\xd3\xe4\x93\x02U\x12S/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}:generateAzureAccessToken\x12\x9e\x02\n\x13\x43reateAzureNodePool\x12\x39.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest\x1a\x1d.google.longrunning.Operation\"\xac\x01\xca\x41\"\n\rAzureNodePool\x12\x11OperationMetadata\xda\x41)parent,azure_node_pool,azure_node_pool_id\x82\xd3\xe4\x93\x02U\"B/v1/{parent=projects/*/locations/*/azureClusters/*}/azureNodePools:\x0f\x61zure_node_pool\x12\xa0\x02\n\x13UpdateAzureNodePool\x12\x39.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest\x1a\x1d.google.longrunning.Operation\"\xae\x01\xca\x41\"\n\rAzureNodePool\x12\x11OperationMetadata\xda\x41\x1b\x61zure_node_pool,update_mask\x82\xd3\xe4\x93\x02\x65\x32R/v1/{azure_node_pool.name=projects/*/locations/*/azureClusters/*/azureNodePools/*}:\x0f\x61zure_node_pool\x12\xcb\x01\n\x10GetAzureNodePool\x12\x36.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest\x1a,.google.cloud.gkemulticloud.v1.AzureNodePool\"Q\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{name=projects/*/locations/*/azureClusters/*/azureNodePools/*}\x12\xde\x01\n\x12ListAzureNodePools\x12\x38.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest\x1a\x39.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse\"S\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{parent=projects/*/locations/*/azureClusters/*}/azureNodePools\x12\xef\x01\n\x13\x44\x65leteAzureNodePool\x12\x39.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest\x1a\x1d.google.longrunning.Operation\"~\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44*B/v1/{name=projects/*/locations/*/azureClusters/*/azureNodePools/*}\x12\xf9\x01\n\x14GetAzureOpenIdConfig\x12:.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest\x1a\x30.google.cloud.gkemulticloud.v1.AzureOpenIdConfig\"s\xda\x41\razure_cluster\x82\xd3\xe4\x93\x02]\x12[/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}/.well-known/openid-configuration\x12\xda\x01\n\x13GetAzureJsonWebKeys\x12\x39.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest\x1a/.google.cloud.gkemulticloud.v1.AzureJsonWebKeys\"W\xda\x41\razure_cluster\x82\xd3\xe4\x93\x02\x41\x12?/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}/jwks\x12\xc8\x01\n\x14GetAzureServerConfig\x12:.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest\x1a\x30.google.cloud.gkemulticloud.v1.AzureServerConfig\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/azureServerConfig}\x1aP\xca\x41\x1cgkemulticloud.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe4\x01\n!com.google.cloud.gkemulticloud.v1B\x11\x41zureServiceProtoP\x01ZGcloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb\xaa\x02\x1dGoogle.Cloud.GkeMultiCloud.V1\xca\x02\x1dGoogle\\Cloud\\GkeMultiCloud\\V1\xea\x02 Google::Cloud::GkeMultiCloud::V1b\x06proto3"
19
+ descriptor_data = "\n1google/cloud/gkemulticloud/v1/azure_service.proto\x12\x1dgoogle.cloud.gkemulticloud.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/gkemulticloud/v1/azure_resources.proto\x1a\x34google/cloud/gkemulticloud/v1/common_resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdd\x01\n\x19\x43reateAzureClusterRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)gkemulticloud.googleapis.com/AzureCluster\x12G\n\razure_cluster\x18\x02 \x01(\x0b\x32+.google.cloud.gkemulticloud.v1.AzureClusterB\x03\xe0\x41\x02\x12\x1d\n\x10\x61zure_cluster_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xb1\x01\n\x19UpdateAzureClusterRequest\x12G\n\razure_cluster\x18\x01 \x01(\x0b\x32+.google.cloud.gkemulticloud.v1.AzureClusterB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"Y\n\x16GetAzureClusterRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster\"\x84\x01\n\x18ListAzureClustersRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)gkemulticloud.googleapis.com/AzureCluster\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"y\n\x19ListAzureClustersResponse\x12\x43\n\x0e\x61zure_clusters\x18\x01 \x03(\x0b\x32+.google.cloud.gkemulticloud.v1.AzureCluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb4\x01\n\x19\x44\x65leteAzureClusterRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t\x12\x1a\n\rignore_errors\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xe4\x01\n\x1a\x43reateAzureNodePoolRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*gkemulticloud.googleapis.com/AzureNodePool\x12J\n\x0f\x61zure_node_pool\x18\x02 \x01(\x0b\x32,.google.cloud.gkemulticloud.v1.AzureNodePoolB\x03\xe0\x41\x02\x12\x1f\n\x12\x61zure_node_pool_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xb5\x01\n\x1aUpdateAzureNodePoolRequest\x12J\n\x0f\x61zure_node_pool\x18\x01 \x01(\x0b\x32,.google.cloud.gkemulticloud.v1.AzureNodePoolB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"[\n\x17GetAzureNodePoolRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*gkemulticloud.googleapis.com/AzureNodePool\"\x86\x01\n\x19ListAzureNodePoolsRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*gkemulticloud.googleapis.com/AzureNodePool\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"}\n\x1aListAzureNodePoolsResponse\x12\x46\n\x10\x61zure_node_pools\x18\x01 \x03(\x0b\x32,.google.cloud.gkemulticloud.v1.AzureNodePool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb6\x01\n\x1a\x44\x65leteAzureNodePoolRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*gkemulticloud.googleapis.com/AzureNodePool\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x04 \x01(\t\x12\x1a\n\rignore_errors\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"g\n\x1bGetAzureOpenIdConfigRequest\x12H\n\razure_cluster\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster\"f\n\x1aGetAzureJsonWebKeysRequest\x12H\n\razure_cluster\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster\"c\n\x1bGetAzureServerConfigRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.gkemulticloud.googleapis.com/AzureServerConfig\"\xd8\x01\n\x18\x43reateAzureClientRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(gkemulticloud.googleapis.com/AzureClient\x12\x45\n\x0c\x61zure_client\x18\x02 \x01(\x0b\x32*.google.cloud.gkemulticloud.v1.AzureClientB\x03\xe0\x41\x02\x12\x1c\n\x0f\x61zure_client_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\"W\n\x15GetAzureClientRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(gkemulticloud.googleapis.com/AzureClient\"\x82\x01\n\x17ListAzureClientsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(gkemulticloud.googleapis.com/AzureClient\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"v\n\x18ListAzureClientsResponse\x12\x41\n\razure_clients\x18\x01 \x03(\x0b\x32*.google.cloud.gkemulticloud.v1.AzureClient\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x88\x01\n\x18\x44\x65leteAzureClientRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(gkemulticloud.googleapis.com/AzureClient\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\"k\n\x1fGenerateAzureAccessTokenRequest\x12H\n\razure_cluster\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster\"w\n GenerateAzureAccessTokenResponse\x12\x19\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x38\n\x0f\x65xpiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\xdc\x02\n%GenerateAzureClusterAgentTokenRequest\x12H\n\razure_cluster\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)gkemulticloud.googleapis.com/AzureCluster\x12\x1a\n\rsubject_token\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\x12subject_token_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07version\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cnode_pool_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ngrant_type\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x61udience\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05scope\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14requested_token_type\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07options\x18\n \x01(\tB\x03\xe0\x41\x01\"f\n&GenerateAzureClusterAgentTokenResponse\x12\x14\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\t\x12\x12\n\nexpires_in\x18\x02 \x01(\x05\x12\x12\n\ntoken_type\x18\x03 \x01(\t2\xcc#\n\rAzureClusters\x12\xfd\x01\n\x11\x43reateAzureClient\x12\x37.google.cloud.gkemulticloud.v1.CreateAzureClientRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\xca\x41 \n\x0b\x41zureClient\x12\x11OperationMetadata\xda\x41#parent,azure_client,azure_client_id\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/azureClients:\x0c\x61zure_client\x12\xb3\x01\n\x0eGetAzureClient\x12\x34.google.cloud.gkemulticloud.v1.GetAzureClientRequest\x1a*.google.cloud.gkemulticloud.v1.AzureClient\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/azureClients/*}\x12\xc6\x01\n\x10ListAzureClients\x12\x36.google.cloud.gkemulticloud.v1.ListAzureClientsRequest\x1a\x37.google.cloud.gkemulticloud.v1.ListAzureClientsResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/azureClients\x12\xd9\x01\n\x11\x44\x65leteAzureClient\x12\x37.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/azureClients/*}\x12\x84\x02\n\x12\x43reateAzureCluster\x12\x38.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\xca\x41!\n\x0c\x41zureCluster\x12\x11OperationMetadata\xda\x41%parent,azure_cluster,azure_cluster_id\x82\xd3\xe4\x93\x02\x42\"1/v1/{parent=projects/*/locations/*}/azureClusters:\razure_cluster\x12\x86\x02\n\x12UpdateAzureCluster\x12\x38.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest\x1a\x1d.google.longrunning.Operation\"\x96\x01\xca\x41!\n\x0c\x41zureCluster\x12\x11OperationMetadata\xda\x41\x19\x61zure_cluster,update_mask\x82\xd3\xe4\x93\x02P2?/v1/{azure_cluster.name=projects/*/locations/*/azureClusters/*}:\razure_cluster\x12\xb7\x01\n\x0fGetAzureCluster\x12\x35.google.cloud.gkemulticloud.v1.GetAzureClusterRequest\x1a+.google.cloud.gkemulticloud.v1.AzureCluster\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/azureClusters/*}\x12\xca\x01\n\x11ListAzureClusters\x12\x37.google.cloud.gkemulticloud.v1.ListAzureClustersRequest\x1a\x38.google.cloud.gkemulticloud.v1.ListAzureClustersResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{parent=projects/*/locations/*}/azureClusters\x12\xdc\x01\n\x12\x44\x65leteAzureCluster\x12\x38.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1/{name=projects/*/locations/*/azureClusters/*}\x12\x93\x02\n\x1eGenerateAzureClusterAgentToken\x12\x44.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest\x1a\x45.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse\"d\x82\xd3\xe4\x93\x02^\"Y/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}:generateAzureClusterAgentToken:\x01*\x12\xf8\x01\n\x18GenerateAzureAccessToken\x12>.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest\x1a?.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse\"[\x82\xd3\xe4\x93\x02U\x12S/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}:generateAzureAccessToken\x12\x9e\x02\n\x13\x43reateAzureNodePool\x12\x39.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest\x1a\x1d.google.longrunning.Operation\"\xac\x01\xca\x41\"\n\rAzureNodePool\x12\x11OperationMetadata\xda\x41)parent,azure_node_pool,azure_node_pool_id\x82\xd3\xe4\x93\x02U\"B/v1/{parent=projects/*/locations/*/azureClusters/*}/azureNodePools:\x0f\x61zure_node_pool\x12\xa0\x02\n\x13UpdateAzureNodePool\x12\x39.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest\x1a\x1d.google.longrunning.Operation\"\xae\x01\xca\x41\"\n\rAzureNodePool\x12\x11OperationMetadata\xda\x41\x1b\x61zure_node_pool,update_mask\x82\xd3\xe4\x93\x02\x65\x32R/v1/{azure_node_pool.name=projects/*/locations/*/azureClusters/*/azureNodePools/*}:\x0f\x61zure_node_pool\x12\xcb\x01\n\x10GetAzureNodePool\x12\x36.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest\x1a,.google.cloud.gkemulticloud.v1.AzureNodePool\"Q\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{name=projects/*/locations/*/azureClusters/*/azureNodePools/*}\x12\xde\x01\n\x12ListAzureNodePools\x12\x38.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest\x1a\x39.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse\"S\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{parent=projects/*/locations/*/azureClusters/*}/azureNodePools\x12\xef\x01\n\x13\x44\x65leteAzureNodePool\x12\x39.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest\x1a\x1d.google.longrunning.Operation\"~\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44*B/v1/{name=projects/*/locations/*/azureClusters/*/azureNodePools/*}\x12\xf9\x01\n\x14GetAzureOpenIdConfig\x12:.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest\x1a\x30.google.cloud.gkemulticloud.v1.AzureOpenIdConfig\"s\xda\x41\razure_cluster\x82\xd3\xe4\x93\x02]\x12[/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}/.well-known/openid-configuration\x12\xda\x01\n\x13GetAzureJsonWebKeys\x12\x39.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest\x1a/.google.cloud.gkemulticloud.v1.AzureJsonWebKeys\"W\xda\x41\razure_cluster\x82\xd3\xe4\x93\x02\x41\x12?/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}/jwks\x12\xc8\x01\n\x14GetAzureServerConfig\x12:.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest\x1a\x30.google.cloud.gkemulticloud.v1.AzureServerConfig\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/azureServerConfig}\x1aP\xca\x41\x1cgkemulticloud.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe4\x01\n!com.google.cloud.gkemulticloud.v1B\x11\x41zureServiceProtoP\x01ZGcloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb\xaa\x02\x1dGoogle.Cloud.GkeMultiCloud.V1\xca\x02\x1dGoogle\\Cloud\\GkeMultiCloud\\V1\xea\x02 Google::Cloud::GkeMultiCloud::V1b\x06proto3"
20
20
 
21
21
  pool = Google::Protobuf::DescriptorPool.generated_pool
22
22
 
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -590,8 +590,8 @@ module Google
590
590
  # 255 Unicode characters.
591
591
  # @!attribute [rw] iam_instance_profile
592
592
  # @return [::String]
593
- # Required. The name or ARN of the AWS IAM role assigned to nodes in the
594
- # pool.
593
+ # Required. The name or ARN of the AWS IAM instance profile to assign to
594
+ # nodes in the pool.
595
595
  # @!attribute [rw] image_type
596
596
  # @return [::String]
597
597
  # Optional. The OS image type to use on node pool instances.
@@ -182,6 +182,12 @@ module Google
182
182
  #
183
183
  # If the provided etag does not match the current etag of the cluster,
184
184
  # the request will fail and an ABORTED error will be returned.
185
+ # @!attribute [rw] ignore_errors
186
+ # @return [::Boolean]
187
+ # Optional. If set to true, the deletion of
188
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource will
189
+ # succeed even if errors occur during deleting in cluster resources. Using
190
+ # this parameter may result in orphaned resources in the cluster.
185
191
  class DeleteAzureClusterRequest
186
192
  include ::Google::Protobuf::MessageExts
187
193
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -342,6 +348,12 @@ module Google
342
348
  #
343
349
  # If the provided ETag does not match the current etag of the node pool,
344
350
  # the request will fail and an ABORTED error will be returned.
351
+ # @!attribute [rw] ignore_errors
352
+ # @return [::Boolean]
353
+ # Optional. If set to true, the deletion of
354
+ # {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource will
355
+ # succeed even if errors occur during deleting in node pool resources. Using
356
+ # this parameter may result in orphaned resources in the node pool.
345
357
  class DeleteAzureNodePoolRequest
346
358
  include ::Google::Protobuf::MessageExts
347
359
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -367,7 +379,7 @@ module Google
367
379
  # @return [::String]
368
380
  # Required. The AzureCluster, which owns the JsonWebKeys.
369
381
  # Format:
370
- # projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
382
+ # `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`
371
383
  class GetAzureJsonWebKeysRequest
372
384
  include ::Google::Protobuf::MessageExts
373
385
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-gke_multi_cloud-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.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: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common