google-cloud-retail-v2 1.2.0 → 2.0.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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/retail/v2/analytics_service/client.rb +7 -0
- data/lib/google/cloud/retail/v2/analytics_service/operations.rb +7 -0
- data/lib/google/cloud/retail/v2/analytics_service/rest/client.rb +7 -0
- data/lib/google/cloud/retail/v2/analytics_service/rest/operations.rb +7 -0
- data/lib/google/cloud/retail/v2/catalog_service/client.rb +7 -0
- data/lib/google/cloud/retail/v2/catalog_service/rest/client.rb +7 -0
- data/lib/google/cloud/retail/v2/completion_service/client.rb +7 -0
- data/lib/google/cloud/retail/v2/completion_service/operations.rb +7 -0
- data/lib/google/cloud/retail/v2/completion_service/rest/client.rb +7 -0
- data/lib/google/cloud/retail/v2/completion_service/rest/operations.rb +7 -0
- data/lib/google/cloud/retail/v2/control_service/client.rb +7 -0
- data/lib/google/cloud/retail/v2/control_service/rest/client.rb +7 -0
- data/lib/google/cloud/retail/v2/generative_question_service/client.rb +7 -0
- data/lib/google/cloud/retail/v2/generative_question_service/rest/client.rb +7 -0
- data/lib/google/cloud/retail/v2/model_service/client.rb +7 -0
- data/lib/google/cloud/retail/v2/model_service/operations.rb +7 -0
- data/lib/google/cloud/retail/v2/model_service/rest/client.rb +7 -0
- data/lib/google/cloud/retail/v2/model_service/rest/operations.rb +7 -0
- data/lib/google/cloud/retail/v2/prediction_service/client.rb +7 -0
- data/lib/google/cloud/retail/v2/prediction_service/rest/client.rb +7 -0
- data/lib/google/cloud/retail/v2/product_service/client.rb +7 -0
- data/lib/google/cloud/retail/v2/product_service/operations.rb +7 -0
- data/lib/google/cloud/retail/v2/product_service/rest/client.rb +7 -0
- data/lib/google/cloud/retail/v2/product_service/rest/operations.rb +7 -0
- data/lib/google/cloud/retail/v2/search_service/client.rb +7 -0
- data/lib/google/cloud/retail/v2/search_service/rest/client.rb +11 -2
- data/lib/google/cloud/retail/v2/serving_config_service/client.rb +7 -0
- data/lib/google/cloud/retail/v2/serving_config_service/rest/client.rb +7 -0
- data/lib/google/cloud/retail/v2/user_event_service/client.rb +7 -0
- data/lib/google/cloud/retail/v2/user_event_service/operations.rb +7 -0
- data/lib/google/cloud/retail/v2/user_event_service/rest/client.rb +7 -0
- data/lib/google/cloud/retail/v2/user_event_service/rest/operations.rb +7 -0
- data/lib/google/cloud/retail/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +8 -0
- data/proto_docs/google/cloud/retail/v2/common.rb +28 -0
- data/proto_docs/google/cloud/retail/v2/export_config.rb +4 -0
- data/proto_docs/google/cloud/retail/v2/import_config.rb +12 -0
- data/proto_docs/google/cloud/retail/v2/product.rb +4 -0
- data/proto_docs/google/cloud/retail/v2/search_service.rb +12 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- data/proto_docs/google/protobuf/struct.rb +12 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4739991aeae8d4c5cb8aa6846e6fc7554c9e2e59603750e03e96e78840396d2
|
4
|
+
data.tar.gz: 9eb0060cfcb5a788bab0935976d7d7088afb3d576e2153aa440916ff07f8bdf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63509176aa601713c65ac1d4bdbd451508f68f97ea5fbe26cce29409e67a8570ecfde7c1d4e9e3ef938d3eb29905674053fef1a7ade750a67bbfc44f47a9d0b3
|
7
|
+
data.tar.gz: d37b4f7a04543af4e0453f2cf166495158ba67dbc48145fa165b0ddbcb8b20b2591636367848098dc0fae0d4b1e3f9ccc9588df3d96d214519eb1d13bdb1663f
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
86
86
|
|
87
87
|
## Supported Ruby Versions
|
88
88
|
|
89
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
90
90
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -379,6 +379,13 @@ module Google
|
|
379
379
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
380
380
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
381
381
|
# * (`nil`) indicating no credentials
|
382
|
+
#
|
383
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
384
|
+
# external source for authentication to Google Cloud, you must validate it before
|
385
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
386
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
387
|
+
# For more information, refer to [Validate credential configurations from external
|
388
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
382
389
|
# @return [::Object]
|
383
390
|
# @!attribute [rw] scope
|
384
391
|
# The OAuth scopes
|
@@ -640,6 +640,13 @@ module Google
|
|
640
640
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
641
641
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
642
642
|
# * (`nil`) indicating no credentials
|
643
|
+
#
|
644
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
645
|
+
# external source for authentication to Google Cloud, you must validate it before
|
646
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
647
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
648
|
+
# For more information, refer to [Validate credential configurations from external
|
649
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
643
650
|
# @return [::Object]
|
644
651
|
# @!attribute [rw] scope
|
645
652
|
# The OAuth scopes
|
@@ -363,6 +363,13 @@ module Google
|
|
363
363
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
364
364
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
365
365
|
# * (`nil`) indicating no credentials
|
366
|
+
#
|
367
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
368
|
+
# external source for authentication to Google Cloud, you must validate it before
|
369
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
370
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
371
|
+
# For more information, refer to [Validate credential configurations from external
|
372
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
366
373
|
# @return [::Object]
|
367
374
|
# @!attribute [rw] scope
|
368
375
|
# The OAuth scopes
|
@@ -502,6 +502,13 @@ module Google
|
|
502
502
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
503
503
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
504
504
|
# * (`nil`) indicating no credentials
|
505
|
+
#
|
506
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
507
|
+
# external source for authentication to Google Cloud, you must validate it before
|
508
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
509
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
510
|
+
# For more information, refer to [Validate credential configurations from external
|
511
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
505
512
|
# @return [::Object]
|
506
513
|
# @!attribute [rw] scope
|
507
514
|
# The OAuth scopes
|
@@ -1355,6 +1355,13 @@ module Google
|
|
1355
1355
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1356
1356
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1357
1357
|
# * (`nil`) indicating no credentials
|
1358
|
+
#
|
1359
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1360
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1361
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1362
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1363
|
+
# For more information, refer to [Validate credential configurations from external
|
1364
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1358
1365
|
# @return [::Object]
|
1359
1366
|
# @!attribute [rw] scope
|
1360
1367
|
# The OAuth scopes
|
@@ -1269,6 +1269,13 @@ module Google
|
|
1269
1269
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1270
1270
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1271
1271
|
# * (`nil`) indicating no credentials
|
1272
|
+
#
|
1273
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1274
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1275
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1276
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1277
|
+
# For more information, refer to [Validate credential configurations from external
|
1278
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1272
1279
|
# @return [::Object]
|
1273
1280
|
# @!attribute [rw] scope
|
1274
1281
|
# The OAuth scopes
|
@@ -539,6 +539,13 @@ module Google
|
|
539
539
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
540
540
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
541
541
|
# * (`nil`) indicating no credentials
|
542
|
+
#
|
543
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
544
|
+
# external source for authentication to Google Cloud, you must validate it before
|
545
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
546
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
547
|
+
# For more information, refer to [Validate credential configurations from external
|
548
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
542
549
|
# @return [::Object]
|
543
550
|
# @!attribute [rw] scope
|
544
551
|
# The OAuth scopes
|
@@ -640,6 +640,13 @@ module Google
|
|
640
640
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
641
641
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
642
642
|
# * (`nil`) indicating no credentials
|
643
|
+
#
|
644
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
645
|
+
# external source for authentication to Google Cloud, you must validate it before
|
646
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
647
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
648
|
+
# For more information, refer to [Validate credential configurations from external
|
649
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
643
650
|
# @return [::Object]
|
644
651
|
# @!attribute [rw] scope
|
645
652
|
# The OAuth scopes
|
@@ -516,6 +516,13 @@ module Google
|
|
516
516
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
517
517
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
518
518
|
# * (`nil`) indicating no credentials
|
519
|
+
#
|
520
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
521
|
+
# external source for authentication to Google Cloud, you must validate it before
|
522
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
523
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
524
|
+
# For more information, refer to [Validate credential configurations from external
|
525
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
519
526
|
# @return [::Object]
|
520
527
|
# @!attribute [rw] scope
|
521
528
|
# The OAuth scopes
|
@@ -502,6 +502,13 @@ module Google
|
|
502
502
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
503
503
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
504
504
|
# * (`nil`) indicating no credentials
|
505
|
+
#
|
506
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
507
|
+
# external source for authentication to Google Cloud, you must validate it before
|
508
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
509
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
510
|
+
# For more information, refer to [Validate credential configurations from external
|
511
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
505
512
|
# @return [::Object]
|
506
513
|
# @!attribute [rw] scope
|
507
514
|
# The OAuth scopes
|
@@ -719,6 +719,13 @@ module Google
|
|
719
719
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
720
720
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
721
721
|
# * (`nil`) indicating no credentials
|
722
|
+
#
|
723
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
724
|
+
# external source for authentication to Google Cloud, you must validate it before
|
725
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
726
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
727
|
+
# For more information, refer to [Validate credential configurations from external
|
728
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
722
729
|
# @return [::Object]
|
723
730
|
# @!attribute [rw] scope
|
724
731
|
# The OAuth scopes
|
@@ -675,6 +675,13 @@ module Google
|
|
675
675
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
676
676
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
677
677
|
# * (`nil`) indicating no credentials
|
678
|
+
#
|
679
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
680
|
+
# external source for authentication to Google Cloud, you must validate it before
|
681
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
682
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
683
|
+
# For more information, refer to [Validate credential configurations from external
|
684
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
678
685
|
# @return [::Object]
|
679
686
|
# @!attribute [rw] scope
|
680
687
|
# The OAuth scopes
|
@@ -687,6 +687,13 @@ module Google
|
|
687
687
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
688
688
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
689
689
|
# * (`nil`) indicating no credentials
|
690
|
+
#
|
691
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
692
|
+
# external source for authentication to Google Cloud, you must validate it before
|
693
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
694
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
695
|
+
# For more information, refer to [Validate credential configurations from external
|
696
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
690
697
|
# @return [::Object]
|
691
698
|
# @!attribute [rw] scope
|
692
699
|
# The OAuth scopes
|
@@ -643,6 +643,13 @@ module Google
|
|
643
643
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
644
644
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
645
645
|
# * (`nil`) indicating no credentials
|
646
|
+
#
|
647
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
648
|
+
# external source for authentication to Google Cloud, you must validate it before
|
649
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
650
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
651
|
+
# For more information, refer to [Validate credential configurations from external
|
652
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
646
653
|
# @return [::Object]
|
647
654
|
# @!attribute [rw] scope
|
648
655
|
# The OAuth scopes
|
@@ -1008,6 +1008,13 @@ module Google
|
|
1008
1008
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1009
1009
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1010
1010
|
# * (`nil`) indicating no credentials
|
1011
|
+
#
|
1012
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1013
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1014
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1015
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1016
|
+
# For more information, refer to [Validate credential configurations from external
|
1017
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1011
1018
|
# @return [::Object]
|
1012
1019
|
# @!attribute [rw] scope
|
1013
1020
|
# The OAuth scopes
|
@@ -640,6 +640,13 @@ module Google
|
|
640
640
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
641
641
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
642
642
|
# * (`nil`) indicating no credentials
|
643
|
+
#
|
644
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
645
|
+
# external source for authentication to Google Cloud, you must validate it before
|
646
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
647
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
648
|
+
# For more information, refer to [Validate credential configurations from external
|
649
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
643
650
|
# @return [::Object]
|
644
651
|
# @!attribute [rw] scope
|
645
652
|
# The OAuth scopes
|
@@ -943,6 +943,13 @@ module Google
|
|
943
943
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
944
944
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
945
945
|
# * (`nil`) indicating no credentials
|
946
|
+
#
|
947
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
948
|
+
# external source for authentication to Google Cloud, you must validate it before
|
949
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
950
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
951
|
+
# For more information, refer to [Validate credential configurations from external
|
952
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
946
953
|
# @return [::Object]
|
947
954
|
# @!attribute [rw] scope
|
948
955
|
# The OAuth scopes
|
@@ -502,6 +502,13 @@ module Google
|
|
502
502
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
503
503
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
504
504
|
# * (`nil`) indicating no credentials
|
505
|
+
#
|
506
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
507
|
+
# external source for authentication to Google Cloud, you must validate it before
|
508
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
509
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
510
|
+
# For more information, refer to [Validate credential configurations from external
|
511
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
505
512
|
# @return [::Object]
|
506
513
|
# @!attribute [rw] scope
|
507
514
|
# The OAuth scopes
|
@@ -459,6 +459,13 @@ module Google
|
|
459
459
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
460
460
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
461
461
|
# * (`nil`) indicating no credentials
|
462
|
+
#
|
463
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
464
|
+
# external source for authentication to Google Cloud, you must validate it before
|
465
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
466
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
467
|
+
# For more information, refer to [Validate credential configurations from external
|
468
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
462
469
|
# @return [::Object]
|
463
470
|
# @!attribute [rw] scope
|
464
471
|
# The OAuth scopes
|
@@ -443,6 +443,13 @@ module Google
|
|
443
443
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
444
444
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
445
445
|
# * (`nil`) indicating no credentials
|
446
|
+
#
|
447
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
448
|
+
# external source for authentication to Google Cloud, you must validate it before
|
449
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
450
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
451
|
+
# For more information, refer to [Validate credential configurations from external
|
452
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
446
453
|
# @return [::Object]
|
447
454
|
# @!attribute [rw] scope
|
448
455
|
# The OAuth scopes
|
@@ -1998,6 +1998,13 @@ module Google
|
|
1998
1998
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1999
1999
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
2000
2000
|
# * (`nil`) indicating no credentials
|
2001
|
+
#
|
2002
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
2003
|
+
# external source for authentication to Google Cloud, you must validate it before
|
2004
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
2005
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
2006
|
+
# For more information, refer to [Validate credential configurations from external
|
2007
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
2001
2008
|
# @return [::Object]
|
2002
2009
|
# @!attribute [rw] scope
|
2003
2010
|
# The OAuth scopes
|
@@ -640,6 +640,13 @@ module Google
|
|
640
640
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
641
641
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
642
642
|
# * (`nil`) indicating no credentials
|
643
|
+
#
|
644
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
645
|
+
# external source for authentication to Google Cloud, you must validate it before
|
646
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
647
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
648
|
+
# For more information, refer to [Validate credential configurations from external
|
649
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
643
650
|
# @return [::Object]
|
644
651
|
# @!attribute [rw] scope
|
645
652
|
# The OAuth scopes
|
@@ -1905,6 +1905,13 @@ module Google
|
|
1905
1905
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1906
1906
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1907
1907
|
# * (`nil`) indicating no credentials
|
1908
|
+
#
|
1909
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1910
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1911
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1912
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1913
|
+
# For more information, refer to [Validate credential configurations from external
|
1914
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1908
1915
|
# @return [::Object]
|
1909
1916
|
# @!attribute [rw] scope
|
1910
1917
|
# The OAuth scopes
|
@@ -502,6 +502,13 @@ module Google
|
|
502
502
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
503
503
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
504
504
|
# * (`nil`) indicating no credentials
|
505
|
+
#
|
506
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
507
|
+
# external source for authentication to Google Cloud, you must validate it before
|
508
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
509
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
510
|
+
# For more information, refer to [Validate credential configurations from external
|
511
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
505
512
|
# @return [::Object]
|
506
513
|
# @!attribute [rw] scope
|
507
514
|
# The OAuth scopes
|
@@ -586,6 +586,13 @@ module Google
|
|
586
586
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
587
587
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
588
588
|
# * (`nil`) indicating no credentials
|
589
|
+
#
|
590
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
591
|
+
# external source for authentication to Google Cloud, you must validate it before
|
592
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
593
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
594
|
+
# For more information, refer to [Validate credential configurations from external
|
595
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
589
596
|
# @return [::Object]
|
590
597
|
# @!attribute [rw] scope
|
591
598
|
# The OAuth scopes
|
@@ -465,10 +465,10 @@ module Google
|
|
465
465
|
# @param tile_navigation_spec [::Google::Cloud::Retail::V2::SearchRequest::TileNavigationSpec, ::Hash]
|
466
466
|
# Optional. This field specifies tile navigation related parameters.
|
467
467
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
468
|
-
# @yieldparam result [::Google::Cloud::Retail::V2::SearchResponse]
|
468
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Retail::V2::SearchResponse::SearchResult>]
|
469
469
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
470
470
|
#
|
471
|
-
# @return [::Google::Cloud::Retail::V2::SearchResponse]
|
471
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Retail::V2::SearchResponse::SearchResult>]
|
472
472
|
#
|
473
473
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
474
474
|
#
|
@@ -520,7 +520,9 @@ module Google
|
|
520
520
|
retry_policy: @config.retry_policy
|
521
521
|
|
522
522
|
@search_service_stub.search request, options do |result, operation|
|
523
|
+
result = ::Gapic::Rest::PagedEnumerable.new @search_service_stub, :search, "results", request, result, options
|
523
524
|
yield result, operation if block_given?
|
525
|
+
throw :response, result
|
524
526
|
end
|
525
527
|
rescue ::Gapic::Rest::Error => e
|
526
528
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -568,6 +570,13 @@ module Google
|
|
568
570
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
569
571
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
570
572
|
# * (`nil`) indicating no credentials
|
573
|
+
#
|
574
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
575
|
+
# external source for authentication to Google Cloud, you must validate it before
|
576
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
577
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
578
|
+
# For more information, refer to [Validate credential configurations from external
|
579
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
571
580
|
# @return [::Object]
|
572
581
|
# @!attribute [rw] scope
|
573
582
|
# The OAuth scopes
|
@@ -896,6 +896,13 @@ module Google
|
|
896
896
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
897
897
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
898
898
|
# * (`nil`) indicating no credentials
|
899
|
+
#
|
900
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
901
|
+
# external source for authentication to Google Cloud, you must validate it before
|
902
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
903
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
904
|
+
# For more information, refer to [Validate credential configurations from external
|
905
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
899
906
|
# @return [::Object]
|
900
907
|
# @!attribute [rw] scope
|
901
908
|
# The OAuth scopes
|
@@ -838,6 +838,13 @@ module Google
|
|
838
838
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
839
839
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
840
840
|
# * (`nil`) indicating no credentials
|
841
|
+
#
|
842
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
843
|
+
# external source for authentication to Google Cloud, you must validate it before
|
844
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
845
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
846
|
+
# For more information, refer to [Validate credential configurations from external
|
847
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
841
848
|
# @return [::Object]
|
842
849
|
# @!attribute [rw] scope
|
843
850
|
# The OAuth scopes
|
@@ -814,6 +814,13 @@ module Google
|
|
814
814
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
815
815
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
816
816
|
# * (`nil`) indicating no credentials
|
817
|
+
#
|
818
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
819
|
+
# external source for authentication to Google Cloud, you must validate it before
|
820
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
821
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
822
|
+
# For more information, refer to [Validate credential configurations from external
|
823
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
817
824
|
# @return [::Object]
|
818
825
|
# @!attribute [rw] scope
|
819
826
|
# The OAuth scopes
|
@@ -640,6 +640,13 @@ module Google
|
|
640
640
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
641
641
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
642
642
|
# * (`nil`) indicating no credentials
|
643
|
+
#
|
644
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
645
|
+
# external source for authentication to Google Cloud, you must validate it before
|
646
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
647
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
648
|
+
# For more information, refer to [Validate credential configurations from external
|
649
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
643
650
|
# @return [::Object]
|
644
651
|
# @!attribute [rw] scope
|
645
652
|
# The OAuth scopes
|
@@ -770,6 +770,13 @@ module Google
|
|
770
770
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
771
771
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
772
772
|
# * (`nil`) indicating no credentials
|
773
|
+
#
|
774
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
775
|
+
# external source for authentication to Google Cloud, you must validate it before
|
776
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
777
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
778
|
+
# For more information, refer to [Validate credential configurations from external
|
779
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
773
780
|
# @return [::Object]
|
774
781
|
# @!attribute [rw] scope
|
775
782
|
# The OAuth scopes
|
@@ -502,6 +502,13 @@ module Google
|
|
502
502
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
503
503
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
504
504
|
# * (`nil`) indicating no credentials
|
505
|
+
#
|
506
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
507
|
+
# external source for authentication to Google Cloud, you must validate it before
|
508
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
509
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
510
|
+
# For more information, refer to [Validate credential configurations from external
|
511
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
505
512
|
# @return [::Object]
|
506
513
|
# @!attribute [rw] scope
|
507
514
|
# The OAuth scopes
|
@@ -409,6 +409,14 @@ module Google
|
|
409
409
|
# @return [::Array<::String>]
|
410
410
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
411
|
# on public client surfaces.
|
412
|
+
# @!attribute [rw] generate_omitted_as_internal
|
413
|
+
# @return [::Boolean]
|
414
|
+
# Setting this to true indicates to the client generators that methods
|
415
|
+
# that would be excluded from the generation should instead be generated
|
416
|
+
# in a way that indicates these methods should not be consumed by
|
417
|
+
# end users. How this is expressed is up to individual language
|
418
|
+
# implementations to decide. Some examples may be: added annotations,
|
419
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
420
|
class SelectiveGapicGeneration
|
413
421
|
include ::Google::Protobuf::MessageExts
|
414
422
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -87,34 +87,54 @@ module Google
|
|
87
87
|
# @!attribute [rw] boost_action
|
88
88
|
# @return [::Google::Cloud::Retail::V2::Rule::BoostAction]
|
89
89
|
# A boost action.
|
90
|
+
#
|
91
|
+
# Note: The following fields are mutually exclusive: `boost_action`, `redirect_action`, `oneway_synonyms_action`, `do_not_associate_action`, `replacement_action`, `ignore_action`, `filter_action`, `twoway_synonyms_action`, `force_return_facet_action`, `remove_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
90
92
|
# @!attribute [rw] redirect_action
|
91
93
|
# @return [::Google::Cloud::Retail::V2::Rule::RedirectAction]
|
92
94
|
# Redirects a shopper to a specific page.
|
95
|
+
#
|
96
|
+
# Note: The following fields are mutually exclusive: `redirect_action`, `boost_action`, `oneway_synonyms_action`, `do_not_associate_action`, `replacement_action`, `ignore_action`, `filter_action`, `twoway_synonyms_action`, `force_return_facet_action`, `remove_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
93
97
|
# @!attribute [rw] oneway_synonyms_action
|
94
98
|
# @return [::Google::Cloud::Retail::V2::Rule::OnewaySynonymsAction]
|
95
99
|
# Treats specific term as a synonym with a group of terms.
|
96
100
|
# Group of terms will not be treated as synonyms with the specific term.
|
101
|
+
#
|
102
|
+
# Note: The following fields are mutually exclusive: `oneway_synonyms_action`, `boost_action`, `redirect_action`, `do_not_associate_action`, `replacement_action`, `ignore_action`, `filter_action`, `twoway_synonyms_action`, `force_return_facet_action`, `remove_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
97
103
|
# @!attribute [rw] do_not_associate_action
|
98
104
|
# @return [::Google::Cloud::Retail::V2::Rule::DoNotAssociateAction]
|
99
105
|
# Prevents term from being associated with other terms.
|
106
|
+
#
|
107
|
+
# Note: The following fields are mutually exclusive: `do_not_associate_action`, `boost_action`, `redirect_action`, `oneway_synonyms_action`, `replacement_action`, `ignore_action`, `filter_action`, `twoway_synonyms_action`, `force_return_facet_action`, `remove_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
100
108
|
# @!attribute [rw] replacement_action
|
101
109
|
# @return [::Google::Cloud::Retail::V2::Rule::ReplacementAction]
|
102
110
|
# Replaces specific terms in the query.
|
111
|
+
#
|
112
|
+
# Note: The following fields are mutually exclusive: `replacement_action`, `boost_action`, `redirect_action`, `oneway_synonyms_action`, `do_not_associate_action`, `ignore_action`, `filter_action`, `twoway_synonyms_action`, `force_return_facet_action`, `remove_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
103
113
|
# @!attribute [rw] ignore_action
|
104
114
|
# @return [::Google::Cloud::Retail::V2::Rule::IgnoreAction]
|
105
115
|
# Ignores specific terms from query during search.
|
116
|
+
#
|
117
|
+
# Note: The following fields are mutually exclusive: `ignore_action`, `boost_action`, `redirect_action`, `oneway_synonyms_action`, `do_not_associate_action`, `replacement_action`, `filter_action`, `twoway_synonyms_action`, `force_return_facet_action`, `remove_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
106
118
|
# @!attribute [rw] filter_action
|
107
119
|
# @return [::Google::Cloud::Retail::V2::Rule::FilterAction]
|
108
120
|
# Filters results.
|
121
|
+
#
|
122
|
+
# Note: The following fields are mutually exclusive: `filter_action`, `boost_action`, `redirect_action`, `oneway_synonyms_action`, `do_not_associate_action`, `replacement_action`, `ignore_action`, `twoway_synonyms_action`, `force_return_facet_action`, `remove_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
109
123
|
# @!attribute [rw] twoway_synonyms_action
|
110
124
|
# @return [::Google::Cloud::Retail::V2::Rule::TwowaySynonymsAction]
|
111
125
|
# Treats a set of terms as synonyms of one another.
|
126
|
+
#
|
127
|
+
# Note: The following fields are mutually exclusive: `twoway_synonyms_action`, `boost_action`, `redirect_action`, `oneway_synonyms_action`, `do_not_associate_action`, `replacement_action`, `ignore_action`, `filter_action`, `force_return_facet_action`, `remove_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
112
128
|
# @!attribute [rw] force_return_facet_action
|
113
129
|
# @return [::Google::Cloud::Retail::V2::Rule::ForceReturnFacetAction]
|
114
130
|
# Force returns an attribute as a facet in the request.
|
131
|
+
#
|
132
|
+
# Note: The following fields are mutually exclusive: `force_return_facet_action`, `boost_action`, `redirect_action`, `oneway_synonyms_action`, `do_not_associate_action`, `replacement_action`, `ignore_action`, `filter_action`, `twoway_synonyms_action`, `remove_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
115
133
|
# @!attribute [rw] remove_facet_action
|
116
134
|
# @return [::Google::Cloud::Retail::V2::Rule::RemoveFacetAction]
|
117
135
|
# Remove an attribute as a facet in the request (if present).
|
136
|
+
#
|
137
|
+
# Note: The following fields are mutually exclusive: `remove_facet_action`, `boost_action`, `redirect_action`, `oneway_synonyms_action`, `do_not_associate_action`, `replacement_action`, `ignore_action`, `filter_action`, `twoway_synonyms_action`, `force_return_facet_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
118
138
|
# @!attribute [rw] condition
|
119
139
|
# @return [::Google::Cloud::Retail::V2::Condition]
|
120
140
|
# Required. The condition that triggers the rule.
|
@@ -592,15 +612,23 @@ module Google
|
|
592
612
|
# @!attribute [rw] minimum
|
593
613
|
# @return [::Float]
|
594
614
|
# Inclusive lower bound.
|
615
|
+
#
|
616
|
+
# Note: The following fields are mutually exclusive: `minimum`, `exclusive_minimum`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
595
617
|
# @!attribute [rw] exclusive_minimum
|
596
618
|
# @return [::Float]
|
597
619
|
# Exclusive lower bound.
|
620
|
+
#
|
621
|
+
# Note: The following fields are mutually exclusive: `exclusive_minimum`, `minimum`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
598
622
|
# @!attribute [rw] maximum
|
599
623
|
# @return [::Float]
|
600
624
|
# Inclusive upper bound.
|
625
|
+
#
|
626
|
+
# Note: The following fields are mutually exclusive: `maximum`, `exclusive_maximum`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
601
627
|
# @!attribute [rw] exclusive_maximum
|
602
628
|
# @return [::Float]
|
603
629
|
# Exclusive upper bound.
|
630
|
+
#
|
631
|
+
# Note: The following fields are mutually exclusive: `exclusive_maximum`, `maximum`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
604
632
|
class Interval
|
605
633
|
include ::Google::Protobuf::MessageExts
|
606
634
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -25,9 +25,13 @@ module Google
|
|
25
25
|
# @!attribute [rw] gcs_destination
|
26
26
|
# @return [::Google::Cloud::Retail::V2::OutputConfig::GcsDestination]
|
27
27
|
# The Google Cloud Storage location where the output is to be written to.
|
28
|
+
#
|
29
|
+
# Note: The following fields are mutually exclusive: `gcs_destination`, `bigquery_destination`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
28
30
|
# @!attribute [rw] bigquery_destination
|
29
31
|
# @return [::Google::Cloud::Retail::V2::OutputConfig::BigQueryDestination]
|
30
32
|
# The BigQuery location where the output is to be written to.
|
33
|
+
#
|
34
|
+
# Note: The following fields are mutually exclusive: `bigquery_destination`, `gcs_destination`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
31
35
|
class OutputConfig
|
32
36
|
include ::Google::Protobuf::MessageExts
|
33
37
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -261,12 +261,18 @@ module Google
|
|
261
261
|
# @!attribute [rw] product_inline_source
|
262
262
|
# @return [::Google::Cloud::Retail::V2::ProductInlineSource]
|
263
263
|
# The Inline source for the input content for products.
|
264
|
+
#
|
265
|
+
# Note: The following fields are mutually exclusive: `product_inline_source`, `gcs_source`, `big_query_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
264
266
|
# @!attribute [rw] gcs_source
|
265
267
|
# @return [::Google::Cloud::Retail::V2::GcsSource]
|
266
268
|
# Google Cloud Storage location for the input content.
|
269
|
+
#
|
270
|
+
# Note: The following fields are mutually exclusive: `gcs_source`, `product_inline_source`, `big_query_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
267
271
|
# @!attribute [rw] big_query_source
|
268
272
|
# @return [::Google::Cloud::Retail::V2::BigQuerySource]
|
269
273
|
# BigQuery input source.
|
274
|
+
#
|
275
|
+
# Note: The following fields are mutually exclusive: `big_query_source`, `product_inline_source`, `gcs_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
270
276
|
class ProductInputConfig
|
271
277
|
include ::Google::Protobuf::MessageExts
|
272
278
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -276,12 +282,18 @@ module Google
|
|
276
282
|
# @!attribute [rw] user_event_inline_source
|
277
283
|
# @return [::Google::Cloud::Retail::V2::UserEventInlineSource]
|
278
284
|
# Required. The Inline source for the input content for UserEvents.
|
285
|
+
#
|
286
|
+
# Note: The following fields are mutually exclusive: `user_event_inline_source`, `gcs_source`, `big_query_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
279
287
|
# @!attribute [rw] gcs_source
|
280
288
|
# @return [::Google::Cloud::Retail::V2::GcsSource]
|
281
289
|
# Required. Google Cloud Storage location for the input content.
|
290
|
+
#
|
291
|
+
# Note: The following fields are mutually exclusive: `gcs_source`, `user_event_inline_source`, `big_query_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
282
292
|
# @!attribute [rw] big_query_source
|
283
293
|
# @return [::Google::Cloud::Retail::V2::BigQuerySource]
|
284
294
|
# Required. BigQuery input source.
|
295
|
+
#
|
296
|
+
# Note: The following fields are mutually exclusive: `big_query_source`, `user_event_inline_source`, `gcs_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
285
297
|
class UserEventInputConfig
|
286
298
|
include ::Google::Protobuf::MessageExts
|
287
299
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -49,6 +49,8 @@ module Google
|
|
49
49
|
#
|
50
50
|
# Corresponding properties: Google Merchant Center property
|
51
51
|
# [expiration_date](https://support.google.com/merchants/answer/6324499).
|
52
|
+
#
|
53
|
+
# Note: The following fields are mutually exclusive: `expire_time`, `ttl`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
52
54
|
# @!attribute [rw] ttl
|
53
55
|
# @return [::Google::Protobuf::Duration]
|
54
56
|
# Input only. The TTL (time to live) of the product. Note that this is only
|
@@ -73,6 +75,8 @@ module Google
|
|
73
75
|
# {::Google::Cloud::Retail::V2::ProductService::Client#get_product ProductService.GetProduct}
|
74
76
|
# and
|
75
77
|
# {::Google::Cloud::Retail::V2::ProductService::Client#list_products ProductService.ListProducts}.
|
78
|
+
#
|
79
|
+
# Note: The following fields are mutually exclusive: `ttl`, `expire_time`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
76
80
|
# @!attribute [rw] name
|
77
81
|
# @return [::String]
|
78
82
|
# Immutable. Full resource name of the product, such as
|
@@ -53,9 +53,13 @@ module Google
|
|
53
53
|
# @!attribute [rw] product_attribute_value
|
54
54
|
# @return [::Google::Cloud::Retail::V2::ProductAttributeValue]
|
55
55
|
# The product attribute key-value.
|
56
|
+
#
|
57
|
+
# Note: The following fields are mutually exclusive: `product_attribute_value`, `product_attribute_interval`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
56
58
|
# @!attribute [rw] product_attribute_interval
|
57
59
|
# @return [::Google::Cloud::Retail::V2::ProductAttributeInterval]
|
58
60
|
# The product attribute key-numeric interval.
|
61
|
+
#
|
62
|
+
# Note: The following fields are mutually exclusive: `product_attribute_interval`, `product_attribute_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
59
63
|
# @!attribute [rw] representative_product_id
|
60
64
|
# @return [::String]
|
61
65
|
# The representative product id for this tile.
|
@@ -772,11 +776,15 @@ module Google
|
|
772
776
|
# @return [::String]
|
773
777
|
# This field specifies the incremental input text from the user during
|
774
778
|
# the conversational search.
|
779
|
+
#
|
780
|
+
# Note: The following fields are mutually exclusive: `text_answer`, `selected_answer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
775
781
|
# @!attribute [rw] selected_answer
|
776
782
|
# @return [::Google::Cloud::Retail::V2::SearchRequest::ConversationalSearchSpec::UserAnswer::SelectedAnswer]
|
777
783
|
# This field specifies the selected attributes during the
|
778
784
|
# conversational search. This should be a subset of
|
779
785
|
# [ConversationalSearchResult.suggested_answers][].
|
786
|
+
#
|
787
|
+
# Note: The following fields are mutually exclusive: `selected_answer`, `text_answer`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
780
788
|
class UserAnswer
|
781
789
|
include ::Google::Protobuf::MessageExts
|
782
790
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1057,9 +1065,13 @@ module Google
|
|
1057
1065
|
# @!attribute [rw] value
|
1058
1066
|
# @return [::String]
|
1059
1067
|
# Text value of a facet, such as "Black" for facet "colorFamilies".
|
1068
|
+
#
|
1069
|
+
# Note: The following fields are mutually exclusive: `value`, `interval`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1060
1070
|
# @!attribute [rw] interval
|
1061
1071
|
# @return [::Google::Cloud::Retail::V2::Interval]
|
1062
1072
|
# Interval value for a facet, such as [10, 20) for facet "price".
|
1073
|
+
#
|
1074
|
+
# Note: The following fields are mutually exclusive: `interval`, `value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1063
1075
|
# @!attribute [rw] count
|
1064
1076
|
# @return [::Integer]
|
1065
1077
|
# Number of items that have this facet value.
|
@@ -40,6 +40,8 @@ module Google
|
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
45
|
# @!attribute [rw] response
|
44
46
|
# @return [::Google::Protobuf::Any]
|
45
47
|
# The normal, successful response of the operation. If the original
|
@@ -50,6 +52,8 @@ module Google
|
|
50
52
|
# is the original method name. For example, if the original method name
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
52
54
|
# `TakeSnapshotResponse`.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
57
|
class Operation
|
54
58
|
include ::Google::Protobuf::MessageExts
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -53,21 +53,33 @@ module Google
|
|
53
53
|
# @!attribute [rw] null_value
|
54
54
|
# @return [::Google::Protobuf::NullValue]
|
55
55
|
# Represents a null value.
|
56
|
+
#
|
57
|
+
# Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
56
58
|
# @!attribute [rw] number_value
|
57
59
|
# @return [::Float]
|
58
60
|
# Represents a double value.
|
61
|
+
#
|
62
|
+
# Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
59
63
|
# @!attribute [rw] string_value
|
60
64
|
# @return [::String]
|
61
65
|
# Represents a string value.
|
66
|
+
#
|
67
|
+
# Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
62
68
|
# @!attribute [rw] bool_value
|
63
69
|
# @return [::Boolean]
|
64
70
|
# Represents a boolean value.
|
71
|
+
#
|
72
|
+
# Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
65
73
|
# @!attribute [rw] struct_value
|
66
74
|
# @return [::Google::Protobuf::Struct]
|
67
75
|
# Represents a structured value.
|
76
|
+
#
|
77
|
+
# Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
68
78
|
# @!attribute [rw] list_value
|
69
79
|
# @return [::Google::Protobuf::ListValue]
|
70
80
|
# Represents a repeated `Value`.
|
81
|
+
#
|
82
|
+
# Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
71
83
|
class Value
|
72
84
|
include ::Google::Protobuf::MessageExts
|
73
85
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-retail-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-07 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -244,7 +243,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
244
243
|
licenses:
|
245
244
|
- Apache-2.0
|
246
245
|
metadata: {}
|
247
|
-
post_install_message:
|
248
246
|
rdoc_options: []
|
249
247
|
require_paths:
|
250
248
|
- lib
|
@@ -252,15 +250,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
252
250
|
requirements:
|
253
251
|
- - ">="
|
254
252
|
- !ruby/object:Gem::Version
|
255
|
-
version: '
|
253
|
+
version: '3.0'
|
256
254
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
257
255
|
requirements:
|
258
256
|
- - ">="
|
259
257
|
- !ruby/object:Gem::Version
|
260
258
|
version: '0'
|
261
259
|
requirements: []
|
262
|
-
rubygems_version: 3.
|
263
|
-
signing_key:
|
260
|
+
rubygems_version: 3.6.3
|
264
261
|
specification_version: 4
|
265
262
|
summary: Vertex AI Search for Retail API is made up of Retail Search, Browse and Recommendations.
|
266
263
|
These discovery AI solutions help you implement personalized search, browse and
|