google-cloud-ai_platform-v1 1.30.0 → 1.30.1

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 (59) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/data_foundry_service/client.rb +20 -3
  3. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +20 -3
  4. data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +20 -3
  5. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/client.rb +20 -3
  6. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/operations.rb +20 -3
  7. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +20 -3
  8. data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +20 -3
  9. data/lib/google/cloud/ai_platform/v1/evaluation_service/client.rb +20 -3
  10. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +20 -3
  11. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +20 -3
  12. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +20 -3
  13. data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +20 -3
  14. data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +20 -3
  15. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +20 -3
  16. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +20 -3
  17. data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +20 -3
  18. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/client.rb +20 -3
  19. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/client.rb +20 -3
  20. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/operations.rb +20 -3
  21. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +20 -3
  22. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +20 -3
  23. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +20 -3
  24. data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +20 -3
  25. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +20 -3
  26. data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +20 -3
  27. data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +20 -3
  28. data/lib/google/cloud/ai_platform/v1/match_service/client.rb +20 -3
  29. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +20 -3
  30. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +20 -3
  31. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +20 -3
  32. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +20 -3
  33. data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +20 -3
  34. data/lib/google/cloud/ai_platform/v1/model_garden_service/operations.rb +20 -3
  35. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +20 -3
  36. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +20 -3
  37. data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +20 -3
  38. data/lib/google/cloud/ai_platform/v1/notebook_service/operations.rb +20 -3
  39. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb +20 -3
  40. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/operations.rb +20 -3
  41. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +20 -3
  42. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +20 -3
  43. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +20 -3
  44. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/client.rb +20 -3
  45. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/client.rb +20 -3
  46. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/operations.rb +20 -3
  47. data/lib/google/cloud/ai_platform/v1/schedule_service/client.rb +20 -3
  48. data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +20 -3
  49. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +20 -3
  50. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +20 -3
  51. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +20 -3
  52. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +20 -3
  53. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  54. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/client.rb +20 -3
  55. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/operations.rb +20 -3
  56. data/lib/google/cloud/ai_platform/v1/vertex_rag_service/client.rb +20 -3
  57. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +20 -3
  58. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +20 -3
  59. metadata +1 -1
@@ -650,8 +650,6 @@ module Google
650
650
  # @return [::String,nil]
651
651
  # @!attribute [rw] credentials
652
652
  # Credentials to send with calls. You may provide any of the following types:
653
- # * (`String`) The path to a service account key file in JSON format
654
- # * (`Hash`) A service account key as a Hash
655
653
  # * (`Google::Auth::Credentials`) A googleauth credentials object
656
654
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
657
655
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -660,7 +658,26 @@ module Google
660
658
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
661
659
  # * (`nil`) indicating no credentials
662
660
  #
663
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
661
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
662
+ # is deprecated. Providing an unvalidated credential configuration to
663
+ # Google APIs can compromise the security of your systems and data.
664
+ #
665
+ # @example
666
+ #
667
+ # # The recommended way to provide credentials is to use the `make_creds` method
668
+ # # on the appropriate credentials class for your environment.
669
+ #
670
+ # require "googleauth"
671
+ #
672
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
673
+ # json_key_io: ::File.open("/path/to/keyfile.json")
674
+ # )
675
+ #
676
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
677
+ # config.credentials = credentials
678
+ # end
679
+ #
680
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
664
681
  # external source for authentication to Google Cloud, you must validate it before
665
682
  # providing it to a Google API client library. Providing an unvalidated credential
666
683
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -2220,8 +2220,6 @@ module Google
2220
2220
  # @return [::String,nil]
2221
2221
  # @!attribute [rw] credentials
2222
2222
  # Credentials to send with calls. You may provide any of the following types:
2223
- # * (`String`) The path to a service account key file in JSON format
2224
- # * (`Hash`) A service account key as a Hash
2225
2223
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2226
2224
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2227
2225
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2230,7 +2228,26 @@ module Google
2230
2228
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2231
2229
  # * (`nil`) indicating no credentials
2232
2230
  #
2233
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2231
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2232
+ # is deprecated. Providing an unvalidated credential configuration to
2233
+ # Google APIs can compromise the security of your systems and data.
2234
+ #
2235
+ # @example
2236
+ #
2237
+ # # The recommended way to provide credentials is to use the `make_creds` method
2238
+ # # on the appropriate credentials class for your environment.
2239
+ #
2240
+ # require "googleauth"
2241
+ #
2242
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2243
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2244
+ # )
2245
+ #
2246
+ # client = ::Google::Cloud::AIPlatform::V1::ModelService::Client.new do |config|
2247
+ # config.credentials = credentials
2248
+ # end
2249
+ #
2250
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2234
2251
  # external source for authentication to Google Cloud, you must validate it before
2235
2252
  # providing it to a Google API client library. Providing an unvalidated credential
2236
2253
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -650,8 +650,6 @@ module Google
650
650
  # @return [::String,nil]
651
651
  # @!attribute [rw] credentials
652
652
  # Credentials to send with calls. You may provide any of the following types:
653
- # * (`String`) The path to a service account key file in JSON format
654
- # * (`Hash`) A service account key as a Hash
655
653
  # * (`Google::Auth::Credentials`) A googleauth credentials object
656
654
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
657
655
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -660,7 +658,26 @@ module Google
660
658
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
661
659
  # * (`nil`) indicating no credentials
662
660
  #
663
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
661
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
662
+ # is deprecated. Providing an unvalidated credential configuration to
663
+ # Google APIs can compromise the security of your systems and data.
664
+ #
665
+ # @example
666
+ #
667
+ # # The recommended way to provide credentials is to use the `make_creds` method
668
+ # # on the appropriate credentials class for your environment.
669
+ #
670
+ # require "googleauth"
671
+ #
672
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
673
+ # json_key_io: ::File.open("/path/to/keyfile.json")
674
+ # )
675
+ #
676
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
677
+ # config.credentials = credentials
678
+ # end
679
+ #
680
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
664
681
  # external source for authentication to Google Cloud, you must validate it before
665
682
  # providing it to a Google API client library. Providing an unvalidated credential
666
683
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1916,8 +1916,6 @@ module Google
1916
1916
  # @return [::String,nil]
1917
1917
  # @!attribute [rw] credentials
1918
1918
  # Credentials to send with calls. You may provide any of the following types:
1919
- # * (`String`) The path to a service account key file in JSON format
1920
- # * (`Hash`) A service account key as a Hash
1921
1919
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1922
1920
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1923
1921
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1926,7 +1924,26 @@ module Google
1926
1924
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1927
1925
  # * (`nil`) indicating no credentials
1928
1926
  #
1929
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1927
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1928
+ # is deprecated. Providing an unvalidated credential configuration to
1929
+ # Google APIs can compromise the security of your systems and data.
1930
+ #
1931
+ # @example
1932
+ #
1933
+ # # The recommended way to provide credentials is to use the `make_creds` method
1934
+ # # on the appropriate credentials class for your environment.
1935
+ #
1936
+ # require "googleauth"
1937
+ #
1938
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1939
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1940
+ # )
1941
+ #
1942
+ # client = ::Google::Cloud::AIPlatform::V1::NotebookService::Client.new do |config|
1943
+ # config.credentials = credentials
1944
+ # end
1945
+ #
1946
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1930
1947
  # external source for authentication to Google Cloud, you must validate it before
1931
1948
  # providing it to a Google API client library. Providing an unvalidated credential
1932
1949
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -650,8 +650,6 @@ module Google
650
650
  # @return [::String,nil]
651
651
  # @!attribute [rw] credentials
652
652
  # Credentials to send with calls. You may provide any of the following types:
653
- # * (`String`) The path to a service account key file in JSON format
654
- # * (`Hash`) A service account key as a Hash
655
653
  # * (`Google::Auth::Credentials`) A googleauth credentials object
