google-apis-discoveryengine_v1alpha 0.83.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +306 -1158
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +105 -408
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +310 -269
- metadata +2 -2
|
@@ -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
|
-
#
|
|
527
|
-
#
|
|
528
|
-
#
|
|
529
|
-
#
|
|
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::
|
|
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::
|
|
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
|
|
568
|
-
command = make_simple_command(:get, 'v1alpha/{+
|
|
569
|
-
command.response_representation = Google::Apis::DiscoveryengineV1alpha::
|
|
570
|
-
command.response_class = Google::Apis::DiscoveryengineV1alpha::
|
|
571
|
-
command.params['
|
|
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
|
|
1636
|
-
# unreachable
|
|
1637
|
-
#
|
|
1638
|
-
# by default
|
|
1639
|
-
# explicitly documented otherwise in service or product specific
|
|
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
|
|
2695
|
-
# unreachable
|
|
2696
|
-
#
|
|
2697
|
-
# by default
|
|
2698
|
-
# explicitly documented otherwise in service or product specific
|
|
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
|
|
3332
|
-
# unreachable
|
|
3333
|
-
#
|
|
3334
|
-
# by default
|
|
3335
|
-
# explicitly documented otherwise in service or product specific
|
|
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
|
|
3411
|
-
# unreachable
|
|
3412
|
-
#
|
|
3413
|
-
# by default
|
|
3414
|
-
# explicitly documented otherwise in service or product specific
|
|
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
|
|
3677
|
-
# unreachable
|
|
3678
|
-
#
|
|
3679
|
-
# by default
|
|
3680
|
-
# explicitly documented otherwise in service or product specific
|
|
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
|
|
4549
|
-
# unreachable
|
|
4550
|
-
#
|
|
4551
|
-
# by default
|
|
4552
|
-
# explicitly documented otherwise in service or product specific
|
|
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
|
|
4953
|
-
# unreachable
|
|
4954
|
-
#
|
|
4955
|
-
# by default
|
|
4956
|
-
# explicitly documented otherwise in service or product specific
|
|
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,48 @@ 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
|
+
|
|
5699
5733
|
# Lists the data for displaying the Agents under an Assistant which are
|
|
5700
5734
|
# available to the caller.
|
|
5701
5735
|
# @param [String] parent
|
|
@@ -6290,6 +6324,37 @@ module Google
|
|
|
6290
6324
|
execute_or_queue_command(command, &block)
|
|
6291
6325
|
end
|
|
6292
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
|
+
|
|
6293
6358
|
# Creates a CannedQuery.
|
|
6294
6359
|
# @param [String] parent
|
|
6295
6360
|
# Required. The parent resource name. Format: `projects/`project`/locations/`
|
|
@@ -7022,11 +7087,12 @@ module Google
|
|
|
7022
7087
|
# The standard list page token.
|
|
7023
7088
|
# @param [Boolean] return_partial_success
|
|
7024
7089
|
# When set to `true`, operations that are reachable are returned as normal, and
|
|
7025
|
-
# those that are unreachable are returned in the
|
|
7026
|
-
# unreachable
|
|
7027
|
-
#
|
|
7028
|
-
# by default
|
|
7029
|
-
# explicitly documented otherwise in service or product specific
|
|
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.
|
|
7030
7096
|
# @param [String] fields
|
|
7031
7097
|
# Selector specifying which fields to include in a partial response.
|
|
7032
7098
|
# @param [String] quota_user
|
|
@@ -7797,11 +7863,12 @@ module Google
|
|
|
7797
7863
|
# The standard list page token.
|
|
7798
7864
|
# @param [Boolean] return_partial_success
|
|
7799
7865
|
# When set to `true`, operations that are reachable are returned as normal, and
|
|
7800
|
-
# those that are unreachable are returned in the
|
|
7801
|
-
# unreachable
|
|
7802
|
-
#
|
|
7803
|
-
# by default
|
|
7804
|
-
# explicitly documented otherwise in service or product specific
|
|
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.
|
|
7805
7872
|
# @param [String] fields
|
|
7806
7873
|
# Selector specifying which fields to include in a partial response.
|
|
7807
7874
|
# @param [String] quota_user
|
|
@@ -8821,11 +8888,12 @@ module Google
|
|
|
8821
8888
|
# The standard list page token.
|
|
8822
8889
|
# @param [Boolean] return_partial_success
|
|
8823
8890
|
# When set to `true`, operations that are reachable are returned as normal, and
|
|
8824
|
-
# those that are unreachable are returned in the
|
|
8825
|
-
# unreachable
|
|
8826
|
-
#
|
|
8827
|
-
# by default
|
|
8828
|
-
# explicitly documented otherwise in service or product specific
|
|
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.
|
|
8829
8897
|
# @param [String] fields
|
|
8830
8898
|
# Selector specifying which fields to include in a partial response.
|
|
8831
8899
|
# @param [String] quota_user
|
|
@@ -9426,11 +9494,12 @@ module Google
|
|
|
9426
9494
|
# The standard list page token.
|
|
9427
9495
|
# @param [Boolean] return_partial_success
|
|
9428
9496
|
# When set to `true`, operations that are reachable are returned as normal, and
|
|
9429
|
-
# those that are unreachable are returned in the
|
|
9430
|
-
# unreachable
|
|
9431
|
-
#
|
|
9432
|
-
# by default
|
|
9433
|
-
# explicitly documented otherwise in service or product specific
|
|
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.
|
|
9434
9503
|
# @param [String] fields
|
|
9435
9504
|
# Selector specifying which fields to include in a partial response.
|
|
9436
9505
|
# @param [String] quota_user
|
|
@@ -9505,11 +9574,12 @@ module Google
|
|
|
9505
9574
|
# The standard list page token.
|
|
9506
9575
|
# @param [Boolean] return_partial_success
|
|
9507
9576
|
# When set to `true`, operations that are reachable are returned as normal, and
|
|
9508
|
-
# those that are unreachable are returned in the
|
|
9509
|
-
# unreachable
|
|
9510
|
-
#
|
|
9511
|
-
# by default
|
|
9512
|
-
# explicitly documented otherwise in service or product specific
|
|
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.
|
|
9513
9583
|
# @param [String] fields
|
|
9514
9584
|
# Selector specifying which fields to include in a partial response.
|
|
9515
9585
|
# @param [String] quota_user
|
|
@@ -11555,11 +11625,12 @@ module Google
|
|
|
11555
11625
|
# The standard list page token.
|
|
11556
11626
|
# @param [Boolean] return_partial_success
|
|
11557
11627
|
# When set to `true`, operations that are reachable are returned as normal, and
|
|
11558
|
-
# those that are unreachable are returned in the
|
|
11559
|
-
# unreachable
|
|
11560
|
-
#
|
|
11561
|
-
# by default
|
|
11562
|
-
# explicitly documented otherwise in service or product specific
|
|
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.
|
|
11563
11634
|
# @param [String] fields
|
|
11564
11635
|
# Selector specifying which fields to include in a partial response.
|
|
11565
11636
|
# @param [String] quota_user
|
|
@@ -12042,44 +12113,6 @@ module Google
|
|
|
12042
12113
|
execute_or_queue_command(command, &block)
|
|
12043
12114
|
end
|
|
12044
12115
|
|
|
12045
|
-
# Uploads a file for Notebook LM to use. Creates a Source.
|
|
12046
|
-
# @param [String] parent
|
|
12047
|
-
# Required. The parent resource where the sources will be created. Format:
|
|
12048
|
-
# projects/`project`/locations/`location`/notebooks/`notebook`
|
|
12049
|
-
# @param [String] source_id
|
|
12050
|
-
# The source id of the associated file. If not set, a source id will be
|
|
12051
|
-
# generated and a new tentative source will be created.
|
|
12052
|
-
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileRequest] google_cloud_notebooklm_v1alpha_upload_source_file_request_object
|
|
12053
|
-
# @param [String] fields
|
|
12054
|
-
# Selector specifying which fields to include in a partial response.
|
|
12055
|
-
# @param [String] quota_user
|
|
12056
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
12057
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
12058
|
-
# @param [Google::Apis::RequestOptions] options
|
|
12059
|
-
# Request-specific options
|
|
12060
|
-
#
|
|
12061
|
-
# @yield [result, err] Result & error if block supplied
|
|
12062
|
-
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileResponse] parsed result object
|
|
12063
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
12064
|
-
#
|
|
12065
|
-
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileResponse]
|
|
12066
|
-
#
|
|
12067
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
12068
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12069
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12070
|
-
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)
|
|
12071
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/sources/{sourceId}:uploadFile', options)
|
|
12072
|
-
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileRequest::Representation
|
|
12073
|
-
command.request_object = google_cloud_notebooklm_v1alpha_upload_source_file_request_object
|
|
12074
|
-
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileResponse::Representation
|
|
12075
|
-
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileResponse
|
|
12076
|
-
command.params['parent'] = parent unless parent.nil?
|
|
12077
|
-
command.params['sourceId'] = source_id unless source_id.nil?
|
|
12078
|
-
command.query['fields'] = fields unless fields.nil?
|
|
12079
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
12080
|
-
execute_or_queue_command(command, &block)
|
|
12081
|
-
end
|
|
12082
|
-
|
|
12083
12116
|
# Gets the latest state of a long-running operation. Clients can use this method
|
|
12084
12117
|
# to poll the operation result at intervals as recommended by the API service.
|
|
12085
12118
|
# @param [String] name
|
|
@@ -12123,11 +12156,12 @@ module Google
|
|
|
12123
12156
|
# The standard list page token.
|
|
12124
12157
|
# @param [Boolean] return_partial_success
|
|
12125
12158
|
# When set to `true`, operations that are reachable are returned as normal, and
|
|
12126
|
-
# those that are unreachable are returned in the
|
|
12127
|
-
# unreachable
|
|
12128
|
-
#
|
|
12129
|
-
# by default
|
|
12130
|
-
# explicitly documented otherwise in service or product specific
|
|
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.
|
|
12131
12165
|
# @param [String] fields
|
|
12132
12166
|
# Selector specifying which fields to include in a partial response.
|
|
12133
12167
|
# @param [String] quota_user
|
|
@@ -13105,11 +13139,12 @@ module Google
|
|
|
13105
13139
|
# The standard list page token.
|
|
13106
13140
|
# @param [Boolean] return_partial_success
|
|
13107
13141
|
# When set to `true`, operations that are reachable are returned as normal, and
|
|
13108
|
-
# those that are unreachable are returned in the
|
|
13109
|
-
# unreachable
|
|
13110
|
-
#
|
|
13111
|
-
# by default
|
|
13112
|
-
# explicitly documented otherwise in service or product specific
|
|
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.
|
|
13113
13148
|
# @param [String] fields
|
|
13114
13149
|
# Selector specifying which fields to include in a partial response.
|
|
13115
13150
|
# @param [String] quota_user
|
|
@@ -13145,15 +13180,20 @@ module Google
|
|
|
13145
13180
|
# @param [String] parent
|
|
13146
13181
|
# Required. The parent UserStore resource name, format: `projects/`project`/
|
|
13147
13182
|
# locations/`location`/userStores/`user_store_id``.
|
|
13148
|
-
# @param [String]
|
|
13149
|
-
# Optional.
|
|
13150
|
-
#
|
|
13151
|
-
#
|
|
13152
|
-
#
|
|
13153
|
-
#
|
|
13154
|
-
#
|
|
13155
|
-
#
|
|
13156
|
-
#
|
|
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.
|
|
13157
13197
|
# @param [Fixnum] page_size
|
|
13158
13198
|
# Optional. Requested page size. Server may return fewer items than requested.
|
|
13159
13199
|
# If unspecified, defaults to 10. The maximum value is 50; values above 50 will
|
|
@@ -13181,12 +13221,12 @@ module Google
|
|
|
13181
13221
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
13182
13222
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13183
13223
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13184
|
-
def list_project_location_user_store_user_licenses(parent,
|
|
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)
|
|
13185
13225
|
command = make_simple_command(:get, 'v1alpha/{+parent}/userLicenses', options)
|
|
13186
13226
|
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse::Representation
|
|
13187
13227
|
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse
|
|
13188
13228
|
command.params['parent'] = parent unless parent.nil?
|
|
13189
|
-
command.query['
|
|
13229
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
13190
13230
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
13191
13231
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
13192
13232
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -13237,11 +13277,12 @@ module Google
|
|
|
13237
13277
|
# The standard list page token.
|
|
13238
13278
|
# @param [Boolean] return_partial_success
|
|
13239
13279
|
# When set to `true`, operations that are reachable are returned as normal, and
|
|
13240
|
-
# those that are unreachable are returned in the
|
|
13241
|
-
# unreachable
|
|
13242
|
-
#
|
|
13243
|
-
# by default
|
|
13244
|
-
# explicitly documented otherwise in service or product specific
|
|
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.
|
|
13245
13286
|
# @param [String] fields
|
|
13246
13287
|
# Selector specifying which fields to include in a partial response.
|
|
13247
13288
|
# @param [String] quota_user
|