google-cloud-discovery_engine-v1beta 0.16.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -21
  3. data/lib/google/cloud/discovery_engine/v1beta/completion_service/client.rb +49 -7
  4. data/lib/google/cloud/discovery_engine/v1beta/completion_service/operations.rb +19 -15
  5. data/lib/google/cloud/discovery_engine/v1beta/completion_service/rest/client.rb +49 -7
  6. data/lib/google/cloud/discovery_engine/v1beta/completion_service/rest/operations.rb +50 -38
  7. data/lib/google/cloud/discovery_engine/v1beta/completion_service/rest/service_stub.rb +62 -38
  8. data/lib/google/cloud/discovery_engine/v1beta/control_service/client.rb +36 -6
  9. data/lib/google/cloud/discovery_engine/v1beta/control_service/rest/client.rb +36 -6
  10. data/lib/google/cloud/discovery_engine/v1beta/control_service/rest/service_stub.rb +54 -32
  11. data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/client.rb +37 -14
  12. data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/rest/client.rb +37 -14
  13. data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/rest/service_stub.rb +118 -80
  14. data/lib/google/cloud/discovery_engine/v1beta/data_store_service/client.rb +38 -6
  15. data/lib/google/cloud/discovery_engine/v1beta/data_store_service/operations.rb +19 -15
  16. data/lib/google/cloud/discovery_engine/v1beta/data_store_service/rest/client.rb +38 -6
  17. data/lib/google/cloud/discovery_engine/v1beta/data_store_service/rest/operations.rb +50 -38
  18. data/lib/google/cloud/discovery_engine/v1beta/data_store_service/rest/service_stub.rb +54 -32
  19. data/lib/google/cloud/discovery_engine/v1beta/document_service/client.rb +60 -9
  20. data/lib/google/cloud/discovery_engine/v1beta/document_service/operations.rb +19 -15
  21. data/lib/google/cloud/discovery_engine/v1beta/document_service/rest/client.rb +60 -9
  22. data/lib/google/cloud/discovery_engine/v1beta/document_service/rest/operations.rb +50 -38
  23. data/lib/google/cloud/discovery_engine/v1beta/document_service/rest/service_stub.rb +78 -50
  24. data/lib/google/cloud/discovery_engine/v1beta/engine_service/client.rb +39 -9
  25. data/lib/google/cloud/discovery_engine/v1beta/engine_service/operations.rb +19 -15
  26. data/lib/google/cloud/discovery_engine/v1beta/engine_service/rest/client.rb +39 -9
  27. data/lib/google/cloud/discovery_engine/v1beta/engine_service/rest/operations.rb +50 -38
  28. data/lib/google/cloud/discovery_engine/v1beta/engine_service/rest/service_stub.rb +78 -50
  29. data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/client.rb +38 -5
  30. data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/operations.rb +19 -15
  31. data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/rest/client.rb +38 -5
  32. data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/rest/operations.rb +50 -38
  33. data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/rest/service_stub.rb +46 -26
  34. data/lib/google/cloud/discovery_engine/v1beta/grounded_generation_service/client.rb +35 -4
  35. data/lib/google/cloud/discovery_engine/v1beta/grounded_generation_service/rest/client.rb +35 -3
  36. data/lib/google/cloud/discovery_engine/v1beta/grounded_generation_service/rest/service_stub.rb +30 -14
  37. data/lib/google/cloud/discovery_engine/v1beta/project_service/client.rb +36 -2
  38. data/lib/google/cloud/discovery_engine/v1beta/project_service/operations.rb +19 -15
  39. data/lib/google/cloud/discovery_engine/v1beta/project_service/rest/client.rb +36 -2
  40. data/lib/google/cloud/discovery_engine/v1beta/project_service/rest/operations.rb +50 -38
  41. data/lib/google/cloud/discovery_engine/v1beta/project_service/rest/service_stub.rb +22 -8
  42. data/lib/google/cloud/discovery_engine/v1beta/rank_service/client.rb +35 -2
  43. data/lib/google/cloud/discovery_engine/v1beta/rank_service/rest/client.rb +35 -2
  44. data/lib/google/cloud/discovery_engine/v1beta/rank_service/rest/service_stub.rb +22 -8
  45. data/lib/google/cloud/discovery_engine/v1beta/recommendation_service/client.rb +35 -2
  46. data/lib/google/cloud/discovery_engine/v1beta/recommendation_service/rest/client.rb +35 -2
  47. data/lib/google/cloud/discovery_engine/v1beta/recommendation_service/rest/service_stub.rb +22 -8
  48. data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/client.rb +43 -7
  49. data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/operations.rb +19 -15
  50. data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/rest/client.rb +43 -7
  51. data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/rest/operations.rb +50 -38
  52. data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/rest/service_stub.rb +62 -38
  53. data/lib/google/cloud/discovery_engine/v1beta/sample_query_set_service/client.rb +36 -6
  54. data/lib/google/cloud/discovery_engine/v1beta/sample_query_set_service/rest/client.rb +36 -6
  55. data/lib/google/cloud/discovery_engine/v1beta/sample_query_set_service/rest/service_stub.rb +54 -32
  56. data/lib/google/cloud/discovery_engine/v1beta/schema_service/client.rb +39 -6
  57. data/lib/google/cloud/discovery_engine/v1beta/schema_service/operations.rb +19 -15
  58. data/lib/google/cloud/discovery_engine/v1beta/schema_service/rest/client.rb +39 -6
  59. data/lib/google/cloud/discovery_engine/v1beta/schema_service/rest/operations.rb +50 -38
  60. data/lib/google/cloud/discovery_engine/v1beta/schema_service/rest/service_stub.rb +54 -32
  61. data/lib/google/cloud/discovery_engine/v1beta/search_service/client.rb +37 -3
  62. data/lib/google/cloud/discovery_engine/v1beta/search_service/rest/client.rb +35 -3
  63. data/lib/google/cloud/discovery_engine/v1beta/search_service/rest/service_stub.rb +30 -14
  64. data/lib/google/cloud/discovery_engine/v1beta/search_tuning_service/client.rb +36 -3
  65. data/lib/google/cloud/discovery_engine/v1beta/search_tuning_service/operations.rb +19 -15
  66. data/lib/google/cloud/discovery_engine/v1beta/search_tuning_service/rest/client.rb +36 -3
  67. data/lib/google/cloud/discovery_engine/v1beta/search_tuning_service/rest/operations.rb +50 -38
  68. data/lib/google/cloud/discovery_engine/v1beta/search_tuning_service/rest/service_stub.rb +30 -14
  69. data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/client.rb +36 -4
  70. data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/rest/client.rb +36 -4
  71. data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/rest/service_stub.rb +38 -20
  72. data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/client.rb +47 -16
  73. data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/operations.rb +19 -15
  74. data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/rest/client.rb +47 -16
  75. data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/rest/operations.rb +50 -38
  76. data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/rest/service_stub.rb +134 -92
  77. data/lib/google/cloud/discovery_engine/v1beta/user_event_service/client.rb +43 -5
  78. data/lib/google/cloud/discovery_engine/v1beta/user_event_service/operations.rb +19 -15
  79. data/lib/google/cloud/discovery_engine/v1beta/user_event_service/rest/client.rb +43 -5
  80. data/lib/google/cloud/discovery_engine/v1beta/user_event_service/rest/operations.rb +50 -38
  81. data/lib/google/cloud/discovery_engine/v1beta/user_event_service/rest/service_stub.rb +46 -26
  82. data/lib/google/cloud/discovery_engine/v1beta/version.rb +1 -1
  83. data/proto_docs/google/api/client.rb +19 -0
  84. data/proto_docs/google/cloud/discoveryengine/v1beta/answer.rb +6 -0
  85. data/proto_docs/google/cloud/discoveryengine/v1beta/common.rb +8 -0
  86. data/proto_docs/google/cloud/discoveryengine/v1beta/completion.rb +4 -0
  87. data/proto_docs/google/cloud/discoveryengine/v1beta/control.rb +8 -0
  88. data/proto_docs/google/cloud/discoveryengine/v1beta/conversation.rb +4 -0
  89. data/proto_docs/google/cloud/discoveryengine/v1beta/conversational_search_service.rb +8 -0
  90. data/proto_docs/google/cloud/discoveryengine/v1beta/document.rb +8 -0
  91. data/proto_docs/google/cloud/discoveryengine/v1beta/document_processing_config.rb +6 -0
  92. data/proto_docs/google/cloud/discoveryengine/v1beta/document_service.rb +8 -0
  93. data/proto_docs/google/cloud/discoveryengine/v1beta/engine.rb +4 -0
  94. data/proto_docs/google/cloud/discoveryengine/v1beta/grounded_generation_service.rb +6 -0
  95. data/proto_docs/google/cloud/discoveryengine/v1beta/import_config.rb +40 -0
  96. data/proto_docs/google/cloud/discoveryengine/v1beta/purge_config.rb +4 -0
  97. data/proto_docs/google/cloud/discoveryengine/v1beta/schema.rb +4 -0
  98. data/proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb +14 -0
  99. data/proto_docs/google/cloud/discoveryengine/v1beta/serving_config.rb +8 -0
  100. data/proto_docs/google/cloud/discoveryengine/v1beta/user_event.rb +6 -0
  101. data/proto_docs/google/longrunning/operations.rb +23 -14
  102. data/proto_docs/google/protobuf/struct.rb +12 -0
  103. metadata +6 -9
@@ -93,13 +93,19 @@ module Google
93
93
  # @!attribute [rw] digital_parsing_config
94
94
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::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::V1beta::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::V1beta::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::V1beta::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::V1beta::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
@@ -274,10 +278,14 @@ module Google
274
278
  # @return [::String]
275
279
  # If match by URI, the URI of the
276
280
  # {::Google::Cloud::DiscoveryEngine::V1beta::Document Document}.
281
+ #
282
+ # 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.
277
283
  # @!attribute [rw] fhir_resource
278
284
  # @return [::String]
279
285
  # Format:
280
286
  # projects/\\{project}/locations/\\{location}/datasets/\\{dataset}/fhirStores/\\{fhir_store}/fhir/\\{resource_type}/\\{fhir_resource_id}
287
+ #
288
+ # 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.
281
289
  class MatcherValue
282
290
  include ::Google::Protobuf::MessageExts
283
291
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -29,12 +29,16 @@ module Google
29
29
  # {::Google::Cloud::DiscoveryEngine::V1beta::Engine#solution_type solution_type}
30
30
  # is
31
31
  # {::Google::Cloud::DiscoveryEngine::V1beta::SolutionType::SOLUTION_TYPE_CHAT SOLUTION_TYPE_CHAT}.
32
+ #
33
+ # 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.
32
34
  # @!attribute [rw] search_engine_config
33
35
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::Engine::SearchEngineConfig]
34
36
  # Configurations for the Search Engine. Only applicable if
35
37
  # {::Google::Cloud::DiscoveryEngine::V1beta::Engine#solution_type solution_type}
36
38
  # is
37
39
  # {::Google::Cloud::DiscoveryEngine::V1beta::SolutionType::SOLUTION_TYPE_SEARCH SOLUTION_TYPE_SEARCH}.
40
+ #
41
+ # 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.
38
42
  # @!attribute [r] chat_engine_metadata
39
43
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::Engine::ChatEngineMetadata]
40
44
  # Output only. Additional information of the Chat Engine. Only applicable
@@ -160,12 +160,18 @@ module Google
160
160
  # @!attribute [rw] inline_source
161
161
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::GenerateGroundedContentRequest::GroundingSource::InlineSource]
162
162
  # If set, grounding is performed with inline content.
163
+ #
164
+ # 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.
163
165
  # @!attribute [rw] search_source
164
166
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::GenerateGroundedContentRequest::GroundingSource::SearchSource]
165
167
  # If set, grounding is performed with Vertex AI Search.
168
+ #
169
+ # 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.
166
170
  # @!attribute [rw] google_search_source
167
171
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::GenerateGroundedContentRequest::GroundingSource::GoogleSearchSource]
168
172
  # If set, grounding is performed with Google Search.
