google-apis-discoveryengine_v1alpha 0.82.0 → 0.84.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.
@@ -190,97 +190,6 @@ module Google
190
190
  execute_or_queue_command(command, &block)
191
191
  end
192
192
 
193
- # Downloads a file from the session.
194
- # @param [String] name
195
- # Required. The resource name of the Session. Format: `projects/`project`/
196
- # locations/`location`/collections/`collection`/engines/`engine`/sessions/`
197
- # session``
198
- # @param [String] file_id
199
- # Required. The ID of the file to be downloaded.
200
- # @param [String] view_id
201
- # Optional. The ID of the view to be downloaded.
202
- # @param [String] fields
203
- # Selector specifying which fields to include in a partial response.
204
- # @param [String] quota_user
205
- # Available to use for quota purposes for server-side applications. Can be any
206
- # arbitrary string assigned to a user, but should not exceed 40 characters.
207
- # @param [IO, String] download_dest
208
- # IO stream or filename to receive content download
209
- # @param [Google::Apis::RequestOptions] options
210
- # Request-specific options
211
- #
212
- # @yield [result, err] Result & error if block supplied
213
- # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GdataMedia] parsed result object
214
- # @yieldparam err [StandardError] error object if request failed
215
- #
216
- # @return [Google::Apis::DiscoveryengineV1alpha::GdataMedia]
217
- #
218
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
219
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
220
- # @raise [Google::Apis::AuthorizationError] Authorization is required
221
- def download_medium(name, file_id: nil, view_id: nil, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
222
- if download_dest.nil?
223
- command = make_simple_command(:get, 'v1alpha/{+name}:downloadFile', options)
224
- else
225
- command = make_download_command(:get, 'v1alpha/{+name}:downloadFile', options)
226
- command.download_dest = download_dest
227
- end
228
- command.response_representation = Google::Apis::DiscoveryengineV1alpha::GdataMedia::Representation
229
- command.response_class = Google::Apis::DiscoveryengineV1alpha::GdataMedia
230
- command.params['name'] = name unless name.nil?
231
- command.query['fileId'] = file_id unless file_id.nil?
232
- command.query['viewId'] = view_id unless view_id.nil?
233
- command.query['fields'] = fields unless fields.nil?
234
- command.query['quotaUser'] = quota_user unless quota_user.nil?
235
- execute_or_queue_command(command, &block)
236
- end
237
-
238
- # Uploads a file for the assistant to use as a source of information within the
239
- # session.
240
- # @param [String] name
241
- # Required. The resource name of the Session. Format: `projects/`project`/
242
- # locations/`location`/collections/`collection`/engines/`engine`/sessions/`
243
- # session``
244
- # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest] google_cloud_discoveryengine_v1alpha_upload_session_file_request_object
245
- # @param [String] fields
246
- # Selector specifying which fields to include in a partial response.
247
- # @param [String] quota_user
248
- # Available to use for quota purposes for server-side applications. Can be any
249
- # arbitrary string assigned to a user, but should not exceed 40 characters.
250
- # @param [IO, String] upload_source
251
- # IO stream or filename containing content to upload
252
- # @param [String] content_type
253
- # Content type of the uploaded content.
254
- # @param [Google::Apis::RequestOptions] options
255
- # Request-specific options
256
- #
257
- # @yield [result, err] Result & error if block supplied
258
- # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse] parsed result object
259
- # @yieldparam err [StandardError] error object if request failed
260
- #
261
- # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse]
262
- #
263
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
264
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
265
- # @raise [Google::Apis::AuthorizationError] Authorization is required
266
- def upload_medium(name, google_cloud_discoveryengine_v1alpha_upload_session_file_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
267
- if upload_source.nil?
268
- command = make_simple_command(:post, 'v1alpha/{+name}:uploadFile', options)
269
- else
270
- command = make_upload_command(:post, 'v1alpha/{+name}:uploadFile', options)
271
- command.upload_source = upload_source
272
- command.upload_content_type = content_type
273
- end
274
- command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest::Representation
275
- command.request_object = google_cloud_discoveryengine_v1alpha_upload_session_file_request_object
276
- command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse::Representation
277
- command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse
278
- command.params['name'] = name unless name.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
-
284
193
  # Gets a Project. Returns NOT_FOUND when the project is not yet created.
285
194
  # @param [String] name
286
195
  # Required. Full resource name of a Project, such as `projects/`
@@ -523,10 +432,49 @@ module Google
523
432
  execute_or_queue_command(command, &block)
524
433
  end
525
434
 
526
- # Gets configurable pricing usage stats.
527
- # @param [String] name
528
- # Required. The name of the ConfigurablePricingUsageStats to retrieve. Format:
529
- # projects/`project`/locations/`location`/configurablePricingUsageStats
435
+ # Obtains the time series data of organic or dedicated crawl rate for monitoring.
436
+ # When dedicated crawl rate is not set, it will return vertex AI's organic
437
+ # crawl rate time series. Organic crawl means Google automatically crawl the
438
+ # internet at its own convenience. When dedicated crawl rate is set, it will
439
+ # return vertex AI's dedicated crawl rate time series.
440
+ # @param [String] location
441
+ # Required. The location resource where crawl rate management will be performed.
442
+ # Format: `projects/`project`/locations/`location``
443
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest] google_cloud_discoveryengine_v1alpha_obtain_crawl_rate_request_object
444
+ # @param [String] fields
445
+ # Selector specifying which fields to include in a partial response.
446
+ # @param [String] quota_user
447
+ # Available to use for quota purposes for server-side applications. Can be any
448
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
449
+ # @param [Google::Apis::RequestOptions] options
450
+ # Request-specific options
451
+ #
452
+ # @yield [result, err] Result & error if block supplied
453
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse] parsed result object
454
+ # @yieldparam err [StandardError] error object if request failed
455
+ #
456
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse]
457
+ #
458
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
459
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
460
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
461
+ def obtain_project_location_crawl_rate(location, google_cloud_discoveryengine_v1alpha_obtain_crawl_rate_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
462
+ command = make_simple_command(:post, 'v1alpha/{+location}:obtainCrawlRate', options)
463
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest::Representation
464
+ command.request_object = google_cloud_discoveryengine_v1alpha_obtain_crawl_rate_request_object
465
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse::Representation
466
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse
467
+ command.params['location'] = location unless location.nil?
468
+ command.query['fields'] = fields unless fields.nil?
469
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
470
+ execute_or_queue_command(command, &block)
471
+ end
472
+
473
+ # Queries configurable pricing usage stats for a project.
474
+ # @param [String] project
475
+ # Required. The project to query usage stats for. Format: projects/`project`
476
+ # @param [String] location
477
+ # Required. The location to query usage stats for.
530
478
  # @param [Array<String>, String] metric_types
531
479
  # Optional. The metric types to return usage for.
532
480
  # @param [Fixnum] time_range_end_date_day
@@ -556,19 +504,20 @@ module Google
556
504
  # Request-specific options
557
505
  #
558
506
  # @yield [result, err] Result & error if block supplied
559
- # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats] parsed result object
507
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse] parsed result object
560
508
  # @yieldparam err [StandardError] error object if request failed
