google-cloud-discovery_engine-v1 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/discovery_engine/v1/completion_service/client.rb +17 -0
  4. data/lib/google/cloud/discovery_engine/v1/completion_service/operations.rb +7 -0
  5. data/lib/google/cloud/discovery_engine/v1/completion_service/rest/client.rb +17 -0
  6. data/lib/google/cloud/discovery_engine/v1/completion_service/rest/operations.rb +7 -0
  7. data/lib/google/cloud/discovery_engine/v1/control_service/client.rb +7 -0
  8. data/lib/google/cloud/discovery_engine/v1/control_service/rest/client.rb +7 -0
  9. data/lib/google/cloud/discovery_engine/v1/conversational_search_service/client.rb +7 -0
  10. data/lib/google/cloud/discovery_engine/v1/conversational_search_service/rest/client.rb +7 -0
  11. data/lib/google/cloud/discovery_engine/v1/data_store_service/client.rb +7 -0
  12. data/lib/google/cloud/discovery_engine/v1/data_store_service/operations.rb +7 -0
  13. data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/client.rb +7 -0
  14. data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/operations.rb +7 -0
  15. data/lib/google/cloud/discovery_engine/v1/document_service/client.rb +29 -0
  16. data/lib/google/cloud/discovery_engine/v1/document_service/operations.rb +7 -0
  17. data/lib/google/cloud/discovery_engine/v1/document_service/rest/client.rb +29 -0
  18. data/lib/google/cloud/discovery_engine/v1/document_service/rest/operations.rb +7 -0
  19. data/lib/google/cloud/discovery_engine/v1/engine_service/client.rb +7 -0
  20. data/lib/google/cloud/discovery_engine/v1/engine_service/operations.rb +7 -0
  21. data/lib/google/cloud/discovery_engine/v1/engine_service/rest/client.rb +7 -0
  22. data/lib/google/cloud/discovery_engine/v1/engine_service/rest/operations.rb +7 -0
  23. data/lib/google/cloud/discovery_engine/v1/grounded_generation_service/client.rb +7 -0
  24. data/lib/google/cloud/discovery_engine/v1/grounded_generation_service/rest/client.rb +7 -0
  25. data/lib/google/cloud/discovery_engine/v1/project_service/client.rb +7 -0
  26. data/lib/google/cloud/discovery_engine/v1/project_service/operations.rb +7 -0
  27. data/lib/google/cloud/discovery_engine/v1/project_service/rest/client.rb +7 -0
  28. data/lib/google/cloud/discovery_engine/v1/project_service/rest/operations.rb +7 -0
  29. data/lib/google/cloud/discovery_engine/v1/rank_service/client.rb +7 -0
  30. data/lib/google/cloud/discovery_engine/v1/rank_service/rest/client.rb +7 -0
  31. data/lib/google/cloud/discovery_engine/v1/recommendation_service/client.rb +7 -0
  32. data/lib/google/cloud/discovery_engine/v1/recommendation_service/rest/client.rb +7 -0
  33. data/lib/google/cloud/discovery_engine/v1/schema_service/client.rb +7 -0
  34. data/lib/google/cloud/discovery_engine/v1/schema_service/operations.rb +7 -0
  35. data/lib/google/cloud/discovery_engine/v1/schema_service/rest/client.rb +7 -0
  36. data/lib/google/cloud/discovery_engine/v1/schema_service/rest/operations.rb +7 -0
  37. data/lib/google/cloud/discovery_engine/v1/search_service/client.rb +7 -0
  38. data/lib/google/cloud/discovery_engine/v1/search_service/rest/client.rb +7 -0
  39. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/client.rb +7 -0
  40. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/operations.rb +7 -0
  41. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/rest/client.rb +7 -0
  42. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/rest/operations.rb +7 -0
  43. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/client.rb +7 -0
  44. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/operations.rb +7 -0
  45. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/rest/client.rb +7 -0
  46. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/rest/operations.rb +7 -0
  47. data/lib/google/cloud/discovery_engine/v1/user_event_service/client.rb +13 -0
  48. data/lib/google/cloud/discovery_engine/v1/user_event_service/operations.rb +7 -0
  49. data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/client.rb +13 -0
  50. data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/operations.rb +7 -0
  51. data/lib/google/cloud/discovery_engine/v1/version.rb +1 -1
  52. data/proto_docs/google/cloud/discoveryengine/v1/answer.rb +6 -0
  53. data/proto_docs/google/cloud/discoveryengine/v1/common.rb +8 -0
  54. data/proto_docs/google/cloud/discoveryengine/v1/completion.rb +4 -0
  55. data/proto_docs/google/cloud/discoveryengine/v1/control.rb +8 -0
  56. data/proto_docs/google/cloud/discoveryengine/v1/conversation.rb +4 -0
  57. data/proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb +8 -0
  58. data/proto_docs/google/cloud/discoveryengine/v1/document.rb +8 -0
  59. data/proto_docs/google/cloud/discoveryengine/v1/document_processing_config.rb +6 -0
  60. data/proto_docs/google/cloud/discoveryengine/v1/document_service.rb +8 -0
  61. data/proto_docs/google/cloud/discoveryengine/v1/engine.rb +4 -0
  62. data/proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb +6 -0
  63. data/proto_docs/google/cloud/discoveryengine/v1/import_config.rb +34 -0
  64. data/proto_docs/google/cloud/discoveryengine/v1/purge_config.rb +4 -0
  65. data/proto_docs/google/cloud/discoveryengine/v1/schema.rb +4 -0
  66. data/proto_docs/google/cloud/discoveryengine/v1/search_service.rb +4 -0
  67. data/proto_docs/google/cloud/discoveryengine/v1/user_event.rb +6 -0
  68. data/proto_docs/google/longrunning/operations.rb +4 -0
  69. data/proto_docs/google/protobuf/struct.rb +12 -0
  70. metadata +6 -9
@@ -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
@@ -755,6 +755,13 @@ module Google
755
755
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
756
756
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
757
757
  # * (`nil`) indicating no credentials
758
+ #
759
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
760
+ # external source for authentication to Google Cloud, you must validate it before
761
+ # providing it to a Google API client library. Providing an unvalidated credential
762
+ # configuration to Google APIs can compromise the security of your systems and data.
763
+ # For more information, refer to [Validate credential configurations from external
764
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
758
765
  # @return [::Object]
759
766
  # @!attribute [rw] scope
760
767
  # 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,6 +711,13 @@ module Google
711
711
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
712
712
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
713
713
  # * (`nil`) indicating no credentials
714
+ #
715
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
716
+ # external source for authentication to Google Cloud, you must validate it before
717
+ # providing it to a Google API client library. Providing an unvalidated credential
718
+ # configuration to Google APIs can compromise the security of your systems and data.
719
+ # For more information, refer to [Validate credential configurations from external
720
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
714
721
  # @return [::Object]
715
722
  # @!attribute [rw] scope
716
723
  # 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
@@ -860,6 +860,13 @@ module Google
860
860
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
861
861
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
862
862
  # * (`nil`) indicating no credentials
863
+ #
864
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
865
+ # external source for authentication to Google Cloud, you must validate it before
866
+ # providing it to a Google API client library. Providing an unvalidated credential
867
+ # configuration to Google APIs can compromise the security of your systems and data.
868
+ # For more information, refer to [Validate credential configurations from external
869
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
863
870
  # @return [::Object]
864
871
  # @!attribute [rw] scope
865
872
  # The OAuth scopes
@@ -833,6 +833,13 @@ module Google
833
833
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
834
834
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
835
835
  # * (`nil`) indicating no credentials
836
+ #
837
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
838
+ # external source for authentication to Google Cloud, you must validate it before
839
+ # providing it to a Google API client library. Providing an unvalidated credential
840
+ # configuration to Google APIs can compromise the security of your systems and data.
841
+ # For more information, refer to [Validate credential configurations from external
842
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
836
843
  # @return [::Object]
837
844
  # @!attribute [rw] scope
838
845
  # 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
@@ -1460,6 +1460,13 @@ module Google
1460
1460
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1461
1461
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1462
1462
  # * (`nil`) indicating no credentials
1463
+ #
1464
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1465
+ # external source for authentication to Google Cloud, you must validate it before
1466
+ # providing it to a Google API client library. Providing an unvalidated credential
1467
+ # configuration to Google APIs can compromise the security of your systems and data.
1468
+ # For more information, refer to [Validate credential configurations from external
1469
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1463
1470
  # @return [::Object]
1464
1471
  # @!attribute [rw] scope
1465
1472
  # 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
@@ -1367,6 +1367,13 @@ module Google
1367
1367
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1368
1368
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1369
1369
  # * (`nil`) indicating no credentials
1370
+ #
1371
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1372
+ # external source for authentication to Google Cloud, you must validate it before
1373
+ # providing it to a Google API client library. Providing an unvalidated credential
1374
+ # configuration to Google APIs can compromise the security of your systems and data.
1375
+ # For more information, refer to [Validate credential configurations from external
1376
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1370
1377
  # @return [::Object]
1371
1378
  # @!attribute [rw] scope
1372
1379
  # 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::V1::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::V1::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::V1::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::V1::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::V1::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::V1::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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DiscoveryEngine
23
23
  module V1
24
- VERSION = "1.4.0"
24
+ VERSION = "1.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -90,12 +90,18 @@ module Google
90
90
  # @!attribute [rw] unstructured_document_info
91
91
  # @return [::Google::Cloud::DiscoveryEngine::V1::Answer::Reference::UnstructuredDocumentInfo]
92
92
  # Unstructured document information.
93
+ #
94
+ # Note: The following fields are mutually exclusive: `unstructured_document_info`, `chunk_info`, `structured_document_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
93
95
  # @!attribute [rw] chunk_info
94
96
  # @return [::Google::Cloud::DiscoveryEngine::V1::Answer::Reference::ChunkInfo]
95
97
  # Chunk information.
98
+ #
99
+ # Note: The following fields are mutually exclusive: `chunk_info`, `unstructured_document_info`, `structured_document_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
96
100
  # @!attribute [rw] structured_document_info
97
101
  # @return [::Google::Cloud::DiscoveryEngine::V1::Answer::Reference::StructuredDocumentInfo]
98
102
  # Structured document information.
103
+ #
104
+ # Note: The following fields are mutually exclusive: `structured_document_info`, `unstructured_document_info`, `chunk_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
99
105
  class Reference
100
106
  include ::Google::Protobuf::MessageExts
101
107
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -25,15 +25,23 @@ module Google
25
25
  # @!attribute [rw] minimum
26
26
  # @return [::Float]
27
27
  # Inclusive lower bound.
28
+ #
29
+ # 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.
28
30
  # @!attribute [rw] exclusive_minimum
29
31
  # @return [::Float]
30
32
  # Exclusive lower bound.
33
+ #
34
+ # 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.
31
35
  # @!attribute [rw] maximum
32
36
  # @return [::Float]
33
37
  # Inclusive upper bound.
38
+ #
39
+ # 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.
34
40
  # @!attribute [rw] exclusive_maximum
35
41
  # @return [::Float]
36
42
  # Exclusive upper bound.
43
+ #
44
+ # 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.
37
45
  class Interval
38
46
  include ::Google::Protobuf::MessageExts
39
47
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -53,10 +53,14 @@ module Google
53
53
  # @return [::Float]
54
54
  # Global score of this suggestion. Control how this suggestion would be
55
55
  # scored / ranked.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `global_score`, `frequency`. If a field in that set is populated, all other fields in the set will automatically be cleared.
56
58
  # @!attribute [rw] frequency
57
59
  # @return [::Integer]
58
60
  # Frequency of this suggestion. Will be used to rank suggestions when score
59
61
  # is not available.
62
+ #
63
+ # Note: The following fields are mutually exclusive: `frequency`, `global_score`. If a field in that set is populated, all other fields in the set will automatically be cleared.
60
64
  # @!attribute [rw] suggestion
61
65
  # @return [::String]
62
66
  # Required. The suggestion text.
@@ -88,16 +88,24 @@ module Google
88
88
  # @!attribute [rw] boost_action
89
89
  # @return [::Google::Cloud::DiscoveryEngine::V1::Control::BoostAction]
90
90
  # Defines a boost-type control
91
+ #
92
+ # Note: The following fields are mutually exclusive: `boost_action`, `filter_action`, `redirect_action`, `synonyms_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
91
93
  # @!attribute [rw] filter_action
92
94
  # @return [::Google::Cloud::DiscoveryEngine::V1::Control::FilterAction]
93
95
  # Defines a filter-type control
94
96
  # Currently not supported by Recommendation
97
+ #
98
+ # Note: The following fields are mutually exclusive: `filter_action`, `boost_action`, `redirect_action`, `synonyms_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
95
99
  # @!attribute [rw] redirect_action
96
100
  # @return [::Google::Cloud::DiscoveryEngine::V1::Control::RedirectAction]
97
101
  # Defines a redirect-type control.
102
+ #
103
+ # Note: The following fields are mutually exclusive: `redirect_action`, `boost_action`, `filter_action`, `synonyms_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
98
104
  # @!attribute [rw] synonyms_action
99
105
  # @return [::Google::Cloud::DiscoveryEngine::V1::Control::SynonymsAction]
100
106
  # Treats a group of terms as synonyms of one another.
107
+ #
108
+ # Note: The following fields are mutually exclusive: `synonyms_action`, `boost_action`, `filter_action`, `redirect_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
101
109
  # @!attribute [rw] name
102
110
  # @return [::String]
103
111
  # Immutable. Fully qualified name
@@ -99,9 +99,13 @@ module Google
99
99
  # @!attribute [rw] user_input
100
100
  # @return [::Google::Cloud::DiscoveryEngine::V1::TextInput]
101
101
  # User text input.
102
+ #
103
+ # Note: The following fields are mutually exclusive: `user_input`, `reply`. If a field in that set is populated, all other fields in the set will automatically be cleared.
102
104
  # @!attribute [rw] reply
103
105
  # @return [::Google::Cloud::DiscoveryEngine::V1::Reply]
104
106
  # Search reply.
107
+ #
108
+ # Note: The following fields are mutually exclusive: `reply`, `user_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
105
109
  # @!attribute [r] create_time
106
110
  # @return [::Google::Protobuf::Timestamp]
107
111
  # Output only. Message creation timestamp.
@@ -415,9 +415,13 @@ module Google
415
415
  # @!attribute [rw] search_params
416
416
  # @return [::Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::SearchSpec::SearchParams]
417
417
  # Search parameters.
418
+ #
419
+ # Note: The following fields are mutually exclusive: `search_params`, `search_result_list`. If a field in that set is populated, all other fields in the set will automatically be cleared.
418
420
  # @!attribute [rw] search_result_list
419
421
  # @return [::Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::SearchSpec::SearchResultList]
420
422
  # Search result list.
423
+ #
424
+ # Note: The following fields are mutually exclusive: `search_result_list`, `search_params`. If a field in that set is populated, all other fields in the set will automatically be cleared.
421
425
  class SearchSpec
422
426
  include ::Google::Protobuf::MessageExts
423
427
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -489,9 +493,13 @@ module Google
489
493
  # @!attribute [rw] unstructured_document_info
490
494
  # @return [::Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::UnstructuredDocumentInfo]
491
495
  # Unstructured document information.
496
+ #
497
+ # Note: The following fields are mutually exclusive: `unstructured_document_info`, `chunk_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
492
498
  # @!attribute [rw] chunk_info
