google-apis-discoveryengine_v1alpha 0.73.0 → 0.75.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 +8 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +639 -0
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +322 -0
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +280 -1
- metadata +2 -2
@@ -6146,6 +6146,20 @@ module Google
|
|
6146
6146
|
# examples of filters would be: * "file_name = 'file_1'" * "file_name = 'file_1'
|
6147
6147
|
# AND mime_type = 'text/plain'" * "last_use_time > '2025-06-14T12:00:00Z'" For a
|
6148
6148
|
# full description of the filter format, please see https://google.aip.dev/160.
|
6149
|
+
# @param [String] order_by
|
6150
|
+
# Optional. Specifies the order in which files are returned. The value is a
|
6151
|
+
# comma-separated string of fields to sort by. For ascending order - just the
|
6152
|
+
# field name is used. For descending order - the field name is suffixed with `
|
6153
|
+
# desc`. Sorting is stable and applied sequentially according to the order of
|
6154
|
+
# fields provided in the string. Supported fields for ordering: * `upload_time`:
|
6155
|
+
# The time the file was uploaded. * `file_name`: The name of the file. * `
|
6156
|
+
# mime_type`: The MIME type of the file. * `session_name`: The name of the
|
6157
|
+
# session the file belongs to. Default Behavior: If the `order_by` field is not
|
6158
|
+
# specified, files will be returned sorted by creation time in descending order.
|
6159
|
+
# Examples: 1. Sort by file name in ascending order: `file_name` 2. Sort by
|
6160
|
+
# upload time in descending order: `upload_time desc` 3. Sort by file name (
|
6161
|
+
# ascending), then by content type (MIME type) (descending), and finally by
|
6162
|
+
# upload time (ascending): `file_name, mime_type desc, upload_time`
|
6149
6163
|
# @param [Fixnum] page_size
|
6150
6164
|
# Optional. The maximum number of files to return. The service may return fewer
|
6151
6165
|
# than this value. If unspecified, at most 100 files will be returned. The
|
@@ -6174,12 +6188,13 @@ module Google
|
|
6174
6188
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6175
6189
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6176
6190
|
# @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)
|
6191
|
+
def list_project_location_collection_engine_session_files(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6178
6192
|
command = make_simple_command(:get, 'v1alpha/{+parent}/files', options)
|
6179
6193
|
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListFilesResponse::Representation
|
6180
6194
|
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListFilesResponse
|
6181
6195
|
command.params['parent'] = parent unless parent.nil?
|
6182
6196
|
command.query['filter'] = filter unless filter.nil?
|
6197
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
6183
6198
|
command.query['pageSize'] = page_size unless page_size.nil?
|
6184
6199
|
command.query['pageToken'] = page_token unless page_token.nil?
|
6185
6200
|
command.query['fields'] = fields unless fields.nil?
|
@@ -9915,6 +9930,105 @@ module Google
|
|
9915
9930
|
execute_or_queue_command(command, &block)
|
9916
9931
|
end
|
9917
9932
|
|
9933
|
+
# Batch deletes Notebooks. Needs a side channel with the user's EUC.
|
9934
|
+
# @param [String] parent
|
9935
|
+
# Required. The parent branch resource name, such as `projects/`project`/
|
9936
|
+
# locations/`location``.
|
9937
|
+
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest] google_cloud_notebooklm_v1alpha_batch_delete_notebooks_request_object
|
9938
|
+
# @param [String] fields
|
9939
|
+
# Selector specifying which fields to include in a partial response.
|
9940
|
+
# @param [String] quota_user
|
9941
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9942
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9943
|
+
# @param [Google::Apis::RequestOptions] options
|
9944
|
+
# Request-specific options
|
9945
|
+
#
|
9946
|
+
# @yield [result, err] Result & error if block supplied
|
9947
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty] parsed result object
|
9948
|
+
# @yieldparam err [StandardError] error object if request failed
|
9949
|
+
#
|
9950
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty]
|
9951
|
+
#
|
9952
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9953
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9954
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9955
|
+
def batch_project_location_notebook_delete(parent, google_cloud_notebooklm_v1alpha_batch_delete_notebooks_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
9956
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/notebooks:batchDelete', options)
|
9957
|
+
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest::Representation
|
9958
|
+
command.request_object = google_cloud_notebooklm_v1alpha_batch_delete_notebooks_request_object
|
9959
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty::Representation
|
9960
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty
|
9961
|
+
command.params['parent'] = parent unless parent.nil?
|
9962
|
+
command.query['fields'] = fields unless fields.nil?
|
9963
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9964
|
+
execute_or_queue_command(command, &block)
|
9965
|
+
end
|
9966
|
+
|
9967
|
+
# Creates a notebook. Needs a side channel with the user's EUC.
|
9968
|
+
# @param [String] parent
|
9969
|
+
# Required. The parent resource name, such as `projects/`project`/locations/`
|
9970
|
+
# location``.
|
9971
|
+
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebook] google_cloud_notebooklm_v1alpha_notebook_object
|
9972
|
+
# @param [String] fields
|
9973
|
+
# Selector specifying which fields to include in a partial response.
|
9974
|
+
# @param [String] quota_user
|
9975
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9976
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9977
|
+
# @param [Google::Apis::RequestOptions] options
|
9978
|
+
# Request-specific options
|
9979
|
+
#
|
9980
|
+
# @yield [result, err] Result & error if block supplied
|
9981
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebook] parsed result object
|
9982
|
+
# @yieldparam err [StandardError] error object if request failed
|
9983
|
+
#
|
9984
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebook]
|
9985
|
+
#
|
9986
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9987
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9988
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9989
|
+
def create_project_location_notebook(parent, google_cloud_notebooklm_v1alpha_notebook_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
9990
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/notebooks', options)
|
9991
|
+
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebook::Representation
|
9992
|
+
command.request_object = google_cloud_notebooklm_v1alpha_notebook_object
|
9993
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebook::Representation
|
9994
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebook
|
9995
|
+
command.params['parent'] = parent unless parent.nil?
|
9996
|
+
command.query['fields'] = fields unless fields.nil?
|
9997
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9998
|
+
execute_or_queue_command(command, &block)
|
9999
|
+
end
|
10000
|
+
|
10001
|
+
# Gets a notebook. Needs a side channel with the user's EUC.
|
10002
|
+
# @param [String] name
|
10003
|
+
# Required. Full resource name of Notebook, such as `projects/`project`/
|
10004
|
+
# locations/`location`/notebooks/`notebook_id``.
|
10005
|
+
# @param [String] fields
|
10006
|
+
# Selector specifying which fields to include in a partial response.
|
10007
|
+
# @param [String] quota_user
|
10008
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10009
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10010
|
+
# @param [Google::Apis::RequestOptions] options
|
10011
|
+
# Request-specific options
|
10012
|
+
#
|
10013
|
+
# @yield [result, err] Result & error if block supplied
|
10014
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebook] parsed result object
|
10015
|
+
# @yieldparam err [StandardError] error object if request failed
|
10016
|
+
#
|
10017
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebook]
|
10018
|
+
#
|
10019
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10020
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10021
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10022
|
+
def get_project_location_notebook(name, fields: nil, quota_user: nil, options: nil, &block)
|
10023
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
10024
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebook::Representation
|
10025
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebook
|
10026
|
+
command.params['name'] = name unless name.nil?
|
10027
|
+
command.query['fields'] = fields unless fields.nil?
|
10028
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10029
|
+
execute_or_queue_command(command, &block)
|
10030
|
+
end
|
10031
|
+
|
9918
10032
|
# Lists the recently viewed notebooks. Needs a side channel with the user's EUC.
|
9919
10033
|
# @param [String] parent
|
9920
10034
|
# Required. The parent branch resource name, such as `projects/`project`/
|
@@ -9954,6 +10068,106 @@ module Google
|
|
9954
10068
|
execute_or_queue_command(command, &block)
|
9955
10069
|
end
|
9956
10070
|
|
10071
|
+
# Shares a notebook to other accounts. Needs a side channel with the user's EUC.
|
10072
|
+
# @param [String] name
|
10073
|
+
# Required. Full resource name of Notebook, such as `projects/`project`/
|
10074
|
+
# locations/`location`/notebooks/`notebook_id``.
|
10075
|
+
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaShareNotebookRequest] google_cloud_notebooklm_v1alpha_share_notebook_request_object
|
10076
|
+
# @param [String] fields
|
10077
|
+
# Selector specifying which fields to include in a partial response.
|
10078
|
+
# @param [String] quota_user
|
10079
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10080
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10081
|
+
# @param [Google::Apis::RequestOptions] options
|
10082
|
+
# Request-specific options
|
10083
|
+
#
|
10084
|
+
# @yield [result, err] Result & error if block supplied
|
10085
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaShareNotebookResponse] parsed result object
|
10086
|
+
# @yieldparam err [StandardError] error object if request failed
|
10087
|
+
#
|
10088
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaShareNotebookResponse]
|
10089
|
+
#
|
10090
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10091
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10092
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10093
|
+
def share_project_location_notebook(name, google_cloud_notebooklm_v1alpha_share_notebook_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
10094
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:share', options)
|
10095
|
+
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaShareNotebookRequest::Representation
|
10096
|
+
command.request_object = google_cloud_notebooklm_v1alpha_share_notebook_request_object
|
10097
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaShareNotebookResponse::Representation
|
10098
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaShareNotebookResponse
|
10099
|
+
command.params['name'] = name unless name.nil?
|
10100
|
+
command.query['fields'] = fields unless fields.nil?
|
10101
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10102
|
+
execute_or_queue_command(command, &block)
|
10103
|
+
end
|
10104
|
+
|
10105
|
+
# Generates a new audio overview. Needs a side channel with the user's EUC.
|
10106
|
+
# @param [String] parent
|
10107
|
+
# Required. The parent resource where this notebook will be created. Format:
|
10108
|
+
# projects/`project`/locations/`location`/notebooks/`notebook`
|
10109
|
+
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaCreateAudioOverviewRequest] google_cloud_notebooklm_v1alpha_create_audio_overview_request_object
|
10110
|
+
# @param [String] fields
|
10111
|
+
# Selector specifying which fields to include in a partial response.
|
10112
|
+
# @param [String] quota_user
|
10113
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10114
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10115
|
+
# @param [Google::Apis::RequestOptions] options
|
10116
|
+
# Request-specific options
|
10117
|
+
#
|
10118
|
+
# @yield [result, err] Result & error if block supplied
|
10119
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaCreateAudioOverviewResponse] parsed result object
|
10120
|
+
# @yieldparam err [StandardError] error object if request failed
|
10121
|
+
#
|
10122
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaCreateAudioOverviewResponse]
|
10123
|
+
#
|
10124
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10125
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10126
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10127
|
+
def create_project_location_notebook_audio_overview(parent, google_cloud_notebooklm_v1alpha_create_audio_overview_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
10128
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/audioOverviews', options)
|
10129
|
+
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaCreateAudioOverviewRequest::Representation
|
10130
|
+
command.request_object = google_cloud_notebooklm_v1alpha_create_audio_overview_request_object
|
10131
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaCreateAudioOverviewResponse::Representation
|
10132
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaCreateAudioOverviewResponse
|
10133
|
+
command.params['parent'] = parent unless parent.nil?
|
10134
|
+
command.query['fields'] = fields unless fields.nil?
|
10135
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10136
|
+
execute_or_queue_command(command, &block)
|
10137
|
+
end
|
10138
|
+
|
10139
|
+
# Deletes an audio overview. Needs a side channel with the user's EUC.
|
10140
|
+
# @param [String] name
|
10141
|
+
# Required. The full resource name of the AudioOverview, such as `projects/`
|
10142
|
+
# project`/locations/`location`/notebooks/`notebook`/audioOverviews/`
|
10143
|
+
# audio_overview_id``.
|
10144
|
+
# @param [String] fields
|
10145
|
+
# Selector specifying which fields to include in a partial response.
|
10146
|
+
# @param [String] quota_user
|
10147
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10148
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10149
|
+
# @param [Google::Apis::RequestOptions] options
|
10150
|
+
# Request-specific options
|
10151
|
+
#
|
10152
|
+
# @yield [result, err] Result & error if block supplied
|
10153
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty] parsed result object
|
10154
|
+
# @yieldparam err [StandardError] error object if request failed
|
10155
|
+
#
|
10156
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty]
|
10157
|
+
#
|
10158
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10159
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10160
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10161
|
+
def delete_project_location_notebook_audio_overview(name, fields: nil, quota_user: nil, options: nil, &block)
|
10162
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
10163
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty::Representation
|
10164
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty
|
10165
|
+
command.params['name'] = name unless name.nil?
|
10166
|
+
command.query['fields'] = fields unless fields.nil?
|
10167
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10168
|
+
execute_or_queue_command(command, &block)
|
10169
|
+
end
|
10170
|
+
|
9957
10171
|
# Creates a list of Sources.
|
9958
10172
|
# @param [String] parent
|
9959
10173
|
# Required. The parent resource where the sources will be created. Format:
|
@@ -9988,6 +10202,71 @@ module Google
|
|
9988
10202
|
execute_or_queue_command(command, &block)
|
9989
10203
|
end
|
9990
10204
|
|
10205
|
+
# Deletes multiple sources
|
10206
|
+
# @param [String] parent
|
10207
|
+
# Required. The parent resource where the sources will be deleted. Format:
|
10208
|
+
# projects/`project`/locations/`location`/notebooks/`notebook`
|
10209
|
+
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest] google_cloud_notebooklm_v1alpha_batch_delete_sources_request_object
|
10210
|
+
# @param [String] fields
|
10211
|
+
# Selector specifying which fields to include in a partial response.
|
10212
|
+
# @param [String] quota_user
|
10213
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10214
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10215
|
+
# @param [Google::Apis::RequestOptions] options
|
10216
|
+
# Request-specific options
|
10217
|
+
#
|
10218
|
+
# @yield [result, err] Result & error if block supplied
|
10219
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty] parsed result object
|
10220
|
+
# @yieldparam err [StandardError] error object if request failed
|
10221
|
+
#
|
10222
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty]
|
10223
|
+
#
|
10224
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10225
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10226
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10227
|
+
def batch_project_location_notebook_source_delete(parent, google_cloud_notebooklm_v1alpha_batch_delete_sources_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
10228
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/sources:batchDelete', options)
|
10229
|
+
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest::Representation
|
10230
|
+
command.request_object = google_cloud_notebooklm_v1alpha_batch_delete_sources_request_object
|
10231
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty::Representation
|
10232
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty
|
10233
|
+
command.params['parent'] = parent unless parent.nil?
|
10234
|
+
command.query['fields'] = fields unless fields.nil?
|
10235
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10236
|
+
execute_or_queue_command(command, &block)
|
10237
|
+
end
|
10238
|
+
|
10239
|
+
# Gets a Source.
|
10240
|
+
# @param [String] name
|
10241
|
+
# Required. The resource name for source Format: projects/`project`/locations/`
|
10242
|
+
# location`/notebooks/`notebook`/sources/`source`
|
10243
|
+
# @param [String] fields
|
10244
|
+
# Selector specifying which fields to include in a partial response.
|
10245
|
+
# @param [String] quota_user
|
10246
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10247
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10248
|
+
# @param [Google::Apis::RequestOptions] options
|
10249
|
+
# Request-specific options
|
10250
|
+
#
|
10251
|
+
# @yield [result, err] Result & error if block supplied
|
10252
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaSource] parsed result object
|
10253
|
+
# @yieldparam err [StandardError] error object if request failed
|
10254
|
+
#
|
10255
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaSource]
|
10256
|
+
#
|
10257
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10258
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10259
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10260
|
+
def get_project_location_notebook_source(name, fields: nil, quota_user: nil, options: nil, &block)
|
10261
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
10262
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaSource::Representation
|
10263
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaSource
|
10264
|
+
command.params['name'] = name unless name.nil?
|
10265
|
+
command.query['fields'] = fields unless fields.nil?
|
10266
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10267
|
+
execute_or_queue_command(command, &block)
|
10268
|
+
end
|
10269
|
+
|
9991
10270
|
# Uploads a file for Notebook LM to use. Creates a Source.
|
9992
10271
|
# @param [String] parent
|
9993
10272
|
# 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.
|
4
|
+
version: 0.75.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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.75.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:
|