656
654
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
657
655
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -660,7 +658,26 @@ module Google
660
658
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
661
659
  # * (`nil`) indicating no credentials
662
660
  #
663
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
661
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
662
+ # is deprecated. Providing an unvalidated credential configuration to
663
+ # Google APIs can compromise the security of your systems and data.
664
+ #
665
+ # @example
666
+ #
667
+ # # The recommended way to provide credentials is to use the `make_creds` method
668
+ # # on the appropriate credentials class for your environment.
669
+ #
670
+ # require "googleauth"
671
+ #
672
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
673
+ # json_key_io: ::File.open("/path/to/keyfile.json")
674
+ # )
675
+ #
676
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
677
+ # config.credentials = credentials
678
+ # end
679
+ #
680
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
664
681
  # external source for authentication to Google Cloud, you must validate it before
665
682
  # providing it to a Google API client library. Providing an unvalidated credential
666
683
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -846,8 +846,6 @@ module Google
846
846
  # @return [::String,nil]
847
847
  # @!attribute [rw] credentials
848
848
  # Credentials to send with calls. You may provide any of the following types:
849
- # * (`String`) The path to a service account key file in JSON format
850
- # * (`Hash`) A service account key as a Hash
851
849
  # * (`Google::Auth::Credentials`) A googleauth credentials object
852
850
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
853
851
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -856,7 +854,26 @@ module Google
856
854
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
857
855
  # * (`nil`) indicating no credentials
858
856
  #
859
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
857
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
858
+ # is deprecated. Providing an unvalidated credential configuration to
859
+ # Google APIs can compromise the security of your systems and data.
860
+ #
861
+ # @example
862
+ #
863
+ # # The recommended way to provide credentials is to use the `make_creds` method
864
+ # # on the appropriate credentials class for your environment.
865
+ #
866
+ # require "googleauth"
867
+ #
868
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
869
+ # json_key_io: ::File.open("/path/to/keyfile.json")
870
+ # )
871
+ #
872
+ # client = ::Google::Cloud::AIPlatform::V1::PersistentResourceService::Client.new do |config|
873
+ # config.credentials = credentials
874
+ # end
875
+ #
876
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
860
877
  # external source for authentication to Google Cloud, you must validate it before
861
878
  # providing it to a Google API client library. Providing an unvalidated credential
862
879
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -650,8 +650,6 @@ module Google
650
650
  # @return [::String,nil]
651
651
  # @!attribute [rw] credentials
652
652
  # Credentials to send with calls. You may provide any of the following types:
653
- # * (`String`) The path to a service account key file in JSON format
654
- # * (`Hash`) A service account key as a Hash
655
653
  # * (`Google::Auth::Credentials`) A googleauth credentials object
656
654
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
657
655
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -660,7 +658,26 @@ module Google
660
658
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
661
659
  # * (`nil`) indicating no credentials
662
660
  #
663
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
661
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
662
+ # is deprecated. Providing an unvalidated credential configuration to
663
+ # Google APIs can compromise the security of your systems and data.
664
+ #
665
+ # @example
666
+ #
667
+ # # The recommended way to provide credentials is to use the `make_creds` method
668
+ # # on the appropriate credentials class for your environment.
669
+ #
670
+ # require "googleauth"
671
+ #
672
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
673
+ # json_key_io: ::File.open("/path/to/keyfile.json")
674
+ # )
675
+ #
676
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
677
+ # config.credentials = credentials
678
+ # end
679
+ #
680
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
664
681
  # external source for authentication to Google Cloud, you must validate it before
665
682
  # providing it to a Google API client library. Providing an unvalidated credential
666
683
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1499,8 +1499,6 @@ module Google
1499
1499
  # @return [::String,nil]
1500
1500
  # @!attribute [rw] credentials
1501
1501
  # Credentials to send with calls. You may provide any of the following types:
1502
- # * (`String`) The path to a service account key file in JSON format
1503
- # * (`Hash`) A service account key as a Hash
1504
1502
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1505
1503
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1506
1504
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1509,7 +1507,26 @@ module Google
1509
1507
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1510
1508
  # * (`nil`) indicating no credentials