493
499
  # @return [::Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::ChunkInfo]
494
500
  # Chunk information.
501
+ #
502
+ # Note: The following fields are mutually exclusive: `chunk_info`, `unstructured_document_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
495
503
  class SearchResult
496
504
  include ::Google::Protobuf::MessageExts
497
505
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -28,11 +28,15 @@ module Google
28
28
  # The structured JSON data for the document. It should conform to the
29
29
  # registered {::Google::Cloud::DiscoveryEngine::V1::Schema Schema} or an
30
30
  # `INVALID_ARGUMENT` error is thrown.
31
+ #
32
+ # Note: The following fields are mutually exclusive: `struct_data`, `json_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
31
33
  # @!attribute [rw] json_data
32
34
  # @return [::String]
33
35
  # The JSON string representation of the document. It should conform to the
34
36
  # registered {::Google::Cloud::DiscoveryEngine::V1::Schema Schema} or an
35
37
  # `INVALID_ARGUMENT` error is thrown.
38
+ #
39
+ # Note: The following fields are mutually exclusive: `json_data`, `struct_data`. If a field in that set is populated, all other fields in the set will automatically be cleared.
36
40
  # @!attribute [rw] name
37
41
  # @return [::String]
38
42
  # Immutable. The full resource name of the document.
@@ -96,11 +100,15 @@ module Google
96
100
  # example, `abc123!?$*&()'-=@~` should be represented as
97
101
  # `YWJjMTIzIT8kKiYoKSctPUB+` in JSON. See
98
102
  # https://developers.google.com/protocol-buffers/docs/proto3#json.
103
+ #
104
+ # Note: The following fields are mutually exclusive: `raw_bytes`, `uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
99
105
  # @!attribute [rw] uri
100
106
  # @return [::String]
101
107
  # The URI of the content. Only Cloud Storage URIs (e.g.
102
108
  # `gs://bucket-name/path/to/file`) are supported. The maximum file size
103
109
  # is 2.5 MB for text-based formats, 200 MB for other formats.
110
+ #
111
+ # Note: The following fields are mutually exclusive: `uri`, `raw_bytes`. If a field in that set is populated, all other fields in the set will automatically be cleared.
104
112
  # @!attribute [rw] mime_type
105
113
  # @return [::String]
106
114
  # The MIME type of the content. Supported types:
@@ -93,13 +93,19 @@ module Google
93
93
  # @!attribute [rw] digital_parsing_config
94
94
  # @return [::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::DigitalParsingConfig]
95
95
  # Configurations applied to digital parser.
96
+ #
97
+ # Note: The following fields are mutually exclusive: `digital_parsing_config`, `ocr_parsing_config`, `layout_parsing_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
96
98
  # @!attribute [rw] ocr_parsing_config
97
99
  # @return [::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::OcrParsingConfig]
98
100
  # Configurations applied to OCR parser. Currently it only applies to
99
101
  # PDFs.
102
+ #
103
+ # Note: The following fields are mutually exclusive: `ocr_parsing_config`, `digital_parsing_config`, `layout_parsing_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
100
104
  # @!attribute [rw] layout_parsing_config
101
105
  # @return [::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::LayoutParsingConfig]
102
106
  # Configurations applied to layout parser.
107
+ #
108
+ # Note: The following fields are mutually exclusive: `layout_parsing_config`, `digital_parsing_config`, `ocr_parsing_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
103
109
  class ParsingConfig
104
110
  include ::Google::Protobuf::MessageExts
105
111
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -222,9 +222,13 @@ module Google
222
222
  # @!attribute [rw] uris_matcher
223
223
  # @return [::Google::Cloud::DiscoveryEngine::V1::BatchGetDocumentsMetadataRequest::UrisMatcher]
224
224
  # Matcher by exact URIs.
225
+ #
226
+ # Note: The following fields are mutually exclusive: `uris_matcher`, `fhir_matcher`. If a field in that set is populated, all other fields in the set will automatically be cleared.
225
227
  # @!attribute [rw] fhir_matcher
