google-apis-cloudsearch_v1 0.31.0 → 0.34.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1205,6 +1205,44 @@ module Google
1205
1205
  execute_or_queue_command(command, &block)
1206
1206
  end
1207
1207
 
1208
+ # Updates a datasource. **Note:** This API requires an admin account to execute.
1209
+ # @param [String] name
1210
+ # The name of the datasource resource. Format: datasources/`source_id`. The name
1211
+ # is ignored when creating a datasource.
1212
+ # @param [Google::Apis::CloudsearchV1::DataSource] data_source_object
1213
+ # @param [Boolean] debug_options_enable_debugging
1214
+ # If you are asked by Google to help with debugging, set this field. Otherwise,
1215
+ # ignore this field.
1216
+ # @param [String] fields
1217
+ # Selector specifying which fields to include in a partial response.
1218
+ # @param [String] quota_user
1219
+ # Available to use for quota purposes for server-side applications. Can be any
1220
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1221
+ # @param [Google::Apis::RequestOptions] options
1222
+ # Request-specific options
1223
+ #
1224
+ # @yield [result, err] Result & error if block supplied
1225
+ # @yieldparam result [Google::Apis::CloudsearchV1::Operation] parsed result object
1226
+ # @yieldparam err [StandardError] error object if request failed
1227
+ #
1228
+ # @return [Google::Apis::CloudsearchV1::Operation]
1229
+ #
1230
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1231
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1232
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1233
+ def patch_setting_datasource(name, data_source_object = nil, debug_options_enable_debugging: nil, fields: nil, quota_user: nil, options: nil, &block)
1234
+ command = make_simple_command(:patch, 'v1/settings/{+name}', options)
1235
+ command.request_representation = Google::Apis::CloudsearchV1::DataSource::Representation
1236
+ command.request_object = data_source_object
1237
+ command.response_representation = Google::Apis::CloudsearchV1::Operation::Representation
1238
+ command.response_class = Google::Apis::CloudsearchV1::Operation
1239
+ command.params['name'] = name unless name.nil?
1240
+ command.query['debugOptions.enableDebugging'] = debug_options_enable_debugging unless debug_options_enable_debugging.nil?
1241
+ command.query['fields'] = fields unless fields.nil?
1242
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1243
+ execute_or_queue_command(command, &block)
1244
+ end
1245
+
1208
1246
  # Updates a datasource. **Note:** This API requires an admin account to execute.
1209
1247
  # @param [String] name
1210
1248
  # The name of the datasource resource. Format: datasources/`source_id`. The name
@@ -1381,6 +1419,41 @@ module Google
1381
1419
  execute_or_queue_command(command, &block)
1382
1420
  end
1383
1421
 
1422
+ # Updates a search application. **Note:** This API requires an admin account to
1423
+ # execute.
1424
+ # @param [String] name
1425
+ # The name of the Search Application. Format: searchapplications/`application_id`
1426
+ # .
1427
+ # @param [Google::Apis::CloudsearchV1::SearchApplication] search_application_object
1428
+ # @param [String] fields
1429
+ # Selector specifying which fields to include in a partial response.
1430
+ # @param [String] quota_user
1431
+ # Available to use for quota purposes for server-side applications. Can be any
1432
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1433
+ # @param [Google::Apis::RequestOptions] options
1434
+ # Request-specific options
1435
+ #
1436
+ # @yield [result, err] Result & error if block supplied
1437
+ # @yieldparam result [Google::Apis::CloudsearchV1::Operation] parsed result object
1438
+ # @yieldparam err [StandardError] error object if request failed
1439
+ #
1440
+ # @return [Google::Apis::CloudsearchV1::Operation]
1441
+ #
1442
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1443
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1444
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1445
+ def patch_setting_searchapplication(name, search_application_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1446
+ command = make_simple_command(:patch, 'v1/settings/{+name}', options)
1447
+ command.request_representation = Google::Apis::CloudsearchV1::SearchApplication::Representation
1448
+ command.request_object = search_application_object
1449
+ command.response_representation = Google::Apis::CloudsearchV1::Operation::Representation
1450
+ command.response_class = Google::Apis::CloudsearchV1::Operation
1451
+ command.params['name'] = name unless name.nil?
1452
+ command.query['fields'] = fields unless fields.nil?
1453
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1454
+ execute_or_queue_command(command, &block)
1455
+ end
1456
+
1384
1457
  # Resets a search application to default settings. This will return an empty
1385
1458
  # response. **Note:** This API requires an admin account to execute.
1386
1459
  # @param [String] name
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudsearch_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.34.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: 2022-07-18 00:00:00.000000000 Z
11
+ date: 2022-08-22 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-cloudsearch_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.34.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsearch_v1
63
63
  post_install_message:
64
64
  rdoc_options: []