google-cloud-discovery_engine-v1beta 0.17.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) 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 +7 -0
  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/cloud/discoveryengine/v1beta/answer.rb +6 -0
  65. data/proto_docs/google/cloud/discoveryengine/v1beta/common.rb +8 -0
  66. data/proto_docs/google/cloud/discoveryengine/v1beta/completion.rb +4 -0
  67. data/proto_docs/google/cloud/discoveryengine/v1beta/control.rb +8 -0
  68. data/proto_docs/google/cloud/discoveryengine/v1beta/conversation.rb +4 -0
  69. data/proto_docs/google/cloud/discoveryengine/v1beta/conversational_search_service.rb +8 -0
  70. data/proto_docs/google/cloud/discoveryengine/v1beta/document.rb +8 -0
  71. data/proto_docs/google/cloud/discoveryengine/v1beta/document_processing_config.rb +6 -0
  72. data/proto_docs/google/cloud/discoveryengine/v1beta/document_service.rb +8 -0
  73. data/proto_docs/google/cloud/discoveryengine/v1beta/engine.rb +4 -0
  74. data/proto_docs/google/cloud/discoveryengine/v1beta/grounded_generation_service.rb +6 -0
  75. data/proto_docs/google/cloud/discoveryengine/v1beta/import_config.rb +40 -0
  76. data/proto_docs/google/cloud/discoveryengine/v1beta/purge_config.rb +4 -0
  77. data/proto_docs/google/cloud/discoveryengine/v1beta/schema.rb +4 -0
  78. data/proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb +14 -0
  79. data/proto_docs/google/cloud/discoveryengine/v1beta/serving_config.rb +8 -0
  80. data/proto_docs/google/cloud/discoveryengine/v1beta/user_event.rb +6 -0
  81. data/proto_docs/google/longrunning/operations.rb +4 -0
  82. data/proto_docs/google/protobuf/struct.rb +12 -0
  83. metadata +6 -9
@@ -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::V1beta::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::V1beta::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::V1beta::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::V1beta::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
@@ -127,9 +127,13 @@ module Google
127
127
  # @!attribute [rw] user_input
128
128
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::TextInput]
129
129
  # User text input.
130
+ #
131
+ # 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.
130
132
  # @!attribute [rw] reply
131
133
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::Reply]
132
134
  # Search reply.
135
+ #
136
+ # 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.
133
137
  # @!attribute [r] create_time
134
138
  # @return [::Google::Protobuf::Timestamp]
135
139
  # Output only. Message creation timestamp.
@@ -450,9 +450,13 @@ module Google
450
450
  # @!attribute [rw] search_params
451
451
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::SearchSpec::SearchParams]
452
452
  # Search parameters.
453
+ #
454
+ # 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.
453
455
  # @!attribute [rw] search_result_list
454
456
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::SearchSpec::SearchResultList]
455
457
  # Search result list.
458
+ #
459
+ # 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.
456
460
  class SearchSpec
457
461
  include ::Google::Protobuf::MessageExts
458
462
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -529,9 +533,13 @@ module Google
529
533
  # @!attribute [rw] unstructured_document_info
530
534
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::UnstructuredDocumentInfo]
531
535
  # Unstructured document information.
536
+ #
537
+ # 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.
532
538
  # @!attribute [rw] chunk_info
533
539
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::ChunkInfo]
534
540
  # Chunk information.
541
+ #
542
+ # 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.
535
543
  class SearchResult
536
544
  include ::Google::Protobuf::MessageExts
537
545
  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::V1beta::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::V1beta::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::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,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -53,21 +53,33 @@ module Google
53
53
  # @!attribute [rw] null_value
54
54
  # @return [::Google::Protobuf::NullValue]
55
55
  # Represents a null value.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
56
58
  # @!attribute [rw] number_value
57
59
  # @return [::Float]
58
60
  # Represents a double value.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
63
  # @!attribute [rw] string_value
60
64
  # @return [::String]
61
65
  # Represents a string value.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
62
68
  # @!attribute [rw] bool_value
63
69
  # @return [::Boolean]
64
70
  # Represents a boolean value.
71
+ #
72
+ # Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
73
  # @!attribute [rw] struct_value
66
74
  # @return [::Google::Protobuf::Struct]
67
75
  # Represents a structured value.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
78
  # @!attribute [rw] list_value
69
79
  # @return [::Google::Protobuf::ListValue]
70
80
  # Represents a repeated `Value`.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
71
83
  class Value
72
84
  include ::Google::Protobuf::MessageExts
73
85
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-discovery_engine-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.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-12-10 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.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
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.23
377
- signing_key:
374
+ rubygems_version: 3.6.2
378
375
  specification_version: 4
379
376
  summary: Discovery Engine API.
380
377
  test_files: []