173
+ #
174
+ # 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.
169
175
  class GroundingSource
170
176
  include ::Google::Protobuf::MessageExts
171
177
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -423,12 +423,18 @@ module Google
423
423
  # @!attribute [rw] inline_source
424
424
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::ImportUserEventsRequest::InlineSource]
425
425
  # The Inline source for the input content for UserEvents.
426
+ #
427
+ # 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.
426
428
  # @!attribute [rw] gcs_source
427
429
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::GcsSource]
428
430
  # Cloud Storage location for the input content.
431
+ #
432
+ # 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.
429
433
  # @!attribute [rw] bigquery_source
430
434
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::BigQuerySource]
431
435
  # BigQuery input source.
436
+ #
437
+ # 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.
432
438
  # @!attribute [rw] parent
433
439
  # @return [::String]
434
440
  # Required. Parent DataStore resource name, of the form
@@ -520,30 +526,48 @@ module Google
520
526
  # @!attribute [rw] inline_source
521
527
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::ImportDocumentsRequest::InlineSource]
522
528
  # The Inline source for the input content for documents.
529
+ #
530
+ # Note: The following fields are mutually exclusive: `inline_source`, `gcs_source`, `bigquery_source`, `fhir_store_source`, `spanner_source`, `cloud_sql_source`, `firestore_source`, `alloy_db_source`, `bigtable_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
523
531
  # @!attribute [rw] gcs_source
524
532
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::GcsSource]
525
533
  # Cloud Storage location for the input content.
534
+ #
535
+ # Note: The following fields are mutually exclusive: `gcs_source`, `inline_source`, `bigquery_source`, `fhir_store_source`, `spanner_source`, `cloud_sql_source`, `firestore_source`, `alloy_db_source`, `bigtable_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
526
536
  # @!attribute [rw] bigquery_source
527
537
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::BigQuerySource]
528
538
  # BigQuery input source.
539
+ #
540
+ # Note: The following fields are mutually exclusive: `bigquery_source`, `inline_source`, `gcs_source`, `fhir_store_source`, `spanner_source`, `cloud_sql_source`, `firestore_source`, `alloy_db_source`, `bigtable_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
529
541
  # @!attribute [rw] fhir_store_source
530
542
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::FhirStoreSource]
531
543
  # FhirStore input source.
544
+ #
545
+ # Note: The following fields are mutually exclusive: `fhir_store_source`, `inline_source`, `gcs_source`, `bigquery_source`, `spanner_source`, `cloud_sql_source`, `firestore_source`, `alloy_db_source`, `bigtable_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
532
546
  # @!attribute [rw] spanner_source
533
547
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::SpannerSource]
534
548
  # Spanner input source.
549
+ #
550
+ # Note: The following fields are mutually exclusive: `spanner_source`, `inline_source`, `gcs_source`, `bigquery_source`, `fhir_store_source`, `cloud_sql_source`, `firestore_source`, `alloy_db_source`, `bigtable_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
535
551
  # @!attribute [rw] cloud_sql_source
536
552
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::CloudSqlSource]
537
553
  # Cloud SQL input source.
