google-cloud-discovery_engine-v1 2.2.0 → 2.3.1

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 (93) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +4 -4
  4. data/lib/google/cloud/discovery_engine/v1/cmek_config_service/client.rb +803 -0
  5. data/lib/google/cloud/discovery_engine/v1/cmek_config_service/credentials.rb +47 -0
  6. data/lib/google/cloud/discovery_engine/v1/cmek_config_service/operations.rb +813 -0
  7. data/lib/google/cloud/discovery_engine/v1/cmek_config_service/paths.rb +135 -0
  8. data/lib/google/cloud/discovery_engine/v1/cmek_config_service/rest/client.rb +749 -0
  9. data/lib/google/cloud/discovery_engine/v1/cmek_config_service/rest/operations.rb +1148 -0
  10. data/lib/google/cloud/discovery_engine/v1/cmek_config_service/rest/service_stub.rb +341 -0
  11. data/lib/google/cloud/discovery_engine/v1/cmek_config_service/rest.rb +53 -0
  12. data/lib/google/cloud/discovery_engine/v1/cmek_config_service.rb +56 -0
  13. data/lib/google/cloud/discovery_engine/v1/completion_service/client.rb +5 -5
  14. data/lib/google/cloud/discovery_engine/v1/completion_service/rest/client.rb +5 -5
  15. data/lib/google/cloud/discovery_engine/v1/completion_service/rest/operations.rb +8 -0
  16. data/lib/google/cloud/discovery_engine/v1/control_service/paths.rb +53 -0
  17. data/lib/google/cloud/discovery_engine/v1/data_store_service/client.rb +11 -1
  18. data/lib/google/cloud/discovery_engine/v1/data_store_service/paths.rb +104 -0
  19. data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/client.rb +11 -1
  20. data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/operations.rb +8 -0
  21. data/lib/google/cloud/discovery_engine/v1/document_service/client.rb +11 -11
  22. data/lib/google/cloud/discovery_engine/v1/document_service/rest/client.rb +11 -11
  23. data/lib/google/cloud/discovery_engine/v1/document_service/rest/operations.rb +8 -0
  24. data/lib/google/cloud/discovery_engine/v1/engine_service/rest/operations.rb +8 -0
  25. data/lib/google/cloud/discovery_engine/v1/identity_mapping_store_service/client.rb +1160 -0
  26. data/lib/google/cloud/discovery_engine/v1/identity_mapping_store_service/credentials.rb +47 -0
  27. data/lib/google/cloud/discovery_engine/v1/identity_mapping_store_service/operations.rb +813 -0
  28. data/lib/google/cloud/discovery_engine/v1/identity_mapping_store_service/paths.rb +154 -0
  29. data/lib/google/cloud/discovery_engine/v1/identity_mapping_store_service/rest/client.rb +1085 -0
  30. data/lib/google/cloud/discovery_engine/v1/identity_mapping_store_service/rest/operations.rb +1148 -0
  31. data/lib/google/cloud/discovery_engine/v1/identity_mapping_store_service/rest/service_stub.rb +511 -0
  32. data/lib/google/cloud/discovery_engine/v1/identity_mapping_store_service/rest.rb +53 -0
  33. data/lib/google/cloud/discovery_engine/v1/identity_mapping_store_service.rb +56 -0
  34. data/lib/google/cloud/discovery_engine/v1/project_service/rest/operations.rb +8 -0
  35. data/lib/google/cloud/discovery_engine/v1/rest.rb +4 -1
  36. data/lib/google/cloud/discovery_engine/v1/schema_service/rest/operations.rb +8 -0
  37. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/rest/operations.rb +8 -0
  38. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/rest/operations.rb +8 -0
  39. data/lib/google/cloud/discovery_engine/v1/user_event_service/client.rb +3 -3
  40. data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/client.rb +3 -3
  41. data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/operations.rb +8 -0
  42. data/lib/google/cloud/discovery_engine/v1/user_license_service/client.rb +630 -0
  43. data/lib/google/cloud/discovery_engine/v1/user_license_service/credentials.rb +47 -0
  44. data/lib/google/cloud/discovery_engine/v1/user_license_service/operations.rb +813 -0
  45. data/lib/google/cloud/discovery_engine/v1/user_license_service/paths.rb +71 -0
  46. data/lib/google/cloud/discovery_engine/v1/user_license_service/rest/client.rb +590 -0
  47. data/lib/google/cloud/discovery_engine/v1/user_license_service/rest/operations.rb +1148 -0
  48. data/lib/google/cloud/discovery_engine/v1/user_license_service/rest/service_stub.rb +204 -0
  49. data/lib/google/cloud/discovery_engine/v1/user_license_service/rest.rb +53 -0
  50. data/lib/google/cloud/discovery_engine/v1/user_license_service.rb +56 -0
  51. data/lib/google/cloud/discovery_engine/v1/version.rb +1 -1
  52. data/lib/google/cloud/discovery_engine/v1.rb +5 -2
  53. data/lib/google/cloud/discoveryengine/v1/answer_pb.rb +1 -1
  54. data/lib/google/cloud/discoveryengine/v1/chunk_pb.rb +4 -1
  55. data/lib/google/cloud/discoveryengine/v1/cmek_config_service_pb.rb +61 -0
  56. data/lib/google/cloud/discoveryengine/v1/cmek_config_service_services_pb.rb +55 -0
  57. data/lib/google/cloud/discoveryengine/v1/common_pb.rb +3 -1
  58. data/lib/google/cloud/discoveryengine/v1/conversational_search_service_pb.rb +1 -1
  59. data/lib/google/cloud/discoveryengine/v1/data_store_pb.rb +4 -1
  60. data/lib/google/cloud/discoveryengine/v1/data_store_service_pb.rb +1 -1
  61. data/lib/google/cloud/discoveryengine/v1/document_pb.rb +5 -1
  62. data/lib/google/cloud/discoveryengine/v1/document_processing_config_pb.rb +1 -1
  63. data/lib/google/cloud/discoveryengine/v1/engine_pb.rb +7 -1
  64. data/lib/google/cloud/discoveryengine/v1/grounded_generation_service_pb.rb +1 -1
  65. data/lib/google/cloud/discoveryengine/v1/grounding_pb.rb +1 -1
  66. data/lib/google/cloud/discoveryengine/v1/identity_mapping_store_pb.rb +48 -0
  67. data/lib/google/cloud/discoveryengine/v1/identity_mapping_store_service_pb.rb +68 -0
  68. data/lib/google/cloud/discoveryengine/v1/identity_mapping_store_service_services_pb.rb +58 -0
  69. data/lib/google/cloud/discoveryengine/v1/search_service_pb.rb +1 -1
  70. data/lib/google/cloud/discoveryengine/v1/site_search_engine_pb.rb +1 -1
  71. data/lib/google/cloud/discoveryengine/v1/user_license_pb.rb +48 -0
  72. data/lib/google/cloud/discoveryengine/v1/user_license_service_pb.rb +61 -0
  73. data/lib/google/cloud/discoveryengine/v1/user_license_service_services_pb.rb +48 -0
  74. data/proto_docs/google/cloud/discoveryengine/v1/answer.rb +17 -0
  75. data/proto_docs/google/cloud/discoveryengine/v1/chunk.rb +54 -0
  76. data/proto_docs/google/cloud/discoveryengine/v1/cmek_config_service.rb +222 -0
  77. data/proto_docs/google/cloud/discoveryengine/v1/common.rb +55 -0
  78. data/proto_docs/google/cloud/discoveryengine/v1/control.rb +1 -3
  79. data/proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb +3 -0
  80. data/proto_docs/google/cloud/discoveryengine/v1/data_store.rb +43 -1
  81. data/proto_docs/google/cloud/discoveryengine/v1/data_store_service.rb +12 -0
  82. data/proto_docs/google/cloud/discoveryengine/v1/document.rb +99 -4
  83. data/proto_docs/google/cloud/discoveryengine/v1/document_processing_config.rb +23 -0
  84. data/proto_docs/google/cloud/discoveryengine/v1/engine.rb +141 -5
  85. data/proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb +8 -0
  86. data/proto_docs/google/cloud/discoveryengine/v1/grounding.rb +9 -0
  87. data/proto_docs/google/cloud/discoveryengine/v1/identity_mapping_store.rb +81 -0
  88. data/proto_docs/google/cloud/discoveryengine/v1/identity_mapping_store_service.rb +279 -0
  89. data/proto_docs/google/cloud/discoveryengine/v1/search_service.rb +6 -0
  90. data/proto_docs/google/cloud/discoveryengine/v1/site_search_engine.rb +6 -0
  91. data/proto_docs/google/cloud/discoveryengine/v1/user_license.rb +85 -0
  92. data/proto_docs/google/cloud/discoveryengine/v1/user_license_service.rb +153 -0
  93. metadata +42 -2
@@ -24,6 +24,47 @@ module Google
24
24
  module DataStoreService
25
25
  # Path helper methods for the DataStoreService API.
26
26
  module Paths
27
+ ##
28
+ # Create a fully-qualified CmekConfig resource string.
29
+ #
30
+ # @overload cmek_config_path(project:, location:)
31
+ # The resource will be in the following format:
32
+ #
33
+ # `projects/{project}/locations/{location}/cmekConfig`
34
+ #
35
+ # @param project [String]
36
+ # @param location [String]
37
+ #
38
+ # @overload cmek_config_path(project:, location:, cmek_config:)
39
+ # The resource will be in the following format:
40
+ #
41
+ # `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`
42
+ #
43
+ # @param project [String]
44
+ # @param location [String]
45
+ # @param cmek_config [String]
46
+ #
47
+ # @return [::String]
48
+ def cmek_config_path **args
49
+ resources = {
50
+ "location:project" => (proc do |project:, location:|
51
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
52
+
53
+ "projects/#{project}/locations/#{location}/cmekConfig"
54
+ end),
55
+ "cmek_config:location:project" => (proc do |project:, location:, cmek_config:|
56
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
57
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
58
+
59
+ "projects/#{project}/locations/#{location}/cmekConfigs/#{cmek_config}"
60
+ end)
61
+ }
62
+
63
+ resource = resources[args.keys.sort.join(":")]
64
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
65
+ resource.call(**args)
66
+ end
67
+
27
68
  ##
28
69
  # Create a fully-qualified Collection resource string.
29
70
  #
@@ -43,6 +84,50 @@ module Google
43
84
  "projects/#{project}/locations/#{location}/collections/#{collection}"
44
85
  end
45
86
 
87
+ ##
88
+ # Create a fully-qualified CryptoKeyVersions resource string.
89
+ #
90
+ # The resource will be in the following format:
91
+ #
92
+ # `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`
93
+ #
94
+ # @param project [String]
95
+ # @param location [String]
96
+ # @param key_ring [String]
97
+ # @param crypto_key [String]
98
+ # @param crypto_key_version [String]
99
+ #
100
+ # @return [::String]
101
+ def crypto_key_versions_path project:, location:, key_ring:, crypto_key:, crypto_key_version:
102
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
103
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
104
+ raise ::ArgumentError, "key_ring cannot contain /" if key_ring.to_s.include? "/"
105
+ raise ::ArgumentError, "crypto_key cannot contain /" if crypto_key.to_s.include? "/"
106
+
107
+ "projects/#{project}/locations/#{location}/keyRings/#{key_ring}/cryptoKeys/#{crypto_key}/cryptoKeyVersions/#{crypto_key_version}"
108
+ end
109
+
110
+ ##
111
+ # Create a fully-qualified CryptoKeys resource string.
112
+ #
113
+ # The resource will be in the following format:
114
+ #
115
+ # `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`
116
+ #
117
+ # @param project [String]
118
+ # @param location [String]
119
+ # @param key_ring [String]
120
+ # @param crypto_key [String]
121
+ #
122
+ # @return [::String]
123
+ def crypto_keys_path project:, location:, key_ring:, crypto_key:
124
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
125
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
126
+ raise ::ArgumentError, "key_ring cannot contain /" if key_ring.to_s.include? "/"
127
+
128
+ "projects/#{project}/locations/#{location}/keyRings/#{key_ring}/cryptoKeys/#{crypto_key}"
129
+ end
130
+
46
131
  ##
47
132
  # Create a fully-qualified DataStore resource string.
48
133
  #
@@ -133,6 +218,25 @@ module Google
133
218
  resource.call(**args)
134
219
  end
135
220
 
221
+ ##
222
+ # Create a fully-qualified IdentityMappingStore resource string.
223
+ #
224
+ # The resource will be in the following format:
225
+ #
226
+ # `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`
227
+ #
228
+ # @param project [String]
229
+ # @param location [String]
230
+ # @param identity_mapping_store [String]
231
+ #
232
+ # @return [::String]
233
+ def identity_mapping_store_path project:, location:, identity_mapping_store:
234
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
235
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
236
+
237
+ "projects/#{project}/locations/#{location}/identityMappingStores/#{identity_mapping_store}"
238
+ end
239
+
136
240
  ##
137
241
  # Create a fully-qualified Schema resource string.
138
242
  #
@@ -226,11 +226,21 @@ module Google
226
226
  # @param options [::Gapic::CallOptions, ::Hash]
227
227
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
228
228
  #
229
- # @overload create_data_store(parent: nil, data_store: nil, data_store_id: nil, create_advanced_site_search: nil, skip_default_schema_creation: nil)
229
+ # @overload create_data_store(cmek_config_name: nil, disable_cmek: nil, parent: nil, data_store: nil, data_store_id: nil, create_advanced_site_search: nil, skip_default_schema_creation: nil)
230
230
  # Pass arguments to `create_data_store` via keyword arguments. Note that at
231
231
  # least one keyword argument is required. To specify no parameters, or to keep all
232
232
  # the default parameter values, pass an empty Hash as a request object (see above).
233
233
  #
234
+ # @param cmek_config_name [::String]
235
+ # Resource name of the CmekConfig to use for protecting this DataStore.
236
+ #
237
+ # Note: The following parameters are mutually exclusive: `cmek_config_name`, `disable_cmek`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
238
+ # @param disable_cmek [::Boolean]
239
+ # DataStore without CMEK protections. If a default CmekConfig is set for
240
+ # the project, setting this field will override the default CmekConfig as
241
+ # well.
242
+ #
243
+ # Note: The following parameters are mutually exclusive: `disable_cmek`, `cmek_config_name`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
234
244
  # @param parent [::String]
235
245
  # Required. The parent resource name, such as
236
246
  # `projects/{project}/locations/{location}/collections/{collection}`.
@@ -1121,6 +1121,14 @@ module Google
1121
1121
  ["name", %r{^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+/operations/[^/]+/?$}, false]
1122
1122
  ]
1123
1123
  )
1124
+ .with_bindings(
1125
+ uri_method: :post,
1126
+ uri_template: "/v1/{name}:cancel",
1127
+ body: "*",
1128
+ matches: [
1129
+ ["name", %r{^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/operations/[^/]+/?$}, false]
1130
+ ]
1131
+ )
1124
1132
  .with_bindings(
1125
1133
  uri_method: :post,
1126
1134
  uri_template: "/v1/{name}:cancel",
@@ -763,39 +763,39 @@ module Google
763
763
  # @param inline_source [::Google::Cloud::DiscoveryEngine::V1::ImportDocumentsRequest::InlineSource, ::Hash]
764
764
  # The Inline source for the input content for documents.
765
765
  #
766
- # 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.
766
+ # Note: The following parameters are mutually exclusive: `inline_source`, `gcs_source`, `bigquery_source`, `fhir_store_source`, `spanner_source`, `cloud_sql_source`, `firestore_source`, `alloy_db_source`, `bigtable_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
767
767
  # @param gcs_source [::Google::Cloud::DiscoveryEngine::V1::GcsSource, ::Hash]
768
768
  # Cloud Storage location for the input content.
769
769
  #
770
- # 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.
770
+ # Note: The following parameters are mutually exclusive: `gcs_source`, `inline_source`, `bigquery_source`, `fhir_store_source`, `spanner_source`, `cloud_sql_source`, `firestore_source`, `alloy_db_source`, `bigtable_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
771
771
  # @param bigquery_source [::Google::Cloud::DiscoveryEngine::V1::BigQuerySource, ::Hash]
772
772
  # BigQuery input source.
773
773
  #
774
- # 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.
774
+ # Note: The following parameters are mutually exclusive: `bigquery_source`, `inline_source`, `gcs_source`, `fhir_store_source`, `spanner_source`, `cloud_sql_source`, `firestore_source`, `alloy_db_source`, `bigtable_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
775
775
  # @param fhir_store_source [::Google::Cloud::DiscoveryEngine::V1::FhirStoreSource, ::Hash]
776
776
  # FhirStore input source.
777
777
  #
778
- # 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.
778
+ # Note: The following parameters are mutually exclusive: `fhir_store_source`, `inline_source`, `gcs_source`, `bigquery_source`, `spanner_source`, `cloud_sql_source`, `firestore_source`, `alloy_db_source`, `bigtable_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
779
779
  # @param spanner_source [::Google::Cloud::DiscoveryEngine::V1::SpannerSource, ::Hash]
780
780
  # Spanner input source.
781
781
  #
782
- # 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.
782
+ # Note: The following parameters are mutually exclusive: `spanner_source`, `inline_source`, `gcs_source`, `bigquery_source`, `fhir_store_source`, `cloud_sql_source`, `firestore_source`, `alloy_db_source`, `bigtable_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
783
783
  # @param cloud_sql_source [::Google::Cloud::DiscoveryEngine::V1::CloudSqlSource, ::Hash]
784
784
  # Cloud SQL input source.
785
785
  #
786
- # 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.
786
+ # Note: The following parameters are mutually exclusive: `cloud_sql_source`, `inline_source`, `gcs_source`, `bigquery_source`, `fhir_store_source`, `spanner_source`, `firestore_source`, `alloy_db_source`, `bigtable_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
787
787
  # @param firestore_source [::Google::Cloud::DiscoveryEngine::V1::FirestoreSource, ::Hash]
788
788
  # Firestore input source.
789
789
  #
790
- # 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.
790
+ # Note: The following parameters are mutually exclusive: `firestore_source`, `inline_source`, `gcs_source`, `bigquery_source`, `fhir_store_source`, `spanner_source`, `cloud_sql_source`, `alloy_db_source`, `bigtable_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
791
791
  # @param alloy_db_source [::Google::Cloud::DiscoveryEngine::V1::AlloyDbSource, ::Hash]
792
792
  # AlloyDB input source.
793
793
  #
794
- # 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.
794
+ # Note: The following parameters are mutually exclusive: `alloy_db_source`, `inline_source`, `gcs_source`, `bigquery_source`, `fhir_store_source`, `spanner_source`, `cloud_sql_source`, `firestore_source`, `bigtable_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
795
795
  # @param bigtable_source [::Google::Cloud::DiscoveryEngine::V1::BigtableSource, ::Hash]
796
796
  # Cloud Bigtable input source.
797
797
  #
798
- # 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.
798
+ # Note: The following parameters are mutually exclusive: `bigtable_source`, `inline_source`, `gcs_source`, `bigquery_source`, `fhir_store_source`, `spanner_source`, `cloud_sql_source`, `firestore_source`, `alloy_db_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
799
799
  # @param parent [::String]
800
800
  # Required. The parent branch resource name, such as
801
801
  # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.
@@ -989,11 +989,11 @@ module Google
989
989
  # * `document_id`: One valid
990
990
  # {::Google::Cloud::DiscoveryEngine::V1::Document#id Document.id} per line.
991
991
  #
992
- # 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.
992
+ # Note: The following parameters are mutually exclusive: `gcs_source`, `inline_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
993
993
  # @param inline_source [::Google::Cloud::DiscoveryEngine::V1::PurgeDocumentsRequest::InlineSource, ::Hash]
994
994
  # Inline source for the input content for purge.
995
995
  #
996
- # 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.
996
+ # Note: The following parameters are mutually exclusive: `inline_source`, `gcs_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
997
997
  # @param parent [::String]
998
998
  # Required. The parent resource name, such as
999
999
  # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.
@@ -721,39 +721,39 @@ module Google
721
721
  # @param inline_source [::Google::Cloud::DiscoveryEngine::V1::ImportDocumentsRequest::InlineSource, ::Hash]
722
722
  # The Inline source for the input content for documents.
723
723
  #
724
- # 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.
724
+ # Note: The following parameters are mutually exclusive: `inline_source`, `gcs_source`, `bigquery_source`, `fhir_store_source`, `spanner_source`, `cloud_sql_source`, `firestore_source`, `alloy_db_source`, `bigtable_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
725
725
  # @param gcs_source [::Google::Cloud::DiscoveryEngine::V1::GcsSource, ::Hash]
726
726
  # Cloud Storage location for the input content.
727
727
  #
728
- # 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.
728
+ # Note: The following parameters are mutually exclusive: `gcs_source`, `inline_source`, `bigquery_source`, `fhir_store_source`, `spanner_source`, `cloud_sql_source`, `firestore_source`, `alloy_db_source`, `bigtable_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
729
729
  # @param bigquery_source [::Google::Cloud::DiscoveryEngine::V1::BigQuerySource, ::Hash]
730
730
  # BigQuery input source.
731
731
  #
732
- # 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.
732
+ # Note: The following parameters are mutually exclusive: `bigquery_source`, `inline_source`, `gcs_source`, `fhir_store_source`, `spanner_source`, `cloud_sql_source`, `firestore_source`, `alloy_db_source`, `bigtable_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
733
733
  # @param fhir_store_source [::Google::Cloud::DiscoveryEngine::V1::FhirStoreSource, ::Hash]
734
734
  # FhirStore input source.
735
735
  #
736
- # 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.
736
+ # Note: The following parameters are mutually exclusive: `fhir_store_source`, `inline_source`, `gcs_source`, `bigquery_source`, `spanner_source`, `cloud_sql_source`, `firestore_source`, `alloy_db_source`, `bigtable_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
737
737
  # @param spanner_source [::Google::Cloud::DiscoveryEngine::V1::SpannerSource, ::Hash]
738
738
  # Spanner input source.
739
739
  #
740
- # 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.
740
+ # Note: The following parameters are mutually exclusive: `spanner_source`, `inline_source`, `gcs_source`, `bigquery_source`, `fhir_store_source`, `cloud_sql_source`, `firestore_source`, `alloy_db_source`, `bigtable_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
741
741
  # @param cloud_sql_source [::Google::Cloud::DiscoveryEngine::V1::CloudSqlSource, ::Hash]
742
742
  # Cloud SQL input source.
743
743
  #
744
- # 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.
744
+ # Note: The following parameters are mutually exclusive: `cloud_sql_source`, `inline_source`, `gcs_source`, `bigquery_source`, `fhir_store_source`, `spanner_source`, `firestore_source`, `alloy_db_source`, `bigtable_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
745
745
  # @param firestore_source [::Google::Cloud::DiscoveryEngine::V1::FirestoreSource, ::Hash]
746
746
  # Firestore input source.
747
747
  #
748
- # 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.
748
+ # Note: The following parameters are mutually exclusive: `firestore_source`, `inline_source`, `gcs_source`, `bigquery_source`, `fhir_store_source`, `spanner_source`, `cloud_sql_source`, `alloy_db_source`, `bigtable_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
749
749
  # @param alloy_db_source [::Google::Cloud::DiscoveryEngine::V1::AlloyDbSource, ::Hash]
750
750
  # AlloyDB input source.
751
751
  #
752
- # 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.
752
+ # Note: The following parameters are mutually exclusive: `alloy_db_source`, `inline_source`, `gcs_source`, `bigquery_source`, `fhir_store_source`, `spanner_source`, `cloud_sql_source`, `firestore_source`, `bigtable_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
753
753
  # @param bigtable_source [::Google::Cloud::DiscoveryEngine::V1::BigtableSource, ::Hash]
754
754
  # Cloud Bigtable input source.
755
755
  #
756
- # 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.
756
+ # Note: The following parameters are mutually exclusive: `bigtable_source`, `inline_source`, `gcs_source`, `bigquery_source`, `fhir_store_source`, `spanner_source`, `cloud_sql_source`, `firestore_source`, `alloy_db_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
757
757
  # @param parent [::String]
758
758
  # Required. The parent branch resource name, such as
759
759
  # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.
@@ -940,11 +940,11 @@ module Google
940
940
  # * `document_id`: One valid
941
941
  # {::Google::Cloud::DiscoveryEngine::V1::Document#id Document.id} per line.
942
942
  #
943
- # 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.
943
+ # Note: The following parameters are mutually exclusive: `gcs_source`, `inline_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
944
944
  # @param inline_source [::Google::Cloud::DiscoveryEngine::V1::PurgeDocumentsRequest::InlineSource, ::Hash]
945
945
  # Inline source for the input content for purge.
946
946
  #
947
- # 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.
947
+ # Note: The following parameters are mutually exclusive: `inline_source`, `gcs_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
948
948
  # @param parent [::String]
949
949
  # Required. The parent resource name, such as
950
950
  # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.
@@ -1121,6 +1121,14 @@ module Google
1121
1121
  ["name", %r{^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+/operations/[^/]+/?$}, false]
1122
1122
  ]
1123
1123
  )
1124
+ .with_bindings(
1125
+ uri_method: :post,
1126
+ uri_template: "/v1/{name}:cancel",
1127
+ body: "*",
1128
+ matches: [
1129
+ ["name", %r{^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/operations/[^/]+/?$}, false]
1130
+ ]
1131
+ )
1124
1132
  .with_bindings(
1125
1133
  uri_method: :post,
1126
1134
  uri_template: "/v1/{name}:cancel",
@@ -1121,6 +1121,14 @@ module Google
1121
1121
  ["name", %r{^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/branches/[^/]+/operations/[^/]+/?$}, false]
1122
1122
  ]
1123
1123
  )
1124
+ .with_bindings(
1125
+ uri_method: :post,
1126
+ uri_template: "/v1/{name}:cancel",
1127
+ body: "*",
1128
+ matches: [
1129
+ ["name", %r{^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/operations/[^/]+/?$}, false]
1130
+ ]
1131
+ )
1124
1132
  .with_bindings(
1125
1133
  uri_method: :post,
1126
1134
  uri_template: "/v1/{name}:cancel",