google-apis-discoveryengine_v1beta 0.37.0 → 0.39.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -424,6 +424,41 @@ module Google
424
424
  execute_or_queue_command(command, &block)
425
425
  end
426
426
 
427
+ # Trains a custom model.
428
+ # @param [String] data_store
429
+ # Required. The resource name of the Data Store, such as `projects/*/locations/
430
+ # global/collections/default_collection/dataStores/default_data_store`. This
431
+ # field is used to identify the data store where to train the models.
432
+ # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest] google_cloud_discoveryengine_v1beta_train_custom_model_request_object
433
+ # @param [String] fields
434
+ # Selector specifying which fields to include in a partial response.
435
+ # @param [String] quota_user
436
+ # Available to use for quota purposes for server-side applications. Can be any
437
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
438
+ # @param [Google::Apis::RequestOptions] options
439
+ # Request-specific options
440
+ #
441
+ # @yield [result, err] Result & error if block supplied
442
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
443
+ # @yieldparam err [StandardError] error object if request failed
444
+ #
445
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
446
+ #
447
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
448
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
449
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
450
+ def train_project_location_collection_data_store_custom_model(data_store, google_cloud_discoveryengine_v1beta_train_custom_model_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
451
+ command = make_simple_command(:post, 'v1beta/{+dataStore}:trainCustomModel', options)
452
+ command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest::Representation
453
+ command.request_object = google_cloud_discoveryengine_v1beta_train_custom_model_request_object
454
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
455
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
456
+ command.params['dataStore'] = data_store unless data_store.nil?
457
+ command.query['fields'] = fields unless fields.nil?
458
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
459
+ execute_or_queue_command(command, &block)
460
+ end
461
+
427
462
  # Creates a Document.
428
463
  # @param [String] parent
429
464
  # Required. The parent resource name, such as `projects/`project`/locations/`
@@ -1403,8 +1438,8 @@ module Google
1403
1438
  # exist.
1404
1439
  # @param [String] name
1405
1440
  # Required. The resource name of the ServingConfig to get. Format: `projects/`
1406
- # project_number`/locations/`location`/collections/`collection`/dataStores/`
1407
- # data_store`/servingConfigs/`serving_config_id``
1441
+ # project_number`/locations/`location`/collections/`collection`/engines/`engine`/
1442
+ # servingConfigs/`serving_config_id``
1408
1443
  # @param [String] fields
1409
1444
  # Selector specifying which fields to include in a partial response.
1410
1445
  # @param [String] quota_user
@@ -1434,8 +1469,8 @@ module Google
1434
1469
 
1435
1470
  # Lists all ServingConfigs linked to this dataStore.
1436
1471
  # @param [String] parent
1437
- # Required. The dataStore resource name. Format: `projects/`project_number`/
1438
- # locations/`location`/collections/`collection`/dataStores/`data_store``
1472
+ # Required. Full resource name of the parent resource. Format: `projects/`
1473
+ # project_number`/locations/`location`/collections/`collection`/engines/`engine``
1439
1474
  # @param [Fixnum] page_size
1440
1475
  # Optional. Maximum number of results to return. If unspecified, defaults to 100.
1441
1476
  # If a value greater than 100 is provided, at most 100 results are returned.
@@ -1475,7 +1510,7 @@ module Google
1475
1510
  # not exist.
1476
1511
  # @param [String] name
1477
1512
  # Immutable. Fully qualified name `projects/`project`/locations/`location`/
1478
- # collections/`collection_id`/dataStores/`data_store_id`/servingConfigs/`
1513
+ # collections/`collection_id`/engines/`engine_id`/servingConfigs/`
1479
1514
  # serving_config_id``
1480
1515
  # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig] google_cloud_discoveryengine_v1beta_serving_config_object
1481
1516
  # @param [String] update_mask
@@ -2815,8 +2850,8 @@ module Google
2815
2850
  # exist.
2816
2851
  # @param [String] name
2817
2852
  # Required. The resource name of the ServingConfig to get. Format: `projects/`
2818
- # project_number`/locations/`location`/collections/`collection`/dataStores/`
2819
- # data_store`/servingConfigs/`serving_config_id``
2853
+ # project_number`/locations/`location`/collections/`collection`/engines/`engine`/
2854
+ # servingConfigs/`serving_config_id``
2820
2855
  # @param [String] fields
2821
2856
  # Selector specifying which fields to include in a partial response.
2822
2857
  # @param [String] quota_user
@@ -2846,8 +2881,8 @@ module Google
2846
2881
 
2847
2882
  # Lists all ServingConfigs linked to this dataStore.
2848
2883
  # @param [String] parent
2849
- # Required. The dataStore resource name. Format: `projects/`project_number`/
2850
- # locations/`location`/collections/`collection`/dataStores/`data_store``
2884
+ # Required. Full resource name of the parent resource. Format: `projects/`
2885
+ # project_number`/locations/`location`/collections/`collection`/engines/`engine``
2851
2886
  # @param [Fixnum] page_size
2852
2887
  # Optional. Maximum number of results to return. If unspecified, defaults to 100.
2853
2888
  # If a value greater than 100 is provided, at most 100 results are returned.
@@ -2887,7 +2922,7 @@ module Google
2887
2922
  # not exist.
2888
2923
  # @param [String] name
2889
2924
  # Immutable. Fully qualified name `projects/`project`/locations/`location`/
2890
- # collections/`collection_id`/dataStores/`data_store_id`/servingConfigs/`
2925
+ # collections/`collection_id`/engines/`engine_id`/servingConfigs/`
2891
2926
  # serving_config_id``
2892
2927
  # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig] google_cloud_discoveryengine_v1beta_serving_config_object
2893
2928
  # @param [String] update_mask
@@ -4283,8 +4318,8 @@ module Google
4283
4318
  # exist.
4284
4319
  # @param [String] name
4285
4320
  # Required. The resource name of the ServingConfig to get. Format: `projects/`
4286
- # project_number`/locations/`location`/collections/`collection`/dataStores/`
4287
- # data_store`/servingConfigs/`serving_config_id``
4321
+ # project_number`/locations/`location`/collections/`collection`/engines/`engine`/
4322
+ # servingConfigs/`serving_config_id``
4288
4323
  # @param [String] fields
4289
4324
  # Selector specifying which fields to include in a partial response.
4290
4325
  # @param [String] quota_user
@@ -4314,8 +4349,8 @@ module Google
4314
4349
 
4315
4350
  # Lists all ServingConfigs linked to this dataStore.
4316
4351
  # @param [String] parent
4317
- # Required. The dataStore resource name. Format: `projects/`project_number`/
4318
- # locations/`location`/collections/`collection`/dataStores/`data_store``
4352
+ # Required. Full resource name of the parent resource. Format: `projects/`
4353
+ # project_number`/locations/`location`/collections/`collection`/engines/`engine``
4319
4354
  # @param [Fixnum] page_size
4320
4355
  # Optional. Maximum number of results to return. If unspecified, defaults to 100.
4321
4356
  # If a value greater than 100 is provided, at most 100 results are returned.
@@ -4355,7 +4390,7 @@ module Google
4355
4390
  # not exist.
4356
4391
  # @param [String] name
4357
4392
  # Immutable. Fully qualified name `projects/`project`/locations/`location`/
4358
- # collections/`collection_id`/dataStores/`data_store_id`/servingConfigs/`
4393
+ # collections/`collection_id`/engines/`engine_id`/servingConfigs/`
4359
4394
  # serving_config_id``
4360
4395
  # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig] google_cloud_discoveryengine_v1beta_serving_config_object
4361
4396
  # @param [String] update_mask
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.39.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-03 00:00:00.000000000 Z
11
+ date: 2024-03-17 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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.39.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []