google-apis-discoveryengine_v1alpha 0.70.0 → 0.72.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.
@@ -51,45 +51,46 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
- # Uploads a file for Notebook LM to use. Creates a Source.
55
- # @param [String] parent
56
- # Required. The parent resource where the sources will be created. Format:
57
- # projects/`project`/locations/`location`/notebooks/`notebook`
58
- # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileRequest] google_cloud_notebooklm_v1alpha_upload_source_file_request_object
54
+ # Downloads a file from the session.
55
+ # @param [String] name
56
+ # Required. The resource name of the Session. Format: `projects/`project`/
57
+ # locations/`location`/collections/`collection`/engines/`engine`/sessions/`
58
+ # session``
59
+ # @param [String] file_id
60
+ # Required. The ID of the file to be downloaded.
61
+ # @param [String] view_id
62
+ # Optional. The ID of the view to be downloaded.
59
63
  # @param [String] fields
60
64
  # Selector specifying which fields to include in a partial response.
61
65
  # @param [String] quota_user
62
66
  # Available to use for quota purposes for server-side applications. Can be any
63
67
  # arbitrary string assigned to a user, but should not exceed 40 characters.
64
- # @param [IO, String] upload_source
65
- # IO stream or filename containing content to upload
66
- # @param [String] content_type
67
- # Content type of the uploaded content.
68
+ # @param [IO, String] download_dest
69
+ # IO stream or filename to receive content download
68
70
  # @param [Google::Apis::RequestOptions] options
69
71
  # Request-specific options
70
72
  #
71
73
  # @yield [result, err] Result & error if block supplied
72
- # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileResponse] parsed result object
74
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GdataMedia] parsed result object
73
75
  # @yieldparam err [StandardError] error object if request failed
74
76
  #
75
- # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileResponse]
77
+ # @return [Google::Apis::DiscoveryengineV1alpha::GdataMedia]
76
78
  #
77
79
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
78
80
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79
81
  # @raise [Google::Apis::AuthorizationError] Authorization is required
