google-apis-discoveryengine_v1alpha 0.39.0 → 0.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +459 -209
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +215 -103
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +261 -17
- metadata +3 -3
@@ -388,7 +388,7 @@ module Google
|
|
388
388
|
# imported search events. * `document-completable` - Using suggestions taken
|
389
389
|
# directly from user-imported document fields marked as completable. Default
|
390
390
|
# values: * `document` is the default model for regular dataStores. * `search-
|
391
|
-
# history` is the default model for site search dataStores.
|
391
|
+
# history` is the default model for site search dataStores.
|
392
392
|
# @param [String] user_pseudo_id
|
393
393
|
# A unique identifier for tracking visitors. For example, this could be
|
394
394
|
# implemented with an HTTP cookie, which should be able to uniquely identify a
|
@@ -890,6 +890,47 @@ module Google
|
|
890
890
|
execute_or_queue_command(command, &block)
|
891
891
|
end
|
892
892
|
|
893
|
+
# Gets the parsed layout information for a Document.
|
894
|
+
# @param [String] name
|
895
|
+
# Required. Full resource name of Document, such as `projects/`project`/
|
896
|
+
# locations/`location`/collections/`collection`/dataStores/`data_store`/branches/
|
897
|
+
# `branch`/documents/`document``. If the caller does not have permission to
|
898
|
+
# access the Document, regardless of whether or not it exists, a `
|
899
|
+
# PERMISSION_DENIED` error is returned. If the requested Document does not exist,
|
900
|
+
# a `NOT_FOUND` error is returned.
|
901
|
+
# @param [String] processed_document_format
|
902
|
+
# What format output should be. If unspecified, defaults to JSON.
|
903
|
+
# @param [String] processed_document_type
|
904
|
+
# Required. What type of processing to return.
|
905
|
+
# @param [String] fields
|
906
|
+
# Selector specifying which fields to include in a partial response.
|
907
|
+
# @param [String] quota_user
|
908
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
909
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
910
|
+
# @param [Google::Apis::RequestOptions] options
|
911
|
+
# Request-specific options
|
912
|
+
#
|
913
|
+
# @yield [result, err] Result & error if block supplied
|
914
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProcessedDocument] parsed result object
|
915
|
+
# @yieldparam err [StandardError] error object if request failed
|
916
|
+
#
|
917
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProcessedDocument]
|
918
|
+
#
|
919
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
920
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
921
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
922
|
+
def get_project_location_collection_data_store_branch_document_processed_document(name, processed_document_format: nil, processed_document_type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
923
|
+
command = make_simple_command(:get, 'v1alpha/{+name}:getProcessedDocument', options)
|
924
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProcessedDocument::Representation
|
925
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProcessedDocument
|
926
|
+
command.params['name'] = name unless name.nil?
|
927
|
+
command.query['processedDocumentFormat'] = processed_document_format unless processed_document_format.nil?
|
928
|
+
command.query['processedDocumentType'] = processed_document_type unless processed_document_type.nil?
|
929
|
+
command.query['fields'] = fields unless fields.nil?
|
930
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
931
|
+
execute_or_queue_command(command, &block)
|
932
|
+
end
|
933
|
+
|
893
934
|
# Bulk import of multiple Documents. Request processing may be synchronous. Non-
|
894
935
|
# existing items will be created. Note: It is possible for a subset of the
|
895
936
|
# Documents to be successfully updated.
|
@@ -1056,6 +1097,87 @@ module Google
|
|
1056
1097
|
execute_or_queue_command(command, &block)
|
1057
1098
|
end
|
1058
1099
|
|
1100
|
+
# Gets a Document.
|
1101
|
+
# @param [String] name
|
1102
|
+
# Required. Full resource name of Chunk, such as `projects/`project`/locations/`
|
1103
|
+
# location`/collections/`collection`/dataStores/`data_store`/branches/`branch`/
|
1104
|
+
# documents/`document`/chunks/`chunk``. If the caller does not have permission
|
1105
|
+
# to access the Chunk, regardless of whether or not it exists, a `
|
1106
|
+
# PERMISSION_DENIED` error is returned. If the requested Chunk does not exist, a
|
1107
|
+
# `NOT_FOUND` error is returned.
|
1108
|
+
# @param [String] fields
|
1109
|
+
# Selector specifying which fields to include in a partial response.
|
1110
|
+
# @param [String] quota_user
|
1111
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1112
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1113
|
+
# @param [Google::Apis::RequestOptions] options
|
1114
|
+
# Request-specific options
|
1115
|
+
#
|
1116
|
+
# @yield [result, err] Result & error if block supplied
|
1117
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk] parsed result object
|
1118
|
+
# @yieldparam err [StandardError] error object if request failed
|
1119
|
+
#
|
1120
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk]
|
1121
|
+
#
|
1122
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1123
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1124
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1125
|
+
def get_project_location_collection_data_store_branch_document_chunk(name, fields: nil, quota_user: nil, options: nil, &block)
|
1126
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1127
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk::Representation
|
1128
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk
|
1129
|
+
command.params['name'] = name unless name.nil?
|
1130
|
+
command.query['fields'] = fields unless fields.nil?
|
1131
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1132
|
+
execute_or_queue_command(command, &block)
|
1133
|
+
end
|
1134
|
+
|
1135
|
+
# Gets a list of Chunks.
|
1136
|
+
# @param [String] parent
|
1137
|
+
# Required. The parent document resource name, such as `projects/`project`/
|
1138
|
+
# locations/`location`/collections/`collection`/dataStores/`data_store`/branches/
|
1139
|
+
# `branch`/documents/`document``. If the caller does not have permission to list
|
1140
|
+
# Chunks under this document, regardless of whether or not this document exists,
|
1141
|
+
# a `PERMISSION_DENIED` error is returned.
|
1142
|
+
# @param [Fixnum] page_size
|
1143
|
+
# Maximum number of Chunks to return. If unspecified, defaults to 100. The
|
1144
|
+
# maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If
|
1145
|
+
# this field is negative, an `INVALID_ARGUMENT` error is returned.
|
1146
|
+
# @param [String] page_token
|
1147
|
+
# A page token ListChunksResponse.next_page_token, received from a previous
|
1148
|
+
# ChunkService.ListChunks call. Provide this to retrieve the subsequent page.
|
1149
|
+
# When paginating, all other parameters provided to ChunkService.ListChunks must
|
1150
|
+
# match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT`
|
1151
|
+
# error is returned.
|
1152
|
+
# @param [String] fields
|
1153
|
+
# Selector specifying which fields to include in a partial response.
|
1154
|
+
# @param [String] quota_user
|
1155
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1156
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1157
|
+
# @param [Google::Apis::RequestOptions] options
|
1158
|
+
# Request-specific options
|
1159
|
+
#
|
1160
|
+
# @yield [result, err] Result & error if block supplied
|
1161
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListChunksResponse] parsed result object
|
1162
|
+
# @yieldparam err [StandardError] error object if request failed
|
1163
|
+
#
|
1164
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListChunksResponse]
|
1165
|
+
#
|
1166
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1167
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1168
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1169
|
+
def list_project_location_collection_data_store_branch_document_chunks(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1170
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/chunks', options)
|
1171
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListChunksResponse::Representation
|
1172
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListChunksResponse
|
1173
|
+
command.params['parent'] = parent unless parent.nil?
|
1174
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1175
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1176
|
+
command.query['fields'] = fields unless fields.nil?
|
1177
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1178
|
+
execute_or_queue_command(command, &block)
|
1179
|
+
end
|
1180
|
+
|
1059
1181
|
# Gets the latest state of a long-running operation. Clients can use this method
|
1060
1182
|
# to poll the operation result at intervals as recommended by the API service.
|
1061
1183
|
# @param [String] name
|
@@ -1759,8 +1881,8 @@ module Google
|
|
1759
1881
|
# exist.
|
1760
1882
|
# @param [String] name
|
1761
1883
|
# Required. The resource name of the ServingConfig to get. Format: `projects/`
|
1762
|
-
# project_number`/locations/`location`/collections/`collection`/
|
1763
|
-
#
|
1884
|
+
# project_number`/locations/`location`/collections/`collection`/engines/`engine`/
|
1885
|
+
# servingConfigs/`serving_config_id``
|
1764
1886
|
# @param [String] fields
|
1765
1887
|
# Selector specifying which fields to include in a partial response.
|
1766
1888
|
# @param [String] quota_user
|
@@ -1790,8 +1912,8 @@ module Google
|
|
1790
1912
|
|
1791
1913
|
# Lists all ServingConfigs linked to this dataStore.
|
1792
1914
|
# @param [String] parent
|
1793
|
-
# Required.
|
1794
|
-
# locations/`location`/collections/`collection`/
|
1915
|
+
# Required. Full resource name of the parent resource. Format: `projects/`
|
1916
|
+
# project_number`/locations/`location`/collections/`collection`/engines/`engine``
|
1795
1917
|
# @param [Fixnum] page_size
|
1796
1918
|
# Optional. Maximum number of results to return. If unspecified, defaults to 100.
|
1797
1919
|
# If a value greater than 100 is provided, at most 100 results are returned.
|
@@ -1831,7 +1953,7 @@ module Google
|
|
1831
1953
|
# not exist.
|
1832
1954
|
# @param [String] name
|
1833
1955
|
# Immutable. Fully qualified name `projects/`project`/locations/`location`/
|
1834
|
-
# collections/`collection_id`/
|
1956
|
+
# collections/`collection_id`/engines/`engine_id`/servingConfigs/`
|
1835
1957
|
# serving_config_id``
|
1836
1958
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] google_cloud_discoveryengine_v1alpha_serving_config_object
|
1837
1959
|
# @param [String] update_mask
|
@@ -3315,8 +3437,8 @@ module Google
|
|
3315
3437
|
# exist.
|
3316
3438
|
# @param [String] name
|
3317
3439
|
# Required. The resource name of the ServingConfig to get. Format: `projects/`
|
3318
|
-
# project_number`/locations/`location`/collections/`collection`/
|
3319
|
-
#
|
3440
|
+
# project_number`/locations/`location`/collections/`collection`/engines/`engine`/
|
3441
|
+
# servingConfigs/`serving_config_id``
|
3320
3442
|
# @param [String] fields
|
3321
3443
|
# Selector specifying which fields to include in a partial response.
|
3322
3444
|
# @param [String] quota_user
|
@@ -3346,8 +3468,8 @@ module Google
|
|
3346
3468
|
|
3347
3469
|
# Lists all ServingConfigs linked to this dataStore.
|
3348
3470
|
# @param [String] parent
|
3349
|
-
# Required.
|
3350
|
-
# locations/`location`/collections/`collection`/
|
3471
|
+
# Required. Full resource name of the parent resource. Format: `projects/`
|
3472
|
+
# project_number`/locations/`location`/collections/`collection`/engines/`engine``
|
3351
3473
|
# @param [Fixnum] page_size
|
3352
3474
|
# Optional. Maximum number of results to return. If unspecified, defaults to 100.
|
3353
3475
|
# If a value greater than 100 is provided, at most 100 results are returned.
|
@@ -3387,7 +3509,7 @@ module Google
|
|
3387
3509
|
# not exist.
|
3388
3510
|
# @param [String] name
|
3389
3511
|
# Immutable. Fully qualified name `projects/`project`/locations/`location`/
|
3390
|
-
# collections/`collection_id`/
|
3512
|
+
# collections/`collection_id`/engines/`engine_id`/servingConfigs/`
|
3391
3513
|
# serving_config_id``
|
3392
3514
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] google_cloud_discoveryengine_v1alpha_serving_config_object
|
3393
3515
|
# @param [String] update_mask
|
@@ -3595,7 +3717,7 @@ module Google
|
|
3595
3717
|
# imported search events. * `document-completable` - Using suggestions taken
|
3596
3718
|
# directly from user-imported document fields marked as completable. Default
|
3597
3719
|
# values: * `document` is the default model for regular dataStores. * `search-
|
3598
|
-
# history` is the default model for site search dataStores.
|
3720
|
+
# history` is the default model for site search dataStores.
|
3599
3721
|
# @param [String] user_pseudo_id
|
3600
3722
|
# A unique identifier for tracking visitors. For example, this could be
|
3601
3723
|
# implemented with an HTTP cookie, which should be able to uniquely identify a
|
@@ -4062,6 +4184,47 @@ module Google
|
|
4062
4184
|
execute_or_queue_command(command, &block)
|
4063
4185
|
end
|
4064
4186
|
|
4187
|
+
# Gets the parsed layout information for a Document.
|
4188
|
+
# @param [String] name
|
4189
|
+
# Required. Full resource name of Document, such as `projects/`project`/
|
4190
|
+
# locations/`location`/collections/`collection`/dataStores/`data_store`/branches/
|
4191
|
+
# `branch`/documents/`document``. If the caller does not have permission to
|
4192
|
+
# access the Document, regardless of whether or not it exists, a `
|
4193
|
+
# PERMISSION_DENIED` error is returned. If the requested Document does not exist,
|
4194
|
+
# a `NOT_FOUND` error is returned.
|
4195
|
+
# @param [String] processed_document_format
|
4196
|
+
# What format output should be. If unspecified, defaults to JSON.
|
4197
|
+
# @param [String] processed_document_type
|
4198
|
+
# Required. What type of processing to return.
|
4199
|
+
# @param [String] fields
|
4200
|
+
# Selector specifying which fields to include in a partial response.
|
4201
|
+
# @param [String] quota_user
|
4202
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4203
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4204
|
+
# @param [Google::Apis::RequestOptions] options
|
4205
|
+
# Request-specific options
|
4206
|
+
#
|
4207
|
+
# @yield [result, err] Result & error if block supplied
|
4208
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProcessedDocument] parsed result object
|
4209
|
+
# @yieldparam err [StandardError] error object if request failed
|
4210
|
+
#
|
4211
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProcessedDocument]
|
4212
|
+
#
|
4213
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4214
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4215
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4216
|
+
def get_project_location_data_store_branch_document_processed_document(name, processed_document_format: nil, processed_document_type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4217
|
+
command = make_simple_command(:get, 'v1alpha/{+name}:getProcessedDocument', options)
|
4218
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProcessedDocument::Representation
|
4219
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProcessedDocument
|
4220
|
+
command.params['name'] = name unless name.nil?
|
4221
|
+
command.query['processedDocumentFormat'] = processed_document_format unless processed_document_format.nil?
|
4222
|
+
command.query['processedDocumentType'] = processed_document_type unless processed_document_type.nil?
|
4223
|
+
command.query['fields'] = fields unless fields.nil?
|
4224
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4225
|
+
execute_or_queue_command(command, &block)
|
4226
|
+
end
|
4227
|
+
|
4065
4228
|
# Bulk import of multiple Documents. Request processing may be synchronous. Non-
|
4066
4229
|
# existing items will be created. Note: It is possible for a subset of the
|
4067
4230
|
# Documents to be successfully updated.
|
@@ -4228,6 +4391,87 @@ module Google
|
|
4228
4391
|
execute_or_queue_command(command, &block)
|
4229
4392
|
end
|
4230
4393
|
|
4394
|
+
# Gets a Document.
|
4395
|
+
# @param [String] name
|
4396
|
+
# Required. Full resource name of Chunk, such as `projects/`project`/locations/`
|
4397
|
+
# location`/collections/`collection`/dataStores/`data_store`/branches/`branch`/
|
4398
|
+
# documents/`document`/chunks/`chunk``. If the caller does not have permission
|
4399
|
+
# to access the Chunk, regardless of whether or not it exists, a `
|
4400
|
+
# PERMISSION_DENIED` error is returned. If the requested Chunk does not exist, a
|
4401
|
+
# `NOT_FOUND` error is returned.
|
4402
|
+
# @param [String] fields
|
4403
|
+
# Selector specifying which fields to include in a partial response.
|
4404
|
+
# @param [String] quota_user
|
4405
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4406
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4407
|
+
# @param [Google::Apis::RequestOptions] options
|
4408
|
+
# Request-specific options
|
4409
|
+
#
|
4410
|
+
# @yield [result, err] Result & error if block supplied
|
4411
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk] parsed result object
|
4412
|
+
# @yieldparam err [StandardError] error object if request failed
|
4413
|
+
#
|
4414
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk]
|
4415
|
+
#
|
4416
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4417
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4418
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4419
|
+
def get_project_location_data_store_branch_document_chunk(name, fields: nil, quota_user: nil, options: nil, &block)
|
4420
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
4421
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk::Representation
|
4422
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk
|
4423
|
+
command.params['name'] = name unless name.nil?
|
4424
|
+
command.query['fields'] = fields unless fields.nil?
|
4425
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4426
|
+
execute_or_queue_command(command, &block)
|
4427
|
+
end
|
4428
|
+
|
4429
|
+
# Gets a list of Chunks.
|
4430
|
+
# @param [String] parent
|
4431
|
+
# Required. The parent document resource name, such as `projects/`project`/
|
4432
|
+
# locations/`location`/collections/`collection`/dataStores/`data_store`/branches/
|
4433
|
+
# `branch`/documents/`document``. If the caller does not have permission to list
|
4434
|
+
# Chunks under this document, regardless of whether or not this document exists,
|
4435
|
+
# a `PERMISSION_DENIED` error is returned.
|
4436
|
+
# @param [Fixnum] page_size
|
4437
|
+
# Maximum number of Chunks to return. If unspecified, defaults to 100. The
|
4438
|
+
# maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If
|
4439
|
+
# this field is negative, an `INVALID_ARGUMENT` error is returned.
|
4440
|
+
# @param [String] page_token
|
4441
|
+
# A page token ListChunksResponse.next_page_token, received from a previous
|
4442
|
+
# ChunkService.ListChunks call. Provide this to retrieve the subsequent page.
|
4443
|
+
# When paginating, all other parameters provided to ChunkService.ListChunks must
|
4444
|
+
# match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT`
|
4445
|
+
# error is returned.
|
4446
|
+
# @param [String] fields
|
4447
|
+
# Selector specifying which fields to include in a partial response.
|
4448
|
+
# @param [String] quota_user
|
4449
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4450
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4451
|
+
# @param [Google::Apis::RequestOptions] options
|
4452
|
+
# Request-specific options
|
4453
|
+
#
|
4454
|
+
# @yield [result, err] Result & error if block supplied
|
4455
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListChunksResponse] parsed result object
|
4456
|
+
# @yieldparam err [StandardError] error object if request failed
|
4457
|
+
#
|
4458
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListChunksResponse]
|
4459
|
+
#
|
4460
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4461
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4462
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4463
|
+
def list_project_location_data_store_branch_document_chunks(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4464
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/chunks', options)
|
4465
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListChunksResponse::Representation
|
4466
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListChunksResponse
|
4467
|
+
command.params['parent'] = parent unless parent.nil?
|
4468
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
4469
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4470
|
+
command.query['fields'] = fields unless fields.nil?
|
4471
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4472
|
+
execute_or_queue_command(command, &block)
|
4473
|
+
end
|
4474
|
+
|
4231
4475
|
# Gets the latest state of a long-running operation. Clients can use this method
|
4232
4476
|
# to poll the operation result at intervals as recommended by the API service.
|
4233
4477
|
# @param [String] name
|
@@ -4860,8 +5104,8 @@ module Google
|
|
4860
5104
|
# exist.
|
4861
5105
|
# @param [String] name
|
4862
5106
|
# Required. The resource name of the ServingConfig to get. Format: `projects/`
|
4863
|
-
# project_number`/locations/`location`/collections/`collection`/
|
4864
|
-
#
|
5107
|
+
# project_number`/locations/`location`/collections/`collection`/engines/`engine`/
|
5108
|
+
# servingConfigs/`serving_config_id``
|
4865
5109
|
# @param [String] fields
|
4866
5110
|
# Selector specifying which fields to include in a partial response.
|
4867
5111
|
# @param [String] quota_user
|
@@ -4891,8 +5135,8 @@ module Google
|
|
4891
5135
|
|
4892
5136
|
# Lists all ServingConfigs linked to this dataStore.
|
4893
5137
|
# @param [String] parent
|
4894
|
-
# Required.
|
4895
|
-
# locations/`location`/collections/`collection`/
|
5138
|
+
# Required. Full resource name of the parent resource. Format: `projects/`
|
5139
|
+
# project_number`/locations/`location`/collections/`collection`/engines/`engine``
|
4896
5140
|
# @param [Fixnum] page_size
|
4897
5141
|
# Optional. Maximum number of results to return. If unspecified, defaults to 100.
|
4898
5142
|
# If a value greater than 100 is provided, at most 100 results are returned.
|
@@ -4932,7 +5176,7 @@ module Google
|
|
4932
5176
|
# not exist.
|
4933
5177
|
# @param [String] name
|
4934
5178
|
# Immutable. Fully qualified name `projects/`project`/locations/`location`/
|
4935
|
-
# collections/`collection_id`/
|
5179
|
+
# collections/`collection_id`/engines/`engine_id`/servingConfigs/`
|
4936
5180
|
# serving_config_id``
|
4937
5181
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] google_cloud_discoveryengine_v1alpha_serving_config_object
|
4938
5182
|
# @param [String] update_mask
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.41.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.41.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|