561
509
  #
562
- # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats]
510
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse]
563
511
  #
564
512
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
565
513
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
566
514
  # @raise [Google::Apis::AuthorizationError] Authorization is required
567
- def get_project_location_configurable_pricing_usage_stats(name, metric_types: nil, time_range_end_date_day: nil, time_range_end_date_month: nil, time_range_end_date_year: nil, time_range_start_date_day: nil, time_range_start_date_month: nil, time_range_start_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
568
- command = make_simple_command(:get, 'v1alpha/{+name}', options)
569
- command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats::Representation
570
- command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats
571
- command.params['name'] = name unless name.nil?
515
+ def query_project_location_configurable_pricing_usage_stats(project, location, metric_types: nil, time_range_end_date_day: nil, time_range_end_date_month: nil, time_range_end_date_year: nil, time_range_start_date_day: nil, time_range_start_date_month: nil, time_range_start_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
516
+ command = make_simple_command(:get, 'v1alpha/{+project}/locations/{location}:queryConfigurablePricingUsageStats', options)
517
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse::Representation
518
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse
519
+ command.params['project'] = project unless project.nil?
520
+ command.params['location'] = location unless location.nil?
572
521
  command.query['metricTypes'] = metric_types unless metric_types.nil?
573
522
  command.query['timeRange.endDate.day'] = time_range_end_date_day unless time_range_end_date_day.nil?
574
523
  command.query['timeRange.endDate.month'] = time_range_end_date_month unless time_range_end_date_month.nil?
@@ -581,44 +530,6 @@ module Google
581
530
  execute_or_queue_command(command, &block)
582
531
  end
583
532
 
584
- # Obtains the time series data of organic or dedicated crawl rate for monitoring.
585
- # When dedicated crawl rate is not set, it will return vertex AI's organic
586
- # crawl rate time series. Organic crawl means Google automatically crawl the
587
- # internet at its own convenience. When dedicated crawl rate is set, it will
588
- # return vertex AI's dedicated crawl rate time series.
589
- # @param [String] location
590
- # Required. The location resource where crawl rate management will be performed.
591
- # Format: `projects/`project`/locations/`location``
592
- # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest] google_cloud_discoveryengine_v1alpha_obtain_crawl_rate_request_object
593
- # @param [String] fields
594
- # Selector specifying which fields to include in a partial response.
595
- # @param [String] quota_user
596
- # Available to use for quota purposes for server-side applications. Can be any
597
- # arbitrary string assigned to a user, but should not exceed 40 characters.
598
- # @param [Google::Apis::RequestOptions] options
599
- # Request-specific options
600
- #
601
- # @yield [result, err] Result & error if block supplied
602
- # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse] parsed result object
603
- # @yieldparam err [StandardError] error object if request failed
604
- #
605
- # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse]
606
- #
607
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
608
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
609
- # @raise [Google::Apis::AuthorizationError] Authorization is required
610
- def obtain_project_location_crawl_rate(location, google_cloud_discoveryengine_v1alpha_obtain_crawl_rate_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
611
- command = make_simple_command(:post, 'v1alpha/{+location}:obtainCrawlRate', options)
612
- command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest::Representation
613
- command.request_object = google_cloud_discoveryengine_v1alpha_obtain_crawl_rate_request_object
614
- command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse::Representation
615
- command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse
616
- command.params['location'] = location unless location.nil?
617
- command.query['fields'] = fields unless fields.nil?
618
- command.query['quotaUser'] = quota_user unless quota_user.nil?
619
- execute_or_queue_command(command, &block)
620
- end
621
-
622
533
  # Removes the dedicated crawl rate for a craw_rate_scope. If the dedicated crawl
623
534
  # rate was set, this will disable vertex AI's crawl bot from using the dedicated
624
535
  # crawl rate for crawling. If the dedicated crawl rate was not set, this is a no-
@@ -1632,11 +1543,12 @@ module Google
1632
1543
  # The standard list page token.
1633
1544
  # @param [Boolean] return_partial_success
1634
1545
  # When set to `true`, operations that are reachable are returned as normal, and
1635
- # those that are unreachable are returned in the [ListOperationsResponse.
1636
- # unreachable] field. This can only be `true` when reading across collections e.
1637
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1638
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
1639
- # explicitly documented otherwise in service or product specific documentation.
1546
+ # those that are unreachable are returned in the ListOperationsResponse.
1547
+ # unreachable field. This can only be `true` when reading across collections.
1548
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
1549
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
1550
+ # if set unless explicitly documented otherwise in service or product specific
1551
+ # documentation.
1640
1552
  # @param [String] fields
1641
1553
  # Selector specifying which fields to include in a partial response.
1642
1554
  # @param [String] quota_user
@@ -2691,11 +2603,12 @@ module Google
2691
2603
  # The standard list page token.
2692
2604
  # @param [Boolean] return_partial_success
2693
2605
  # When set to `true`, operations that are reachable are returned as normal, and
2694
- # those that are unreachable are returned in the [ListOperationsResponse.
2695
- # unreachable] field. This can only be `true` when reading across collections e.
2696
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2697
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2698
- # explicitly documented otherwise in service or product specific documentation.
2606
+ # those that are unreachable are returned in the ListOperationsResponse.
2607
+ # unreachable field. This can only be `true` when reading across collections.
2608
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
2609
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
2610
+ # if set unless explicitly documented otherwise in service or product specific
2611
+ # documentation.
2699
2612
  # @param [String] fields
2700
2613
  # Selector specifying which fields to include in a partial response.
2701
2614
  # @param [String] quota_user
@@ -3328,11 +3241,12 @@ module Google
3328
3241
  # The standard list page token.
3329
3242
  # @param [Boolean] return_partial_success
3330
3243
  # When set to `true`, operations that are reachable are returned as normal, and
3331
- # those that are unreachable are returned in the [ListOperationsResponse.
3332
- # unreachable] field. This can only be `true` when reading across collections e.
3333
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
3334
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
3335
- # explicitly documented otherwise in service or product specific documentation.
3244
+ # those that are unreachable are returned in the ListOperationsResponse.
3245
+ # unreachable field. This can only be `true` when reading across collections.
3246
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
3247
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
3248
+ # if set unless explicitly documented otherwise in service or product specific
3249
+ # documentation.
3336
3250
  # @param [String] fields
3337
3251
  # Selector specifying which fields to include in a partial response.
3338
3252
  # @param [String] quota_user
@@ -3407,11 +3321,12 @@ module Google
3407
3321
  # The standard list page token.
3408
3322
  # @param [Boolean] return_partial_success
3409
3323
  # When set to `true`, operations that are reachable are returned as normal, and
3410
- # those that are unreachable are returned in the [ListOperationsResponse.
3411
- # unreachable] field. This can only be `true` when reading across collections e.
3412
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
3413
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
3414
- # explicitly documented otherwise in service or product specific documentation.
3324
+ # those that are unreachable are returned in the ListOperationsResponse.
3325
+ # unreachable field. This can only be `true` when reading across collections.
3326
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
3327
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
3328
+ # if set unless explicitly documented otherwise in service or product specific
3329
+ # documentation.
3415
3330
  # @param [String] fields
3416
3331
  # Selector specifying which fields to include in a partial response.
3417
3332
  # @param [String] quota_user
@@ -3673,11 +3588,12 @@ module Google
3673
3588
  # The standard list page token.
3674
3589
  # @param [Boolean] return_partial_success
3675
3590
  # When set to `true`, operations that are reachable are returned as normal, and
3676
- # those that are unreachable are returned in the [ListOperationsResponse.
3677
- # unreachable] field. This can only be `true` when reading across collections e.
3678
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
3679
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
3680
- # explicitly documented otherwise in service or product specific documentation.
3591
+ # those that are unreachable are returned in the ListOperationsResponse.
3592
+ # unreachable field. This can only be `true` when reading across collections.
3593
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
3594
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
3595
+ # if set unless explicitly documented otherwise in service or product specific
3596
+ # documentation.
3681
3597
  # @param [String] fields
3682
3598
  # Selector specifying which fields to include in a partial response.
3683
3599
  # @param [String] quota_user
@@ -4545,11 +4461,12 @@ module Google
4545
4461
  # The standard list page token.
4546
4462
  # @param [Boolean] return_partial_success
4547
4463
  # When set to `true`, operations that are reachable are returned as normal, and
4548
- # those that are unreachable are returned in the [ListOperationsResponse.
4549
- # unreachable] field. This can only be `true` when reading across collections e.
4550
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
4551
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
4552
- # explicitly documented otherwise in service or product specific documentation.
4464
+ # those that are unreachable are returned in the ListOperationsResponse.
4465
+ # unreachable field. This can only be `true` when reading across collections.
4466
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
4467
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
4468
+ # if set unless explicitly documented otherwise in service or product specific
4469
+ # documentation.
4553
4470
  # @param [String] fields
4554
4471
  # Selector specifying which fields to include in a partial response.
4555
4472
  # @param [String] quota_user
@@ -4949,11 +4866,12 @@ module Google
4949
4866
  # The standard list page token.
4950
4867
  # @param [Boolean] return_partial_success
4951
4868
  # When set to `true`, operations that are reachable are returned as normal, and
4952
- # those that are unreachable are returned in the [ListOperationsResponse.
4953
- # unreachable] field. This can only be `true` when reading across collections e.
4954
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
4955
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
4956
- # explicitly documented otherwise in service or product specific documentation.
4869
+ # those that are unreachable are returned in the ListOperationsResponse.
4870
+ # unreachable field. This can only be `true` when reading across collections.
4871
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
4872
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
4873
+ # if set unless explicitly documented otherwise in service or product specific
4874
+ # documentation.
4957
4875
  # @param [String] fields
4958
4876
  # Selector specifying which fields to include in a partial response.
4959
4877
  # @param [String] quota_user
@@ -5665,6 +5583,80 @@ module Google
5665
5583
  execute_or_queue_command(command, &block)
5666
5584
  end
5667
5585
 
5586
+ # Creates an Assistant.
5587
+ # @param [String] parent
5588
+ # Required. The parent resource name. Format: `projects/`project`/locations/`
5589
+ # location`/collections/`collection`/engines/`engine``
5590
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant] google_cloud_discoveryengine_v1alpha_assistant_object
5591
+ # @param [String] assistant_id
5592
+ # Required. The ID to use for the Assistant, which will become the final
5593
+ # component of the Assistant's resource name. This field must conform to [RFC-
5594
+ # 1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63
5595
+ # characters.
5596
+ # @param [String] fields
5597
+ # Selector specifying which fields to include in a partial response.
5598
+ # @param [String] quota_user
5599
+ # Available to use for quota purposes for server-side applications. Can be any
5600
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5601
+ # @param [Google::Apis::RequestOptions] options
5602
+ # Request-specific options
5603
+ #
5604
+ # @yield [result, err] Result & error if block supplied
5605
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant] parsed result object
5606
+ # @yieldparam err [StandardError] error object if request failed
5607
+ #
5608
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant]
5609
+ #
5610
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5611
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5612
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5613
+ def create_project_location_collection_engine_assistant(parent, google_cloud_discoveryengine_v1alpha_assistant_object = nil, assistant_id: nil, fields: nil, quota_user: nil, options: nil, &block)
5614
+ command = make_simple_command(:post, 'v1alpha/{+parent}/assistants', options)
5615
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant::Representation
5616
+ command.request_object = google_cloud_discoveryengine_v1alpha_assistant_object
5617
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant::Representation
5618
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant
5619
+ command.params['parent'] = parent unless parent.nil?
5620
+ command.query['assistantId'] = assistant_id unless assistant_id.nil?
5621
+ command.query['fields'] = fields unless fields.nil?
5622
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5623
+ execute_or_queue_command(command, &block)
5624
+ end
5625
+
5626
+ # Deletes an Assistant.
5627
+ # @param [String] name
5628
+ # Required. Resource name of Assistant. Format: `projects/`project`/locations/`
5629
+ # location`/collections/`collection`/engines/`engine`/assistants/`assistant`` If
5630
+ # the caller does not have permission to delete the Assistant, regardless of
5631
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
5632
+ # Assistant to delete does not exist, a NOT_FOUND error is returned.
5633
+ # @param [String] fields
5634
+ # Selector specifying which fields to include in a partial response.
5635
+ # @param [String] quota_user
5636
+ # Available to use for quota purposes for server-side applications. Can be any
5637
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5638
+ # @param [Google::Apis::RequestOptions] options
5639
+ # Request-specific options
5640
+ #
5641
+ # @yield [result, err] Result & error if block supplied
5642
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty] parsed result object
5643
+ # @yieldparam err [StandardError] error object if request failed
5644
+ #
5645
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty]
5646
+ #
5647
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5648
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5649
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5650
+ def delete_project_location_collection_engine_assistant(name, fields: nil, quota_user: nil, options: nil, &block)
5651
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
5652
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty::Representation
5653
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty
5654
+ command.params['name'] = name unless name.nil?
5655
+ command.query['fields'] = fields unless fields.nil?
5656
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5657
+ execute_or_queue_command(command, &block)
5658
+ end
5659
+
5668
5660
  # Gets an Assistant.