80
- def upload_medium(parent, google_cloud_notebooklm_v1alpha_upload_source_file_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
81
- if upload_source.nil?
82
- command = make_simple_command(:post, 'v1alpha/{+parent}/sources:uploadFile', options)
82
+ def download_medium(name, file_id: nil, view_id: nil, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
83
+ if download_dest.nil?
84
+ command = make_simple_command(:get, 'v1alpha/{+name}:downloadFile', options)
83
85
  else
84
- command = make_upload_command(:post, 'v1alpha/{+parent}/sources:uploadFile', options)
85
- command.upload_source = upload_source
86
- command.upload_content_type = content_type
86
+ command = make_download_command(:get, 'v1alpha/{+name}:downloadFile', options)
87
+ command.download_dest = download_dest
87
88
  end
88
- command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileRequest::Representation
89
- command.request_object = google_cloud_notebooklm_v1alpha_upload_source_file_request_object
90
- command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileResponse::Representation
91
- command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileResponse
92
- command.params['parent'] = parent unless parent.nil?
89
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GdataMedia::Representation
90
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GdataMedia
91
+ command.params['name'] = name unless name.nil?
92
+ command.query['fileId'] = file_id unless file_id.nil?
93
+ command.query['viewId'] = view_id unless view_id.nil?
93
94
  command.query['fields'] = fields unless fields.nil?
94
95
  command.query['quotaUser'] = quota_user unless quota_user.nil?
95
96
  execute_or_queue_command(command, &block)
@@ -3471,9 +3472,12 @@ module Google
3471
3472
  # Required. The data store resource name. Format: `projects/`project`/locations/`
3472
3473
  # location`/collections/`collection`/dataStores/`data_store_id``
3473
3474
  # @param [String] filter
3474
- # A filter to apply on the list results. The supported features are:
3475
- # user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
3476
- # true"
3475
+ # A comma-separated list of fields to filter by, in EBNF grammar. The supported
3476
+ # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
3477
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
3478
+ # user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
3479
+ # is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
3480
+ # `
3477
3481
  # @param [String] order_by
3478
3482
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
3479
3483
  # desc" after a field name for descending. Supported fields: * `update_time` * `
@@ -4879,6 +4883,111 @@ module Google
4879
4883
  execute_or_queue_command(command, &block)
4880
4884
  end
4881
4885
 
4886
+ # Exports metrics.
4887
+ # @param [String] analytics
4888
+ # Required. The analytics resource name under the engine where the metrics are
4889
+ # created. The format is `projects/`project`/locations/`location`/collections/`
4890
+ # collection`/engines/`engine`/analytics`.
4891
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaExportMetricsRequest] google_cloud_discoveryengine_v1alpha_export_metrics_request_object
4892
+ # @param [String] fields
4893
+ # Selector specifying which fields to include in a partial response.
4894
+ # @param [String] quota_user
4895
+ # Available to use for quota purposes for server-side applications. Can be any
4896
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4897
+ # @param [Google::Apis::RequestOptions] options
4898
+ # Request-specific options
4899
+ #
4900
+ # @yield [result, err] Result & error if block supplied
4901
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
4902
+ # @yieldparam err [StandardError] error object if request failed
4903
+ #
4904
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
4905
+ #
4906
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4907
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4908
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4909
+ def export_project_location_collection_engine_analytic_metrics(analytics, google_cloud_discoveryengine_v1alpha_export_metrics_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4910
+ command = make_simple_command(:post, 'v1alpha/{+analytics}:exportMetrics', options)
4911
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaExportMetricsRequest::Representation
4912
+ command.request_object = google_cloud_discoveryengine_v1alpha_export_metrics_request_object
4913
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
4914
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
4915
+ command.params['analytics'] = analytics unless analytics.nil?
4916
+ command.query['fields'] = fields unless fields.nil?
4917
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4918
+ execute_or_queue_command(command, &block)
4919
+ end
4920
+
4921
+ # Gets an Assistant.
4922
+ # @param [String] name
4923
+ # Required. Resource name of Assistant. Format: `projects/`project`/locations/`
4924
+ # location`/collections/`collection`/engines/`engine`/assistants/`assistant``
4925
+ # @param [String] fields
4926
+ # Selector specifying which fields to include in a partial response.
4927
+ # @param [String] quota_user
4928
+ # Available to use for quota purposes for server-side applications. Can be any
4929
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4930
+ # @param [Google::Apis::RequestOptions] options
4931
+ # Request-specific options
4932
+ #
4933
+ # @yield [result, err] Result & error if block supplied
4934
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant] parsed result object
4935
+ # @yieldparam err [StandardError] error object if request failed
4936
+ #
4937
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant]
4938
+ #
4939
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4940
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4941
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4942
+ def get_project_location_collection_engine_assistant(name, fields: nil, quota_user: nil, options: nil, &block)
4943
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
4944
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant::Representation
4945
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant
4946
+ command.params['name'] = name unless name.nil?
4947
+ command.query['fields'] = fields unless fields.nil?
4948
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4949
+ execute_or_queue_command(command, &block)
4950
+ end
4951
+
4952
+ # Updates an Assistant
4953
+ # @param [String] name
4954
+ # Immutable. Resource name of the assistant. Format: `projects/`project`/
4955
+ # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
4956
+ # assistant`` It must be a UTF-8 encoded string with a length limit of 1024
4957
+ # characters.
4958
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant] google_cloud_discoveryengine_v1alpha_assistant_object
4959
+ # @param [String] update_mask
4960
+ # The list of fields to update.
4961
+ # @param [String] fields
4962
+ # Selector specifying which fields to include in a partial response.
4963
+ # @param [String] quota_user
4964
+ # Available to use for quota purposes for server-side applications. Can be any
4965
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4966
+ # @param [Google::Apis::RequestOptions] options
4967
+ # Request-specific options
4968
+ #
4969
+ # @yield [result, err] Result & error if block supplied
4970
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant] parsed result object
4971
+ # @yieldparam err [StandardError] error object if request failed
4972
+ #
4973
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant]
4974
+ #
4975
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4976
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4977
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4978
+ def patch_project_location_collection_engine_assistant(name, google_cloud_discoveryengine_v1alpha_assistant_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4979
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
4980
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant::Representation
4981
+ command.request_object = google_cloud_discoveryengine_v1alpha_assistant_object
4982
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant::Representation
4983
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant
4984
+ command.params['name'] = name unless name.nil?
4985
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4986
+ command.query['fields'] = fields unless fields.nil?
4987
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4988
+ execute_or_queue_command(command, &block)
4989
+ end
4990
+
4882
4991
  # Assists the user with a query in a streaming fashion.
4883
4992
  # @param [String] name
4884
4993
  # Required. The resource name of the Assistant. Format: `projects/`project`/
@@ -5903,9 +6012,12 @@ module Google
5903
6012
  # Required. The data store resource name. Format: `projects/`project`/locations/`
5904
6013
  # location`/collections/`collection`/dataStores/`data_store_id``
5905
6014
  # @param [String] filter
5906
- # A filter to apply on the list results. The supported features are:
5907
- # user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
5908
- # true"
6015
+ # A comma-separated list of fields to filter by, in EBNF grammar. The supported
6016
+ # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
6017
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
6018
+ # user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
6019
+ # is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
6020
+ # `
5909
6021
  # @param [String] order_by
5910
6022
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
5911
6023
  # desc" after a field name for descending. Supported fields: * `update_time` * `
@@ -6021,6 +6133,60 @@ module Google
6021
6133
  execute_or_queue_command(command, &block)
6022
6134
  end
6023
6135
 
6136
+ # Lists metadata for all files in the current session.
6137
+ # @param [String] parent
6138
+ # Required. The resource name of the Session. Format: `projects/`project`/
6139
+ # locations/`location`/collections/`collection`/engines/`engine`/sessions/`
6140
+ # session`` Name of the session resource to which the file belong.
6141
+ # @param [String] filter
6142
+ # Optional. The filter syntax consists of an expression language for
6143
+ # constructing a predicate from one or more fields of the files being filtered.
6144
+ # Filter expression is case-sensitive. Currently supported field names are: *
6145
+ # upload_time * last_add_time * last_use_time * file_name * mime_type Some
6146
+ # examples of filters would be: * "file_name = 'file_1'" * "file_name = 'file_1'
6147
+ # AND mime_type = 'text/plain'" * "last_use_time > '2025-06-14T12:00:00Z'" For a
6148
+ # full description of the filter format, please see https://google.aip.dev/160.
6149
+ # @param [Fixnum] page_size
6150
+ # Optional. The maximum number of files to return. The service may return fewer
6151
+ # than this value. If unspecified, at most 100 files will be returned. The
6152
+ # maximum value is 1000; values above 1000 will be coerced to 1000. If user
6153
+ # specifies a value less than or equal to 0 - the request will be rejected with
6154
+ # an INVALID_ARGUMENT error.
6155
+ # @param [String] page_token
6156
+ # Optional. A page token received from a previous `ListFiles` call. Provide this
6157
+ # to retrieve the subsequent page. When paginating, all other parameters
6158
+ # provided to `ListFiles` must match the call that provided the page token (
6159
+ # except `page_size`, which may differ).
6160
+ # @param [String] fields
6161
+ # Selector specifying which fields to include in a partial response.
6162
+ # @param [String] quota_user
6163
+ # Available to use for quota purposes for server-side applications. Can be any
6164
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6165
+ # @param [Google::Apis::RequestOptions] options
6166
+ # Request-specific options
6167
+ #
6168
+ # @yield [result, err] Result & error if block supplied
6169
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListFilesResponse] parsed result object
6170
+ # @yieldparam err [StandardError] error object if request failed
6171
+ #
6172
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListFilesResponse]
6173
+ #
6174
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6175
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6176
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6177
+ def list_project_location_collection_engine_session_files(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6178
+ command = make_simple_command(:get, 'v1alpha/{+parent}/files', options)
6179
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListFilesResponse::Representation
6180
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListFilesResponse
6181
+ command.params['parent'] = parent unless parent.nil?
6182
+ command.query['filter'] = filter unless filter.nil?
6183
+ command.query['pageSize'] = page_size unless page_size.nil?
6184
+ command.query['pageToken'] = page_token unless page_token.nil?
6185
+ command.query['fields'] = fields unless fields.nil?
6186
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6187
+ execute_or_queue_command(command, &block)
6188
+ end
6189
+
6024
6190
  # Gets a WidgetConfig.
6025
6191
  # @param [String] name
6026
6192
  # Required. Full WidgetConfig resource name. Format: `projects/`project`/
@@ -8357,9 +8523,12 @@ module Google
8357
8523
  # Required. The data store resource name. Format: `projects/`project`/locations/`
8358
8524
  # location`/collections/`collection`/dataStores/`data_store_id``
8359
8525
  # @param [String] filter
8360
- # A filter to apply on the list results. The supported features are:
8361
- # user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
8362
- # true"
8526
+ # A comma-separated list of fields to filter by, in EBNF grammar. The supported
8527
+ # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
8528
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
8529
+ # user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
8530
+ # is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
8531
+ # `
8363
8532
  # @param [String] order_by
8364
8533
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
8365
8534
  # desc" after a field name for descending. Supported fields: * `update_time` * `
@@ -9746,6 +9915,79 @@ module Google
9746
9915
  execute_or_queue_command(command, &block)
9747
9916
  end
9748
9917
 
9918
+ # Lists the recently viewed notebooks. Needs a side channel with the user's EUC.
9919
+ # @param [String] parent
9920
+ # Required. The parent branch resource name, such as `projects/`project`/
9921
+ # locations/`location``.
9922
+ # @param [Fixnum] page_size
9923
+ # Optional. Maximum number of Notebooks to return. If unspecified, defaults to "
9924
+ # 200". The maximum allowed value is "500". If this field is negative, will use
9925
+ # the default value.
9926
+ # @param [String] page_token
9927
+ # Optional. The page token, provide this to retrieve the subsequent page.
9928
+ # @param [String] fields
9929
+ # Selector specifying which fields to include in a partial response.
9930
+ # @param [String] quota_user
9931
+ # Available to use for quota purposes for server-side applications. Can be any
9932
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9933
+ # @param [Google::Apis::RequestOptions] options
9934
+ # Request-specific options
9935
+ #
9936
+ # @yield [result, err] Result & error if block supplied
9937
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse] parsed result object
9938
+ # @yieldparam err [StandardError] error object if request failed
9939
+ #
9940
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse]
9941
+ #
9942
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9943
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9944
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9945
+ def list_project_location_notebook_recently_viewed(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
9946
+ command = make_simple_command(:get, 'v1alpha/{+parent}/notebooks:listRecentlyViewed', options)
9947
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse::Representation
9948
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse
9949
+ command.params['parent'] = parent unless parent.nil?
9950
+ command.query['pageSize'] = page_size unless page_size.nil?
9951
+ command.query['pageToken'] = page_token unless page_token.nil?
9952
+ command.query['fields'] = fields unless fields.nil?
9953
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9954
+ execute_or_queue_command(command, &block)
9955
+ end
9956
+
9957
+ # Creates a list of Sources.
9958
+ # @param [String] parent
9959
+ # Required. The parent resource where the sources will be created. Format:
9960
+ # projects/`project`/locations/`location`/notebooks/`notebook`
9961
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest] google_cloud_notebooklm_v1alpha_batch_create_sources_request_object
9962
+ # @param [String] fields
9963
+ # Selector specifying which fields to include in a partial response.
9964
+ # @param [String] quota_user
9965
+ # Available to use for quota purposes for server-side applications. Can be any
9966
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9967
+ # @param [Google::Apis::RequestOptions] options
9968
+ # Request-specific options
9969
+ #
9970
+ # @yield [result, err] Result & error if block supplied
9971
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse] parsed result object
9972
+ # @yieldparam err [StandardError] error object if request failed
9973
+ #
9974
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse]
9975
+ #
9976
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9977
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9978
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9979
+ def batch_project_location_notebook_source_create(parent, google_cloud_notebooklm_v1alpha_batch_create_sources_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
9980
+ command = make_simple_command(:post, 'v1alpha/{+parent}/sources:batchCreate', options)
9981
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest::Representation
9982
+ command.request_object = google_cloud_notebooklm_v1alpha_batch_create_sources_request_object
9983
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse::Representation
9984
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse
9985
+ command.params['parent'] = parent unless parent.nil?
9986
+ command.query['fields'] = fields unless fields.nil?
9987
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9988
+ execute_or_queue_command(command, &block)
9989
+ end
9990
+
9749
9991
  # Uploads a file for Notebook LM to use. Creates a Source.
9750
9992
  # @param [String] parent
9751
9993
  # Required. The parent resource where the sources will be created. Format:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.70.0
4
+ version: 0.72.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.70.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.72.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths: