google-cloud-discovery_engine-v1beta 0.17.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/discovery_engine/v1beta/completion_service/client.rb +17 -0
  4. data/lib/google/cloud/discovery_engine/v1beta/completion_service/operations.rb +7 -0
  5. data/lib/google/cloud/discovery_engine/v1beta/completion_service/rest/client.rb +17 -0
  6. data/lib/google/cloud/discovery_engine/v1beta/completion_service/rest/operations.rb +7 -0
  7. data/lib/google/cloud/discovery_engine/v1beta/control_service/client.rb +7 -0
  8. data/lib/google/cloud/discovery_engine/v1beta/control_service/rest/client.rb +7 -0
  9. data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/client.rb +7 -0
  10. data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/rest/client.rb +7 -0
  11. data/lib/google/cloud/discovery_engine/v1beta/data_store_service/client.rb +7 -0
  12. data/lib/google/cloud/discovery_engine/v1beta/data_store_service/operations.rb +7 -0
  13. data/lib/google/cloud/discovery_engine/v1beta/data_store_service/rest/client.rb +7 -0
  14. data/lib/google/cloud/discovery_engine/v1beta/data_store_service/rest/operations.rb +7 -0
  15. data/lib/google/cloud/discovery_engine/v1beta/document_service/client.rb +29 -0
  16. data/lib/google/cloud/discovery_engine/v1beta/document_service/operations.rb +7 -0
  17. data/lib/google/cloud/discovery_engine/v1beta/document_service/rest/client.rb +29 -0
  18. data/lib/google/cloud/discovery_engine/v1beta/document_service/rest/operations.rb +7 -0
  19. data/lib/google/cloud/discovery_engine/v1beta/engine_service/client.rb +7 -0
  20. data/lib/google/cloud/discovery_engine/v1beta/engine_service/operations.rb +7 -0
  21. data/lib/google/cloud/discovery_engine/v1beta/engine_service/rest/client.rb +7 -0
  22. data/lib/google/cloud/discovery_engine/v1beta/engine_service/rest/operations.rb +7 -0
  23. data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/client.rb +7 -0
  24. data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/operations.rb +7 -0
  25. data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/rest/client.rb +7 -0
  26. data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/rest/operations.rb +7 -0
  27. data/lib/google/cloud/discovery_engine/v1beta/grounded_generation_service/client.rb +7 -0
  28. data/lib/google/cloud/discovery_engine/v1beta/grounded_generation_service/rest/client.rb +7 -0
  29. data/lib/google/cloud/discovery_engine/v1beta/project_service/client.rb +7 -0
  30. data/lib/google/cloud/discovery_engine/v1beta/project_service/operations.rb +7 -0
  31. data/lib/google/cloud/discovery_engine/v1beta/project_service/rest/client.rb +7 -0
  32. data/lib/google/cloud/discovery_engine/v1beta/project_service/rest/operations.rb +7 -0
  33. data/lib/google/cloud/discovery_engine/v1beta/rank_service/client.rb +7 -0
  34. data/lib/google/cloud/discovery_engine/v1beta/rank_service/rest/client.rb +7 -0
  35. data/lib/google/cloud/discovery_engine/v1beta/recommendation_service/client.rb +7 -0
  36. data/lib/google/cloud/discovery_engine/v1beta/recommendation_service/rest/client.rb +7 -0
  37. data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/client.rb +13 -0
  38. data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/operations.rb +7 -0
  39. data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/rest/client.rb +13 -0
  40. data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/rest/operations.rb +7 -0
  41. data/lib/google/cloud/discovery_engine/v1beta/sample_query_set_service/client.rb +7 -0
  42. data/lib/google/cloud/discovery_engine/v1beta/sample_query_set_service/rest/client.rb +7 -0
  43. data/lib/google/cloud/discovery_engine/v1beta/schema_service/client.rb +7 -0
  44. data/lib/google/cloud/discovery_engine/v1beta/schema_service/operations.rb +7 -0
  45. data/lib/google/cloud/discovery_engine/v1beta/schema_service/rest/client.rb +7 -0
  46. data/lib/google/cloud/discovery_engine/v1beta/schema_service/rest/operations.rb +7 -0
  47. data/lib/google/cloud/discovery_engine/v1beta/search_service/client.rb +7 -0
  48. data/lib/google/cloud/discovery_engine/v1beta/search_service/rest/client.rb +15 -4
  49. data/lib/google/cloud/discovery_engine/v1beta/search_tuning_service/client.rb +7 -0
  50. data/lib/google/cloud/discovery_engine/v1beta/search_tuning_service/operations.rb +7 -0
  51. data/lib/google/cloud/discovery_engine/v1beta/search_tuning_service/rest/client.rb +7 -0
  52. data/lib/google/cloud/discovery_engine/v1beta/search_tuning_service/rest/operations.rb +7 -0
  53. data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/client.rb +7 -0
  54. data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/rest/client.rb +7 -0
  55. data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/client.rb +7 -0
  56. data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/operations.rb +7 -0
  57. data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/rest/client.rb +7 -0
  58. data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/rest/operations.rb +7 -0
  59. data/lib/google/cloud/discovery_engine/v1beta/user_event_service/client.rb +13 -0
  60. data/lib/google/cloud/discovery_engine/v1beta/user_event_service/operations.rb +7 -0
  61. data/lib/google/cloud/discovery_engine/v1beta/user_event_service/rest/client.rb +13 -0
  62. data/lib/google/cloud/discovery_engine/v1beta/user_event_service/rest/operations.rb +7 -0
  63. data/lib/google/cloud/discovery_engine/v1beta/version.rb +1 -1
  64. data/proto_docs/google/api/client.rb +8 -0
  65. data/proto_docs/google/cloud/discoveryengine/v1beta/answer.rb +6 -0
  66. data/proto_docs/google/cloud/discoveryengine/v1beta/common.rb +8 -0
  67. data/proto_docs/google/cloud/discoveryengine/v1beta/completion.rb +4 -0
  68. data/proto_docs/google/cloud/discoveryengine/v1beta/control.rb +8 -0
  69. data/proto_docs/google/cloud/discoveryengine/v1beta/conversation.rb +4 -0
  70. data/proto_docs/google/cloud/discoveryengine/v1beta/conversational_search_service.rb +8 -0
  71. data/proto_docs/google/cloud/discoveryengine/v1beta/document.rb +8 -0
  72. data/proto_docs/google/cloud/discoveryengine/v1beta/document_processing_config.rb +6 -0
  73. data/proto_docs/google/cloud/discoveryengine/v1beta/document_service.rb +8 -0
  74. data/proto_docs/google/cloud/discoveryengine/v1beta/engine.rb +4 -0
  75. data/proto_docs/google/cloud/discoveryengine/v1beta/grounded_generation_service.rb +6 -0
  76. data/proto_docs/google/cloud/discoveryengine/v1beta/import_config.rb +40 -0
  77. data/proto_docs/google/cloud/discoveryengine/v1beta/purge_config.rb +4 -0
  78. data/proto_docs/google/cloud/discoveryengine/v1beta/schema.rb +4 -0
  79. data/proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb +14 -0
  80. data/proto_docs/google/cloud/discoveryengine/v1beta/serving_config.rb +8 -0
  81. data/proto_docs/google/cloud/discoveryengine/v1beta/user_event.rb +6 -0
  82. data/proto_docs/google/longrunning/operations.rb +4 -0
  83. data/proto_docs/google/protobuf/struct.rb +12 -0
  84. metadata +6 -9
@@ -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
@@ -358,6 +358,13 @@ module Google
358
358
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
359
359
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
360
360
  # * (`nil`) indicating no credentials
361
+ #
362
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
363
+ # external source for authentication to Google Cloud, you must validate it before
364
+ # providing it to a Google API client library. Providing an unvalidated credential
365
+ # configuration to Google APIs can compromise the security of your systems and data.
366
+ # For more information, refer to [Validate credential configurations from external
367
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
361
368
  # @return [::Object]
362
369
  # @!attribute [rw] scope
363
370
  # 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
@@ -369,6 +369,13 @@ module Google
369
369
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
370
370
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
371
371
  # * (`nil`) indicating no credentials
372
+ #
373
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
374
+ # external source for authentication to Google Cloud, you must validate it before
375
+ # providing it to a Google API client library. Providing an unvalidated credential
376
+ # configuration to Google APIs can compromise the security of your systems and data.
377
+ # For more information, refer to [Validate credential configurations from external
378
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
372
379
  # @return [::Object]
373
380
  # @!attribute [rw] scope
374
381
  # The OAuth scopes
@@ -353,6 +353,13 @@ module Google
353
353
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
354
354
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
355
355
  # * (`nil`) indicating no credentials
356
+ #
357
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
358
+ # external source for authentication to Google Cloud, you must validate it before
359
+ # providing it to a Google API client library. Providing an unvalidated credential
360
+ # configuration to Google APIs can compromise the security of your systems and data.
361
+ # For more information, refer to [Validate credential configurations from external
362
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
356
363
  # @return [::Object]