5669
5661
  # @param [String] name
5670
5662
  # Required. Resource name of Assistant. Format: `projects/`project`/locations/`
@@ -5696,6 +5688,116 @@ module Google
5696
5688
  execute_or_queue_command(command, &block)
5697
5689
  end
5698
5690
 
5691
+ # Lists all Assistants under an Engine.
5692
+ # @param [String] parent
5693
+ # Required. The parent resource name. Format: `projects/`project`/locations/`
5694
+ # location`/collections/`collection`/engines/`engine``
5695
+ # @param [Fixnum] page_size
5696
+ # Maximum number of Assistants to return. If unspecified, defaults to 100. The
5697
+ # maximum allowed value is 1000; anything above that will be coerced down to
5698
+ # 1000.
5699
+ # @param [String] page_token
5700
+ # A page token ListAssistantsResponse.next_page_token, received from a previous
5701
+ # AssistantService.ListAssistants call. Provide this to retrieve the subsequent
5702
+ # page. When paginating, all other parameters provided to ListAssistants must
5703
+ # match the call that provided the page token.
5704
+ # @param [String] fields
5705
+ # Selector specifying which fields to include in a partial response.
5706
+ # @param [String] quota_user
5707
+ # Available to use for quota purposes for server-side applications. Can be any
5708
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5709
+ # @param [Google::Apis::RequestOptions] options
5710
+ # Request-specific options
5711
+ #
5712
+ # @yield [result, err] Result & error if block supplied
5713
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListAssistantsResponse] parsed result object
5714
+ # @yieldparam err [StandardError] error object if request failed
5715
+ #
5716
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListAssistantsResponse]
5717
+ #
5718
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5719
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5720
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5721
+ def list_project_location_collection_engine_assistants(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5722
+ command = make_simple_command(:get, 'v1alpha/{+parent}/assistants', options)
5723
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListAssistantsResponse::Representation
5724
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListAssistantsResponse
5725
+ command.params['parent'] = parent unless parent.nil?
5726
+ command.query['pageSize'] = page_size unless page_size.nil?
5727
+ command.query['pageToken'] = page_token unless page_token.nil?
5728
+ command.query['fields'] = fields unless fields.nil?
5729
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5730
+ execute_or_queue_command(command, &block)
5731
+ end
5732
+
5733
+ # Lists the data for displaying the Agents under an Assistant which are
5734
+ # available to the caller.
5735
+ # @param [String] parent
5736
+ # Required. The parent resource name. Format: `projects/`project`/locations/`
5737
+ # location`/collections/`collection`/engines/`engine`/assistants/`assistant``
5738
+ # @param [String] agent_origin
5739
+ # Optional. The origin of the Agent.
5740
+ # @param [String] filter
5741
+ # Optional. The filter syntax consists of an expression language for
5742
+ # constructing a predicate from one or more fields of the files being filtered.
5743
+ # Filter expression is case-sensitive. Allowed fields are: * `display_name` * `
5744
+ # state` Some examples of filters would be: * `display_name = 'agent_1'` * `
5745
+ # display_name = 'agent_1' AND state = ENABLED` For a full description of the
5746
+ # filter format, please see https://google.aip.dev/160.
5747
+ # @param [String] language_code
5748
+ # Optional. The UI language currently shown to the user. Specifying this field
5749
+ # request that the texts in the AgentViews in the response should be translated
5750
+ # to this language.
5751
+ # @param [Fixnum] max_suggested_prompts
5752
+ # Optional. The maximum number of suggested prompts to return per agent.
5753
+ # @param [Fixnum] page_size
5754
+ # Optional. Maximum number of AgentViewss to return. If unspecified, defaults to
5755
+ # 100. The maximum allowed value is 1000; anything above that will be coerced
5756
+ # down to 1000.
5757
+ # @param [String] page_token
5758
+ # Optional. A page token ListAvailableAgentViewsResponse.next_page_token,
5759
+ # received from a previous AgentService.ListAvailableAgentViews call. Provide
5760
+ # this to retrieve the subsequent page. When paginating, all other parameters
5761
+ # provided to ListAvailableAgentViews must match the call that provided the page
5762
+ # token.
5763
+ # @param [String] sort_by
5764
+ # Optional. The field to sort by. Can have the following values: - display-name:
5765
+ # The display name of the agent. - description: The description of the agent. -
5766
+ # create-time: The creation time of the agent. - state: The state of the agent.
5767
+ # @param [String] fields
5768
+ # Selector specifying which fields to include in a partial response.
5769
+ # @param [String] quota_user
5770
+ # Available to use for quota purposes for server-side applications. Can be any
5771
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5772
+ # @param [Google::Apis::RequestOptions] options
5773
+ # Request-specific options
5774
+ #
5775
+ # @yield [result, err] Result & error if block supplied
5776
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse] parsed result object
5777
+ # @yieldparam err [StandardError] error object if request failed
5778
+ #
5779
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse]
5780
+ #
5781
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5782
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5783
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5784
+ def list_project_location_collection_engine_assistant_available_agent_views(parent, agent_origin: nil, filter: nil, language_code: nil, max_suggested_prompts: nil, page_size: nil, page_token: nil, sort_by: nil, fields: nil, quota_user: nil, options: nil, &block)
5785
+ command = make_simple_command(:post, 'v1alpha/{+parent}:listAvailableAgentViews', options)
5786
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse::Representation
5787
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse
5788
+ command.params['parent'] = parent unless parent.nil?
5789
+ command.query['agentOrigin'] = agent_origin unless agent_origin.nil?
5790
+ command.query['filter'] = filter unless filter.nil?
5791
+ command.query['languageCode'] = language_code unless language_code.nil?
5792
+ command.query['maxSuggestedPrompts'] = max_suggested_prompts unless max_suggested_prompts.nil?
5793
+ command.query['pageSize'] = page_size unless page_size.nil?
5794
+ command.query['pageToken'] = page_token unless page_token.nil?
5795
+ command.query['sortBy'] = sort_by unless sort_by.nil?
5796
+ command.query['fields'] = fields unless fields.nil?
5797
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5798
+ execute_or_queue_command(command, &block)
5799
+ end
5800
+
5699
5801
  # Updates an Assistant
5700
5802
  # @param [String] name
5701
5803
  # Immutable. Resource name of the assistant. Format: `projects/`project`/
@@ -5839,6 +5941,73 @@ module Google
5839
5941
  execute_or_queue_command(command, &block)
5840
5942
  end
5841
5943
 
5944
+ # Disables an Agent. The `state` of the Agent becomes `DISABLED`. Can be called
5945
+ # on an Agent in the state `ENABLED` or`SUSPENDED`, otherwise it returns an
5946
+ # error.
5947
+ # @param [String] name
5948
+ # Required. The name of the Agent to disable. Format: `projects/`project`/
5949
+ # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
5950
+ # assistant`/agents/`agent``
5951
+ # @param [String] fields
5952
+ # Selector specifying which fields to include in a partial response.
5953
+ # @param [String] quota_user
5954
+ # Available to use for quota purposes for server-side applications. Can be any
5955
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5956
+ # @param [Google::Apis::RequestOptions] options
5957
+ # Request-specific options
5958
+ #
5959
+ # @yield [result, err] Result & error if block supplied
5960
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent] parsed result object
5961
+ # @yieldparam err [StandardError] error object if request failed
5962
+ #
5963
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent]
5964
+ #
5965
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5966
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5967
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5968
+ def disable_project_location_collection_engine_assistant_agent_agent(name, fields: nil, quota_user: nil, options: nil, &block)
5969
+ command = make_simple_command(:post, 'v1alpha/{+name}:disableAgent', options)
5970
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent::Representation
5971
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent
5972
+ command.params['name'] = name unless name.nil?
5973
+ command.query['fields'] = fields unless fields.nil?
5974
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5975
+ execute_or_queue_command(command, &block)
5976
+ end
5977
+
5978
+ # Enables an Agent. The `state` of the Agent becomes `ENABLED`. Can be called on
5979
+ # an Agent in the state `DISABLED` or 'SUSPENDED', otherwise it returns an error.
5980
+ # @param [String] name
5981
+ # Required. The name of the Agent to enable. Format: `projects/`project`/
5982
+ # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
5983
+ # assistant`/agents/`agent``
5984
+ # @param [String] fields
5985
+ # Selector specifying which fields to include in a partial response.
5986
+ # @param [String] quota_user
5987
+ # Available to use for quota purposes for server-side applications. Can be any
5988
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5989
+ # @param [Google::Apis::RequestOptions] options
5990
+ # Request-specific options
5991
+ #
5992
+ # @yield [result, err] Result & error if block supplied
5993
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent] parsed result object
5994
+ # @yieldparam err [StandardError] error object if request failed
5995
+ #
5996
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent]
5997
+ #
5998
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5999
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6000
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6001
+ def enable_project_location_collection_engine_assistant_agent_agent(name, fields: nil, quota_user: nil, options: nil, &block)
6002
+ command = make_simple_command(:post, 'v1alpha/{+name}:enableAgent', options)
6003
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent::Representation
6004
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent
6005
+ command.params['name'] = name unless name.nil?
6006
+ command.query['fields'] = fields unless fields.nil?
6007
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6008
+ execute_or_queue_command(command, &block)
6009
+ end
6010
+
5842
6011
  # Gets an Agent.
