Skip to content

Commit 58fc950

Browse files
committed
[API] Updates generated source code docs
1 parent ae6ad7d commit 58fc950

38 files changed

+45
-38
lines changed

lib/elasticsearch-serverless/api/machine_learning/flush_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Forces any buffered data to be processed by the job.
25+
# Force buffered data to be processed.
2626
# The flush jobs API is only applicable when sending data for analysis using
2727
# the post data API. Depending on the content of the buffer, then it might
2828
# additionally calculate new results. Both flush and close operations are

lib/elasticsearch-serverless/api/machine_learning/get_calendar_events.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Retrieves information about the scheduled events in calendars.
25+
# Get info about events in calendars.
2626
#
2727
# @option arguments [String] :calendar_id A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using +_all+ or +*+ or by omitting the calendar identifier. (*Required*)
2828
# @option arguments [String, Time] :end Specifies to get events with timestamps earlier than this time.

lib/elasticsearch-serverless/api/machine_learning/get_calendars.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Retrieves configuration information for calendars.
25+
# Get calendar configuration info.
2626
#
2727
# @option arguments [String] :calendar_id A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using +_all+ or +*+ or by omitting the calendar identifier.
2828
# @option arguments [Integer] :from Skips the specified number of calendars. This parameter is supported only when you omit the calendar identifier. Server default: 0.

lib/elasticsearch-serverless/api/machine_learning/get_data_frame_analytics.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Retrieves configuration information for data frame analytics jobs.
25+
# Get data frame analytics job configuration info.
2626
# You can get information for multiple data frame analytics jobs in a single
2727
# API request by using a comma-separated list of data frame analytics jobs or a
2828
# wildcard expression.

lib/elasticsearch-serverless/api/machine_learning/get_data_frame_analytics_stats.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Retrieves usage information for data frame analytics jobs.
25+
# Get data frame analytics jobs usage info.
2626
#
2727
# @option arguments [String] :id Identifier for the data frame analytics job. If you do not specify this
2828
# option, the API returns information for the first hundred data frame

lib/elasticsearch-serverless/api/machine_learning/get_datafeed_stats.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Retrieves usage information for datafeeds.
25+
# Get datafeeds usage info.
2626
# You can get statistics for multiple datafeeds in a single API request by
2727
# using a comma-separated list of datafeeds or a wildcard expression. You can
2828
# get statistics for all datafeeds by using +_all+, by specifying +*+ as the

lib/elasticsearch-serverless/api/machine_learning/get_datafeeds.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Retrieves configuration information for datafeeds.
25+
# Get datafeeds configuration info.
2626
# You can get information for multiple datafeeds in a single API request by
2727
# using a comma-separated list of datafeeds or a wildcard expression. You can
2828
# get information for all datafeeds by using +_all+, by specifying +*+ as the

lib/elasticsearch-serverless/api/machine_learning/get_filters.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Retrieves filters.
25+
# Get filters.
2626
# You can get a single filter or all filters.
2727
#
2828
# @option arguments [String, Array] :filter_id A string that uniquely identifies a filter.

lib/elasticsearch-serverless/api/machine_learning/get_job_stats.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Retrieves usage information for anomaly detection jobs.
25+
# Get anomaly detection jobs usage info.
2626
#
2727
# @option arguments [String] :job_id Identifier for the anomaly detection job. It can be a job identifier, a
2828
# group name, a comma-separated list of jobs, or a wildcard expression. If

lib/elasticsearch-serverless/api/machine_learning/get_jobs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Retrieves configuration information for anomaly detection jobs.
25+
# Get anomaly detection jobs configuration info.
2626
# You can get information for multiple anomaly detection jobs in a single API
2727
# request by using a group name, a comma-separated list of jobs, or a wildcard
2828
# expression. You can get information for all anomaly detection jobs by using

lib/elasticsearch-serverless/api/machine_learning/get_overall_buckets.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Retrieves overall bucket results that summarize the bucket results of
25+
# Get overall bucket results.
26+
# Retrievs overall bucket results that summarize the bucket results of
2627
# multiple anomaly detection jobs.
2728
# The +overall_score+ is calculated by combining the scores of all the
2829
# buckets within the overall bucket span. First, the maximum

lib/elasticsearch-serverless/api/machine_learning/get_trained_models.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Retrieves configuration information for a trained model.
25+
# Get trained model configuration info.
2626
#
2727
# @option arguments [String, Array] :model_id The unique identifier of the trained model or a model alias.You can get information for multiple trained models in a single API
2828
# request by using a comma-separated list of model IDs or a wildcard