357
364
  # @!attribute [rw] scope
358
365
  # The OAuth scopes
@@ -447,6 +447,13 @@ module Google
447
447
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
448
448
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
449
449
  # * (`nil`) indicating no credentials
450
+ #
451
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
452
+ # external source for authentication to Google Cloud, you must validate it before
453
+ # providing it to a Google API client library. Providing an unvalidated credential
454
+ # configuration to Google APIs can compromise the security of your systems and data.
455
+ # For more information, refer to [Validate credential configurations from external
456
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
450
457
  # @return [::Object]
451
458
  # @!attribute [rw] scope
452
459
  # The OAuth scopes
@@ -431,6 +431,13 @@ module Google
431
431
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
432
432
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
433
433
  # * (`nil`) indicating no credentials
434
+ #
435
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
436
+ # external source for authentication to Google Cloud, you must validate it before
437
+ # providing it to a Google API client library. Providing an unvalidated credential
438
+ # configuration to Google APIs can compromise the security of your systems and data.
439
+ # For more information, refer to [Validate credential configurations from external
440
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
434
441
  # @return [::Object]
435
442
  # @!attribute [rw] scope
436
443
  # The OAuth scopes
@@ -753,10 +753,16 @@ module Google
753
753
  #
754
754
  # @param inline_source [::Google::Cloud::DiscoveryEngine::V1beta::ImportSampleQueriesRequest::InlineSource, ::Hash]
755
755
  # The Inline source for sample query entries.
756
+ #
757
+ # Note: The following fields are mutually exclusive: `inline_source`, `gcs_source`, `bigquery_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
756
758
  # @param gcs_source [::Google::Cloud::DiscoveryEngine::V1beta::GcsSource, ::Hash]
757
759
  # Cloud Storage location for the input content.
760
+ #
761
+ # Note: The following fields are mutually exclusive: `gcs_source`, `inline_source`, `bigquery_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
758
762
  # @param bigquery_source [::Google::Cloud::DiscoveryEngine::V1beta::BigQuerySource, ::Hash]
759
763
  # BigQuery input source.
764
+ #
765
+ # Note: The following fields are mutually exclusive: `bigquery_source`, `inline_source`, `gcs_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
760
766
  # @param parent [::String]
761
767
  # Required. The parent sample query set resource name, such as
762
768
  # `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`.
@@ -885,6 +891,13 @@ module Google
885
891
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
886
892
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
887
893
  # * (`nil`) indicating no credentials
894
+ #
895
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
896
+ # external source for authentication to Google Cloud, you must validate it before
897
+ # providing it to a Google API client library. Providing an unvalidated credential
898
+ # configuration to Google APIs can compromise the security of your systems and data.
899
+ # For more information, refer to [Validate credential configurations from external
900
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
888
901
  # @return [::Object]
889
902
  # @!attribute [rw] scope
890
903
  # 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
@@ -711,10 +711,16 @@ module Google
711
711
  #
712
712
  # @param inline_source [::Google::Cloud::DiscoveryEngine::V1beta::ImportSampleQueriesRequest::InlineSource, ::Hash]
713
713
  # The Inline source for sample query entries.
714
+ #
715
+ # Note: The following fields are mutually exclusive: `inline_source`, `gcs_source`, `bigquery_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
714
716
  # @param gcs_source [::Google::Cloud::DiscoveryEngine::V1beta::GcsSource, ::Hash]
715
717
  # Cloud Storage location for the input content.
718
+ #
719
+ # Note: The following fields are mutually exclusive: `gcs_source`, `inline_source`, `bigquery_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
716
720
  # @param bigquery_source [::Google::Cloud::DiscoveryEngine::V1beta::BigQuerySource, ::Hash]
717
721
  # BigQuery input source.
722
+ #
723
+ # Note: The following fields are mutually exclusive: `bigquery_source`, `inline_source`, `gcs_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
718
724
  # @param parent [::String]
719
725
  # Required. The parent sample query set resource name, such as
720
726
  # `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`.
@@ -834,6 +840,13 @@ module Google
834
840
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
835
841
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
836
842
  # * (`nil`) indicating no credentials
843
+ #
844
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
845
+ # external source for authentication to Google Cloud, you must validate it before
846
+ # providing it to a Google API client library. Providing an unvalidated credential
847
+ # configuration to Google APIs can compromise the security of your systems and data.
848
+ # For more information, refer to [Validate credential configurations from external
849
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
837
850
  # @return [::Object]
838
851
  # @!attribute [rw] scope
839
852
  # 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
@@ -768,6 +768,13 @@ module Google
768
768
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
769
769
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
770
770
  # * (`nil`) indicating no credentials
771
+ #
772
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
773
+ # external source for authentication to Google Cloud, you must validate it before
774
+ # providing it to a Google API client library. Providing an unvalidated credential
775
+ # configuration to Google APIs can compromise the security of your systems and data.
776
+ # For more information, refer to [Validate credential configurations from external
777
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
771
778
  # @return [::Object]
772
779
  # @!attribute [rw] scope
773
780
  # The OAuth scopes
@@ -724,6 +724,13 @@ module Google
724
724
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
725
725
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
726
726
  # * (`nil`) indicating no credentials
727
+ #
728
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
729
+ # external source for authentication to Google Cloud, you must validate it before
730
+ # providing it to a Google API client library. Providing an unvalidated credential
731
+ # configuration to Google APIs can compromise the security of your systems and data.
732
+ # For more information, refer to [Validate credential configurations from external
733
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
727
734
  # @return [::Object]
728
735
  # @!attribute [rw] scope
729
736
  # The OAuth scopes
@@ -758,6 +758,13 @@ module Google
758
758
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
759
759
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
760
760
  # * (`nil`) indicating no credentials
761
+ #
762
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
763
+ # external source for authentication to Google Cloud, you must validate it before
764
+ # providing it to a Google API client library. Providing an unvalidated credential
765
+ # configuration to Google APIs can compromise the security of your systems and data.
766
+ # For more information, refer to [Validate credential configurations from external
767
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
761
768
  # @return [::Object]
762
769
  # @!attribute [rw] scope
763
770
  # 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
@@ -714,6 +714,13 @@ module Google
714
714
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
715
715
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
716
716
  # * (`nil`) indicating no credentials
717
+ #
718
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
719
+ # external source for authentication to Google Cloud, you must validate it before
720
+ # providing it to a Google API client library. Providing an unvalidated credential
721
+ # configuration to Google APIs can compromise the security of your systems and data.
722
+ # For more information, refer to [Validate credential configurations from external
723
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
717
724
  # @return [::Object]
718
725
  # @!attribute [rw] scope
719
726
  # 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
@@ -986,6 +986,13 @@ module Google
986
986
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
987
987
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
988
988
  # * (`nil`) indicating no credentials
989
+ #
990
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
991
+ # external source for authentication to Google Cloud, you must validate it before
992
+ # providing it to a Google API client library. Providing an unvalidated credential
993
+ # configuration to Google APIs can compromise the security of your systems and data.
994
+ # For more information, refer to [Validate credential configurations from external
995
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
989
996
  # @return [::Object]
990
997
  # @!attribute [rw] scope
991
998
  # The OAuth scopes
@@ -490,10 +490,10 @@ module Google
490
490
  # overrides
491
491
  # {::Google::Cloud::DiscoveryEngine::V1beta::ServingConfig#personalization_spec ServingConfig.personalization_spec}.
492
492
  # @yield [result, operation] Access the result along with the TransportOperation object
493
- # @yieldparam result [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse]
493
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::SearchResult>]
494
494
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
495
495
  #
496
- # @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse]
496
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::SearchResult>]
497
497
  #
498
498
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
499
499
  #
@@ -545,7 +545,9 @@ module Google
545
545
  retry_policy: @config.retry_policy
546
546
 
547
547
  @search_service_stub.search request, options do |result, operation|
548
+ result = ::Gapic::Rest::PagedEnumerable.new @search_service_stub, :search, "results", request, result, options
548
549
  yield result, operation if block_given?
550
+ throw :response, result
549
551
  end
550
552
  rescue ::Gapic::Rest::Error => e
551
553
  raise ::Google::Cloud::Error.from_error(e)
@@ -856,10 +858,10 @@ module Google
856
858
  # overrides
857
859
  # {::Google::Cloud::DiscoveryEngine::V1beta::ServingConfig#personalization_spec ServingConfig.personalization_spec}.
858
860
  # @yield [result, operation] Access the result along with the TransportOperation object
859
- # @yieldparam result [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse]
861
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::SearchResult>]
860
862
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
861
863
  #
862
- # @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse]
864
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::SearchResult>]
863
865
  #
864
866
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
865
867
  #
@@ -911,7 +913,9 @@ module Google
911
913
  retry_policy: @config.retry_policy
912
914
 
913
915
  @search_service_stub.search_lite request, options do |result, operation|
916
+ result = ::Gapic::Rest::PagedEnumerable.new @search_service_stub, :search_lite, "results", request, result, options
914
917
  yield result, operation if block_given?
918
+ throw :response, result
915
919
  end
916
920
  rescue ::Gapic::Rest::Error => e
917
921
  raise ::Google::Cloud::Error.from_error(e)
@@ -959,6 +963,13 @@ module Google
959
963
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
960
964
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
961
965
  # * (`nil`) indicating no credentials
966
+ #
967
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
968
+ # external source for authentication to Google Cloud, you must validate it before
969
+ # providing it to a Google API client library. Providing an unvalidated credential
970
+ # configuration to Google APIs can compromise the security of your systems and data.
971
+ # For more information, refer to [Validate credential configurations from external
972
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
962
973
  # @return [::Object]
963
974
  # @!attribute [rw] scope
964
975
  # The OAuth scopes
@@ -452,6 +452,13 @@ module Google
452
452
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
453
453
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
454
454
  # * (`nil`) indicating no credentials
455
+ #
456
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
457
+ # external source for authentication to Google Cloud, you must validate it before
458
+ # providing it to a Google API client library. Providing an unvalidated credential
459
+ # configuration to Google APIs can compromise the security of your systems and data.
460
+ # For more information, refer to [Validate credential configurations from external
461
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
455
462
  # @return [::Object]
456
463
  # @!attribute [rw] scope
457
464
  # 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
@@ -429,6 +429,13 @@ module Google
429
429
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
430
430
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
431
431
  # * (`nil`) indicating no credentials
432
+ #
433
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
434
+ # external source for authentication to Google Cloud, you must validate it before
435
+ # providing it to a Google API client library. Providing an unvalidated credential
436
+ # configuration to Google APIs can compromise the security of your systems and data.
437
+ # For more information, refer to [Validate credential configurations from external
438
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
432
439
  # @return [::Object]
433
440
  # @!attribute [rw] scope
434
441
  # 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
@@ -526,6 +526,13 @@ module Google
526
526
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
527
527
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
528
528
  # * (`nil`) indicating no credentials
529
+ #
530
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
531
+ # external source for authentication to Google Cloud, you must validate it before
532
+ # providing it to a Google API client library. Providing an unvalidated credential
533
+ # configuration to Google APIs can compromise the security of your systems and data.
534
+ # For more information, refer to [Validate credential configurations from external
535
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
529
536
  # @return [::Object]
530
537
  # @!attribute [rw] scope
531
538
  # The OAuth scopes
@@ -496,6 +496,13 @@ module Google
496
496
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
497
497
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
498
498
  # * (`nil`) indicating no credentials
499
+ #
500
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
501
+ # external source for authentication to Google Cloud, you must validate it before
502
+ # providing it to a Google API client library. Providing an unvalidated credential
503
+ # configuration to Google APIs can compromise the security of your systems and data.
504
+ # For more information, refer to [Validate credential configurations from external
505
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
499
506
  # @return [::Object]
500
507
  # @!attribute [rw] scope
501
508
  # The OAuth scopes
@@ -1761,6 +1761,13 @@ module Google
1761
1761
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1762
1762
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1763
1763
  # * (`nil`) indicating no credentials
1764
+ #
1765
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1766
+ # external source for authentication to Google Cloud, you must validate it before
1767
+ # providing it to a Google API client library. Providing an unvalidated credential
1768
+ # configuration to Google APIs can compromise the security of your systems and data.
1769
+ # For more information, refer to [Validate credential configurations from external
1770
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1764
1771
  # @return [::Object]
1765
1772
  # @!attribute [rw] scope
1766
1773
  # 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
@@ -1647,6 +1647,13 @@ module Google
1647
1647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1648
1648
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1649
1649
  # * (`nil`) indicating no credentials
1650
+ #
1651
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1652
+ # external source for authentication to Google Cloud, you must validate it before
1653
+ # providing it to a Google API client library. Providing an unvalidated credential
1654
+ # configuration to Google APIs can compromise the security of your systems and data.
1655
+ # For more information, refer to [Validate credential configurations from external
1656
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1650
1657
  # @return [::Object]
1651
1658
  # @!attribute [rw] scope
1652
1659
  # 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
@@ -582,10 +582,16 @@ module Google
582
582
  #
583
583
  # @param inline_source [::Google::Cloud::DiscoveryEngine::V1beta::ImportUserEventsRequest::InlineSource, ::Hash]
584
584
  # The Inline source for the input content for UserEvents.
585
+ #
586
+ # Note: The following fields are mutually exclusive: `inline_source`, `gcs_source`, `bigquery_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
585
587
  # @param gcs_source [::Google::Cloud::DiscoveryEngine::V1beta::GcsSource, ::Hash]
586
588
  # Cloud Storage location for the input content.
589
+ #
590
+ # Note: The following fields are mutually exclusive: `gcs_source`, `inline_source`, `bigquery_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
587
591
  # @param bigquery_source [::Google::Cloud::DiscoveryEngine::V1beta::BigQuerySource, ::Hash]
588
592
  # BigQuery input source.
593
+ #
594
+ # Note: The following fields are mutually exclusive: `bigquery_source`, `inline_source`, `gcs_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
589
595
  # @param parent [::String]
590
596
  # Required. Parent DataStore resource name, of the form
591
597
  # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
@@ -710,6 +716,13 @@ module Google
710
716
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
711
717
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
712
718
  # * (`nil`) indicating no credentials
719
+ #
720
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
721
+ # external source for authentication to Google Cloud, you must validate it before
722
+ # providing it to a Google API client library. Providing an unvalidated credential
723
+ # configuration to Google APIs can compromise the security of your systems and data.
724
+ # For more information, refer to [Validate credential configurations from external
725
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
713
726
  # @return [::Object]
714
727
  # @!attribute [rw] scope
715
728
  # 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
@@ -554,10 +554,16 @@ module Google
554
554
  #
555
555
  # @param inline_source [::Google::Cloud::DiscoveryEngine::V1beta::ImportUserEventsRequest::InlineSource, ::Hash]
556
556
  # The Inline source for the input content for UserEvents.
557
+ #
558
+ # Note: The following fields are mutually exclusive: `inline_source`, `gcs_source`, `bigquery_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
557
559
  # @param gcs_source [::Google::Cloud::DiscoveryEngine::V1beta::GcsSource, ::Hash]
558
560
  # Cloud Storage location for the input content.
561
+ #
562
+ # Note: The following fields are mutually exclusive: `gcs_source`, `inline_source`, `bigquery_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
559
563
  # @param bigquery_source [::Google::Cloud::DiscoveryEngine::V1beta::BigQuerySource, ::Hash]
560
564
  # BigQuery input source.
565
+ #
566
+ # Note: The following fields are mutually exclusive: `bigquery_source`, `inline_source`, `gcs_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
561
567
  # @param parent [::String]
562
568
  # Required. Parent DataStore resource name, of the form
563
569
  # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
@@ -673,6 +679,13 @@ module Google
673
679
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
674
680
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
675
681
  # * (`nil`) indicating no credentials
682
+ #
683
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
684
+ # external source for authentication to Google Cloud, you must validate it before
685
+ # providing it to a Google API client library. Providing an unvalidated credential
686
+ # configuration to Google APIs can compromise the security of your systems and data.
687
+ # For more information, refer to [Validate credential configurations from external
688
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
676
689
  # @return [::Object]
677
690
  # @!attribute [rw] scope
678
691
  # 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