google-cloud-gke_multi_cloud-v1 0.17.0 → 0.18.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.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/client.rb +20 -3
  3. data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/operations.rb +20 -3
  4. data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/client.rb +54 -3
  5. data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/operations.rb +20 -3
  6. data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/rest/client.rb +1 -0
  7. data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/rest/service_stub.rb +1 -0
  8. data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters.rb +2 -0
  9. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/client.rb +60 -3
  10. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/operations.rb +20 -3
  11. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/rest/client.rb +1 -0
  12. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/rest/service_stub.rb +1 -0
  13. data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters.rb +2 -0
  14. data/lib/google/cloud/gke_multi_cloud/v1/version.rb +1 -1
  15. data/lib/google/cloud/gkemulticloud/v1/attached_resources_pb.rb +8 -1
  16. data/lib/google/cloud/gkemulticloud/v1/attached_service_pb.rb +1 -1
  17. data/lib/google/cloud/gkemulticloud/v1/aws_resources_pb.rb +1 -1
  18. data/lib/google/cloud/gkemulticloud/v1/aws_service_pb.rb +1 -1
  19. data/lib/google/cloud/gkemulticloud/v1/azure_resources_pb.rb +1 -1
  20. data/lib/google/cloud/gkemulticloud/v1/azure_service_pb.rb +1 -1
  21. data/proto_docs/google/cloud/gkemulticloud/v1/attached_resources.rb +102 -7
  22. data/proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb +28 -1
  23. data/proto_docs/google/cloud/gkemulticloud/v1/aws_service.rb +20 -0
  24. data/proto_docs/google/cloud/gkemulticloud/v1/azure_resources.rb +25 -0
  25. data/proto_docs/google/cloud/gkemulticloud/v1/azure_service.rb +24 -0
  26. data/proto_docs/google/cloud/gkemulticloud/v1/common_resources.rb +2 -3
  27. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20525fb04866f0a110a0aba05205d8528b3707ebfdb280879f22311878b5bc1e
4
- data.tar.gz: 41703f57bc0d55c9bc46f8be07c5a68cf49432e90e1db4f9038bd18449f1d015
3
+ metadata.gz: 636aaf4b4d4b16035136c8c1ddb74d3e07344acfa776344b2a39b8b1805585c0
4
+ data.tar.gz: 74fa6d18b1a8b55ad77f41a517f82e081747cd2a0c07d9b2168b8694f8731eaa
5
5
  SHA512:
6
- metadata.gz: 07f0305977beca6be0c6b25d2f733236ded8fb677d5533085c6de33dd04d96a95eb2de52cf2269e3b5a52c15235d7b9faf66e1b3dc194c2bd87fe97c8922af03
7
- data.tar.gz: a5bc2c12abe846c001627000ba1aeea30e8e495c3271a0960d467aa27d2e04d53f63572b92ba02332853598c7a8a66ff4c6c533ee65f086ca7f5751aa43c4786
6
+ metadata.gz: 4e74e4c5500025cd28bf7a8a916ada60a23b2f05f7bff6da6fcd1b96ca1a182bf0016ed3608dbb38791eea42ed658c45acb6758151be2f5e79e00cdb6a3adbdb
7
+ data.tar.gz: '02514691a0b3e4c304ab31ef91a6290e50df6a3c32f7739a3a3e5f535287ad3efa648b62465a5917f58109dca819ce0e4917669c2c49a2e0b64910b46389a97a'
@@ -1276,8 +1276,6 @@ module Google
1276
1276
  # @return [::String,nil]
1277
1277
  # @!attribute [rw] credentials
1278
1278
  # Credentials to send with calls. You may provide any of the following types:
1279
- # * (`String`) The path to a service account key file in JSON format
1280
- # * (`Hash`) A service account key as a Hash
1281
1279
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1282
1280
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1283
1281
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1286,7 +1284,26 @@ module Google
1286
1284
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1287
1285
  # * (`nil`) indicating no credentials
1288
1286
  #
1289
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1287
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1288
+ # is deprecated. Providing an unvalidated credential configuration to
1289
+ # Google APIs can compromise the security of your systems and data.
1290
+ #
1291
+ # @example
1292
+ #
1293
+ # # The recommended way to provide credentials is to use the `make_creds` method
1294
+ # # on the appropriate credentials class for your environment.
1295
+ #
1296
+ # require "googleauth"
1297
+ #
1298
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1299
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1300
+ # )
1301
+ #
1302
+ # client = ::Google::Cloud::GkeMultiCloud::V1::AttachedClusters::Client.new do |config|
1303
+ # config.credentials = credentials
1304
+ # end
1305
+ #
1306
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1290
1307
  # external source for authentication to Google Cloud, you must validate it before
1291
1308
  # providing it to a Google API client library. Providing an unvalidated credential
1292
1309
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -48,6 +48,8 @@ module Google
48
48
  # See {::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Client::Configuration}
49
49
  # for a description of the configuration fields.
50
50
  #
51
+ # @deprecated This service is deprecated and may be removed in the next major version update.
52
+ #
51
53
  # @example
52
54
  #
53
55
  # # Modify the configuration for all AwsClusters clients
@@ -265,6 +267,8 @@ module Google
265
267
  # {::Google::Longrunning::Operation Operation} resource that can be
266
268
  # described to track the status of the operation.
267
269
  #
270
+ # @deprecated This method is deprecated and may be removed in the next major version update.
271
+ #
268
272
  # @overload create_aws_cluster(request, options = nil)
269
273
  # Pass arguments to `create_aws_cluster` via a request object, either of type
270
274
  # {::Google::Cloud::GkeMultiCloud::V1::CreateAwsClusterRequest} or an equivalent Hash.
@@ -381,6 +385,8 @@ module Google
381
385
  ##
382
386
  # Updates an {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}.
383
387
  #
388
+ # @deprecated This method is deprecated and may be removed in the next major version update.
389
+ #
384
390
  # @overload update_aws_cluster(request, options = nil)
385
391
  # Pass arguments to `update_aws_cluster` via a request object, either of type
386
392
  # {::Google::Cloud::GkeMultiCloud::V1::UpdateAwsClusterRequest} or an equivalent Hash.
@@ -511,6 +517,8 @@ module Google
511
517
  # Describes a specific {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}
512
518
  # resource.
513
519
  #
520
+ # @deprecated This method is deprecated and may be removed in the next major version update.
521
+ #
514
522
  # @overload get_aws_cluster(request, options = nil)
515
523
  # Pass arguments to `get_aws_cluster` via a request object, either of type
516
524
  # {::Google::Cloud::GkeMultiCloud::V1::GetAwsClusterRequest} or an equivalent Hash.
@@ -605,6 +613,8 @@ module Google
605
613
  # Lists all {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resources
606
614
  # on a given Google Cloud project and region.
607
615
  #
616
+ # @deprecated This method is deprecated and may be removed in the next major version update.
617
+ #
608
618
  # @overload list_aws_clusters(request, options = nil)
609
619
  # Pass arguments to `list_aws_clusters` via a request object, either of type
610
620
  # {::Google::Cloud::GkeMultiCloud::V1::ListAwsClustersRequest} or an equivalent Hash.
@@ -722,6 +732,8 @@ module Google
722
732
  # {::Google::Longrunning::Operation Operation} resource that can be
723
733
  # described to track the status of the operation.
724
734
  #
735
+ # @deprecated This method is deprecated and may be removed in the next major version update.
736
+ #
725
737
  # @overload delete_aws_cluster(request, options = nil)
726
738
  # Pass arguments to `delete_aws_cluster` via a request object, either of type
727
739
  # {::Google::Cloud::GkeMultiCloud::V1::DeleteAwsClusterRequest} or an equivalent Hash.
@@ -845,6 +857,8 @@ module Google
845
857
  ##
846
858
  # Generates an access token for a cluster agent.
847
859
  #
860
+ # @deprecated This method is deprecated and may be removed in the next major version update.
861
+ #
848
862
  # @overload generate_aws_cluster_agent_token(request, options = nil)
849
863
  # Pass arguments to `generate_aws_cluster_agent_token` via a request object, either of type
850
864
  # {::Google::Cloud::GkeMultiCloud::V1::GenerateAwsClusterAgentTokenRequest} or an equivalent Hash.
@@ -949,6 +963,8 @@ module Google
949
963
  # Generates a short-lived access token to authenticate to a given
950
964
  # {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource.
951
965
  #
966
+ # @deprecated This method is deprecated and may be removed in the next major version update.
967
+ #
952
968
  # @overload generate_aws_access_token(request, options = nil)
953
969
  # Pass arguments to `generate_aws_access_token` via a request object, either of type
954
970
  # {::Google::Cloud::GkeMultiCloud::V1::GenerateAwsAccessTokenRequest} or an equivalent Hash.
@@ -1047,6 +1063,8 @@ module Google
1047
1063
  # {::Google::Longrunning::Operation Operation} resource that can be
1048
1064
  # described to track the status of the operation.
1049
1065
  #
1066
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1067
+ #
1050
1068
  # @overload create_aws_node_pool(request, options = nil)
1051
1069
  # Pass arguments to `create_aws_node_pool` via a request object, either of type
1052
1070
  # {::Google::Cloud::GkeMultiCloud::V1::CreateAwsNodePoolRequest} or an equivalent Hash.
@@ -1164,6 +1182,8 @@ module Google
1164
1182
  ##
1165
1183
  # Updates an {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool}.
1166
1184
  #
1185
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1186
+ #
1167
1187
  # @overload update_aws_node_pool(request, options = nil)
1168
1188
  # Pass arguments to `update_aws_node_pool` via a request object, either of type
1169
1189
  # {::Google::Cloud::GkeMultiCloud::V1::UpdateAwsNodePoolRequest} or an equivalent Hash.
@@ -1301,6 +1321,8 @@ module Google
1301
1321
  # You must first cancel or let it finish unsuccessfully before you can
1302
1322
  # rollback.
1303
1323
  #
1324
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1325
+ #
1304
1326
  # @overload rollback_aws_node_pool_update(request, options = nil)
1305
1327
  # Pass arguments to `rollback_aws_node_pool_update` via a request object, either of type
1306
1328
  # {::Google::Cloud::GkeMultiCloud::V1::RollbackAwsNodePoolUpdateRequest} or an equivalent Hash.
@@ -1407,6 +1429,8 @@ module Google
1407
1429
  # Describes a specific
1408
1430
  # {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} resource.
1409
1431
  #
1432
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1433
+ #
1410
1434
  # @overload get_aws_node_pool(request, options = nil)
1411
1435
  # Pass arguments to `get_aws_node_pool` via a request object, either of type
1412
1436
  # {::Google::Cloud::GkeMultiCloud::V1::GetAwsNodePoolRequest} or an equivalent Hash.
@@ -1502,6 +1526,8 @@ module Google
1502
1526
  # resources on a given
1503
1527
  # {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}.
1504
1528
  #
1529
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1530
+ #
1505
1531
  # @overload list_aws_node_pools(request, options = nil)
1506
1532
  # Pass arguments to `list_aws_node_pools` via a request object, either of type
1507
1533
  # {::Google::Cloud::GkeMultiCloud::V1::ListAwsNodePoolsRequest} or an equivalent Hash.
@@ -1617,6 +1643,8 @@ module Google
1617
1643
  # {::Google::Longrunning::Operation Operation} resource that can be
1618
1644
  # described to track the status of the operation.
1619
1645
  #
1646
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1647
+ #
1620
1648
  # @overload delete_aws_node_pool(request, options = nil)
1621
1649
  # Pass arguments to `delete_aws_node_pool` via a request object, either of type
1622
1650
  # {::Google::Cloud::GkeMultiCloud::V1::DeleteAwsNodePoolRequest} or an equivalent Hash.
@@ -1745,6 +1773,8 @@ module Google
1745
1773
  # specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
1746
1774
  # for details.
1747
1775
  #
1776
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1777
+ #
1748
1778
  # @overload get_aws_open_id_config(request, options = nil)
1749
1779
  # Pass arguments to `get_aws_open_id_config` via a request object, either of type
1750
1780
  # {::Google::Cloud::GkeMultiCloud::V1::GetAwsOpenIdConfigRequest} or an equivalent Hash.
@@ -1833,6 +1863,8 @@ module Google
1833
1863
  # Gets the public component of the cluster signing keys in
1834
1864
  # JSON Web Key format.
1835
1865
  #
1866
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1867
+ #
1836
1868
  # @overload get_aws_json_web_keys(request, options = nil)
1837
1869
  # Pass arguments to `get_aws_json_web_keys` via a request object, either of type
1838
1870
  # {::Google::Cloud::GkeMultiCloud::V1::GetAwsJsonWebKeysRequest} or an equivalent Hash.
@@ -1921,6 +1953,8 @@ module Google
1921
1953
  # Returns information, such as supported AWS regions and Kubernetes
1922
1954
  # versions, on a given Google Cloud location.
1923
1955
  #
1956
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1957
+ #
1924
1958
  # @overload get_aws_server_config(request, options = nil)
1925
1959
  # Pass arguments to `get_aws_server_config` via a request object, either of type
1926
1960
  # {::Google::Cloud::GkeMultiCloud::V1::GetAwsServerConfigRequest} or an equivalent Hash.
@@ -2046,8 +2080,6 @@ module Google
2046
2080
  # @return [::String,nil]
2047
2081
  # @!attribute [rw] credentials
2048
2082
  # Credentials to send with calls. You may provide any of the following types:
2049
- # * (`String`) The path to a service account key file in JSON format
2050
- # * (`Hash`) A service account key as a Hash
2051
2083
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2052
2084
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2053
2085
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2056,7 +2088,26 @@ module Google
2056
2088
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2057
2089
  # * (`nil`) indicating no credentials
2058
2090
  #
2059
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2091
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2092
+ # is deprecated. Providing an unvalidated credential configuration to
2093
+ # Google APIs can compromise the security of your systems and data.
2094
+ #
2095
+ # @example
2096
+ #
2097
+ # # The recommended way to provide credentials is to use the `make_creds` method
2098
+ # # on the appropriate credentials class for your environment.
2099
+ #
2100
+ # require "googleauth"
2101
+ #
2102
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2103
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2104
+ # )
2105
+ #
2106
+ # client = ::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Client.new do |config|
2107
+ # config.credentials = credentials
2108
+ # end
2109
+ #
2110
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2060
2111
  # external source for authentication to Google Cloud, you must validate it before
2061
2112
  # providing it to a Google API client library. Providing an unvalidated credential
2062
2113
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -49,6 +49,7 @@ module Google
49
49
  #
50
50
  # See {::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Rest::Client::Configuration}
51
51
  # for a description of the configuration fields.
52
+ # @deprecated This service is deprecated and may be removed in the next major version update.
52
53
  #
53
54
  # @example
54
55
  #
@@ -29,6 +29,7 @@ module Google
29
29
  # Service stub contains baseline method implementations
30
30
  # including transcoding, making the REST call, and deserialing the response.
31
31
  #
32
+ # @deprecated This service is deprecated and may be removed in the next major version update.
32
33
  class ServiceStub
33
34
  # @private
34
35
  def initialize endpoint:, endpoint_template:, universe_domain:, credentials:, logger:
@@ -36,6 +36,8 @@ module Google
36
36
  # The AwsClusters API provides a single centrally managed service
37
37
  # to create and manage Anthos clusters that run on AWS infrastructure.
38
38
  #
39
+ # @deprecated This service is deprecated and may be removed in the next major version update.
40
+ #
39
41
  # @example Load this service and instantiate a gRPC client
40
42
  #
41
43
  # require "google/cloud/gke_multi_cloud/v1/aws_clusters"
@@ -48,6 +48,8 @@ module Google
48
48
  # See {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client::Configuration}
49
49
  # for a description of the configuration fields.
50
50
  #
51
+ # @deprecated This service is deprecated and may be removed in the next major version update.
52
+ #
51
53
  # @example
52
54
  #
53
55
  # # Modify the configuration for all AzureClusters clients
@@ -281,6 +283,8 @@ module Google
281
283
  # {::Google::Longrunning::Operation Operation} resource that can be
282
284
  # described to track the status of the operation.
283
285
  #
286
+ # @deprecated This method is deprecated and may be removed in the next major version update.
287
+ #
284
288
  # @overload create_azure_client(request, options = nil)