lib/elasticsearch-serverless/api/machine_learning/get_trained_models_stats.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Retrieves usage information for trained models. You can get usage information for multiple trained
25+
# Get trained models usage info.
26+
# You can get usage information for multiple trained
2627
# models in a single API request by using a comma-separated list of model IDs or a wildcard expression.
2728
#
2829
# @option arguments [String, Array] :model_id The unique identifier of the trained model or a model alias. It can be a

lib/elasticsearch-serverless/api/machine_learning/open_job.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ module API
2323
module MachineLearning
2424
module Actions
2525
# Open anomaly detection jobs.
26-
# An anomaly detection job must be opened in order for it to be ready to
27-
# receive and analyze data. It can be opened and closed multiple times
28-
# throughout its lifecycle.
26+
# An anomaly detection job must be opened to be ready to receive and analyze
27+
# data. It can be opened and closed multiple times throughout its lifecycle.
2928
# When you open a new job, it starts with an empty model.
3029
# When you open an existing job, the most recent model state is automatically
3130
# loaded. The job is ready to resume its analysis from where it left off, once

lib/elasticsearch-serverless/api/machine_learning/post_calendar_events.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Adds scheduled events to a calendar.
25+
# Add scheduled events to the calendar.
2626
#
2727
# @option arguments [String] :calendar_id A string that uniquely identifies a calendar. (*Required*)
2828
# @option arguments [Hash] :headers Custom HTTP headers

lib/elasticsearch-serverless/api/machine_learning/preview_data_frame_analytics.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25+
# Preview features used by data frame analytics.
2526
# Previews the extracted features used by a data frame analytics config.
2627
#
2728
# @option arguments [String] :id Identifier for the data frame analytics job.

lib/elasticsearch-serverless/api/machine_learning/preview_datafeed.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Previews a datafeed.
25+
# Preview a datafeed.
2626
# This API returns the first "page" of search results from a datafeed.
2727
# You can preview an existing datafeed or provide configuration details for a datafeed
2828
# and anomaly detection job in the API. The preview shows the structure of the data

lib/elasticsearch-serverless/api/machine_learning/put_calendar.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Creates a calendar.
25+
# Create a calendar.
2626
#
2727
# @option arguments [String] :calendar_id A string that uniquely identifies a calendar. (*Required*)
2828
# @option arguments [Hash] :headers Custom HTTP headers

lib/elasticsearch-serverless/api/machine_learning/put_calendar_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Adds an anomaly detection job to a calendar.
25+
# Add anomaly detection job to calendar.
2626
#
2727
# @option arguments [String] :calendar_id A string that uniquely identifies a calendar. (*Required*)
2828
# @option arguments [String, Array] :job_id An identifier for the anomaly detection jobs. It can be a job identifier, a group name, or a comma-separated list of jobs or groups. (*Required*)

lib/elasticsearch-serverless/api/machine_learning/put_data_frame_analytics.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Instantiates a data frame analytics job.
25+
# Create a data frame analytics job.
2626
# This API creates a data frame analytics job that performs an analysis on the
2727
# source indices and stores the outcome in a destination index.
2828
#

lib/elasticsearch-serverless/api/machine_learning/put_datafeed.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Instantiates a datafeed.
25+
# Create a datafeed.
2626
# Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job.
2727
# You can associate only one datafeed with each anomaly detection job.
2828
# The datafeed contains a query that runs at a defined interval (+frequency+).

lib/elasticsearch-serverless/api/machine_learning/put_filter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Instantiates a filter.
25+
# Create a filter.
2626
# A filter contains a list of strings. It can be used by one or more anomaly detection jobs.
2727
# Specifically, filters are referenced in the +custom_rules+ property of detector configuration objects.
2828
#

lib/elasticsearch-serverless/api/machine_learning/put_trained_model.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Enables you to supply a trained model that is not created by data frame analytics.
25+
# Create a trained model.
26+
# Enable you to supply a trained model that is not created by data frame analytics.
2627
#
2728
# @option arguments [String] :model_id The unique identifier of the trained model. (*Required*)
2829
# @option arguments [Boolean] :defer_definition_decompression If set to +true+ and a +compressed_definition+ is provided,

lib/elasticsearch-serverless/api/machine_learning/put_trained_model_alias.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Creates or updates a trained model alias. A trained model alias is a logical
26-
# name used to reference a single trained model.
25+
# Create or update a trained model alias.
26+
# A trained model alias is a logical name used to reference a single trained
27+
# model.
2728
# You can use aliases instead of trained model identifiers to make it easier to
2829
# reference your models. For example, you can use aliases in inference
2930
# aggregations and processors.

lib/elasticsearch-serverless/api/machine_learning/put_trained_model_definition_part.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Creates part of a trained model definition.
25+
# Create part of a trained model definition.
2626
#
2727
# @option arguments [String] :model_id The unique identifier of the trained model. (*Required*)
2828
# @option arguments [Integer] :part The definition part number. When the definition is loaded for inference the definition parts are streamed in the

lib/elasticsearch-serverless/api/machine_learning/put_trained_model_vocabulary.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Creates a trained model vocabulary.
25+
# Create a trained model vocabulary.
2626
# This API is supported only for natural language processing (NLP) models.
2727
# The vocabulary is stored in the index as described in +inference_config.*.vocabulary+ of the trained model definition.
2828
#

lib/elasticsearch-serverless/api/machine_learning/reset_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Resets an anomaly detection job.
25+
# Reset an anomaly detection job.
2626
# All model state and results are deleted. The job is ready to start over as if
2727
# it had just been created.
2828
# It is not currently possible to reset multiple jobs using wildcards or a

lib/elasticsearch-serverless/api/machine_learning/start_data_frame_analytics.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Starts a data frame analytics job.
25+
# Start a data frame analytics job.
2626
# A data frame analytics job can be started and stopped multiple times
2727
# throughout its lifecycle.
2828
# If the destination index does not exist, it is created automatically the

lib/elasticsearch-serverless/api/machine_learning/start_datafeed.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Starts one or more datafeeds.
25+
# Start datafeeds.
2626
# A datafeed must be started in order to retrieve data from Elasticsearch. A datafeed can be started and stopped
2727
# multiple times throughout its lifecycle.
2828
# Before you can start a datafeed, the anomaly detection job must be open. Otherwise, an error occurs.

lib/elasticsearch-serverless/api/machine_learning/start_trained_model_deployment.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Starts a trained model deployment, which allocates the model to every machine learning node.
25+
# Start a trained model deployment.
26+
# It allocates the model to every machine learning node.
2627
#
2728
# @option arguments [String] :model_id The unique identifier of the trained model. Currently, only PyTorch models are supported. (*Required*)
2829
# @option arguments [Integer, String] :cache_size The inference cache size (in memory outside the JVM heap) per node for the model.

lib/elasticsearch-serverless/api/machine_learning/stop_data_frame_analytics.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Stops one or more data frame analytics jobs.
25+
# Stop data frame analytics jobs.
2626
# A data frame analytics job can be started and stopped multiple times
2727
# throughout its lifecycle.
2828
#

lib/elasticsearch-serverless/api/machine_learning/stop_datafeed.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Stops one or more datafeeds.
25+
# Stop datafeeds.
2626
# A datafeed that is stopped ceases to retrieve data from Elasticsearch. A datafeed can be started and stopped
2727
# multiple times throughout its lifecycle.
2828
#

lib/elasticsearch-serverless/api/machine_learning/stop_trained_model_deployment.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Stops a trained model deployment.
25+
# Stop a trained model deployment.
2626
#
2727
# @option arguments [String] :model_id The unique identifier of the trained model. (*Required*)
2828
# @option arguments [Boolean] :allow_no_match Specifies what to do when the request: contains wildcard expressions and there are no deployments that match;

lib/elasticsearch-serverless/api/machine_learning/update_data_frame_analytics.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Updates an existing data frame analytics job.
25+
# Update a data frame analytics job.
2626
#
2727
# @option arguments [String] :id Identifier for the data frame analytics job. This identifier can contain
2828
# lowercase alphanumeric characters (a-z and 0-9), hyphens, and

lib/elasticsearch-serverless/api/machine_learning/update_datafeed.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Updates the properties of a datafeed.
25+
# Update a datafeed.
2626
# You must stop and start the datafeed for the changes to be applied.
2727
# When Elasticsearch security features are enabled, your datafeed remembers which roles the user who updated it had at
2828
# the time of the update and runs the query using those same roles. If you provide secondary authorization headers,

lib/elasticsearch-serverless/api/machine_learning/update_filter.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25+
# Update a filter.
2526
# Updates the description of a filter, adds items, or removes items from the list.
2627
#
2728
# @option arguments [String] :filter_id A string that uniquely identifies a filter. (*Required*)

lib/elasticsearch-serverless/api/machine_learning/update_job.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25+
# Update an anomaly detection job.
2526
# Updates certain properties of an anomaly detection job.
2627
#
2728
# @option arguments [String] :job_id Identifier for the job. (*Required*)

lib/elasticsearch-serverless/api/machine_learning/update_trained_model_deployment.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ElasticsearchServerless
2222
module API
2323
module MachineLearning
2424
module Actions
25-
# Starts a trained model deployment, which allocates the model to every machine learning node.
25+
# Update a trained model deployment.
2626
#
2727
# @option arguments [String] :model_id The unique identifier of the trained model. Currently, only PyTorch models are supported. (*Required*)
2828
# @option arguments [Integer] :number_of_allocations The number of model allocations on each node where the model is deployed.

0 commit comments

Comments
 (0)