google-cloud-discovery_engine-v1 1.3.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -21
  3. data/lib/google/cloud/discovery_engine/v1/completion_service/client.rb +49 -6
  4. data/lib/google/cloud/discovery_engine/v1/completion_service/operations.rb +19 -15
  5. data/lib/google/cloud/discovery_engine/v1/completion_service/rest/client.rb +49 -6
  6. data/lib/google/cloud/discovery_engine/v1/completion_service/rest/operations.rb +50 -38
  7. data/lib/google/cloud/discovery_engine/v1/completion_service/rest/service_stub.rb +54 -32
  8. data/lib/google/cloud/discovery_engine/v1/control_service/client.rb +36 -6
  9. data/lib/google/cloud/discovery_engine/v1/control_service/rest/client.rb +36 -6
  10. data/lib/google/cloud/discovery_engine/v1/control_service/rest/service_stub.rb +54 -32
  11. data/lib/google/cloud/discovery_engine/v1/conversational_search_service/client.rb +37 -14
  12. data/lib/google/cloud/discovery_engine/v1/conversational_search_service/rest/client.rb +37 -14
  13. data/lib/google/cloud/discovery_engine/v1/conversational_search_service/rest/service_stub.rb +118 -80
  14. data/lib/google/cloud/discovery_engine/v1/data_store_service/client.rb +38 -6
  15. data/lib/google/cloud/discovery_engine/v1/data_store_service/operations.rb +19 -15
  16. data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/client.rb +38 -6
  17. data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/operations.rb +50 -38
  18. data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/service_stub.rb +54 -32
  19. data/lib/google/cloud/discovery_engine/v1/document_service/client.rb +60 -9
  20. data/lib/google/cloud/discovery_engine/v1/document_service/operations.rb +19 -15
  21. data/lib/google/cloud/discovery_engine/v1/document_service/rest/client.rb +60 -9
  22. data/lib/google/cloud/discovery_engine/v1/document_service/rest/operations.rb +50 -38
  23. data/lib/google/cloud/discovery_engine/v1/document_service/rest/service_stub.rb +78 -50
  24. data/lib/google/cloud/discovery_engine/v1/engine_service/client.rb +38 -6
  25. data/lib/google/cloud/discovery_engine/v1/engine_service/operations.rb +19 -15
  26. data/lib/google/cloud/discovery_engine/v1/engine_service/rest/client.rb +38 -6
  27. data/lib/google/cloud/discovery_engine/v1/engine_service/rest/operations.rb +50 -38
  28. data/lib/google/cloud/discovery_engine/v1/engine_service/rest/service_stub.rb +54 -32
  29. data/lib/google/cloud/discovery_engine/v1/grounded_generation_service/client.rb +35 -4
  30. data/lib/google/cloud/discovery_engine/v1/grounded_generation_service/rest/client.rb +35 -3
  31. data/lib/google/cloud/discovery_engine/v1/grounded_generation_service/rest/service_stub.rb +30 -14
  32. data/lib/google/cloud/discovery_engine/v1/project_service/client.rb +36 -2
  33. data/lib/google/cloud/discovery_engine/v1/project_service/operations.rb +19 -15
  34. data/lib/google/cloud/discovery_engine/v1/project_service/rest/client.rb +36 -2
  35. data/lib/google/cloud/discovery_engine/v1/project_service/rest/operations.rb +50 -38
  36. data/lib/google/cloud/discovery_engine/v1/project_service/rest/service_stub.rb +22 -8
  37. data/lib/google/cloud/discovery_engine/v1/rank_service/client.rb +35 -2
  38. data/lib/google/cloud/discovery_engine/v1/rank_service/rest/client.rb +35 -2
  39. data/lib/google/cloud/discovery_engine/v1/rank_service/rest/service_stub.rb +22 -8
  40. data/lib/google/cloud/discovery_engine/v1/recommendation_service/client.rb +35 -2
  41. data/lib/google/cloud/discovery_engine/v1/recommendation_service/rest/client.rb +35 -2
  42. data/lib/google/cloud/discovery_engine/v1/recommendation_service/rest/service_stub.rb +22 -8
  43. data/lib/google/cloud/discovery_engine/v1/schema_service/client.rb +39 -6
  44. data/lib/google/cloud/discovery_engine/v1/schema_service/operations.rb +19 -15
  45. data/lib/google/cloud/discovery_engine/v1/schema_service/rest/client.rb +39 -6
  46. data/lib/google/cloud/discovery_engine/v1/schema_service/rest/operations.rb +50 -38
  47. data/lib/google/cloud/discovery_engine/v1/schema_service/rest/service_stub.rb +54 -32
  48. data/lib/google/cloud/discovery_engine/v1/search_service/client.rb +37 -3
  49. data/lib/google/cloud/discovery_engine/v1/search_service/rest/client.rb +35 -3
  50. data/lib/google/cloud/discovery_engine/v1/search_service/rest/service_stub.rb +30 -14
  51. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/client.rb +36 -3
  52. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/operations.rb +19 -15
  53. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/rest/client.rb +36 -3
  54. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/rest/operations.rb +50 -38
  55. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/rest/service_stub.rb +30 -14
  56. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/client.rb +45 -13
  57. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/operations.rb +19 -15
  58. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/rest/client.rb +45 -13
  59. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/rest/operations.rb +50 -38
  60. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/rest/service_stub.rb +110 -74
  61. data/lib/google/cloud/discovery_engine/v1/user_event_service/client.rb +43 -5
  62. data/lib/google/cloud/discovery_engine/v1/user_event_service/operations.rb +19 -15
  63. data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/client.rb +43 -5
  64. data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/operations.rb +50 -38
  65. data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/service_stub.rb +46 -26
  66. data/lib/google/cloud/discovery_engine/v1/version.rb +1 -1
  67. data/proto_docs/google/api/client.rb +25 -0
  68. data/proto_docs/google/cloud/discoveryengine/v1/answer.rb +6 -0
  69. data/proto_docs/google/cloud/discoveryengine/v1/common.rb +8 -0
  70. data/proto_docs/google/cloud/discoveryengine/v1/completion.rb +4 -0
  71. data/proto_docs/google/cloud/discoveryengine/v1/control.rb +8 -0
  72. data/proto_docs/google/cloud/discoveryengine/v1/conversation.rb +4 -0
  73. data/proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb +8 -0
  74. data/proto_docs/google/cloud/discoveryengine/v1/document.rb +8 -0
  75. data/proto_docs/google/cloud/discoveryengine/v1/document_processing_config.rb +6 -0
  76. data/proto_docs/google/cloud/discoveryengine/v1/document_service.rb +8 -0
  77. data/proto_docs/google/cloud/discoveryengine/v1/engine.rb +4 -0
  78. data/proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb +6 -0
  79. data/proto_docs/google/cloud/discoveryengine/v1/import_config.rb +34 -0
  80. data/proto_docs/google/cloud/discoveryengine/v1/purge_config.rb +4 -0
  81. data/proto_docs/google/cloud/discoveryengine/v1/schema.rb +4 -0
  82. data/proto_docs/google/cloud/discoveryengine/v1/search_service.rb +4 -0
  83. data/proto_docs/google/cloud/discoveryengine/v1/user_event.rb +6 -0
  84. data/proto_docs/google/longrunning/operations.rb +23 -14
  85. data/proto_docs/google/protobuf/struct.rb +12 -0
  86. metadata +6 -9
@@ -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
@@ -422,12 +422,18 @@ module Google
422
422
  # @!attribute [rw] inline_source
423
423
  # @return [::Google::Cloud::DiscoveryEngine::V1::ImportUserEventsRequest::InlineSource]
424
424
  # The Inline source for the input content for UserEvents.
425
+ #
426
+ # 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.
425
427
  # @!attribute [rw] gcs_source
426
428
  # @return [::Google::Cloud::DiscoveryEngine::V1::GcsSource]
427
429
  # Cloud Storage location for the input content.
430
+ #
431
+ # 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.
428
432
  # @!attribute [rw] bigquery_source
429
433
  # @return [::Google::Cloud::DiscoveryEngine::V1::BigQuerySource]
430
434
  # BigQuery input source.
435
+ #
436
+ # 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.
431
437
  # @!attribute [rw] parent
432
438
  # @return [::String]
433
439
  # Required. Parent DataStore resource name, of the form
@@ -519,30 +525,48 @@ module Google
519
525
  # @!attribute [rw] inline_source
520
526
  # @return [::Google::Cloud::DiscoveryEngine::V1::ImportDocumentsRequest::InlineSource]
521
527
  # The Inline source for the input content for documents.
528
+ #
529
+ # 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.
522
530
  # @!attribute [rw] gcs_source
523
531
  # @return [::Google::Cloud::DiscoveryEngine::V1::GcsSource]
524
532
  # Cloud Storage location for the input content.
533
+ #
534
+ # 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.
525
535
  # @!attribute [rw] bigquery_source
526
536
  # @return [::Google::Cloud::DiscoveryEngine::V1::BigQuerySource]
527
537
  # BigQuery input source.
538
+ #
539
+ # 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.
528
540
  # @!attribute [rw] fhir_store_source
529
541
  # @return [::Google::Cloud::DiscoveryEngine::V1::FhirStoreSource]
530
542
  # FhirStore input source.
543
+ #
544
+ # 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.
531
545
  # @!attribute [rw] spanner_source
532
546
  # @return [::Google::Cloud::DiscoveryEngine::V1::SpannerSource]
533
547
  # Spanner input source.
548
+ #
549
+ # 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.
534
550
  # @!attribute [rw] cloud_sql_source
535
551
  # @return [::Google::Cloud::DiscoveryEngine::V1::CloudSqlSource]
536
552
  # Cloud SQL input source.
553
+ #
554
+ # 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.
537
555
  # @!attribute [rw] firestore_source
538
556
  # @return [::Google::Cloud::DiscoveryEngine::V1::FirestoreSource]
539
557
  # Firestore input source.
558
+ #
559
+ # 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.
540
560
  # @!attribute [rw] alloy_db_source
541
561
  # @return [::Google::Cloud::DiscoveryEngine::V1::AlloyDbSource]
542
562
  # AlloyDB input source.
563
+ #
564
+ # 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.
543
565
  # @!attribute [rw] bigtable_source
544
566
  # @return [::Google::Cloud::DiscoveryEngine::V1::BigtableSource]
545
567
  # Cloud Bigtable input source.
568
+ #
569
+ # 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.
546
570
  # @!attribute [rw] parent
547
571
  # @return [::String]
548
572
  # Required. The parent branch resource name, such as
@@ -674,6 +698,8 @@ module Google
674
698
  # @!attribute [rw] inline_source
675
699
  # @return [::Google::Cloud::DiscoveryEngine::V1::ImportSuggestionDenyListEntriesRequest::InlineSource]
676
700
  # The Inline source for the input content for suggestion deny list entries.
701
+ #
702
+ # 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.
677
703
  # @!attribute [rw] gcs_source
678
704
  # @return [::Google::Cloud::DiscoveryEngine::V1::GcsSource]
679
705
  # Cloud Storage location for the input content.
@@ -684,6 +710,8 @@ module Google
684
710
  #
685
711
  # * `suggestion_deny_list` (default): One JSON [SuggestionDenyListEntry]
686
712
  # per line.
713
+ #
714
+ # 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.
687
715
  # @!attribute [rw] parent
688
716
  # @return [::String]
689
717
  # Required. The parent data store resource name for which to import denylist
@@ -740,12 +768,18 @@ module Google
740
768
  # @!attribute [rw] inline_source
741
769
  # @return [::Google::Cloud::DiscoveryEngine::V1::ImportCompletionSuggestionsRequest::InlineSource]
742
770
  # The Inline source for suggestion entries.
771
+ #
772
+ # 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.
743
773
  # @!attribute [rw] gcs_source
744
774
  # @return [::Google::Cloud::DiscoveryEngine::V1::GcsSource]
745
775
  # Cloud Storage location for the input content.
776
+ #
777
+ # 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.
746
778
  # @!attribute [rw] bigquery_source
747
779
  # @return [::Google::Cloud::DiscoveryEngine::V1::BigQuerySource]
748
780
  # BigQuery input source.
781
+ #
782
+ # 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.
749
783
  # @!attribute [rw] parent
750
784
  # @return [::String]
751
785
  # Required. The parent data store resource name for which to import customer
@@ -119,9 +119,13 @@ module Google
119
119
  # Supported `data_schema`:
120
120
  # * `document_id`: One valid
121
121
  # {::Google::Cloud::DiscoveryEngine::V1::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::V1::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
@@ -1095,11 +1095,15 @@ module Google
1095
1095
  # @!attribute [rw] value
1096
1096
  # @return [::String]
1097
1097
  # Text value of a facet, such as "Black" for facet "colors".
1098
+ #
1099
+ # 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.
1098
1100
  # @!attribute [rw] interval
1099
1101
  # @return [::Google::Cloud::DiscoveryEngine::V1::Interval]
1100
1102
  # Interval value for a facet, such as [10, 20) for facet "price". It
1101
1103
  # matches
1102
1104
  # {::Google::Cloud::DiscoveryEngine::V1::SearchRequest::FacetSpec::FacetKey#intervals SearchRequest.FacetSpec.FacetKey.intervals}.
1105
+ #
1106
+ # 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.
1103
1107
  # @!attribute [rw] count
1104
1108
  # @return [::Integer]
1105
1109
  # Number of items that have this facet value.
@@ -423,15 +423,21 @@ module Google
423
423
  # @!attribute [rw] id
424
424
  # @return [::String]
425
425
  # The {::Google::Cloud::DiscoveryEngine::V1::Document Document} resource ID.
426
+ #
427
+ # 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.
426
428
  # @!attribute [rw] name
427
429
  # @return [::String]
428
430
  # The {::Google::Cloud::DiscoveryEngine::V1::Document Document} resource full
429
431
  # name, of the form:
430
432
  # `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}`
433
+ #
434
+ # 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.
431
435
  # @!attribute [rw] uri
432
436
  # @return [::String]
433
437
  # The {::Google::Cloud::DiscoveryEngine::V1::Document Document} URI - only
434
438
  # allowed for website data stores.
439
+ #
440
+ # 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.
435
441
  # @!attribute [rw] quantity
436
442
  # @return [::Integer]
437
443
  # 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-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.5.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-10-28 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
@@ -305,7 +304,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
305
304
  licenses:
306
305
  - Apache-2.0
307
306
  metadata: {}
308
- post_install_message:
309
307
  rdoc_options: []
310
308
  require_paths:
311
309
  - lib
@@ -313,15 +311,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
313
311
  requirements:
314
312
  - - ">="
315
313
  - !ruby/object:Gem::Version
316
- version: '2.7'
314
+ version: '3.0'
317
315
  required_rubygems_version: !ruby/object:Gem::Requirement
318
316
  requirements:
319
317
  - - ">="
320
318
  - !ruby/object:Gem::Version
321
319
  version: '0'
322
320
  requirements: []
323
- rubygems_version: 3.5.21
324
- signing_key:
321
+ rubygems_version: 3.6.2
325
322
  specification_version: 4
326
323
  summary: Discovery Engine API.
327
324
  test_files: []