285
289
  # Pass arguments to `create_azure_client` via a request object, either of type
286
290
  # {::Google::Cloud::GkeMultiCloud::V1::CreateAzureClientRequest} or an equivalent Hash.
@@ -398,6 +402,8 @@ module Google
398
402
  # Describes a specific
399
403
  # {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} resource.
400
404
  #
405
+ # @deprecated This method is deprecated and may be removed in the next major version update.
406
+ #
401
407
  # @overload get_azure_client(request, options = nil)
402
408
  # Pass arguments to `get_azure_client` via a request object, either of type
403
409
  # {::Google::Cloud::GkeMultiCloud::V1::GetAzureClientRequest} or an equivalent Hash.
@@ -493,6 +499,8 @@ module Google
493
499
  # Lists all {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient}
494
500
  # resources on a given Google Cloud project and region.
495
501
  #
502
+ # @deprecated This method is deprecated and may be removed in the next major version update.
503
+ #
496
504
  # @overload list_azure_clients(request, options = nil)
497
505
  # Pass arguments to `list_azure_clients` via a request object, either of type
498
506
  # {::Google::Cloud::GkeMultiCloud::V1::ListAzureClientsRequest} or an equivalent Hash.
@@ -610,6 +618,8 @@ module Google
610
618
  # {::Google::Longrunning::Operation Operation} resource that can be
611
619
  # described to track the status of the operation.
612
620
  #
621
+ # @deprecated This method is deprecated and may be removed in the next major version update.
622
+ #
613
623
  # @overload delete_azure_client(request, options = nil)
614
624
  # Pass arguments to `delete_azure_client` via a request object, either of type
615
625
  # {::Google::Cloud::GkeMultiCloud::V1::DeleteAzureClientRequest} or an equivalent Hash.
@@ -726,6 +736,8 @@ module Google
726
736
  # {::Google::Longrunning::Operation Operation} resource that can be
727
737
  # described to track the status of the operation.
728
738
  #
739
+ # @deprecated This method is deprecated and may be removed in the next major version update.
740
+ #
729
741
  # @overload create_azure_cluster(request, options = nil)
730
742
  # Pass arguments to `create_azure_cluster` via a request object, either of type
731
743
  # {::Google::Cloud::GkeMultiCloud::V1::CreateAzureClusterRequest} or an equivalent Hash.
@@ -842,6 +854,8 @@ module Google
842
854
  ##
843
855
  # Updates an {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}.
844
856
  #
857
+ # @deprecated This method is deprecated and may be removed in the next major version update.
858
+ #
845
859
  # @overload update_azure_cluster(request, options = nil)
846
860
  # Pass arguments to `update_azure_cluster` via a request object, either of type
847
861
  # {::Google::Cloud::GkeMultiCloud::V1::UpdateAzureClusterRequest} or an equivalent Hash.
@@ -962,6 +976,8 @@ module Google
962
976
  # Describes a specific
963
977
  # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource.
964
978
  #
979
+ # @deprecated This method is deprecated and may be removed in the next major version update.
980
+ #
965
981
  # @overload get_azure_cluster(request, options = nil)
966
982
  # Pass arguments to `get_azure_cluster` via a request object, either of type
967
983
  # {::Google::Cloud::GkeMultiCloud::V1::GetAzureClusterRequest} or an equivalent Hash.
@@ -1056,6 +1072,8 @@ module Google
1056
1072
  # Lists all {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}
1057
1073
  # resources on a given Google Cloud project and region.
1058
1074
  #
1075
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1076
+ #
1059
1077
  # @overload list_azure_clusters(request, options = nil)
1060
1078
  # Pass arguments to `list_azure_clusters` via a request object, either of type
1061
1079
  # {::Google::Cloud::GkeMultiCloud::V1::ListAzureClustersRequest} or an equivalent Hash.
@@ -1173,6 +1191,8 @@ module Google
1173
1191
  # {::Google::Longrunning::Operation Operation} resource that can be
1174
1192
  # described to track the status of the operation.
1175
1193
  #
1194
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1195
+ #
1176
1196
  # @overload delete_azure_cluster(request, options = nil)
1177
1197
  # Pass arguments to `delete_azure_cluster` via a request object, either of type
1178
1198
  # {::Google::Cloud::GkeMultiCloud::V1::DeleteAzureClusterRequest} or an equivalent Hash.
@@ -1296,6 +1316,8 @@ module Google
1296
1316
  ##
1297
1317
  # Generates an access token for a cluster agent.
1298
1318
  #
1319
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1320
+ #
1299
1321
  # @overload generate_azure_cluster_agent_token(request, options = nil)
1300
1322
  # Pass arguments to `generate_azure_cluster_agent_token` via a request object, either of type
1301
1323
  # {::Google::Cloud::GkeMultiCloud::V1::GenerateAzureClusterAgentTokenRequest} or an equivalent Hash.
@@ -1400,6 +1422,8 @@ module Google
1400
1422
  # Generates a short-lived access token to authenticate to a given
1401
1423
  # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} resource.
1402
1424
  #
1425
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1426
+ #
1403
1427
  # @overload generate_azure_access_token(request, options = nil)
1404
1428
  # Pass arguments to `generate_azure_access_token` via a request object, either of type
1405
1429
  # {::Google::Cloud::GkeMultiCloud::V1::GenerateAzureAccessTokenRequest} or an equivalent Hash.
@@ -1499,6 +1523,8 @@ module Google
1499
1523
  # {::Google::Longrunning::Operation Operation} resource that can be
1500
1524
  # described to track the status of the operation.
1501
1525
  #
1526
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1527
+ #
1502
1528
  # @overload create_azure_node_pool(request, options = nil)
1503
1529
  # Pass arguments to `create_azure_node_pool` via a request object, either of type
1504
1530
  # {::Google::Cloud::GkeMultiCloud::V1::CreateAzureNodePoolRequest} or an equivalent Hash.
@@ -1616,6 +1642,8 @@ module Google
1616
1642
  ##
1617
1643
  # Updates an {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool}.
1618
1644
  #
1645
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1646
+ #
1619
1647
  # @overload update_azure_node_pool(request, options = nil)
1620
1648
  # Pass arguments to `update_azure_node_pool` via a request object, either of type
1621
1649
  # {::Google::Cloud::GkeMultiCloud::V1::UpdateAzureNodePoolRequest} or an equivalent Hash.
@@ -1726,6 +1754,8 @@ module Google
1726
1754
  # Describes a specific
1727
1755
  # {::Google::Cloud::GkeMultiCloud::V1::AzureNodePool AzureNodePool} resource.
1728
1756
  #
1757
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1758
+ #
1729
1759
  # @overload get_azure_node_pool(request, options = nil)
1730
1760
  # Pass arguments to `get_azure_node_pool` via a request object, either of type
1731
1761
  # {::Google::Cloud::GkeMultiCloud::V1::GetAzureNodePoolRequest} or an equivalent Hash.
@@ -1821,6 +1851,8 @@ module Google
1821
1851
  # resources on a given
1822
1852
  # {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster}.
1823
1853
  #
1854
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1855
+ #
1824
1856
  # @overload list_azure_node_pools(request, options = nil)
1825
1857
  # Pass arguments to `list_azure_node_pools` via a request object, either of type
1826
1858
  # {::Google::Cloud::GkeMultiCloud::V1::ListAzureNodePoolsRequest} or an equivalent Hash.
@@ -1936,6 +1968,8 @@ module Google
1936
1968
  # {::Google::Longrunning::Operation Operation} resource that can be
1937
1969
  # described to track the status of the operation.
1938
1970
  #
1971
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1972
+ #
1939
1973
  # @overload delete_azure_node_pool(request, options = nil)
1940
1974
  # Pass arguments to `delete_azure_node_pool` via a request object, either of type
1941
1975
  # {::Google::Cloud::GkeMultiCloud::V1::DeleteAzureNodePoolRequest} or an equivalent Hash.
@@ -2065,6 +2099,8 @@ module Google
2065
2099
  # specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
2066
2100
  # for details.
2067
2101
  #
2102
+ # @deprecated This method is deprecated and may be removed in the next major version update.
2103
+ #
2068
2104
  # @overload get_azure_open_id_config(request, options = nil)
2069
2105
  # Pass arguments to `get_azure_open_id_config` via a request object, either of type
2070
2106
  # {::Google::Cloud::GkeMultiCloud::V1::GetAzureOpenIdConfigRequest} or an equivalent Hash.
@@ -2153,6 +2189,8 @@ module Google
2153
2189
  # Gets the public component of the cluster signing keys in
2154
2190
  # JSON Web Key format.
2155
2191
  #
2192
+ # @deprecated This method is deprecated and may be removed in the next major version update.
2193
+ #
2156
2194
  # @overload get_azure_json_web_keys(request, options = nil)
2157
2195
  # Pass arguments to `get_azure_json_web_keys` via a request object, either of type
2158
2196
  # {::Google::Cloud::GkeMultiCloud::V1::GetAzureJsonWebKeysRequest} or an equivalent Hash.
@@ -2241,6 +2279,8 @@ module Google
2241
2279
  # Returns information, such as supported Azure regions and Kubernetes
2242
2280
  # versions, on a given Google Cloud location.
2243
2281
  #
2282
+ # @deprecated This method is deprecated and may be removed in the next major version update.
2283
+ #
2244
2284
  # @overload get_azure_server_config(request, options = nil)
2245
2285
  # Pass arguments to `get_azure_server_config` via a request object, either of type
2246
2286
  # {::Google::Cloud::GkeMultiCloud::V1::GetAzureServerConfigRequest} or an equivalent Hash.
@@ -2366,8 +2406,6 @@ module Google
2366
2406
  # @return [::String,nil]
2367
2407
  # @!attribute [rw] credentials
2368
2408
  # Credentials to send with calls. You may provide any of the following types:
2369
- # * (`String`) The path to a service account key file in JSON format
2370
- # * (`Hash`) A service account key as a Hash
2371
2409
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2372
2410
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2373
2411
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2376,7 +2414,26 @@ module Google
2376
2414
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2377
2415
  # * (`nil`) indicating no credentials
2378
2416
  #
2379
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2417
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2418
+ # is deprecated. Providing an unvalidated credential configuration to
2419
+ # Google APIs can compromise the security of your systems and data.
2420
+ #
2421
+ # @example
2422
+ #
2423
+ # # The recommended way to provide credentials is to use the `make_creds` method
2424
+ # # on the appropriate credentials class for your environment.
2425
+ #
2426
+ # require "googleauth"
2427
+ #
2428
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2429
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2430
+ # )
2431
+ #
2432
+ # client = ::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client.new do |config|
2433
+ # config.credentials = credentials
2434
+ # end
2435
+ #
2436
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2380
2437
  # external source for authentication to Google Cloud, you must validate it before
2381
2438
  # providing it to a Google API client library. Providing an unvalidated credential
2382
2439
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -49,6 +49,7 @@ module Google
49
49
  #
50
50
  # See {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Rest::Client::Configuration}
51
51
  # for a description of the configuration fields.
52
+ # @deprecated This service is deprecated and may be removed in the next major version update.
52
53
  #
53
54
  # @example
54
55
  #
@@ -29,6 +29,7 @@ module Google
29
29
  # Service stub contains baseline method implementations
30
30
  # including transcoding, making the REST call, and deserialing the response.
31
31
  #
32
+ # @deprecated This service is deprecated and may be removed in the next major version update.
32
33
  class ServiceStub
33
34
  # @private
34
35
  def initialize endpoint:, endpoint_template:, universe_domain:, credentials:, logger:
@@ -36,6 +36,8 @@ module Google
36
36
  # The AzureClusters API provides a single centrally managed service
37
37
  # to create and manage Anthos clusters that run on Azure infrastructure.
38
38
  #
39
+ # @deprecated This service is deprecated and may be removed in the next major version update.
40
+ #
39
41
  # @example Load this service and instantiate a gRPC client
40
42
  #
41
43
  # require "google/cloud/gke_multi_cloud/v1/azure_clusters"
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module GkeMultiCloud
23
23
  module V1
24
- VERSION = "0.17.0"
24
+ VERSION = "0.18.0"
25
25
  end
26
26
  end
27
27
  end