google-apis-discoveryengine_v1 0.51.0 → 0.53.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.
@@ -198,6 +198,89 @@ module Google
198
198
  execute_or_queue_command(command, &block)
199
199
  end
200
200
 
201
+ # Creates a Collection and sets up the DataConnector for it. To stop a
202
+ # DataConnector after setup, use the CollectionService.DeleteCollection method.
203
+ # @param [String] parent
204
+ # Required. The parent of Collection, in the format of `projects/`project`/
205
+ # locations/`location``.
206
+ # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SetUpDataConnectorRequest] google_cloud_discoveryengine_v1_set_up_data_connector_request_object
207
+ # @param [String] fields
208
+ # Selector specifying which fields to include in a partial response.
209
+ # @param [String] quota_user
210
+ # Available to use for quota purposes for server-side applications. Can be any
211
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
212
+ # @param [Google::Apis::RequestOptions] options
213
+ # Request-specific options
214
+ #
215
+ # @yield [result, err] Result & error if block supplied
216
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation] parsed result object
217
+ # @yieldparam err [StandardError] error object if request failed
218
+ #
219
+ # @return [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation]
220
+ #
221
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
222
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
223
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
224
+ def set_project_location_up_data_connector(parent, google_cloud_discoveryengine_v1_set_up_data_connector_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
225
+ command = make_simple_command(:post, 'v1/{+parent}:setUpDataConnector', options)
226
+ command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SetUpDataConnectorRequest::Representation
227
+ command.request_object = google_cloud_discoveryengine_v1_set_up_data_connector_request_object
228
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation
229
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation
230
+ command.params['parent'] = parent unless parent.nil?
231
+ command.query['fields'] = fields unless fields.nil?
232
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
233
+ execute_or_queue_command(command, &block)
234
+ end
235
+
236
+ # Creates a Collection and sets up the DataConnector for it. To stop a
237
+ # DataConnector after setup, use the CollectionService.DeleteCollection method.
238
+ # @param [String] parent
239
+ # Required. The parent of Collection, in the format of `projects/`project`/
240
+ # locations/`location``.
241
+ # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnector] google_cloud_discoveryengine_v1_data_connector_object
242
+ # @param [String] collection_display_name
243
+ # Required. The display name of the Collection. Should be human readable, used
244
+ # to display collections in the Console Dashboard. UTF-8 encoded string with
245
+ # limit of 1024 characters.
246
+ # @param [String] collection_id
247
+ # Required. The ID to use for the Collection, which will become the final
248
+ # component of the Collection's resource name. A new Collection is created as
249
+ # part of the DataConnector setup. DataConnector is a singleton resource under
250
+ # Collection, managing all DataStores of the Collection. This field must conform
251
+ # to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length
252
+ # limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
253
+ # @param [String] fields
254
+ # Selector specifying which fields to include in a partial response.
255
+ # @param [String] quota_user
256
+ # Available to use for quota purposes for server-side applications. Can be any
257
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
258
+ # @param [Google::Apis::RequestOptions] options
259
+ # Request-specific options
260
+ #
261
+ # @yield [result, err] Result & error if block supplied
262
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation] parsed result object
263
+ # @yieldparam err [StandardError] error object if request failed
264
+ #
265
+ # @return [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation]
266
+ #
267
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
268
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
269
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
270
+ def set_project_location_up_data_connector_v2(parent, google_cloud_discoveryengine_v1_data_connector_object = nil, collection_display_name: nil, collection_id: nil, fields: nil, quota_user: nil, options: nil, &block)
271
+ command = make_simple_command(:post, 'v1/{+parent}:setUpDataConnectorV2', options)
272
+ command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnector::Representation
273
+ command.request_object = google_cloud_discoveryengine_v1_data_connector_object
274
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation
275
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation
276
+ command.params['parent'] = parent unless parent.nil?
277
+ command.query['collectionDisplayName'] = collection_display_name unless collection_display_name.nil?
278
+ command.query['collectionId'] = collection_id unless collection_id.nil?
279
+ command.query['fields'] = fields unless fields.nil?
280
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
281
+ execute_or_queue_command(command, &block)
282
+ end
283
+
201
284
  # Default ACL configuration for use in a location of a customer's project.
202
285
  # Updates will only reflect to new data stores. Existing data stores will still
203
286
  # use the old value.
@@ -414,6 +497,116 @@ module Google
414
497
  execute_or_queue_command(command, &block)
415
498
  end
416
499
 
500
+ # Deletes a Collection.
501
+ # @param [String] name
502
+ # Required. The full resource name of the Collection, in the format of `projects/
503
+ # `project`/locations/`location`/collections/`collection``.
504
+ # @param [String] fields
505
+ # Selector specifying which fields to include in a partial response.
506
+ # @param [String] quota_user
507
+ # Available to use for quota purposes for server-side applications. Can be any
508
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
509
+ # @param [Google::Apis::RequestOptions] options
510
+ # Request-specific options
511
+ #
512
+ # @yield [result, err] Result & error if block supplied
513
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation] parsed result object
514
+ # @yieldparam err [StandardError] error object if request failed
515
+ #
516
+ # @return [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation]
517
+ #
518
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
519
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
520
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
521
+ def delete_project_location_collection(name, fields: nil, quota_user: nil, options: nil, &block)
522
+ command = make_simple_command(:delete, 'v1/{+name}', options)
523
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation
524
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation
525
+ command.params['name'] = name unless name.nil?
526
+ command.query['fields'] = fields unless fields.nil?
527
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
528
+ execute_or_queue_command(command, &block)
529
+ end
530
+
531
+ # Gets the DataConnector. DataConnector is a singleton resource for each
532
+ # Collection.
533
+ # @param [String] name
534
+ # Required. Full resource name of DataConnector, such as `projects/`project`/
535
+ # locations/`location`/collections/`collection_id`/dataConnector`. If the caller
536
+ # does not have permission to access the DataConnector, regardless of whether or
537
+ # not it exists, a PERMISSION_DENIED error is returned. If the requested
538
+ # DataConnector does not exist, a NOT_FOUND error is returned.
539
+ # @param [String] fields
540
+ # Selector specifying which fields to include in a partial response.
541
+ # @param [String] quota_user
542
+ # Available to use for quota purposes for server-side applications. Can be any
543
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
544
+ # @param [Google::Apis::RequestOptions] options
545
+ # Request-specific options
546
+ #
547
+ # @yield [result, err] Result & error if block supplied
548
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnector] parsed result object
549
+ # @yieldparam err [StandardError] error object if request failed
550
+ #
551
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnector]
552
+ #
553
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
554
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
555
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
556
+ def get_project_location_collection_data_connector(name, fields: nil, quota_user: nil, options: nil, &block)
557
+ command = make_simple_command(:get, 'v1/{+name}', options)
558
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnector::Representation
559
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnector
560
+ command.params['name'] = name unless name.nil?
561
+ command.query['fields'] = fields unless fields.nil?
562
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
563
+ execute_or_queue_command(command, &block)
564
+ end
565
+
566
+ # Updates a DataConnector.
567
+ # @param [String] name
568
+ # Output only. The full resource name of the Data Connector. Format: `projects/*/
569
+ # locations/*/collections/*/dataConnector`.
570
+ # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnector] google_cloud_discoveryengine_v1_data_connector_object
571
+ # @param [String] update_mask
572
+ # Indicates which fields in the provided DataConnector to update. Supported
573
+ # field paths include: - refresh_interval - params - auto_run_disabled -
574
+ # action_config - action_config.action_params - action_config.service_name -
575
+ # destination_configs - blocking_reasons - sync_mode - incremental_sync_disabled
576
+ # - incremental_refresh_interval Note: Support for these fields may vary
577
+ # depending on the connector type. For example, not all connectors support `
578
+ # destination_configs`. If an unsupported or unknown field path is provided, the
579
+ # request will return an INVALID_ARGUMENT error.
580
+ # @param [String] fields
581
+ # Selector specifying which fields to include in a partial response.
582
+ # @param [String] quota_user
583
+ # Available to use for quota purposes for server-side applications. Can be any
584
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
585
+ # @param [Google::Apis::RequestOptions] options
586
+ # Request-specific options
587
+ #
588
+ # @yield [result, err] Result & error if block supplied
589
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnector] parsed result object
590
+ # @yieldparam err [StandardError] error object if request failed
591
+ #
592
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnector]
593
+ #
594
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
595
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
596
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
597
+ def update_project_location_collection_data_connector(name, google_cloud_discoveryengine_v1_data_connector_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
598
+ command = make_simple_command(:patch, 'v1/{+name}', options)
599
+ command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnector::Representation
600
+ command.request_object = google_cloud_discoveryengine_v1_data_connector_object
601
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnector::Representation
602
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnector
603
+ command.params['name'] = name unless name.nil?
604
+ command.query['updateMask'] = update_mask unless update_mask.nil?
605
+ command.query['fields'] = fields unless fields.nil?
606
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
607
+ execute_or_queue_command(command, &block)
608
+ end
609
+
417
610
  # Gets the latest state of a long-running operation. Clients can use this method
418
611
  # to poll the operation result at intervals as recommended by the API service.
419
612
  # @param [String] name
@@ -455,6 +648,13 @@ module Google
455
648
  # The standard list page size.
456
649
  # @param [String] page_token
457
650
  # The standard list page token.
651
+ # @param [Boolean] return_partial_success
652
+ # When set to `true`, operations that are reachable are returned as normal, and
653
+ # those that are unreachable are returned in the [ListOperationsResponse.
654
+ # unreachable] field. This can only be `true` when reading across collections e.
655
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
656
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
657
+ # explicitly documented otherwise in service or product specific documentation.
458
658
  # @param [String] fields
459
659
  # Selector specifying which fields to include in a partial response.
460
660
  # @param [String] quota_user
@@ -472,7 +672,7 @@ module Google
472
672
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
473
673
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
474
674
  # @raise [Google::Apis::AuthorizationError] Authorization is required
475
- def list_project_location_collection_data_connector_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
675
+ def list_project_location_collection_data_connector_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
476
676
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
477
677
  command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse::Representation
478
678
  command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse
@@ -480,6 +680,7 @@ module Google
480
680
  command.query['filter'] = filter unless filter.nil?
481
681
  command.query['pageSize'] = page_size unless page_size.nil?
482
682
  command.query['pageToken'] = page_token unless page_token.nil?
683
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
483
684
  command.query['fields'] = fields unless fields.nil?
484
685
  command.query['quotaUser'] = quota_user unless quota_user.nil?
485
686
  execute_or_queue_command(command, &block)
@@ -1237,6 +1438,13 @@ module Google
1237
1438
  # The standard list page size.
1238
1439
  # @param [String] page_token
1239
1440
  # The standard list page token.
1441
+ # @param [Boolean] return_partial_success
1442
+ # When set to `true`, operations that are reachable are returned as normal, and
1443
+ # those that are unreachable are returned in the [ListOperationsResponse.
1444
+ # unreachable] field. This can only be `true` when reading across collections e.
1445
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1446
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
1447
+ # explicitly documented otherwise in service or product specific documentation.
1240
1448
  # @param [String] fields
1241
1449
  # Selector specifying which fields to include in a partial response.
1242
1450
  # @param [String] quota_user
@@ -1254,7 +1462,7 @@ module Google
1254
1462
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1255
1463
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1256
1464
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1257
- def list_project_location_collection_data_store_branch_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1465
+ def list_project_location_collection_data_store_branch_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
1258
1466
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
1259
1467
  command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse::Representation
1260
1468
  command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse
@@ -1262,6 +1470,7 @@ module Google
1262
1470
  command.query['filter'] = filter unless filter.nil?
1263
1471
  command.query['pageSize'] = page_size unless page_size.nil?
1264
1472
  command.query['pageToken'] = page_token unless page_token.nil?
1473
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1265
1474
  command.query['fields'] = fields unless fields.nil?
1266
1475
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1267
1476
  execute_or_queue_command(command, &block)
@@ -1866,6 +2075,13 @@ module Google
1866
2075
  # The standard list page size.
1867
2076
  # @param [String] page_token
1868
2077
  # The standard list page token.
2078
+ # @param [Boolean] return_partial_success
2079
+ # When set to `true`, operations that are reachable are returned as normal, and
2080
+ # those that are unreachable are returned in the [ListOperationsResponse.
2081
+ # unreachable] field. This can only be `true` when reading across collections e.
2082
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2083
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2084
+ # explicitly documented otherwise in service or product specific documentation.
1869
2085
  # @param [String] fields
1870
2086
  # Selector specifying which fields to include in a partial response.
1871
2087
  # @param [String] quota_user
@@ -1883,7 +2099,7 @@ module Google
1883
2099
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1884
2100
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1885
2101
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1886
- def list_project_location_collection_data_store_model_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2102
+ def list_project_location_collection_data_store_model_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
1887
2103
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
1888
2104
  command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse::Representation
1889
2105
  command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse
@@ -1891,6 +2107,7 @@ module Google
1891
2107
  command.query['filter'] = filter unless filter.nil?
1892
2108
  command.query['pageSize'] = page_size unless page_size.nil?
1893
2109
  command.query['pageToken'] = page_token unless page_token.nil?
2110
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1894
2111
  command.query['fields'] = fields unless fields.nil?
1895
2112
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1896
2113
  execute_or_queue_command(command, &block)
@@ -1937,6 +2154,13 @@ module Google
1937
2154
  # The standard list page size.
1938
2155
  # @param [String] page_token
1939
2156
  # The standard list page token.
2157
+ # @param [Boolean] return_partial_success
2158
+ # When set to `true`, operations that are reachable are returned as normal, and
2159
+ # those that are unreachable are returned in the [ListOperationsResponse.
2160
+ # unreachable] field. This can only be `true` when reading across collections e.
2161
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2162
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2163
+ # explicitly documented otherwise in service or product specific documentation.
1940
2164
  # @param [String] fields
1941
2165
  # Selector specifying which fields to include in a partial response.
1942
2166
  # @param [String] quota_user
@@ -1954,7 +2178,7 @@ module Google
1954
2178
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1955
2179
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1956
2180
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1957
- def list_project_location_collection_data_store_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2181
+ def list_project_location_collection_data_store_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
1958
2182
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
1959
2183
  command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse::Representation
1960
2184
  command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse
@@ -1962,6 +2186,7 @@ module Google
1962
2186
  command.query['filter'] = filter unless filter.nil?
1963
2187
  command.query['pageSize'] = page_size unless page_size.nil?
1964
2188
  command.query['pageToken'] = page_token unless page_token.nil?
2189
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1965
2190
  command.query['fields'] = fields unless fields.nil?
1966
2191
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1967
2192
  execute_or_queue_command(command, &block)
@@ -2195,6 +2420,13 @@ module Google
2195
2420
  # The standard list page size.
2196
2421
  # @param [String] page_token
2197
2422
  # The standard list page token.
2423
+ # @param [Boolean] return_partial_success
2424
+ # When set to `true`, operations that are reachable are returned as normal, and
2425
+ # those that are unreachable are returned in the [ListOperationsResponse.
2426
+ # unreachable] field. This can only be `true` when reading across collections e.
2427
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2428
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2429
+ # explicitly documented otherwise in service or product specific documentation.
2198
2430
  # @param [String] fields
2199
2431
  # Selector specifying which fields to include in a partial response.
2200
2432
  # @param [String] quota_user
@@ -2212,7 +2444,7 @@ module Google
2212
2444
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2213
2445
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2214
2446
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2215
- def list_project_location_collection_data_store_schema_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2447
+ def list_project_location_collection_data_store_schema_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
2216
2448
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
2217
2449
  command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse::Representation
2218
2450
  command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse
@@ -2220,6 +2452,7 @@ module Google
2220
2452
  command.query['filter'] = filter unless filter.nil?
2221
2453
  command.query['pageSize'] = page_size unless page_size.nil?
2222
2454
  command.query['pageToken'] = page_token unless page_token.nil?
2455
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
2223
2456
  command.query['fields'] = fields unless fields.nil?
2224
2457
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2225
2458
  execute_or_queue_command(command, &block)
@@ -2920,6 +3153,13 @@ module Google
2920
3153
  # The standard list page size.
2921
3154
  # @param [String] page_token
2922
3155
  # The standard list page token.
3156
+ # @param [Boolean] return_partial_success
3157
+ # When set to `true`, operations that are reachable are returned as normal, and
3158
+ # those that are unreachable are returned in the [ListOperationsResponse.
3159
+ # unreachable] field. This can only be `true` when reading across collections e.
3160
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
3161
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
3162
+ # explicitly documented otherwise in service or product specific documentation.
2923
3163
  # @param [String] fields
2924
3164
  # Selector specifying which fields to include in a partial response.
2925
3165
  # @param [String] quota_user
@@ -2937,7 +3177,7 @@ module Google
2937
3177
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2938
3178
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2939
3179
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2940
- def list_project_location_collection_data_store_site_search_engine_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3180
+ def list_project_location_collection_data_store_site_search_engine_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
2941
3181
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
2942
3182
  command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse::Representation
2943
3183
  command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse
@@ -2945,6 +3185,7 @@ module Google
2945
3185
  command.query['filter'] = filter unless filter.nil?
2946
3186
  command.query['pageSize'] = page_size unless page_size.nil?
2947
3187
  command.query['pageToken'] = page_token unless page_token.nil?
3188
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
2948
3189
  command.query['fields'] = fields unless fields.nil?
2949
3190
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2950
3191
  execute_or_queue_command(command, &block)
@@ -3316,6 +3557,13 @@ module Google
3316
3557
  # The standard list page size.
3317
3558
  # @param [String] page_token
3318
3559
  # The standard list page token.
3560
+ # @param [Boolean] return_partial_success
3561
+ # When set to `true`, operations that are reachable are returned as normal, and
3562
+ # those that are unreachable are returned in the [ListOperationsResponse.
3563
+ # unreachable] field. This can only be `true` when reading across collections e.
3564
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
3565
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
3566
+ # explicitly documented otherwise in service or product specific documentation.
3319
3567
  # @param [String] fields
3320
3568
  # Selector specifying which fields to include in a partial response.
3321
3569
  # @param [String] quota_user
@@ -3333,7 +3581,7 @@ module Google
3333
3581
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3334
3582
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3335
3583
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3336
- def list_project_location_collection_data_store_site_search_engine_target_site_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3584
+ def list_project_location_collection_data_store_site_search_engine_target_site_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
3337
3585
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
3338
3586
  command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse::Representation
3339
3587
  command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse
@@ -3341,6 +3589,7 @@ module Google
3341
3589
  command.query['filter'] = filter unless filter.nil?
3342
3590
  command.query['pageSize'] = page_size unless page_size.nil?
3343
3591
  command.query['pageToken'] = page_token unless page_token.nil?
3592
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
3344
3593
  command.query['fields'] = fields unless fields.nil?
3345
3594
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3346
3595
  execute_or_queue_command(command, &block)
@@ -4414,6 +4663,13 @@ module Google
4414
4663
  # The standard list page size.
4415
4664
  # @param [String] page_token
4416
4665
  # The standard list page token.
4666
+ # @param [Boolean] return_partial_success
4667
+ # When set to `true`, operations that are reachable are returned as normal, and
4668
+ # those that are unreachable are returned in the [ListOperationsResponse.
4669
+ # unreachable] field. This can only be `true` when reading across collections e.
4670
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
4671
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
4672
+ # explicitly documented otherwise in service or product specific documentation.
4417
4673
  # @param [String] fields
4418
4674
  # Selector specifying which fields to include in a partial response.
4419
4675
  # @param [String] quota_user
@@ -4431,7 +4687,7 @@ module Google
4431
4687
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4432
4688
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4433
4689
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4434
- def list_project_location_collection_engine_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4690
+ def list_project_location_collection_engine_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
4435
4691
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
4436
4692
  command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse::Representation
4437
4693
  command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse
@@ -4439,6 +4695,7 @@ module Google
4439
4695
  command.query['filter'] = filter unless filter.nil?
4440
4696
  command.query['pageSize'] = page_size unless page_size.nil?
4441
4697
  command.query['pageToken'] = page_token unless page_token.nil?
4698
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
4442
4699
  command.query['fields'] = fields unless fields.nil?
4443
4700
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4444
4701
  execute_or_queue_command(command, &block)
@@ -4956,6 +5213,13 @@ module Google
4956
5213
  # The standard list page size.
4957
5214
  # @param [String] page_token
4958
5215
  # The standard list page token.
5216
+ # @param [Boolean] return_partial_success
5217
+ # When set to `true`, operations that are reachable are returned as normal, and
5218
+ # those that are unreachable are returned in the [ListOperationsResponse.
5219
+ # unreachable] field. This can only be `true` when reading across collections e.
5220
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
5221
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
5222
+ # explicitly documented otherwise in service or product specific documentation.
4959
5223
  # @param [String] fields
4960
5224
  # Selector specifying which fields to include in a partial response.
4961
5225
  # @param [String] quota_user
@@ -4973,7 +5237,7 @@ module Google
4973
5237
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4974
5238
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4975
5239
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4976
- def list_project_location_collection_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5240
+ def list_project_location_collection_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
4977
5241
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
4978
5242
  command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse::Representation
4979
5243
  command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse
@@ -4981,6 +5245,7 @@ module Google
4981
5245
  command.query['filter'] = filter unless filter.nil?
4982
5246
  command.query['pageSize'] = page_size unless page_size.nil?
4983
5247
  command.query['pageToken'] = page_token unless page_token.nil?
5248
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
4984
5249
  command.query['fields'] = fields unless fields.nil?
4985
5250
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4986
5251
  execute_or_queue_command(command, &block)
@@ -5703,6 +5968,13 @@ module Google
5703
5968
  # The standard list page size.
5704
5969
  # @param [String] page_token
5705
5970
  # The standard list page token.
5971
+ # @param [Boolean] return_partial_success
5972
+ # When set to `true`, operations that are reachable are returned as normal, and
5973
+ # those that are unreachable are returned in the [ListOperationsResponse.
5974
+ # unreachable] field. This can only be `true` when reading across collections e.
5975
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
5976
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
5977
+ # explicitly documented otherwise in service or product specific documentation.
5706
5978
  # @param [String] fields
5707
5979
  # Selector specifying which fields to include in a partial response.
5708
5980
  # @param [String] quota_user
@@ -5720,7 +5992,7 @@ module Google
5720
5992
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5721
5993
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5722
5994
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5723
- def list_project_location_data_store_branch_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5995
+ def list_project_location_data_store_branch_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
5724
5996
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
5725
5997
  command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse::Representation
5726
5998
  command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse
@@ -5728,6 +6000,7 @@ module Google
5728
6000
  command.query['filter'] = filter unless filter.nil?
5729
6001
  command.query['pageSize'] = page_size unless page_size.nil?
5730
6002
  command.query['pageToken'] = page_token unless page_token.nil?
6003
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
5731
6004
  command.query['fields'] = fields unless fields.nil?
5732
6005
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5733
6006
  execute_or_queue_command(command, &block)
@@ -6300,6 +6573,13 @@ module Google
6300
6573
  # The standard list page size.
6301
6574
  # @param [String] page_token
6302
6575
  # The standard list page token.
6576
+ # @param [Boolean] return_partial_success
6577
+ # When set to `true`, operations that are reachable are returned as normal, and
6578
+ # those that are unreachable are returned in the [ListOperationsResponse.
6579
+ # unreachable] field. This can only be `true` when reading across collections e.
6580
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
6581
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
6582
+ # explicitly documented otherwise in service or product specific documentation.
6303
6583
  # @param [String] fields
6304
6584
  # Selector specifying which fields to include in a partial response.
6305
6585
  # @param [String] quota_user
@@ -6317,7 +6597,7 @@ module Google
6317
6597
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6318
6598
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6319
6599
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6320
- def list_project_location_data_store_model_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6600
+ def list_project_location_data_store_model_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
6321
6601
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
6322
6602
  command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse::Representation
6323
6603
  command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse
@@ -6325,6 +6605,7 @@ module Google
6325
6605
  command.query['filter'] = filter unless filter.nil?
6326
6606
  command.query['pageSize'] = page_size unless page_size.nil?
6327
6607
  command.query['pageToken'] = page_token unless page_token.nil?
6608
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
6328
6609
  command.query['fields'] = fields unless fields.nil?
6329
6610
  command.query['quotaUser'] = quota_user unless quota_user.nil?
6330
6611
  execute_or_queue_command(command, &block)
@@ -6371,6 +6652,13 @@ module Google
6371
6652
  # The standard list page size.
6372
6653
  # @param [String] page_token
6373
6654
  # The standard list page token.
6655
+ # @param [Boolean] return_partial_success
6656
+ # When set to `true`, operations that are reachable are returned as normal, and
6657
+ # those that are unreachable are returned in the [ListOperationsResponse.
6658
+ # unreachable] field. This can only be `true` when reading across collections e.
6659
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
6660
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
6661
+ # explicitly documented otherwise in service or product specific documentation.
6374
6662
  # @param [String] fields
6375
6663
  # Selector specifying which fields to include in a partial response.
6376
6664
  # @param [String] quota_user
@@ -6388,7 +6676,7 @@ module Google
6388
6676
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6389
6677
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6390
6678
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6391
- def list_project_location_data_store_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6679
+ def list_project_location_data_store_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
6392
6680
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
6393
6681
  command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse::Representation
6394
6682
  command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse
@@ -6396,6 +6684,7 @@ module Google
6396
6684
  command.query['filter'] = filter unless filter.nil?
6397
6685
  command.query['pageSize'] = page_size unless page_size.nil?
6398
6686
  command.query['pageToken'] = page_token unless page_token.nil?
6687
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
6399
6688
  command.query['fields'] = fields unless fields.nil?
6400
6689
  command.query['quotaUser'] = quota_user unless quota_user.nil?
6401
6690
  execute_or_queue_command(command, &block)
@@ -8065,6 +8354,13 @@ module Google
8065
8354
  # The standard list page size.
8066
8355
  # @param [String] page_token
8067
8356
  # The standard list page token.
8357
+ # @param [Boolean] return_partial_success
8358
+ # When set to `true`, operations that are reachable are returned as normal, and
8359
+ # those that are unreachable are returned in the [ListOperationsResponse.
8360
+ # unreachable] field. This can only be `true` when reading across collections e.
8361
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
8362
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
8363
+ # explicitly documented otherwise in service or product specific documentation.
8068
8364
  # @param [String] fields
8069
8365
  # Selector specifying which fields to include in a partial response.
8070
8366
  # @param [String] quota_user
@@ -8082,7 +8378,7 @@ module Google
8082
8378
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8083
8379
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8084
8380
  # @raise [Google::Apis::AuthorizationError] Authorization is required
8085
- def list_project_location_identity_mapping_store_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
8381
+ def list_project_location_identity_mapping_store_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
8086
8382
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
8087
8383
  command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse::Representation
8088
8384
  command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse
@@ -8090,6 +8386,7 @@ module Google
8090
8386
  command.query['filter'] = filter unless filter.nil?
8091
8387
  command.query['pageSize'] = page_size unless page_size.nil?
8092
8388
  command.query['pageToken'] = page_token unless page_token.nil?
8389
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
8093
8390
  command.query['fields'] = fields unless fields.nil?
8094
8391
  command.query['quotaUser'] = quota_user unless quota_user.nil?
8095
8392
  execute_or_queue_command(command, &block)
@@ -8136,6 +8433,13 @@ module Google
8136
8433
  # The standard list page size.
8137
8434
  # @param [String] page_token
8138
8435
  # The standard list page token.
8436
+ # @param [Boolean] return_partial_success
8437
+ # When set to `true`, operations that are reachable are returned as normal, and
8438
+ # those that are unreachable are returned in the [ListOperationsResponse.
8439
+ # unreachable] field. This can only be `true` when reading across collections e.
8440
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
8441
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
8442
+ # explicitly documented otherwise in service or product specific documentation.
8139
8443
  # @param [String] fields
8140
8444
  # Selector specifying which fields to include in a partial response.
8141
8445
  # @param [String] quota_user
@@ -8153,7 +8457,7 @@ module Google
8153
8457
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8154
8458
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8155
8459
  # @raise [Google::Apis::AuthorizationError] Authorization is required
8156
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
8460
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
8157
8461
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
8158
8462
  command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse::Representation
8159
8463
  command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse
@@ -8161,6 +8465,7 @@ module Google
8161
8465
  command.query['filter'] = filter unless filter.nil?
8162
8466
  command.query['pageSize'] = page_size unless page_size.nil?
8163
8467
  command.query['pageToken'] = page_token unless page_token.nil?
8468
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
8164
8469
  command.query['fields'] = fields unless fields.nil?
8165
8470
  command.query['quotaUser'] = quota_user unless quota_user.nil?
8166
8471
  execute_or_queue_command(command, &block)
@@ -8531,6 +8836,13 @@ module Google
8531
8836
  # The standard list page size.
8532
8837
  # @param [String] page_token
8533
8838
  # The standard list page token.
8839
+ # @param [Boolean] return_partial_success
8840
+ # When set to `true`, operations that are reachable are returned as normal, and
8841
+ # those that are unreachable are returned in the [ListOperationsResponse.
8842
+ # unreachable] field. This can only be `true` when reading across collections e.
8843
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
8844
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
8845
+ # explicitly documented otherwise in service or product specific documentation.
8534
8846
  # @param [String] fields
8535
8847
  # Selector specifying which fields to include in a partial response.
8536
8848
  # @param [String] quota_user
@@ -8548,7 +8860,7 @@ module Google
8548
8860
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8549
8861
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8550
8862
  # @raise [Google::Apis::AuthorizationError] Authorization is required
8551
- def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
8863
+ def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
8552
8864
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
8553
8865
  command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse::Representation
8554
8866
  command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningListOperationsResponse
@@ -8556,6 +8868,7 @@ module Google
8556
8868
  command.query['filter'] = filter unless filter.nil?
8557
8869
  command.query['pageSize'] = page_size unless page_size.nil?
8558
8870
  command.query['pageToken'] = page_token unless page_token.nil?
8871
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
8559
8872
  command.query['fields'] = fields unless fields.nil?
8560
8873
  command.query['quotaUser'] = quota_user unless quota_user.nil?
8561
8874
  execute_or_queue_command(command, &block)