1511
1509
  #
1512
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1510
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1511
+ # is deprecated. Providing an unvalidated credential configuration to
1512
+ # Google APIs can compromise the security of your systems and data.
1513
+ #
1514
+ # @example
1515
+ #
1516
+ # # The recommended way to provide credentials is to use the `make_creds` method
1517
+ # # on the appropriate credentials class for your environment.
1518
+ #
1519
+ # require "googleauth"
1520
+ #
1521
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1522
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1523
+ # )
1524
+ #
1525
+ # client = ::Google::Cloud::AIPlatform::V1::PipelineService::Client.new do |config|
1526
+ # config.credentials = credentials
1527
+ # end
1528
+ #
1529
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1513
1530
  # external source for authentication to Google Cloud, you must validate it before
1514
1531
  # providing it to a Google API client library. Providing an unvalidated credential
1515
1532
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -650,8 +650,6 @@ module Google
650
650
  # @return [::String,nil]
651
651
  # @!attribute [rw] credentials
652
652
  # Credentials to send with calls. You may provide any of the following types:
653
- # * (`String`) The path to a service account key file in JSON format
654
- # * (`Hash`) A service account key as a Hash
655
653
  # * (`Google::Auth::Credentials`) A googleauth credentials object
656
654
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
657
655
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -660,7 +658,26 @@ module Google
660
658
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
661
659
  # * (`nil`) indicating no credentials
662
660
  #
663
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
661
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
662
+ # is deprecated. Providing an unvalidated credential configuration to
663
+ # Google APIs can compromise the security of your systems and data.
664
+ #
665
+ # @example
666
+ #
667
+ # # The recommended way to provide credentials is to use the `make_creds` method
668
+ # # on the appropriate credentials class for your environment.
669
+ #
670
+ # require "googleauth"
671
+ #
672
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
673
+ # json_key_io: ::File.open("/path/to/keyfile.json")
674
+ # )
675
+ #
676
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
677
+ # config.credentials = credentials
678
+ # end
679
+ #
680
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
664
681
  # external source for authentication to Google Cloud, you must validate it before
665
682
  # providing it to a Google API client library. Providing an unvalidated credential
666
683
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1657,8 +1657,6 @@ module Google
1657
1657
  # @return [::String,nil]
1658
1658
  # @!attribute [rw] credentials
1659
1659
  # Credentials to send with calls. You may provide any of the following types:
1660
- # * (`String`) The path to a service account key file in JSON format
1661
- # * (`Hash`) A service account key as a Hash
1662
1660
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1663
1661
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1664
1662
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1667,7 +1665,26 @@ module Google
1667
1665
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1668
1666
  # * (`nil`) indicating no credentials
1669
1667
  #
1670
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1668
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1669
+ # is deprecated. Providing an unvalidated credential configuration to
1670
+ # Google APIs can compromise the security of your systems and data.
1671
+ #
1672
+ # @example
1673
+ #
1674
+ # # The recommended way to provide credentials is to use the `make_creds` method
1675
+ # # on the appropriate credentials class for your environment.
1676
+ #
1677
+ # require "googleauth"
1678
+ #
1679
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1680
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1681
+ # )
1682
+ #
1683
+ # client = ::Google::Cloud::AIPlatform::V1::PredictionService::Client.new do |config|
1684
+ # config.credentials = credentials
1685
+ # end
1686
+ #
1687
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1671
1688
  # external source for authentication to Google Cloud, you must validate it before
1672
1689
  # providing it to a Google API client library. Providing an unvalidated credential
1673
1690
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -439,8 +439,6 @@ module Google
439
439
  # @return [::String,nil]
440
440
  # @!attribute [rw] credentials
441
441
  # Credentials to send with calls. You may provide any of the following types:
442
- # * (`String`) The path to a service account key file in JSON format
443
- # * (`Hash`) A service account key as a Hash
444
442
  # * (`Google::Auth::Credentials`) A googleauth credentials object
445
443
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
446
444
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -449,7 +447,26 @@ module Google
449
447
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
450
448
  # * (`nil`) indicating no credentials
451
449
  #
452
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
450
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
451
+ # is deprecated. Providing an unvalidated credential configuration to
452
+ # Google APIs can compromise the security of your systems and data.
453
+ #
454
+ # @example
455
+ #
456
+ # # The recommended way to provide credentials is to use the `make_creds` method
457
+ # # on the appropriate credentials class for your environment.
458
+ #
459
+ # require "googleauth"
460
+ #
461
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
462
+ # json_key_io: ::File.open("/path/to/keyfile.json")
463
+ # )
464
+ #
465
+ # client = ::Google::Cloud::AIPlatform::V1::ReasoningEngineExecutionService::Client.new do |config|
466
+ # config.credentials = credentials
467
+ # end
468
+ #
469
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
453
470
  # external source for authentication to Google Cloud, you must validate it before
454
471
  # providing it to a Google API client library. Providing an unvalidated credential
455
472
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -743,8 +743,6 @@ module Google
743
743
  # @return [::String,nil]
744
744
  # @!attribute [rw] credentials
745
745
  # Credentials to send with calls. You may provide any of the following types:
746
- # * (`String`) The path to a service account key file in JSON format
747
- # * (`Hash`) A service account key as a Hash
748
746
  # * (`Google::Auth::Credentials`) A googleauth credentials object
749
747
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
750
748
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -753,7 +751,26 @@ module Google
753
751
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
754
752
  # * (`nil`) indicating no credentials
755
753
  #
756
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
754
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
755
+ # is deprecated. Providing an unvalidated credential configuration to
756
+ # Google APIs can compromise the security of your systems and data.
757
+ #
758
+ # @example
759
+ #
760
+ # # The recommended way to provide credentials is to use the `make_creds` method
761
+ # # on the appropriate credentials class for your environment.
762
+ #
763
+ # require "googleauth"
764
+ #
765
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
766
+ # json_key_io: ::File.open("/path/to/keyfile.json")
767
+ # )
768
+ #
769
+ # client = ::Google::Cloud::AIPlatform::V1::ReasoningEngineService::Client.new do |config|
770
+ # config.credentials = credentials
771
+ # end
772
+ #
773
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
757
774
  # external source for authentication to Google Cloud, you must validate it before
758
775
  # providing it to a Google API client library. Providing an unvalidated credential
759
776
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -650,8 +650,6 @@ module Google
650
650
  # @return [::String,nil]
651
651
  # @!attribute [rw] credentials
652
652
  # Credentials to send with calls. You may provide any of the following types:
653
- # * (`String`) The path to a service account key file in JSON format
654
- # * (`Hash`) A service account key as a Hash
655
653
  # * (`Google::Auth::Credentials`) A googleauth credentials object
656
654
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
657
655
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -660,7 +658,26 @@ module Google
660
658
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
661
659
  # * (`nil`) indicating no credentials
662
660
  #
663
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
661
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
662
+ # is deprecated. Providing an unvalidated credential configuration to
663
+ # Google APIs can compromise the security of your systems and data.
664
+ #
665
+ # @example
666
+ #
667
+ # # The recommended way to provide credentials is to use the `make_creds` method
668
+ # # on the appropriate credentials class for your environment.
669
+ #
670
+ # require "googleauth"
671
+ #
672
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
673
+ # json_key_io: ::File.open("/path/to/keyfile.json")
674
+ # )
675
+ #
676
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
677
+ # config.credentials = credentials
678
+ # end
679
+ #
680
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
664
681
  # external source for authentication to Google Cloud, you must validate it before
665
682
  # providing it to a Google API client library. Providing an unvalidated credential
666
683
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -977,8 +977,6 @@ module Google
977
977
  # @return [::String,nil]
978
978
  # @!attribute [rw] credentials
979
979
  # Credentials to send with calls. You may provide any of the following types:
980
- # * (`String`) The path to a service account key file in JSON format
981
- # * (`Hash`) A service account key as a Hash
982
980
  # * (`Google::Auth::Credentials`) A googleauth credentials object
983
981
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
984
982
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -987,7 +985,26 @@ module Google
987
985
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
988
986
  # * (`nil`) indicating no credentials
989
987
  #
990
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
988
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
989
+ # is deprecated. Providing an unvalidated credential configuration to
990
+ # Google APIs can compromise the security of your systems and data.
991
+ #
992
+ # @example
993
+ #
994
+ # # The recommended way to provide credentials is to use the `make_creds` method
995
+ # # on the appropriate credentials class for your environment.
996
+ #
997
+ # require "googleauth"
998
+ #
999
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1000
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1001
+ # )
1002
+ #
1003
+ # client = ::Google::Cloud::AIPlatform::V1::ScheduleService::Client.new do |config|
1004
+ # config.credentials = credentials
1005
+ # end
1006
+ #
1007
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
991
1008
  # external source for authentication to Google Cloud, you must validate it before
992
1009
  # providing it to a Google API client library. Providing an unvalidated credential
993
1010
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -650,8 +650,6 @@ module Google
650
650
  # @return [::String,nil]
651
651
  # @!attribute [rw] credentials
652
652
  # Credentials to send with calls. You may provide any of the following types:
653
- # * (`String`) The path to a service account key file in JSON format
654
- # * (`Hash`) A service account key as a Hash
655
653
  # * (`Google::Auth::Credentials`) A googleauth credentials object
656
654
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
657
655
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -660,7 +658,26 @@ module Google
660
658
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
661
659
  # * (`nil`) indicating no credentials
662
660
  #
663
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
661
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
662
+ # is deprecated. Providing an unvalidated credential configuration to
663
+ # Google APIs can compromise the security of your systems and data.
664
+ #
665
+ # @example
666
+ #
667
+ # # The recommended way to provide credentials is to use the `make_creds` method
668
+ # # on the appropriate credentials class for your environment.
669
+ #
670
+ # require "googleauth"
671
+ #
672
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
673
+ # json_key_io: ::File.open("/path/to/keyfile.json")
674
+ # )
675
+ #
676
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
677
+ # config.credentials = credentials
678
+ # end
679
+ #
680
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
664
681
  # external source for authentication to Google Cloud, you must validate it before
665
682
  # providing it to a Google API client library. Providing an unvalidated credential
666
683
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -751,8 +751,6 @@ module Google
751
751
  # @return [::String,nil]
752
752
  # @!attribute [rw] credentials
753
753
  # Credentials to send with calls. You may provide any of the following types:
754
- # * (`String`) The path to a service account key file in JSON format
755
- # * (`Hash`) A service account key as a Hash
756
754
  # * (`Google::Auth::Credentials`) A googleauth credentials object
757
755
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
758
756
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -761,7 +759,26 @@ module Google
761
759
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
762
760
  # * (`nil`) indicating no credentials
763
761
  #
764
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
762
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
763
+ # is deprecated. Providing an unvalidated credential configuration to
764
+ # Google APIs can compromise the security of your systems and data.
765
+ #
766
+ # @example
767
+ #
768
+ # # The recommended way to provide credentials is to use the `make_creds` method
769
+ # # on the appropriate credentials class for your environment.
770
+ #
771
+ # require "googleauth"
772
+ #
773
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
774
+ # json_key_io: ::File.open("/path/to/keyfile.json")
775
+ # )
776
+ #
777
+ # client = ::Google::Cloud::AIPlatform::V1::SpecialistPoolService::Client.new do |config|
778
+ # config.credentials = credentials
779
+ # end
780
+ #
781
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
765
782
  # external source for authentication to Google Cloud, you must validate it before
766
783
  # providing it to a Google API client library. Providing an unvalidated credential
767
784
  # configuration to Google APIs can compromise the security of your systems and data.