5843
6012
  # @param [String] name
5844
6013
  # Required. Resource name of Agent. Format: `projects/`project`/locations/`
@@ -5871,6 +6040,93 @@ module Google
5871
6040
  execute_or_queue_command(command, &block)
5872
6041
  end
5873
6042
 
6043
+ # Returns a AgentView for a given Agent, which contains additional information
6044
+ # about the Agent.
6045
+ # @param [String] name
6046
+ # Required. The name of the Agent to get. Format: `projects/`project`/locations/`
6047
+ # location`/collections/`collection`/engines/`engine`/assistants/`assistant`/
6048
+ # agents/`agent``
6049
+ # @param [String] language_code
6050
+ # Optional. The UI language currently shown to the user. Specifying this field
6051
+ # request that the texts in the AgentView in the response should be translated
6052
+ # to this language.
6053
+ # @param [Fixnum] max_suggested_prompts
6054
+ # Optional. The maximum number of suggested prompts to return per agent.
6055
+ # @param [String] fields
6056
+ # Selector specifying which fields to include in a partial response.
6057
+ # @param [String] quota_user
6058
+ # Available to use for quota purposes for server-side applications. Can be any
6059
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6060
+ # @param [Google::Apis::RequestOptions] options
6061
+ # Request-specific options
6062
+ #
6063
+ # @yield [result, err] Result & error if block supplied
6064
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse] parsed result object
6065
+ # @yieldparam err [StandardError] error object if request failed
6066
+ #
6067
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse]
6068
+ #
6069
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6070
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6071
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6072
+ def get_project_location_collection_engine_assistant_agent_agent_view(name, language_code: nil, max_suggested_prompts: nil, fields: nil, quota_user: nil, options: nil, &block)
6073
+ command = make_simple_command(:get, 'v1alpha/{+name}:getAgentView', options)
6074
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse::Representation
6075
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse
6076
+ command.params['name'] = name unless name.nil?
6077
+ command.query['languageCode'] = language_code unless language_code.nil?
6078
+ command.query['maxSuggestedPrompts'] = max_suggested_prompts unless max_suggested_prompts.nil?
6079
+ command.query['fields'] = fields unless fields.nil?
6080
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6081
+ execute_or_queue_command(command, &block)
6082
+ end
6083
+
6084
+ # Gets the access control policy for an agent resource. A `NOT_FOUND` error is
6085
+ # returned if the resource does not exist. An empty policy is returned if the
6086
+ # resource exists but does not have a policy set on it.
6087
+ # @param [String] resource
6088
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
6089
+ # names](https://cloud.google.com/apis/design/resource_names) for the
6090
+ # appropriate value for this field.
6091
+ # @param [Fixnum] options_requested_policy_version
6092
+ # Optional. The maximum policy version that will be used to format the policy.
6093
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
6094
+ # rejected. Requests for policies with any conditional role bindings must
6095
+ # specify version 3. Policies with no conditional role bindings may specify any
6096
+ # valid value or leave the field unset. The policy in the response might use the
6097
+ # policy version that you specified, or it might use a lower policy version. For
6098
+ # example, if you specify version 3, but the policy has no conditional role
6099
+ # bindings, the response uses version 1. To learn which resources support
6100
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
6101
+ # google.com/iam/help/conditions/resource-policies).
6102
+ # @param [String] fields
6103
+ # Selector specifying which fields to include in a partial response.
6104
+ # @param [String] quota_user
6105
+ # Available to use for quota purposes for server-side applications. Can be any
6106
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6107
+ # @param [Google::Apis::RequestOptions] options
6108
+ # Request-specific options
6109
+ #
6110
+ # @yield [result, err] Result & error if block supplied
6111
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleIamV1Policy] parsed result object
6112
+ # @yieldparam err [StandardError] error object if request failed
6113
+ #
6114
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleIamV1Policy]
6115
+ #
6116
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6117
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6118
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6119
+ def get_project_location_collection_engine_assistant_agent_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
6120
+ command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
6121
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleIamV1Policy::Representation
6122
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleIamV1Policy
6123
+ command.params['resource'] = resource unless resource.nil?
6124
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
6125
+ command.query['fields'] = fields unless fields.nil?
6126
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6127
+ execute_or_queue_command(command, &block)
6128
+ end
6129
+
5874
6130
  # Lists all Agents under an Assistant which were created by the caller.
5875
6131
  # @param [String] parent
5876
6132
  # Required. The parent resource name. Format: `projects/`project`/locations/`
@@ -5957,6 +6213,82 @@ module Google
5957
6213
  execute_or_queue_command(command, &block)
5958
6214
  end
5959
6215
 
6216
+ # Sets the access control policy for an agent resource. A `NOT_FOUND` error is
6217
+ # returned if the resource does not exist. Policy can only contain `roles/
6218
+ # discoveryengine.agentUser`, `roles/discoveryengine.agentViewer` and `roles/
6219
+ # discoveryengine.agentEditor` roles.
6220
+ # @param [String] resource
6221
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
6222
+ # names](https://cloud.google.com/apis/design/resource_names) for the
6223
+ # appropriate value for this field.
6224
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
6225
+ # @param [String] fields
6226
+ # Selector specifying which fields to include in a partial response.
6227
+ # @param [String] quota_user
6228
+ # Available to use for quota purposes for server-side applications. Can be any
6229
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6230
+ # @param [Google::Apis::RequestOptions] options
6231
+ # Request-specific options
6232
+ #
6233
+ # @yield [result, err] Result & error if block supplied
6234
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleIamV1Policy] parsed result object
6235
+ # @yieldparam err [StandardError] error object if request failed
6236
+ #
6237
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleIamV1Policy]
6238
+ #
6239
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6240
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6241
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6242
+ def set_project_location_collection_engine_assistant_agent_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6243
+ command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
6244
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
6245
+ command.request_object = google_iam_v1_set_iam_policy_request_object
6246
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleIamV1Policy::Representation
6247
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleIamV1Policy
6248
+ command.params['resource'] = resource unless resource.nil?
6249
+ command.query['fields'] = fields unless fields.nil?
6250
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6251
+ execute_or_queue_command(command, &block)
6252
+ end
6253
+
6254
+ # Suspends an Agent. It is still available for viewing but not for use. The `
6255
+ # state` of the Agent becomes `SUSPENDED`. Can be called on an Agent in the
6256
+ # state `ENABLED`, otherwise it returns an error.
6257
+ # @param [String] name
6258
+ # Required. The name of the Agent to suspend. Format: `projects/`project`/
6259
+ # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
6260
+ # assistant`/agents/`agent``
6261
+ # @param [String] suspension_reason
6262
+ # Required. The reason for suspending the Agent. This will be shown to the users
6263
+ # of the Agent.
6264
+ # @param [String] fields
6265
+ # Selector specifying which fields to include in a partial response.
6266
+ # @param [String] quota_user
6267
+ # Available to use for quota purposes for server-side applications. Can be any
6268
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6269
+ # @param [Google::Apis::RequestOptions] options
6270
+ # Request-specific options
6271
+ #
6272
+ # @yield [result, err] Result & error if block supplied
6273
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent] parsed result object
6274
+ # @yieldparam err [StandardError] error object if request failed
6275
+ #
6276
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent]
6277
+ #
6278
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6279
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6280
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6281
+ def suspend_project_location_collection_engine_assistant_agent_agent(name, suspension_reason: nil, fields: nil, quota_user: nil, options: nil, &block)
6282
+ command = make_simple_command(:post, 'v1alpha/{+name}:suspendAgent', options)
6283
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent::Representation
6284
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgent
6285
+ command.params['name'] = name unless name.nil?
6286
+ command.query['suspensionReason'] = suspension_reason unless suspension_reason.nil?
6287
+ command.query['fields'] = fields unless fields.nil?
6288
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6289
+ execute_or_queue_command(command, &block)
6290
+ end
6291
+
5960
6292
  # Imports a file to an Agent. Currently only No-Code agents are supported.
5961
6293
  # @param [String] parent
5962
6294
  # Required. The resource name of the Agent. Format: `projects/`project`/
@@ -5992,6 +6324,37 @@ module Google
5992
6324
  execute_or_queue_command(command, &block)
5993
6325
  end
5994
6326
 
6327
+ # Gets the latest state of a long-running operation. Clients can use this method
6328
+ # to poll the operation result at intervals as recommended by the API service.
6329
+ # @param [String] name
6330
+ # The name of the operation resource.
6331
+ # @param [String] fields
6332
+ # Selector specifying which fields to include in a partial response.
6333
+ # @param [String] quota_user
6334
+ # Available to use for quota purposes for server-side applications. Can be any
6335
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6336
+ # @param [Google::Apis::RequestOptions] options
6337
+ # Request-specific options
6338
+ #
6339
+ # @yield [result, err] Result & error if block supplied
6340
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
6341
+ # @yieldparam err [StandardError] error object if request failed
6342
+ #
6343
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
6344
+ #
6345
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6346
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6347
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6348
+ def get_project_location_collection_engine_assistant_agent_operation(name, fields: nil, quota_user: nil, options: nil, &block)
6349
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
6350
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
6351
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
6352
+ command.params['name'] = name unless name.nil?
6353
+ command.query['fields'] = fields unless fields.nil?
6354
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6355
+ execute_or_queue_command(command, &block)
6356
+ end
6357
+
5995
6358
  # Creates a CannedQuery.
5996
6359
  # @param [String] parent
5997
6360
  # Required. The parent resource name. Format: `projects/`project`/locations/`
@@ -6724,11 +7087,12 @@ module Google
6724
7087
  # The standard list page token.
6725
7088
  # @param [Boolean] return_partial_success
6726
7089
  # When set to `true`, operations that are reachable are returned as normal, and
6727
- # those that are unreachable are returned in the [ListOperationsResponse.
6728
- # unreachable] field. This can only be `true` when reading across collections e.
6729
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
6730
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
6731
- # explicitly documented otherwise in service or product specific documentation.
7090
+ # those that are unreachable are returned in the ListOperationsResponse.
7091
+ # unreachable field. This can only be `true` when reading across collections.
7092
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
7093
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
7094
+ # if set unless explicitly documented otherwise in service or product specific
7095
+ # documentation.
6732
7096
  # @param [String] fields
6733
7097
  # Selector specifying which fields to include in a partial response.
6734
7098
  # @param [String] quota_user
@@ -7499,11 +7863,12 @@ module Google
7499
7863
  # The standard list page token.
7500
7864
  # @param [Boolean] return_partial_success
7501
7865
  # When set to `true`, operations that are reachable are returned as normal, and
7502
- # those that are unreachable are returned in the [ListOperationsResponse.
7503
- # unreachable] field. This can only be `true` when reading across collections e.
7504
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
7505
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
7506
- # explicitly documented otherwise in service or product specific documentation.
7866
+ # those that are unreachable are returned in the ListOperationsResponse.
7867
+ # unreachable field. This can only be `true` when reading across collections.
7868
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
7869
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
7870
+ # if set unless explicitly documented otherwise in service or product specific
7871
+ # documentation.
7507
7872
  # @param [String] fields
7508
7873
  # Selector specifying which fields to include in a partial response.
7509
7874
  # @param [String] quota_user
@@ -8523,11 +8888,12 @@ module Google
8523
8888
  # The standard list page token.
8524
8889
  # @param [Boolean] return_partial_success
8525
8890
  # When set to `true`, operations that are reachable are returned as normal, and
8526
- # those that are unreachable are returned in the [ListOperationsResponse.
8527
- # unreachable] field. This can only be `true` when reading across collections e.
8528
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
8529
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
8530
- # explicitly documented otherwise in service or product specific documentation.
8891
+ # those that are unreachable are returned in the ListOperationsResponse.
8892
+ # unreachable field. This can only be `true` when reading across collections.
8893
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
8894
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
8895
+ # if set unless explicitly documented otherwise in service or product specific
8896
+ # documentation.
8531
8897
  # @param [String] fields
8532
8898
  # Selector specifying which fields to include in a partial response.
8533
8899
  # @param [String] quota_user
@@ -9128,11 +9494,12 @@ module Google
9128
9494
  # The standard list page token.
9129
9495
  # @param [Boolean] return_partial_success
9130
9496
  # When set to `true`, operations that are reachable are returned as normal, and
9131
- # those that are unreachable are returned in the [ListOperationsResponse.
9132
- # unreachable] field. This can only be `true` when reading across collections e.
9133
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
9134
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
9135
- # explicitly documented otherwise in service or product specific documentation.
9497
+ # those that are unreachable are returned in the ListOperationsResponse.
9498
+ # unreachable field. This can only be `true` when reading across collections.
9499
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
9500
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
9501
+ # if set unless explicitly documented otherwise in service or product specific
9502
+ # documentation.
9136
9503
  # @param [String] fields
9137
9504
  # Selector specifying which fields to include in a partial response.
9138
9505
  # @param [String] quota_user
@@ -9207,11 +9574,12 @@ module Google
9207
9574
  # The standard list page token.
9208
9575
  # @param [Boolean] return_partial_success
9209
9576
  # When set to `true`, operations that are reachable are returned as normal, and
9210
- # those that are unreachable are returned in the [ListOperationsResponse.
9211
- # unreachable] field. This can only be `true` when reading across collections e.
9212
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
9213
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
9214
- # explicitly documented otherwise in service or product specific documentation.
9577
+ # those that are unreachable are returned in the ListOperationsResponse.
9578
+ # unreachable field. This can only be `true` when reading across collections.
9579
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
9580
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
9581
+ # if set unless explicitly documented otherwise in service or product specific
9582
+ # documentation.
9215
9583
  # @param [String] fields
9216
9584
  # Selector specifying which fields to include in a partial response.
9217
9585
  # @param [String] quota_user
@@ -11257,11 +11625,12 @@ module Google
11257
11625
  # The standard list page token.
11258
11626
  # @param [Boolean] return_partial_success
11259
11627
  # When set to `true`, operations that are reachable are returned as normal, and
11260
- # those that are unreachable are returned in the [ListOperationsResponse.
11261
- # unreachable] field. This can only be `true` when reading across collections e.
11262
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
11263
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
11264
- # explicitly documented otherwise in service or product specific documentation.
11628
+ # those that are unreachable are returned in the ListOperationsResponse.
11629
+ # unreachable field. This can only be `true` when reading across collections.
11630
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
11631
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
11632
+ # if set unless explicitly documented otherwise in service or product specific
11633
+ # documentation.
11265
11634
  # @param [String] fields
11266
11635
  # Selector specifying which fields to include in a partial response.
11267
11636
  # @param [String] quota_user
@@ -11744,44 +12113,6 @@ module Google
11744
12113
  execute_or_queue_command(command, &block)
11745
12114
  end
11746
12115
 
11747
- # Uploads a file for Notebook LM to use. Creates a Source.
11748
- # @param [String] parent
11749
- # Required. The parent resource where the sources will be created. Format:
11750
- # projects/`project`/locations/`location`/notebooks/`notebook`
11751
- # @param [String] source_id
11752
- # The source id of the associated file. If not set, a source id will be
11753
- # generated and a new tentative source will be created.
11754
- # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileRequest] google_cloud_notebooklm_v1alpha_upload_source_file_request_object
11755
- # @param [String] fields
11756
- # Selector specifying which fields to include in a partial response.
11757
- # @param [String] quota_user
11758
- # Available to use for quota purposes for server-side applications. Can be any
11759
- # arbitrary string assigned to a user, but should not exceed 40 characters.
11760
- # @param [Google::Apis::RequestOptions] options
11761
- # Request-specific options
11762
- #
11763
- # @yield [result, err] Result & error if block supplied
11764
- # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileResponse] parsed result object
11765
- # @yieldparam err [StandardError] error object if request failed
11766
- #
11767
- # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileResponse]
11768
- #
11769
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11770
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11771
- # @raise [Google::Apis::AuthorizationError] Authorization is required
11772
- def upload_project_location_notebook_source_file(parent, source_id, google_cloud_notebooklm_v1alpha_upload_source_file_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
11773
- command = make_simple_command(:post, 'v1alpha/{+parent}/sources/{sourceId}:uploadFile', options)
11774
- command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileRequest::Representation
11775
- command.request_object = google_cloud_notebooklm_v1alpha_upload_source_file_request_object
11776
- command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileResponse::Representation
11777
- command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileResponse
11778
- command.params['parent'] = parent unless parent.nil?
11779
- command.params['sourceId'] = source_id unless source_id.nil?
11780
- command.query['fields'] = fields unless fields.nil?
11781
- command.query['quotaUser'] = quota_user unless quota_user.nil?
11782
- execute_or_queue_command(command, &block)
11783
- end
11784
-
11785
12116
  # Gets the latest state of a long-running operation. Clients can use this method
11786
12117
  # to poll the operation result at intervals as recommended by the API service.
11787
12118
  # @param [String] name
@@ -11825,11 +12156,12 @@ module Google
11825
12156
  # The standard list page token.
11826
12157
  # @param [Boolean] return_partial_success
11827
12158
  # When set to `true`, operations that are reachable are returned as normal, and
11828
- # those that are unreachable are returned in the [ListOperationsResponse.
11829
- # unreachable] field. This can only be `true` when reading across collections e.
11830
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
11831
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
11832
- # explicitly documented otherwise in service or product specific documentation.
12159
+ # those that are unreachable are returned in the ListOperationsResponse.
12160
+ # unreachable field. This can only be `true` when reading across collections.
12161
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
12162
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
12163
+ # if set unless explicitly documented otherwise in service or product specific
12164
+ # documentation.
11833
12165
  # @param [String] fields
11834
12166
  # Selector specifying which fields to include in a partial response.
11835
12167
  # @param [String] quota_user
@@ -12733,6 +13065,37 @@ module Google
12733
13065
  execute_or_queue_command(command, &block)
12734
13066
  end
12735
13067
 
13068
+ # Lists all the LicenseConfigUsageStatss associated with the project.
13069
+ # @param [String] parent
13070
+ # Required. The parent branch resource name, such as `projects/`project`/
13071
+ # locations/`location`/userStores/`user_store_id``.
13072
+ # @param [String] fields
13073
+ # Selector specifying which fields to include in a partial response.
13074
+ # @param [String] quota_user
13075
+ # Available to use for quota purposes for server-side applications. Can be any
13076
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
13077
+ # @param [Google::Apis::RequestOptions] options
13078
+ # Request-specific options
13079
+ #
13080
+ # @yield [result, err] Result & error if block supplied
13081
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse] parsed result object
13082
+ # @yieldparam err [StandardError] error object if request failed
13083
+ #
13084
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse]
13085
+ #
13086
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13087
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13088
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
13089
+ def list_project_location_user_store_license_configs_usage_stats(parent, fields: nil, quota_user: nil, options: nil, &block)
13090
+ command = make_simple_command(:get, 'v1alpha/{+parent}/licenseConfigsUsageStats', options)
13091
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse::Representation
13092
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse
13093
+ command.params['parent'] = parent unless parent.nil?
13094
+ command.query['fields'] = fields unless fields.nil?
13095
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
13096
+ execute_or_queue_command(command, &block)
13097
+ end
13098
+
12736
13099
  # Gets the latest state of a long-running operation. Clients can use this method
12737
13100
  # to poll the operation result at intervals as recommended by the API service.
12738
13101
  # @param [String] name
@@ -12776,11 +13139,12 @@ module Google
12776
13139
  # The standard list page token.
12777
13140
  # @param [Boolean] return_partial_success
12778
13141
  # When set to `true`, operations that are reachable are returned as normal, and
12779
- # those that are unreachable are returned in the [ListOperationsResponse.
12780
- # unreachable] field. This can only be `true` when reading across collections e.
12781
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
12782
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
12783
- # explicitly documented otherwise in service or product specific documentation.
13142
+ # those that are unreachable are returned in the ListOperationsResponse.
13143
+ # unreachable field. This can only be `true` when reading across collections.
13144
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
13145
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
13146
+ # if set unless explicitly documented otherwise in service or product specific
13147
+ # documentation.
12784
13148
  # @param [String] fields
12785
13149
  # Selector specifying which fields to include in a partial response.
12786
13150
  # @param [String] quota_user
@@ -12816,14 +13180,20 @@ module Google
12816
13180
  # @param [String] parent
12817
13181
  # Required. The parent UserStore resource name, format: `projects/`project`/
12818
13182
  # locations/`location`/userStores/`user_store_id``.
12819
- # @param [String] filter
12820
- # Optional. Filter for the list request. Supported fields: * `
12821
- # license_assignment_state` Examples: * `license_assignment_state = ASSIGNED` to
12822
- # list assigned user licenses. * `license_assignment_state = NO_LICENSE` to list
12823
- # not licensed users. * `license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN`
12824
- # to list users who attempted login but no license assigned. * `
12825
- # license_assignment_state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users
12826
- # who attempted login but no license assigned.
13183
+ # @param [String] order_by
13184
+ # Optional. The order in which the UserLicenses are listed. The value must be a
13185
+ # comma-separated list of fields. Default sorting order is ascending. To specify
13186
+ # descending order for a field, append a " desc" suffix. Redundant space
13187
+ # characters in the syntax are insignificant. Supported fields: * `
13188
+ # license_assignment_state` * `user_principal` * `user_profile` * `
13189
+ # last_login_date` * `update_time` If not set, the default ordering is by `
13190
+ # user_principal`. Examples: * `user_principal desc` to order by `user_principal`
13191
+ # in descending order. * `license_assignment_state` to order by `
13192
+ # license_assignment_state` in ascending order. * `last_login_date desc` to
13193
+ # order by `last_login_date` in descending order. * `update_time desc` to order
13194
+ # by `update_time` in descending order. * `last_login_date desc, user_principal`
13195
+ # to order by `last_login_date` in descending order and then by `user_principal`
13196
+ # in ascending order.
12827
13197
  # @param [Fixnum] page_size
12828
13198
  # Optional. Requested page size. Server may return fewer items than requested.
12829
13199
  # If unspecified, defaults to 10. The maximum value is 50; values above 50 will
@@ -12851,12 +13221,12 @@ module Google
12851
13221
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12852
13222
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12853
13223
  # @raise [Google::Apis::AuthorizationError] Authorization is required
12854
- def list_project_location_user_store_user_licenses(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
13224
+ def list_project_location_user_store_user_licenses(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
12855
13225
  command = make_simple_command(:get, 'v1alpha/{+parent}/userLicenses', options)
12856
13226
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse::Representation
12857
13227
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse
12858
13228
  command.params['parent'] = parent unless parent.nil?
12859
- command.query['filter'] = filter unless filter.nil?
13229
+ command.query['orderBy'] = order_by unless order_by.nil?
12860
13230
  command.query['pageSize'] = page_size unless page_size.nil?
12861
13231
  command.query['pageToken'] = page_token unless page_token.nil?
12862
13232
  command.query['fields'] = fields unless fields.nil?
@@ -12907,11 +13277,12 @@ module Google
12907
13277
  # The standard list page token.
12908
13278
  # @param [Boolean] return_partial_success
12909
13279
  # When set to `true`, operations that are reachable are returned as normal, and
12910
- # those that are unreachable are returned in the [ListOperationsResponse.
12911
- # unreachable] field. This can only be `true` when reading across collections e.
12912
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
12913
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
12914
- # explicitly documented otherwise in service or product specific documentation.
13280
+ # those that are unreachable are returned in the ListOperationsResponse.
13281
+ # unreachable field. This can only be `true` when reading across collections.
13282
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
13283
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
13284
+ # if set unless explicitly documented otherwise in service or product specific
13285
+ # documentation.
12915
13286
  # @param [String] fields
12916
13287
  # Selector specifying which fields to include in a partial response.
12917
13288
  # @param [String] quota_user