226
228
  # @return [::Google::Cloud::DiscoveryEngine::V1::BatchGetDocumentsMetadataRequest::FhirMatcher]
227
229
  # Matcher by FHIR resource names.
230
+ #
231
+ # Note: The following fields are mutually exclusive: `fhir_matcher`, `uris_matcher`. If a field in that set is populated, all other fields in the set will automatically be cleared.
228
232
  class Matcher
229
233
  include ::Google::Protobuf::MessageExts
230
234
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -272,10 +276,14 @@ module Google
272
276
  # @return [::String]
273
277
  # If match by URI, the URI of the
274
278
  # {::Google::Cloud::DiscoveryEngine::V1::Document Document}.
279
+ #
280
+ # Note: The following fields are mutually exclusive: `uri`, `fhir_resource`. If a field in that set is populated, all other fields in the set will automatically be cleared.
275
281
  # @!attribute [rw] fhir_resource
276
282
  # @return [::String]
277
283
  # Format:
278
284
  # projects/\\{project}/locations/\\{location}/datasets/\\{dataset}/fhirStores/\\{fhir_store}/fhir/\\{resource_type}/\\{fhir_resource_id}
285
+ #
286
+ # Note: The following fields are mutually exclusive: `fhir_resource`, `uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
279
287
  class MatcherValue
280
288
  include ::Google::Protobuf::MessageExts
281
289
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -28,11 +28,15 @@ module Google
28
28
  # Configurations for the Chat Engine. Only applicable if
29
29
  # {::Google::Cloud::DiscoveryEngine::V1::Engine#solution_type solution_type} is
30
30
  # {::Google::Cloud::DiscoveryEngine::V1::SolutionType::SOLUTION_TYPE_CHAT SOLUTION_TYPE_CHAT}.
31
+ #
32
+ # Note: The following fields are mutually exclusive: `chat_engine_config`, `search_engine_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
31
33
  # @!attribute [rw] search_engine_config
32
34
  # @return [::Google::Cloud::DiscoveryEngine::V1::Engine::SearchEngineConfig]
33
35
  # Configurations for the Search Engine. Only applicable if
34
36
  # {::Google::Cloud::DiscoveryEngine::V1::Engine#solution_type solution_type} is
35
37
  # {::Google::Cloud::DiscoveryEngine::V1::SolutionType::SOLUTION_TYPE_SEARCH SOLUTION_TYPE_SEARCH}.
38
+ #
39
+ # Note: The following fields are mutually exclusive: `search_engine_config`, `chat_engine_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
36
40
  # @!attribute [r] chat_engine_metadata
37
41
  # @return [::Google::Cloud::DiscoveryEngine::V1::Engine::ChatEngineMetadata]
38
42
  # Output only. Additional information of the Chat Engine. Only applicable
@@ -162,12 +162,18 @@ module Google
162
162
  # @!attribute [rw] inline_source
163
163
  # @return [::Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentRequest::GroundingSource::InlineSource]
164
164
  # If set, grounding is performed with inline content.
165
+ #
166
+ # Note: The following fields are mutually exclusive: `inline_source`, `search_source`, `google_search_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
165
167
  # @!attribute [rw] search_source
166
168
  # @return [::Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentRequest::GroundingSource::SearchSource]
167
169
  # If set, grounding is performed with Vertex AI Search.
170
+ #
171
+ # Note: The following fields are mutually exclusive: `search_source`, `inline_source`, `google_search_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
168
172
  # @!attribute [rw] google_search_source
169
173
  # @return [::Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentRequest::GroundingSource::GoogleSearchSource]
170
174
  # If set, grounding is performed with Google Search.
175
+ #
176
+ # Note: The following fields are mutually exclusive: `google_search_source`, `inline_source`, `search_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
171
177
  class GroundingSource
172
178
  include ::Google::Protobuf::MessageExts
173
179
  extend ::Google::Protobuf::MessageExts::ClassMethods