google-cloud-recommendation_engine-v1beta1 0.15.0 → 0.15.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/recommendation_engine/v1beta1/catalog_service/client.rb +20 -3
- data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/operations.rb +20 -3
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/client.rb +20 -3
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_service/client.rb +20 -3
- data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/client.rb +20 -3
- data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/operations.rb +20 -3
- data/lib/google/cloud/recommendation_engine/v1beta1/version.rb +1 -1
- 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: a3767e7ea4d9083f4ee68c729c79eba31b2c0872b71f02207a7db6620d0c2811
|
|
4
|
+
data.tar.gz: bf1f374600ac9f2572189d602eb35c6a78a5ca1bc4b417d7286c53e6f6f75ca0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fbdc4d3cd107d8b959b0c0b1461fe228ed69e1f0491db06e2bba868ef765593f668423808f7839e451949c18b550908d18ff8c81771ab87d2b5bca524211a3f5
|
|
7
|
+
data.tar.gz: f074efd0abd39ec29a4b51ce32158537ff58279f6c4232f70746d03090d89180a5ef0257986cf0472264116fc92e725157cbca52ace4c6d98bdfc92245f943d4
|
|
@@ -822,8 +822,6 @@ module Google
|
|
|
822
822
|
# @return [::String,nil]
|
|
823
823
|
# @!attribute [rw] credentials
|
|
824
824
|
# Credentials to send with calls. You may provide any of the following types:
|
|
825
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
826
|
-
# * (`Hash`) A service account key as a Hash
|
|
827
825
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
828
826
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
829
827
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -832,7 +830,26 @@ module Google
|
|
|
832
830
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
833
831
|
# * (`nil`) indicating no credentials
|
|
834
832
|
#
|
|
835
|
-
# Warning:
|
|
833
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
834
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
835
|
+
# Google APIs can compromise the security of your systems and data.
|
|
836
|
+
#
|
|
837
|
+
# @example
|
|
838
|
+
#
|
|
839
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
840
|
+
# # on the appropriate credentials class for your environment.
|
|
841
|
+
#
|
|
842
|
+
# require "googleauth"
|
|
843
|
+
#
|
|
844
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
845
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
846
|
+
# )
|
|
847
|
+
#
|
|
848
|
+
# client = ::Google::Cloud::RecommendationEngine::V1beta1::CatalogService::Client.new do |config|
|
|
849
|
+
# config.credentials = credentials
|
|
850
|
+
# end
|
|
851
|
+
#
|
|
852
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
836
853
|
# external source for authentication to Google Cloud, you must validate it before
|
|
837
854
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
838
855
|
# 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:
|
|
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.
|
|
@@ -508,8 +508,6 @@ module Google
|
|
|
508
508
|
# @return [::String,nil]
|
|
509
509
|
# @!attribute [rw] credentials
|
|
510
510
|
# Credentials to send with calls. You may provide any of the following types:
|
|
511
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
512
|
-
# * (`Hash`) A service account key as a Hash
|
|
513
511
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
514
512
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
515
513
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -518,7 +516,26 @@ module Google
|
|
|
518
516
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
519
517
|
# * (`nil`) indicating no credentials
|
|
520
518
|
#
|
|
521
|
-
# Warning:
|
|
519
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
520
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
521
|
+
# Google APIs can compromise the security of your systems and data.
|
|
522
|
+
#
|
|
523
|
+
# @example
|
|
524
|
+
#
|
|
525
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
526
|
+
# # on the appropriate credentials class for your environment.
|
|
527
|
+
#
|
|
528
|
+
# require "googleauth"
|
|
529
|
+
#
|
|
530
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
531
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
532
|
+
# )
|
|
533
|
+
#
|
|
534
|
+
# client = ::Google::Cloud::RecommendationEngine::V1beta1::PredictionApiKeyRegistry::Client.new do |config|
|
|
535
|
+
# config.credentials = credentials
|
|
536
|
+
# end
|
|
537
|
+
#
|
|
538
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
522
539
|
# external source for authentication to Google Cloud, you must validate it before
|
|
523
540
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
524
541
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -404,8 +404,6 @@ module Google
|
|
|
404
404
|
# @return [::String,nil]
|
|
405
405
|
# @!attribute [rw] credentials
|
|
406
406
|
# Credentials to send with calls. You may provide any of the following types:
|
|
407
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
408
|
-
# * (`Hash`) A service account key as a Hash
|
|
409
407
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
410
408
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
411
409
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -414,7 +412,26 @@ module Google
|
|
|
414
412
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
415
413
|
# * (`nil`) indicating no credentials
|
|
416
414
|
#
|
|
417
|
-
# Warning:
|
|
415
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
416
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
417
|
+
# Google APIs can compromise the security of your systems and data.
|
|
418
|
+
#
|
|
419
|
+
# @example
|
|
420
|
+
#
|
|
421
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
422
|
+
# # on the appropriate credentials class for your environment.
|
|
423
|
+
#
|
|
424
|
+
# require "googleauth"
|
|
425
|
+
#
|
|
426
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
427
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
428
|
+
# )
|
|
429
|
+
#
|
|
430
|
+
# client = ::Google::Cloud::RecommendationEngine::V1beta1::PredictionService::Client.new do |config|
|
|
431
|
+
# config.credentials = credentials
|
|
432
|
+
# end
|
|
433
|
+
#
|
|
434
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
418
435
|
# external source for authentication to Google Cloud, you must validate it before
|
|
419
436
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
420
437
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -810,8 +810,6 @@ module Google
|
|
|
810
810
|
# @return [::String,nil]
|
|
811
811
|
# @!attribute [rw] credentials
|
|
812
812
|
# Credentials to send with calls. You may provide any of the following types:
|
|
813
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
814
|
-
# * (`Hash`) A service account key as a Hash
|
|
815
813
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
816
814
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
817
815
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -820,7 +818,26 @@ module Google
|
|
|
820
818
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
821
819
|
# * (`nil`) indicating no credentials
|
|
822
820
|
#
|
|
823
|
-
# Warning:
|
|
821
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
822
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
823
|
+
# Google APIs can compromise the security of your systems and data.
|
|
824
|
+
#
|
|
825
|
+
# @example
|
|
826
|
+
#
|
|
827
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
828
|
+
# # on the appropriate credentials class for your environment.
|
|
829
|
+
#
|
|
830
|
+
# require "googleauth"
|
|
831
|
+
#
|
|
832
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
833
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
834
|
+
# )
|
|
835
|
+
#
|
|
836
|
+
# client = ::Google::Cloud::RecommendationEngine::V1beta1::UserEventService::Client.new do |config|
|
|
837
|
+
# config.credentials = credentials
|
|
838
|
+
# end
|
|
839
|
+
#
|
|
840
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
824
841
|
# external source for authentication to Google Cloud, you must validate it before
|
|
825
842
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
826
843
|
# 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:
|
|
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.
|