554
+ #
555
+ # Note: The following fields are mutually exclusive: `cloud_sql_source`, `inline_source`, `gcs_source`, `bigquery_source`, `fhir_store_source`, `spanner_source`, `firestore_source`, `alloy_db_source`, `bigtable_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
538
556
  # @!attribute [rw] firestore_source
539
557
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::FirestoreSource]
540
558
  # Firestore input source.
559
+ #
560
+ # Note: The following fields are mutually exclusive: `firestore_source`, `inline_source`, `gcs_source`, `bigquery_source`, `fhir_store_source`, `spanner_source`, `cloud_sql_source`, `alloy_db_source`, `bigtable_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
541
561
  # @!attribute [rw] alloy_db_source
542
562
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::AlloyDbSource]
543
563
  # AlloyDB input source.
564
+ #
565
+ # Note: The following fields are mutually exclusive: `alloy_db_source`, `inline_source`, `gcs_source`, `bigquery_source`, `fhir_store_source`, `spanner_source`, `cloud_sql_source`, `firestore_source`, `bigtable_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
544
566
  # @!attribute [rw] bigtable_source
545
567
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::BigtableSource]
546
568
  # Cloud Bigtable input source.
569
+ #
570
+ # Note: The following fields are mutually exclusive: `bigtable_source`, `inline_source`, `gcs_source`, `bigquery_source`, `fhir_store_source`, `spanner_source`, `cloud_sql_source`, `firestore_source`, `alloy_db_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
547
571
  # @!attribute [rw] parent
548
572
  # @return [::String]
549
573
  # Required. The parent branch resource name, such as
@@ -675,6 +699,8 @@ module Google
675
699
  # @!attribute [rw] inline_source
676
700
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::ImportSuggestionDenyListEntriesRequest::InlineSource]
677
701
  # The Inline source for the input content for suggestion deny list entries.
702
+ #
703
+ # Note: The following fields are mutually exclusive: `inline_source`, `gcs_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
678
704
  # @!attribute [rw] gcs_source
679
705
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::GcsSource]
680
706
  # Cloud Storage location for the input content.
@@ -685,6 +711,8 @@ module Google
685
711
  #
686
712
  # * `suggestion_deny_list` (default): One JSON [SuggestionDenyListEntry]
687
713
  # per line.
714
+ #
715
+ # Note: The following fields are mutually exclusive: `gcs_source`, `inline_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
688
716
  # @!attribute [rw] parent
689
717
  # @return [::String]
690
718
  # Required. The parent data store resource name for which to import denylist
@@ -741,12 +769,18 @@ module Google
741
769
  # @!attribute [rw] inline_source
742
770
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::ImportCompletionSuggestionsRequest::InlineSource]
743
771
  # The Inline source for suggestion entries.
772
+ #
773
+ # 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.
744
774
  # @!attribute [rw] gcs_source
745
775
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::GcsSource]
746
776
  # Cloud Storage location for the input content.
777
+ #
778
+ # 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.
747
779
  # @!attribute [rw] bigquery_source
748
780
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::BigQuerySource]
749
781
  # BigQuery input source.
782
+ #
783
+ # 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.
750
784
  # @!attribute [rw] parent
751
785
  # @return [::String]
752
786
  # Required. The parent data store resource name for which to import customer
@@ -817,12 +851,18 @@ module Google
817
851
  # @!attribute [rw] inline_source
818
852
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::ImportSampleQueriesRequest::InlineSource]
819
853
  # The Inline source for sample query entries.
854
+ #
855
+ # 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.
820
856
  # @!attribute [rw] gcs_source
821
857
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::GcsSource]
822
858
  # Cloud Storage location for the input content.
859
+ #
860
+ # 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.
823
861
  # @!attribute [rw] bigquery_source
824
862
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::BigQuerySource]
825
863
  # BigQuery input source.
864
+ #
865
+ # 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.
826
866
  # @!attribute [rw] parent
827
867
  # @return [::String]
828
868
  # Required. The parent sample query set resource name, such as
@@ -119,9 +119,13 @@ module Google
119
119
  # Supported `data_schema`:
120
120
  # * `document_id`: One valid
121
121
  # {::Google::Cloud::DiscoveryEngine::V1beta::Document#id Document.id} per line.
122
+ #
123
+ # Note: The following fields are mutually exclusive: `gcs_source`, `inline_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
122
124
  # @!attribute [rw] inline_source
123
125
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::PurgeDocumentsRequest::InlineSource]
124
126
  # Inline source for the input content for purge.
127
+ #
128
+ # Note: The following fields are mutually exclusive: `inline_source`, `gcs_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
125
129
  # @!attribute [rw] parent
126
130
  # @return [::String]
127
131
  # Required. The parent resource name, such as
@@ -25,9 +25,13 @@ module Google
25
25
  # @!attribute [rw] struct_schema
26
26
  # @return [::Google::Protobuf::Struct]
27
27
  # The structured representation of the schema.
28
+ #
29
+ # Note: The following fields are mutually exclusive: `struct_schema`, `json_schema`. If a field in that set is populated, all other fields in the set will automatically be cleared.
28
30
  # @!attribute [rw] json_schema
29
31
  # @return [::String]
30
32
  # The JSON representation of the schema.
33
+ #
34
+ # Note: The following fields are mutually exclusive: `json_schema`, `struct_schema`. If a field in that set is populated, all other fields in the set will automatically be cleared.
31
35
  # @!attribute [rw] name
32
36
  # @return [::String]
33
37
  # Immutable. The full resource name of the schema, in the format of
@@ -1290,11 +1290,15 @@ module Google
1290
1290
  # @!attribute [rw] value
1291
1291
  # @return [::String]
1292
1292
  # Text value of a facet, such as "Black" for facet "colors".
1293
+ #
1294
+ # 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.
1293
1295
  # @!attribute [rw] interval
1294
1296
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::Interval]
1295
1297
  # Interval value for a facet, such as [10, 20) for facet "price". It
1296
1298
  # matches
1297
1299
  # {::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::FacetSpec::FacetKey#intervals SearchRequest.FacetSpec.FacetKey.intervals}.
1300
+ #
1301
+ # 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.
1298
1302
  # @!attribute [rw] count
1299
1303
  # @return [::Integer]
1300
1304
  # Number of items that have this facet value.
@@ -1676,18 +1680,28 @@ module Google
1676
1680
  # @!attribute [rw] string_constraint
1677
1681
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::StringConstraint]
1678
1682
  # String constraint expression.
1683
+ #
1684
+ # Note: The following fields are mutually exclusive: `string_constraint`, `number_constraint`, `geolocation_constraint`, `and_expr`, `or_expr`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1679
1685
  # @!attribute [rw] number_constraint
1680
1686
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::NumberConstraint]
1681
1687
  # Numerical constraint expression.
1688
+ #
1689
+ # Note: The following fields are mutually exclusive: `number_constraint`, `string_constraint`, `geolocation_constraint`, `and_expr`, `or_expr`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1682
1690
  # @!attribute [rw] geolocation_constraint
1683
1691
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::GeolocationConstraint]
1684
1692
  # Geolocation constraint expression.
1693
+ #
1694
+ # Note: The following fields are mutually exclusive: `geolocation_constraint`, `string_constraint`, `number_constraint`, `and_expr`, `or_expr`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1685
1695
  # @!attribute [rw] and_expr
1686
1696
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::AndExpression]
1687
1697
  # Logical "And" compound operator connecting multiple expressions.
1698
+ #
1699
+ # Note: The following fields are mutually exclusive: `and_expr`, `string_constraint`, `number_constraint`, `geolocation_constraint`, `or_expr`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1688
1700
  # @!attribute [rw] or_expr
1689
1701
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::OrExpression]
1690
1702
  # Logical "Or" compound operator connecting multiple expressions.
1703
+ #
1704
+ # Note: The following fields are mutually exclusive: `or_expr`, `string_constraint`, `number_constraint`, `geolocation_constraint`, `and_expr`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1691
1705
  class Expression
1692
1706
  include ::Google::Protobuf::MessageExts
1693
1707
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -28,9 +28,13 @@ module Google
28
28
  # @!attribute [rw] media_config
29
29
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::ServingConfig::MediaConfig]
30
30
  # The MediaConfig of the serving configuration.
31
+ #
32
+ # Note: The following fields are mutually exclusive: `media_config`, `generic_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
31
33
  # @!attribute [rw] generic_config
32
34
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::ServingConfig::GenericConfig]
33
35
  # The GenericConfig of the serving configuration.
36
+ #
37
+ # Note: The following fields are mutually exclusive: `generic_config`, `media_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
34
38
  # @!attribute [rw] name
35
39
  # @return [::String]
36
40
  # Immutable. Fully qualified name
@@ -222,9 +226,13 @@ module Google
222
226
  # @return [::Float]
223
227
  # Specifies the content watched percentage threshold for demotion.
224
228
  # Threshold value must be between [0, 1.0] inclusive.
229
+ #
230
+ # Note: The following fields are mutually exclusive: `content_watched_percentage_threshold`, `content_watched_seconds_threshold`. If a field in that set is populated, all other fields in the set will automatically be cleared.
225
231
  # @!attribute [rw] content_watched_seconds_threshold
226
232
  # @return [::Float]
227
233
  # Specifies the content watched minutes threshold for demotion.
234
+ #
235
+ # Note: The following fields are mutually exclusive: `content_watched_seconds_threshold`, `content_watched_percentage_threshold`. If a field in that set is populated, all other fields in the set will automatically be cleared.
228
236
  # @!attribute [rw] demotion_event_type
229
237
  # @return [::String]
230
238
  # Specifies the event type used for demoting recommendation result.
@@ -431,15 +431,21 @@ module Google
431
431
  # @!attribute [rw] id
432
432
  # @return [::String]
433
433
  # The {::Google::Cloud::DiscoveryEngine::V1beta::Document Document} resource ID.
434
+ #
435
+ # Note: The following fields are mutually exclusive: `id`, `name`, `uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
434
436
  # @!attribute [rw] name
435
437
  # @return [::String]
436
438
  # The {::Google::Cloud::DiscoveryEngine::V1beta::Document Document} resource
437
439
  # full name, of the form:
438
440
  # `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}`
441
+ #
442
+ # Note: The following fields are mutually exclusive: `name`, `id`, `uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
439
443
  # @!attribute [rw] uri
440
444
  # @return [::String]
441
445
  # The {::Google::Cloud::DiscoveryEngine::V1beta::Document Document} URI - only
442
446
  # allowed for website data stores.
447
+ #
448
+ # Note: The following fields are mutually exclusive: `uri`, `id`, `name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
443
449
  # @!attribute [rw] quantity
444
450
  # @return [::Integer]
445
451
  # Quantity of the Document associated with the user event. Defaults to 1.
@@ -40,9 +40,11 @@ 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
- # The normal response of the operation in case of success. If the original
47
+ # The normal, successful response of the operation. If the original
46
48
  # method returns no data on success, such as `Delete`, the response is
47
49
  # `google.protobuf.Empty`. If the original method is standard
48
50
  # `Get`/`Create`/`Update`, the response should be the resource. For other
@@ -50,12 +52,15 @@ 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
56
60
  end
57
61
 
58
- # The request message for Operations.GetOperation.
62
+ # The request message for
63
+ # Operations.GetOperation.
59
64
  # @!attribute [rw] name
60
65
  # @return [::String]
61
66
  # The name of the operation resource.
@@ -64,7 +69,8 @@ module Google
64
69
  extend ::Google::Protobuf::MessageExts::ClassMethods
65
70
  end
66
71
 
67
- # The request message for Operations.ListOperations.
72
+ # The request message for
73
+ # Operations.ListOperations.
68
74
  # @!attribute [rw] name
69
75
  # @return [::String]
70
76
  # The name of the operation's parent resource.
@@ -82,7 +88,8 @@ module Google
82
88
  extend ::Google::Protobuf::MessageExts::ClassMethods
83
89
  end
84
90
 
85
- # The response message for Operations.ListOperations.
91
+ # The response message for
92
+ # Operations.ListOperations.
86
93
  # @!attribute [rw] operations
87
94
  # @return [::Array<::Google::Longrunning::Operation>]
88
95
  # A list of operations that matches the specified filter in the request.
@@ -94,7 +101,8 @@ module Google
94
101
  extend ::Google::Protobuf::MessageExts::ClassMethods
95
102
  end
96
103
 
97
- # The request message for Operations.CancelOperation.
104
+ # The request message for
105
+ # Operations.CancelOperation.
98
106
  # @!attribute [rw] name
99
107
  # @return [::String]
100
108
  # The name of the operation resource to be cancelled.
@@ -103,7 +111,8 @@ module Google
103
111
  extend ::Google::Protobuf::MessageExts::ClassMethods
104
112
  end
105
113
 
106
- # The request message for Operations.DeleteOperation.
114
+ # The request message for
115
+ # Operations.DeleteOperation.
107
116
  # @!attribute [rw] name
108
117
  # @return [::String]
109
118
  # The name of the operation resource to be deleted.
@@ -112,7 +121,8 @@ module Google
112
121
  extend ::Google::Protobuf::MessageExts::ClassMethods
113
122
  end
114
123
 
115
- # The request message for Operations.WaitOperation.
124
+ # The request message for
125
+ # Operations.WaitOperation.
116
126
  # @!attribute [rw] name
117
127
  # @return [::String]
118
128
  # The name of the operation resource to wait on.
@@ -130,13 +140,12 @@ module Google
130
140
  #
131
141
  # Example:
132
142
  #
133
- # rpc LongRunningRecognize(LongRunningRecognizeRequest)
134
- # returns (google.longrunning.Operation) {
135
- # option (google.longrunning.operation_info) = {
136
- # response_type: "LongRunningRecognizeResponse"
137
- # metadata_type: "LongRunningRecognizeMetadata"
138
- # };
139
- # }
143
+ # rpc Export(ExportRequest) returns (google.longrunning.Operation) {
144
+ # option (google.longrunning.operation_info) = {
145
+ # response_type: "ExportResponse"
146
+ # metadata_type: "ExportMetadata"
147
+ # };
148
+ # }
140
149
  # @!attribute [rw] response_type
141
150
  # @return [::String]
142
151
  # Required. The message name of the primary return type for this
@@ -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-discovery_engine-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-11-13 00:00:00.000000000 Z
10
+ date: 2025-01-29 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.21.1
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.21.1
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -358,7 +357,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
358
357
  licenses:
359
358
  - Apache-2.0
360
359
  metadata: {}
361
- post_install_message:
362
360
  rdoc_options: []
363
361
  require_paths:
364
362
  - lib
@@ -366,15 +364,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
366
364
  requirements:
367
365
  - - ">="
368
366
  - !ruby/object:Gem::Version
369
- version: '2.7'
367
+ version: '3.0'
370
368
  required_rubygems_version: !ruby/object:Gem::Requirement
371
369
  requirements:
372
370
  - - ">="
373
371
  - !ruby/object:Gem::Version
374
372
  version: '0'
375
373
  requirements: []
376
- rubygems_version: 3.5.22
377
- signing_key:
374
+ rubygems_version: 3.6.2
378
375
  specification_version: 4
379
376
  summary: Discovery Engine API.
380
377
  test_files: []