google-apis-discoveryengine_v1alpha 0.69.0 → 0.71.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
+ # Gets an Assistant.
4887
+ # @param [String] name
4888
+ # Required. Resource name of Assistant. Format: `projects/`project`/locations/`
4889
+ # location`/collections/`collection`/engines/`engine`/assistants/`assistant``
4890
+ # @param [String] fields
4891
+ # Selector specifying which fields to include in a partial response.
4892
+ # @param [String] quota_user
4893
+ # Available to use for quota purposes for server-side applications. Can be any
4894
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4895
+ # @param [Google::Apis::RequestOptions] options
4896
+ # Request-specific options
4897
+ #
4898
+ # @yield [result, err] Result & error if block supplied
4899
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant] parsed result object
4900
+ # @yieldparam err [StandardError] error object if request failed
4901
+ #
4902
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant]
4903
+ #
4904
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4905
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4906
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4907
+ def get_project_location_collection_engine_assistant(name, fields: nil, quota_user: nil, options: nil, &block)
4908
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
4909
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant::Representation
4910
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant
4911
+ command.params['name'] = name unless name.nil?
4912
+ command.query['fields'] = fields unless fields.nil?
4913
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4914
+ execute_or_queue_command(command, &block)
4915
+ end
4916
+
4917
+ # Updates an Assistant
4918
+ # @param [String] name
4919
+ # Immutable. Resource name of the assistant. Format: `projects/`project`/
4920
+ # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
4921
+ # assistant`` It must be a UTF-8 encoded string with a length limit of 1024
4922
+ # characters.
4923
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant] google_cloud_discoveryengine_v1alpha_assistant_object
4924
+ # @param [String] update_mask
4925
+ # The list of fields to update.
4926
+ # @param [String] fields
4927
+ # Selector specifying which fields to include in a partial response.
4928
+ # @param [String] quota_user
4929
+ # Available to use for quota purposes for server-side applications. Can be any
4930
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4931
+ # @param [Google::Apis::RequestOptions] options
4932
+ # Request-specific options
4933
+ #
4934
+ # @yield [result, err] Result & error if block supplied
4935
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant] parsed result object
4936
+ # @yieldparam err [StandardError] error object if request failed
4937
+ #
4938
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant]
4939
+ #
4940
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4941
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4942
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4943
+ 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)
4944
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
4945
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant::Representation
4946
+ command.request_object = google_cloud_discoveryengine_v1alpha_assistant_object
4947
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant::Representation
4948
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistant
4949
+ command.params['name'] = name unless name.nil?
4950
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4951
+ command.query['fields'] = fields unless fields.nil?
4952
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4953
+ execute_or_queue_command(command, &block)
4954
+ end
4955
+
4956
+ # Assists the user with a query in a streaming fashion.
4957
+ # @param [String] name
4958
+ # Required. The resource name of the Assistant. Format: `projects/`project`/
4959
+ # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
4960
+ # assistant``
4961
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistRequest] google_cloud_discoveryengine_v1alpha_stream_assist_request_object
4962
+ # @param [String] fields
4963
+ # Selector specifying which fields to include in a partial response.
4964
+ # @param [String] quota_user
4965
+ # Available to use for quota purposes for server-side applications. Can be any
4966
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4967
+ # @param [Google::Apis::RequestOptions] options
4968
+ # Request-specific options
4969
+ #
4970
+ # @yield [result, err] Result & error if block supplied
4971
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistResponse] parsed result object
4972
+ # @yieldparam err [StandardError] error object if request failed
4973
+ #
4974
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistResponse]
4975
+ #
4976
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4977
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4978
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4979
+ def stream_project_location_collection_engine_assistant_assist(name, google_cloud_discoveryengine_v1alpha_stream_assist_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4980
+ command = make_simple_command(:post, 'v1alpha/{+name}:streamAssist', options)
4981
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistRequest::Representation
4982
+ command.request_object = google_cloud_discoveryengine_v1alpha_stream_assist_request_object
4983
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistResponse::Representation
4984
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistResponse
4985
+ command.params['name'] = name unless name.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
  # Completes the user input with advanced keyword suggestions.
4883
4992
  # @param [String] completion_config
4884
4993
  # Required. The completion_config of the parent dataStore or engine resource
@@ -5868,9 +5977,12 @@ module Google
5868
5977
  # Required. The data store resource name. Format: `projects/`project`/locations/`
5869
5978
  # location`/collections/`collection`/dataStores/`data_store_id``
5870
5979
  # @param [String] filter
5871
- # A filter to apply on the list results. The supported features are:
5872
- # user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
5873
- # true"
5980
+ # A comma-separated list of fields to filter by, in EBNF grammar. The supported
5981
+ # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
5982
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: "
5983
+ # user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "
5984
+ # is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"
5985
+ # "
5874
5986
  # @param [String] order_by
5875
5987
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
5876
5988
  # desc" after a field name for descending. Supported fields: * `update_time` * `
@@ -5986,6 +6098,60 @@ module Google
5986
6098
  execute_or_queue_command(command, &block)
5987
6099
  end
5988
6100
 
6101
+ # Lists metadata for all files in the current session.
6102
+ # @param [String] parent
6103
+ # Required. The resource name of the Session. Format: `projects/`project`/
6104
+ # locations/`location`/collections/`collection`/engines/`engine`/sessions/`
6105
+ # session`` Name of the session resource to which the file belong.
6106
+ # @param [String] filter
6107
+ # Optional. The filter syntax consists of an expression language for
6108
+ # constructing a predicate from one or more fields of the files being filtered.
6109
+ # Filter expression is case-sensitive. Currently supported field names are: *
6110
+ # upload_time * last_add_time * last_use_time * file_name * mime_type Some
6111
+ # examples of filters would be: * "file_name = 'file_1'" * "file_name = 'file_1'
6112
+ # AND mime_type = 'text/plain'" * "last_use_time > '2025-06-14T12:00:00Z'" For a
6113
+ # full description of the filter format, please see https://google.aip.dev/160.
6114
+ # @param [Fixnum] page_size
6115
+ # Optional. The maximum number of files to return. The service may return fewer
6116
+ # than this value. If unspecified, at most 100 files will be returned. The
6117
+ # maximum value is 1000; values above 1000 will be coerced to 1000. If user
6118
+ # specifies a value less than or equal to 0 - the request will be rejected with
6119
+ # an INVALID_ARGUMENT error.
6120
+ # @param [String] page_token
6121
+ # Optional. A page token received from a previous `ListFiles` call. Provide this
6122
+ # to retrieve the subsequent page. When paginating, all other parameters
6123
+ # provided to `ListFiles` must match the call that provided the page token (
6124
+ # except `page_size`, which may differ).
6125
+ # @param [String] fields
6126
+ # Selector specifying which fields to include in a partial response.
6127
+ # @param [String] quota_user
6128
+ # Available to use for quota purposes for server-side applications. Can be any
6129
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6130
+ # @param [Google::Apis::RequestOptions] options
6131
+ # Request-specific options
6132
+ #
6133
+ # @yield [result, err] Result & error if block supplied
6134
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListFilesResponse] parsed result object
6135
+ # @yieldparam err [StandardError] error object if request failed
6136
+ #
6137
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListFilesResponse]
6138
+ #
6139
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6140
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6141
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6142
+ 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)
6143
+ command = make_simple_command(:get, 'v1alpha/{+parent}/files', options)
6144
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListFilesResponse::Representation
6145
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListFilesResponse
6146
+ command.params['parent'] = parent unless parent.nil?
6147
+ command.query['filter'] = filter unless filter.nil?
6148
+ command.query['pageSize'] = page_size unless page_size.nil?
6149
+ command.query['pageToken'] = page_token unless page_token.nil?
6150
+ command.query['fields'] = fields unless fields.nil?
6151
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6152
+ execute_or_queue_command(command, &block)
6153
+ end
6154
+
5989
6155
  # Gets a WidgetConfig.
5990
6156
  # @param [String] name
5991
6157
  # Required. Full WidgetConfig resource name. Format: `projects/`project`/
@@ -8322,9 +8488,12 @@ module Google
8322
8488
  # Required. The data store resource name. Format: `projects/`project`/locations/`
8323
8489
  # location`/collections/`collection`/dataStores/`data_store_id``
8324
8490
  # @param [String] filter
8325
- # A filter to apply on the list results. The supported features are:
8326
- # user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
8327
- # true"
8491
+ # A comma-separated list of fields to filter by, in EBNF grammar. The supported
8492
+ # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
8493
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: "
8494
+ # user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "
8495
+ # is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"
8496
+ # "
8328
8497
  # @param [String] order_by
8329
8498
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
8330
8499
  # desc" after a field name for descending. Supported fields: * `update_time` * `
@@ -9711,6 +9880,79 @@ module Google
9711
9880
  execute_or_queue_command(command, &block)
9712
9881
  end
9713
9882
 
9883
+ # Lists the recently viewed notebooks. Needs a side channel with the user's EUC.
9884
+ # @param [String] parent
9885
+ # Required. The parent branch resource name, such as `projects/`project`/
9886
+ # locations/`location``.
9887
+ # @param [Fixnum] page_size
9888
+ # Optional. Maximum number of Notebooks to return. If unspecified, defaults to "
9889
+ # 200". The maximum allowed value is "500". If this field is negative, will use
9890
+ # the default value.
9891
+ # @param [String] page_token
9892
+ # Optional. The page token, provide this to retrieve the subsequent page.
9893
+ # @param [String] fields
9894
+ # Selector specifying which fields to include in a partial response.
9895
+ # @param [String] quota_user
9896
+ # Available to use for quota purposes for server-side applications. Can be any
9897
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9898
+ # @param [Google::Apis::RequestOptions] options
9899
+ # Request-specific options
9900
+ #
9901
+ # @yield [result, err] Result & error if block supplied
9902
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse] parsed result object
9903
+ # @yieldparam err [StandardError] error object if request failed
9904
+ #
9905
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse]
9906
+ #
9907
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9908
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9909
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9910
+ def list_project_location_notebook_recently_viewed(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
9911
+ command = make_simple_command(:get, 'v1alpha/{+parent}/notebooks:listRecentlyViewed', options)
9912
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse::Representation
9913
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse
9914
+ command.params['parent'] = parent unless parent.nil?
9915
+ command.query['pageSize'] = page_size unless page_size.nil?
9916
+ command.query['pageToken'] = page_token unless page_token.nil?
9917
+ command.query['fields'] = fields unless fields.nil?
9918
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9919
+ execute_or_queue_command(command, &block)
9920
+ end
9921
+
9922
+ # Creates a list of Sources.
9923
+ # @param [String] parent
9924
+ # Required. The parent resource where the sources will be created. Format:
9925
+ # projects/`project`/locations/`location`/notebooks/`notebook`
9926
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest] google_cloud_notebooklm_v1alpha_batch_create_sources_request_object
9927
+ # @param [String] fields
9928
+ # Selector specifying which fields to include in a partial response.
9929
+ # @param [String] quota_user
9930
+ # Available to use for quota purposes for server-side applications. Can be any
9931
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9932
+ # @param [Google::Apis::RequestOptions] options
9933
+ # Request-specific options
9934
+ #
9935
+ # @yield [result, err] Result & error if block supplied
9936
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse] parsed result object
9937
+ # @yieldparam err [StandardError] error object if request failed
9938
+ #
9939
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse]
9940
+ #
9941
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9942
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9943
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9944
+ 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)
9945
+ command = make_simple_command(:post, 'v1alpha/{+parent}/sources:batchCreate', options)
9946
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest::Representation
9947
+ command.request_object = google_cloud_notebooklm_v1alpha_batch_create_sources_request_object
9948
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse::Representation
9949
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse
9950
+ command.params['parent'] = parent unless parent.nil?
9951
+ command.query['fields'] = fields unless fields.nil?
9952
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9953
+ execute_or_queue_command(command, &block)
9954
+ end
9955
+
9714
9956
  # Uploads a file for Notebook LM to use. Creates a Source.
9715
9957
  # @param [String] parent
9716
9958
  # 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.69.0
4
+ version: 0.71.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.69.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.71.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: