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.
- checksums.yaml +4 -4
- data/lib/google/cloud/ai_platform/v1/data_foundry_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/evaluation_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/index_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/job_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/match_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/model_garden_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/notebook_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/schedule_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/operations.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/vertex_rag_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +20 -3
- data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +20 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c6cf9eb8c2c0aecb4a6138e7f801ceca4f3c97760a556ed4b1ec16ab26933114
|
|
4
|
+
data.tar.gz: 4001df26bd9188d619cb57767a555f77be169de587e75c5c4cf7daa3f649f056
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2303ba979fc2bb628a98c85c813204bc07e3af6ac0bc4eadb170046e52c9e15345c048739ce711d8e9348c81cf32d9dd1601881b2c8fa772e89c97a7aeee53ce
|
|
7
|
+
data.tar.gz: 8f880bebf0c42df6bfe01a023532e38115d19672b8feedef1e7e885123977531b4c6c623d9a9665bfcc9f7c6afafd9e6c8f69a33cced353cf06dbe1c7e3fa0d6
|
|
@@ -346,8 +346,6 @@ module Google
|
|
|
346
346
|
# @return [::String,nil]
|
|
347
347
|
# @!attribute [rw] credentials
|
|
348
348
|
# Credentials to send with calls. You may provide any of the following types:
|
|
349
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
350
|
-
# * (`Hash`) A service account key as a Hash
|
|
351
349
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
352
350
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
353
351
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -356,7 +354,26 @@ module Google
|
|
|
356
354
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
357
355
|
# * (`nil`) indicating no credentials
|
|
358
356
|
#
|
|
359
|
-
# Warning:
|
|
357
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
358
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
359
|
+
# Google APIs can compromise the security of your systems and data.
|
|
360
|
+
#
|
|
361
|
+
# @example
|
|
362
|
+
#
|
|
363
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
364
|
+
# # on the appropriate credentials class for your environment.
|
|
365
|
+
#
|
|
366
|
+
# require "googleauth"
|
|
367
|
+
#
|
|
368
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
369
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
370
|
+
# )
|
|
371
|
+
#
|
|
372
|
+
# client = ::Google::Cloud::AIPlatform::V1::DataFoundryService::Client.new do |config|
|
|
373
|
+
# config.credentials = credentials
|
|
374
|
+
# end
|
|
375
|
+
#
|
|
376
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
360
377
|
# external source for authentication to Google Cloud, you must validate it before
|
|
361
378
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
362
379
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -2186,8 +2186,6 @@ module Google
|
|
|
2186
2186
|
# @return [::String,nil]
|
|
2187
2187
|
# @!attribute [rw] credentials
|
|
2188
2188
|
# Credentials to send with calls. You may provide any of the following types:
|
|
2189
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
2190
|
-
# * (`Hash`) A service account key as a Hash
|
|
2191
2189
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
2192
2190
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
2193
2191
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -2196,7 +2194,26 @@ module Google
|
|
|
2196
2194
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
2197
2195
|
# * (`nil`) indicating no credentials
|
|
2198
2196
|
#
|
|
2199
|
-
# Warning:
|
|
2197
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
2198
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
2199
|
+
# Google APIs can compromise the security of your systems and data.
|
|
2200
|
+
#
|
|
2201
|
+
# @example
|
|
2202
|
+
#
|
|
2203
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
2204
|
+
# # on the appropriate credentials class for your environment.
|
|
2205
|
+
#
|
|
2206
|
+
# require "googleauth"
|
|
2207
|
+
#
|
|
2208
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
2209
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
2210
|
+
# )
|
|
2211
|
+
#
|
|
2212
|
+
# client = ::Google::Cloud::AIPlatform::V1::DatasetService::Client.new do |config|
|
|
2213
|
+
# config.credentials = credentials
|
|
2214
|
+
# end
|
|
2215
|
+
#
|
|
2216
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
2200
2217
|
# external source for authentication to Google Cloud, you must validate it before
|
|
2201
2218
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
2202
2219
|
# 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:
|
|
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.
|
|
@@ -857,8 +857,6 @@ module Google
|
|
|
857
857
|
# @return [::String,nil]
|
|
858
858
|
# @!attribute [rw] credentials
|
|
859
859
|
# Credentials to send with calls. You may provide any of the following types:
|
|
860
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
861
|
-
# * (`Hash`) A service account key as a Hash
|
|
862
860
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
863
861
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
864
862
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -867,7 +865,26 @@ module Google
|
|
|
867
865
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
868
866
|
# * (`nil`) indicating no credentials
|
|
869
867
|
#
|
|
870
|
-
# Warning:
|
|
868
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
869
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
870
|
+
# Google APIs can compromise the security of your systems and data.
|
|
871
|
+
#
|
|
872
|
+
# @example
|
|
873
|
+
#
|
|
874
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
875
|
+
# # on the appropriate credentials class for your environment.
|
|
876
|
+
#
|
|
877
|
+
# require "googleauth"
|
|
878
|
+
#
|
|
879
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
880
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
881
|
+
# )
|
|
882
|
+
#
|
|
883
|
+
# client = ::Google::Cloud::AIPlatform::V1::DeploymentResourcePoolService::Client.new do |config|
|
|
884
|
+
# config.credentials = credentials
|
|
885
|
+
# end
|
|
886
|
+
#
|
|
887
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
871
888
|
# external source for authentication to Google Cloud, you must validate it before
|
|
872
889
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
873
890
|
# 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:
|
|
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.
|
|
@@ -1216,8 +1216,6 @@ module Google
|
|
|
1216
1216
|
# @return [::String,nil]
|
|
1217
1217
|
# @!attribute [rw] credentials
|
|
1218
1218
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1219
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1220
|
-
# * (`Hash`) A service account key as a Hash
|
|
1221
1219
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1222
1220
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1223
1221
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1226,7 +1224,26 @@ module Google
|
|
|
1226
1224
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1227
1225
|
# * (`nil`) indicating no credentials
|
|
1228
1226
|
#
|
|
1229
|
-
# Warning:
|
|
1227
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1228
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1229
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1230
|
+
#
|
|
1231
|
+
# @example
|
|
1232
|
+
#
|
|
1233
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1234
|
+
# # on the appropriate credentials class for your environment.
|
|
1235
|
+
#
|
|
1236
|
+
# require "googleauth"
|
|
1237
|
+
#
|
|
1238
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1239
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1240
|
+
# )
|
|
1241
|
+
#
|
|
1242
|
+
# client = ::Google::Cloud::AIPlatform::V1::EndpointService::Client.new do |config|
|
|
1243
|
+
# config.credentials = credentials
|
|
1244
|
+
# end
|
|
1245
|
+
#
|
|
1246
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1230
1247
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1231
1248
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1232
1249
|
# 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:
|
|
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.
|
|
@@ -443,8 +443,6 @@ module Google
|
|
|
443
443
|
# @return [::String,nil]
|
|
444
444
|
# @!attribute [rw] credentials
|
|
445
445
|
# Credentials to send with calls. You may provide any of the following types:
|
|
446
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
447
|
-
# * (`Hash`) A service account key as a Hash
|
|
448
446
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
449
447
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
450
448
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -453,7 +451,26 @@ module Google
|
|
|
453
451
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
454
452
|
# * (`nil`) indicating no credentials
|
|
455
453
|
#
|
|
456
|
-
# Warning:
|
|
454
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
455
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
456
|
+
# Google APIs can compromise the security of your systems and data.
|
|
457
|
+
#
|
|
458
|
+
# @example
|
|
459
|
+
#
|
|
460
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
461
|
+
# # on the appropriate credentials class for your environment.
|
|
462
|
+
#
|
|
463
|
+
# require "googleauth"
|
|
464
|
+
#
|
|
465
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
466
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
467
|
+
# )
|
|
468
|
+
#
|
|
469
|
+
# client = ::Google::Cloud::AIPlatform::V1::EvaluationService::Client.new do |config|
|
|
470
|
+
# config.credentials = credentials
|
|
471
|
+
# end
|
|
472
|
+
#
|
|
473
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
457
474
|
# external source for authentication to Google Cloud, you must validate it before
|
|
458
475
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
459
476
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -1642,8 +1642,6 @@ module Google
|
|
|
1642
1642
|
# @return [::String,nil]
|
|
1643
1643
|
# @!attribute [rw] credentials
|
|
1644
1644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1646
|
-
# * (`Hash`) A service account key as a Hash
|
|
1647
1645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1648
1646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1649
1647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1652,7 +1650,26 @@ module Google
|
|
|
1652
1650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1653
1651
|
# * (`nil`) indicating no credentials
|
|
1654
1652
|
#
|
|
1655
|
-
# Warning:
|
|
1653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1656
|
+
#
|
|
1657
|
+
# @example
|
|
1658
|
+
#
|
|
1659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1660
|
+
# # on the appropriate credentials class for your environment.
|
|
1661
|
+
#
|
|
1662
|
+
# require "googleauth"
|
|
1663
|
+
#
|
|
1664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1666
|
+
# )
|
|
1667
|
+
#
|
|
1668
|
+
# client = ::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client.new do |config|
|
|
1669
|
+
# config.credentials = credentials
|
|
1670
|
+
# end
|
|
1671
|
+
#
|
|
1672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1656
1673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1657
1674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1658
1675
|
# 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:
|
|
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.
|
|
@@ -604,8 +604,6 @@ module Google
|
|
|
604
604
|
# @return [::String,nil]
|
|
605
605
|
# @!attribute [rw] credentials
|
|
606
606
|
# Credentials to send with calls. You may provide any of the following types:
|
|
607
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
608
|
-
# * (`Hash`) A service account key as a Hash
|
|
609
607
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
610
608
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
611
609
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -614,7 +612,26 @@ module Google
|
|
|
614
612
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
615
613
|
# * (`nil`) indicating no credentials
|
|
616
614
|
#
|
|
617
|
-
# Warning:
|
|
615
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
616
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
617
|
+
# Google APIs can compromise the security of your systems and data.
|
|
618
|
+
#
|
|
619
|
+
# @example
|
|
620
|
+
#
|
|
621
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
622
|
+
# # on the appropriate credentials class for your environment.
|
|
623
|
+
#
|
|
624
|
+
# require "googleauth"
|
|
625
|
+
#
|
|
626
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
627
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
628
|
+
# )
|
|
629
|
+
#
|
|
630
|
+
# client = ::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreService::Client.new do |config|
|
|
631
|
+
# config.credentials = credentials
|
|
632
|
+
# end
|
|
633
|
+
#
|
|
634
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
618
635
|
# external source for authentication to Google Cloud, you must validate it before
|
|
619
636
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
620
637
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -1460,8 +1460,6 @@ module Google
|
|
|
1460
1460
|
# @return [::String,nil]
|
|
1461
1461
|
# @!attribute [rw] credentials
|
|
1462
1462
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1463
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1464
|
-
# * (`Hash`) A service account key as a Hash
|
|
1465
1463
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1466
1464
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1467
1465
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1470,7 +1468,26 @@ module Google
|
|
|
1470
1468
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1471
1469
|
# * (`nil`) indicating no credentials
|
|
1472
1470
|
#
|
|
1473
|
-
# Warning:
|
|
1471
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1472
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1473
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1474
|
+
#
|
|
1475
|
+
# @example
|
|
1476
|
+
#
|
|
1477
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1478
|
+
# # on the appropriate credentials class for your environment.
|
|
1479
|
+
#
|
|
1480
|
+
# require "googleauth"
|
|
1481
|
+
#
|
|
1482
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1483
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1484
|
+
# )
|
|
1485
|
+
#
|
|
1486
|
+
# client = ::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client.new do |config|
|
|
1487
|
+
# config.credentials = credentials
|
|
1488
|
+
# end
|
|
1489
|
+
#
|
|
1490
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1474
1491
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1475
1492
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1476
1493
|
# 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:
|
|
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.
|
|
@@ -546,8 +546,6 @@ module Google
|
|
|
546
546
|
# @return [::String,nil]
|
|
547
547
|
# @!attribute [rw] credentials
|
|
548
548
|
# Credentials to send with calls. You may provide any of the following types:
|
|
549
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
550
|
-
# * (`Hash`) A service account key as a Hash
|
|
551
549
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
552
550
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
553
551
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -556,7 +554,26 @@ module Google
|
|
|
556
554
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
557
555
|
# * (`nil`) indicating no credentials
|
|
558
556
|
#
|
|
559
|
-
# Warning:
|
|
557
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
558
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
559
|
+
# Google APIs can compromise the security of your systems and data.
|
|
560
|
+
#
|
|
561
|
+
# @example
|
|
562
|
+
#
|
|
563
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
564
|
+
# # on the appropriate credentials class for your environment.
|
|
565
|
+
#
|
|
566
|
+
# require "googleauth"
|
|
567
|
+
#
|
|
568
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
569
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
570
|
+
# )
|
|
571
|
+
#
|
|
572
|
+
# client = ::Google::Cloud::AIPlatform::V1::FeaturestoreOnlineServingService::Client.new do |config|
|
|
573
|
+
# config.credentials = credentials
|
|
574
|
+
# end
|
|
575
|
+
#
|
|
576
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
560
577
|
# external source for authentication to Google Cloud, you must validate it before
|
|
561
578
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
562
579
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -2685,8 +2685,6 @@ module Google
|
|
|
2685
2685
|
# @return [::String,nil]
|
|
2686
2686
|
# @!attribute [rw] credentials
|
|
2687
2687
|
# Credentials to send with calls. You may provide any of the following types:
|
|
2688
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
2689
|
-
# * (`Hash`) A service account key as a Hash
|
|
2690
2688
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
2691
2689
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
2692
2690
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -2695,7 +2693,26 @@ module Google
|
|
|
2695
2693
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
2696
2694
|
# * (`nil`) indicating no credentials
|
|
2697
2695
|
#
|
|
2698
|
-
# Warning:
|
|
2696
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
2697
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
2698
|
+
# Google APIs can compromise the security of your systems and data.
|
|
2699
|
+
#
|
|
2700
|
+
# @example
|
|
2701
|
+
#
|
|
2702
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
2703
|
+
# # on the appropriate credentials class for your environment.
|
|
2704
|
+
#
|
|
2705
|
+
# require "googleauth"
|
|
2706
|
+
#
|
|
2707
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
2708
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
2709
|
+
# )
|
|
2710
|
+
#
|
|
2711
|
+
# client = ::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client.new do |config|
|
|
2712
|
+
# config.credentials = credentials
|
|
2713
|
+
# end
|
|
2714
|
+
#
|
|
2715
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
2699
2716
|
# external source for authentication to Google Cloud, you must validate it before
|
|
2700
2717
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
2701
2718
|
# 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:
|
|
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.
|