algolia 3.0.0.alpha.15 → 3.0.0.alpha.16
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 +5 -0
- data/Gemfile.lock +1 -1
- data/lib/algolia/api/ingestion_client.rb +267 -196
- data/lib/algolia/api/monitoring_client.rb +49 -49
- data/lib/algolia/api/query_suggestions_client.rb +14 -14
- data/lib/algolia/models/ingestion/auth_algolia.rb +3 -2
- data/lib/algolia/models/ingestion/auth_algolia_partial.rb +3 -2
- data/lib/algolia/models/ingestion/auth_api_key.rb +2 -1
- data/lib/algolia/models/ingestion/auth_api_key_partial.rb +2 -1
- data/lib/algolia/models/ingestion/auth_basic.rb +3 -1
- data/lib/algolia/models/ingestion/auth_basic_partial.rb +3 -1
- data/lib/algolia/models/ingestion/auth_google_service_account.rb +3 -3
- data/lib/algolia/models/ingestion/auth_google_service_account_partial.rb +3 -3
- data/lib/algolia/models/ingestion/auth_o_auth.rb +18 -8
- data/lib/algolia/models/ingestion/auth_o_auth_partial.rb +18 -8
- data/lib/algolia/models/ingestion/authentication.rb +5 -5
- data/lib/algolia/models/ingestion/authentication_create.rb +2 -2
- data/lib/algolia/models/ingestion/authentication_create_response.rb +4 -4
- data/lib/algolia/models/ingestion/authentication_search.rb +1 -1
- data/lib/algolia/models/ingestion/authentication_update.rb +2 -2
- data/lib/algolia/models/ingestion/authentication_update_response.rb +4 -4
- data/lib/algolia/models/ingestion/big_commerce_channel.rb +2 -2
- data/lib/algolia/models/ingestion/big_commerce_metafield.rb +2 -2
- data/lib/algolia/models/ingestion/commercetools_custom_fields.rb +1 -1
- data/lib/algolia/models/ingestion/delete_response.rb +1 -1
- data/lib/algolia/models/ingestion/destination.rb +6 -6
- data/lib/algolia/models/ingestion/destination_create.rb +3 -3
- data/lib/algolia/models/ingestion/destination_create_response.rb +4 -4
- data/lib/algolia/models/ingestion/destination_index_name.rb +2 -2
- data/lib/algolia/models/ingestion/destination_index_prefix.rb +1 -1
- data/lib/algolia/models/ingestion/destination_search.rb +1 -1
- data/lib/algolia/models/ingestion/destination_type.rb +1 -2
- data/lib/algolia/models/ingestion/destination_update.rb +3 -3
- data/lib/algolia/models/ingestion/destination_update_response.rb +4 -4
- data/lib/algolia/models/ingestion/docker_source_discover.rb +2 -2
- data/lib/algolia/models/ingestion/event.rb +3 -3
- data/lib/algolia/models/ingestion/list_tasks_response.rb +1 -1
- data/lib/algolia/models/ingestion/mapping_format_schema.rb +32 -0
- data/lib/algolia/models/ingestion/mapping_input.rb +24 -3
- data/lib/algolia/models/ingestion/on_demand_date_utils_input.rb +3 -3
- data/lib/algolia/models/ingestion/on_demand_trigger.rb +2 -2
- data/lib/algolia/models/ingestion/on_demand_trigger_input.rb +1 -1
- data/lib/algolia/models/ingestion/pagination.rb +65 -0
- data/lib/algolia/models/ingestion/platform.rb +2 -1
- data/lib/algolia/models/ingestion/run.rb +7 -7
- data/lib/algolia/models/ingestion/run_response.rb +3 -3
- data/lib/algolia/models/ingestion/schedule_date_utils_input.rb +2 -2
- data/lib/algolia/models/ingestion/schedule_trigger.rb +4 -4
- data/lib/algolia/models/ingestion/schedule_trigger_input.rb +2 -2
- data/lib/algolia/models/ingestion/source.rb +4 -4
- data/lib/algolia/models/ingestion/source_big_commerce.rb +1 -1
- data/lib/algolia/models/ingestion/source_big_query.rb +5 -5
- data/lib/algolia/models/ingestion/source_commercetools.rb +2 -2
- data/lib/algolia/models/ingestion/source_create.rb +2 -1
- data/lib/algolia/models/ingestion/source_create_response.rb +3 -2
- data/lib/algolia/models/ingestion/source_csv.rb +3 -3
- data/lib/algolia/models/ingestion/source_docker.rb +3 -3
- data/lib/algolia/models/ingestion/source_ga4_big_query_export.rb +3 -3
- data/lib/algolia/models/ingestion/source_json.rb +2 -2
- data/lib/algolia/models/ingestion/source_type.rb +5 -3
- data/lib/algolia/models/ingestion/source_update.rb +2 -1
- data/lib/algolia/models/ingestion/source_update_commercetools.rb +2 -3
- data/lib/algolia/models/ingestion/source_update_docker.rb +3 -3
- data/lib/algolia/models/ingestion/source_update_response.rb +3 -2
- data/lib/algolia/models/ingestion/streaming_trigger.rb +1 -1
- data/lib/algolia/models/ingestion/streaming_utils_input.rb +1 -1
- data/lib/algolia/models/ingestion/subscription_trigger.rb +1 -1
- data/lib/algolia/models/ingestion/task.rb +7 -7
- data/lib/algolia/models/ingestion/task_create.rb +5 -5
- data/lib/algolia/models/ingestion/task_create_response.rb +3 -3
- data/lib/algolia/models/ingestion/task_input.rb +1 -0
- data/lib/algolia/models/ingestion/task_update.rb +4 -4
- data/lib/algolia/models/ingestion/task_update_response.rb +3 -3
- data/lib/algolia/models/ingestion/trigger.rb +1 -0
- data/lib/algolia/models/ingestion/trigger_update_input.rb +2 -2
- data/lib/algolia/models/ingestion/window.rb +3 -3
- data/lib/algolia/models/insights/purchased_object_ids_after_search.rb +2 -0
- data/lib/algolia/models/monitoring/{get_inventory403_response.rb → get_servers403_response.rb} +3 -3
- data/lib/algolia/models/monitoring/server.rb +2 -2
- data/lib/algolia/models/query-suggestions/app_id.rb +197 -0
- data/lib/algolia/models/query-suggestions/get_config_status200_response.rb +2 -2
- data/lib/algolia/models/query-suggestions/get_log_file200_response.rb +1 -1
- data/lib/algolia/models/query-suggestions/languages.rb +1 -1
- data/lib/algolia/models/query-suggestions/query_suggestions_configuration.rb +2 -3
- data/lib/algolia/models/query-suggestions/query_suggestions_configuration_response.rb +23 -34
- data/lib/algolia/models/query-suggestions/query_suggestions_configuration_with_index.rb +18 -20
- data/lib/algolia/models/query-suggestions/source_index.rb +3 -5
- data/lib/algolia/version.rb +1 -1
- metadata +5 -3
|
@@ -6,7 +6,7 @@ require 'time'
|
|
|
6
6
|
module Algolia
|
|
7
7
|
module Ingestion
|
|
8
8
|
class Source
|
|
9
|
-
#
|
|
9
|
+
# Universally uniqud identifier (UUID) of a source.
|
|
10
10
|
attr_accessor :source_id
|
|
11
11
|
|
|
12
12
|
attr_accessor :type
|
|
@@ -15,13 +15,13 @@ module Algolia
|
|
|
15
15
|
|
|
16
16
|
attr_accessor :input
|
|
17
17
|
|
|
18
|
-
#
|
|
18
|
+
# Universally unique identifier (UUID) of an authentication resource.
|
|
19
19
|
attr_accessor :authentication_id
|
|
20
20
|
|
|
21
|
-
# Date of creation
|
|
21
|
+
# Date of creation in RFC3339 format.
|
|
22
22
|
attr_accessor :created_at
|
|
23
23
|
|
|
24
|
-
# Date of last update
|
|
24
|
+
# Date of last update in RFC3339 format.
|
|
25
25
|
attr_accessor :updated_at
|
|
26
26
|
|
|
27
27
|
class EnumAttributeValidator
|
|
@@ -6,24 +6,24 @@ require 'time'
|
|
|
6
6
|
module Algolia
|
|
7
7
|
module Ingestion
|
|
8
8
|
class SourceBigQuery
|
|
9
|
-
# Project ID of the BigQuery
|
|
9
|
+
# Project ID of the BigQuery source.
|
|
10
10
|
attr_accessor :project_id
|
|
11
11
|
|
|
12
|
-
# Dataset ID of the BigQuery
|
|
12
|
+
# Dataset ID of the BigQuery source.
|
|
13
13
|
attr_accessor :dataset_id
|
|
14
14
|
|
|
15
15
|
attr_accessor :data_type
|
|
16
16
|
|
|
17
|
-
# Table name
|
|
17
|
+
# Table name for the BigQuery export.
|
|
18
18
|
attr_accessor :table
|
|
19
19
|
|
|
20
|
-
# Table prefix
|
|
20
|
+
# Table prefix for a Google Analytics 4 data export to BigQuery.
|
|
21
21
|
attr_accessor :table_prefix
|
|
22
22
|
|
|
23
23
|
# Custom SQL request to extract data from the BigQuery table.
|
|
24
24
|
attr_accessor :custom_sql_request
|
|
25
25
|
|
|
26
|
-
#
|
|
26
|
+
# Name of a column that contains a unique ID which will be used as `objectID` in Algolia.
|
|
27
27
|
attr_accessor :unique_id_column
|
|
28
28
|
|
|
29
29
|
class EnumAttributeValidator
|
|
@@ -8,14 +8,14 @@ module Algolia
|
|
|
8
8
|
class SourceCommercetools
|
|
9
9
|
attr_accessor :store_keys
|
|
10
10
|
|
|
11
|
-
#
|
|
11
|
+
# Locales for your commercetools stores.
|
|
12
12
|
attr_accessor :locales
|
|
13
13
|
|
|
14
14
|
attr_accessor :url
|
|
15
15
|
|
|
16
16
|
attr_accessor :project_key
|
|
17
17
|
|
|
18
|
-
#
|
|
18
|
+
# Whether a fallback value is stored in the Algolia record if there's no inventory information about the product.
|
|
19
19
|
attr_accessor :fallback_is_in_stock_value
|
|
20
20
|
|
|
21
21
|
attr_accessor :custom_fields
|
|
@@ -8,11 +8,12 @@ module Algolia
|
|
|
8
8
|
class SourceCreate
|
|
9
9
|
attr_accessor :type
|
|
10
10
|
|
|
11
|
+
# Descriptive name of the source.
|
|
11
12
|
attr_accessor :name
|
|
12
13
|
|
|
13
14
|
attr_accessor :input
|
|
14
15
|
|
|
15
|
-
#
|
|
16
|
+
# Universally unique identifier (UUID) of an authentication resource.
|
|
16
17
|
attr_accessor :authentication_id
|
|
17
18
|
|
|
18
19
|
class EnumAttributeValidator
|
|
@@ -6,12 +6,13 @@ require 'time'
|
|
|
6
6
|
module Algolia
|
|
7
7
|
module Ingestion
|
|
8
8
|
class SourceCreateResponse
|
|
9
|
-
#
|
|
9
|
+
# Universally uniqud identifier (UUID) of a source.
|
|
10
10
|
attr_accessor :source_id
|
|
11
11
|
|
|
12
|
+
# Descriptive name of the source.
|
|
12
13
|
attr_accessor :name
|
|
13
14
|
|
|
14
|
-
# Date of creation
|
|
15
|
+
# Date of creation in RFC3339 format.
|
|
15
16
|
attr_accessor :created_at
|
|
16
17
|
|
|
17
18
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -6,13 +6,13 @@ require 'time'
|
|
|
6
6
|
module Algolia
|
|
7
7
|
module Ingestion
|
|
8
8
|
class SourceCSV
|
|
9
|
-
#
|
|
9
|
+
# URL of the file.
|
|
10
10
|
attr_accessor :url
|
|
11
11
|
|
|
12
|
-
#
|
|
12
|
+
# Name of a column that contains a unique ID which will be used as `objectID` in Algolia.
|
|
13
13
|
attr_accessor :unique_id_column
|
|
14
14
|
|
|
15
|
-
#
|
|
15
|
+
# Key-value pairs of column names and their expected types.
|
|
16
16
|
attr_accessor :mapping
|
|
17
17
|
|
|
18
18
|
attr_accessor :method
|
|
@@ -10,13 +10,13 @@ module Algolia
|
|
|
10
10
|
|
|
11
11
|
attr_accessor :registry
|
|
12
12
|
|
|
13
|
-
#
|
|
13
|
+
# Docker image name.
|
|
14
14
|
attr_accessor :image
|
|
15
15
|
|
|
16
|
-
#
|
|
16
|
+
# Docker image version.
|
|
17
17
|
attr_accessor :version
|
|
18
18
|
|
|
19
|
-
#
|
|
19
|
+
# Configuration of the spec.
|
|
20
20
|
attr_accessor :configuration
|
|
21
21
|
|
|
22
22
|
class EnumAttributeValidator
|
|
@@ -6,13 +6,13 @@ require 'time'
|
|
|
6
6
|
module Algolia
|
|
7
7
|
module Ingestion
|
|
8
8
|
class SourceGA4BigQueryExport
|
|
9
|
-
# GCP project ID that the BigQuery
|
|
9
|
+
# GCP project ID that the BigQuery export writes to.
|
|
10
10
|
attr_accessor :project_id
|
|
11
11
|
|
|
12
|
-
# BigQuery dataset ID that the BigQuery
|
|
12
|
+
# BigQuery dataset ID that the BigQuery export writes to.
|
|
13
13
|
attr_accessor :dataset_id
|
|
14
14
|
|
|
15
|
-
# Prefix of the tables that the BigQuery Export writes to
|
|
15
|
+
# Prefix of the tables that the BigQuery Export writes to.
|
|
16
16
|
attr_accessor :table_prefix
|
|
17
17
|
|
|
18
18
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -6,10 +6,10 @@ require 'time'
|
|
|
6
6
|
module Algolia
|
|
7
7
|
module Ingestion
|
|
8
8
|
class SourceJSON
|
|
9
|
-
#
|
|
9
|
+
# URL of the file.
|
|
10
10
|
attr_accessor :url
|
|
11
11
|
|
|
12
|
-
#
|
|
12
|
+
# Name of a column that contains a unique ID which will be used as `objectID` in Algolia.
|
|
13
13
|
attr_accessor :unique_id_column
|
|
14
14
|
|
|
15
15
|
attr_accessor :method
|
|
@@ -7,15 +7,17 @@ module Algolia
|
|
|
7
7
|
module Ingestion
|
|
8
8
|
class SourceType
|
|
9
9
|
BIGCOMMERCE = "bigcommerce".freeze
|
|
10
|
+
BIGQUERY = "bigquery".freeze
|
|
10
11
|
COMMERCETOOLS = "commercetools".freeze
|
|
11
|
-
JSON = "json".freeze
|
|
12
12
|
CSV = "csv".freeze
|
|
13
|
-
BIGQUERY = "bigquery".freeze
|
|
14
13
|
DOCKER = "docker".freeze
|
|
15
14
|
GA4_BIGQUERY_EXPORT = "ga4BigqueryExport".freeze
|
|
15
|
+
JSON = "json".freeze
|
|
16
|
+
SHOPIFY = "shopify".freeze
|
|
17
|
+
SFCC = "sfcc".freeze
|
|
16
18
|
|
|
17
19
|
def self.all_vars
|
|
18
|
-
@all_vars ||= [BIGCOMMERCE,
|
|
20
|
+
@all_vars ||= [BIGCOMMERCE, BIGQUERY, COMMERCETOOLS, CSV, DOCKER, GA4_BIGQUERY_EXPORT, JSON, SHOPIFY, SFCC].freeze
|
|
19
21
|
end
|
|
20
22
|
|
|
21
23
|
# Builds the enum from string
|
|
@@ -6,11 +6,12 @@ require 'time'
|
|
|
6
6
|
module Algolia
|
|
7
7
|
module Ingestion
|
|
8
8
|
class SourceUpdate
|
|
9
|
+
# Descriptive name of the source.
|
|
9
10
|
attr_accessor :name
|
|
10
11
|
|
|
11
12
|
attr_accessor :input
|
|
12
13
|
|
|
13
|
-
#
|
|
14
|
+
# Universally unique identifier (UUID) of an authentication resource.
|
|
14
15
|
attr_accessor :authentication_id
|
|
15
16
|
|
|
16
17
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -6,15 +6,14 @@ require 'time'
|
|
|
6
6
|
module Algolia
|
|
7
7
|
module Ingestion
|
|
8
8
|
class SourceUpdateCommercetools
|
|
9
|
-
# Unique and immutable key of the referenced Store.
|
|
10
9
|
attr_accessor :store_keys
|
|
11
10
|
|
|
12
|
-
#
|
|
11
|
+
# Locales for your commercetools stores.
|
|
13
12
|
attr_accessor :locales
|
|
14
13
|
|
|
15
14
|
attr_accessor :url
|
|
16
15
|
|
|
17
|
-
#
|
|
16
|
+
# Whether a fallback value is stored in the Algolia record if there's no inventory information about the product.
|
|
18
17
|
attr_accessor :fallback_is_in_stock_value
|
|
19
18
|
|
|
20
19
|
attr_accessor :custom_fields
|
|
@@ -8,13 +8,13 @@ module Algolia
|
|
|
8
8
|
class SourceUpdateDocker
|
|
9
9
|
attr_accessor :registry
|
|
10
10
|
|
|
11
|
-
#
|
|
11
|
+
# Docker image name.
|
|
12
12
|
attr_accessor :image
|
|
13
13
|
|
|
14
|
-
#
|
|
14
|
+
# Docker image version.
|
|
15
15
|
attr_accessor :version
|
|
16
16
|
|
|
17
|
-
#
|
|
17
|
+
# Configuration of the spec.
|
|
18
18
|
attr_accessor :configuration
|
|
19
19
|
|
|
20
20
|
class EnumAttributeValidator
|
|
@@ -6,12 +6,13 @@ require 'time'
|
|
|
6
6
|
module Algolia
|
|
7
7
|
module Ingestion
|
|
8
8
|
class SourceUpdateResponse
|
|
9
|
-
#
|
|
9
|
+
# Universally uniqud identifier (UUID) of a source.
|
|
10
10
|
attr_accessor :source_id
|
|
11
11
|
|
|
12
|
+
# Descriptive name of the source.
|
|
12
13
|
attr_accessor :name
|
|
13
14
|
|
|
14
|
-
# Date of last update
|
|
15
|
+
# Date of last update in RFC3339 format.
|
|
15
16
|
attr_accessor :updated_at
|
|
16
17
|
|
|
17
18
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -5,7 +5,7 @@ require 'time'
|
|
|
5
5
|
|
|
6
6
|
module Algolia
|
|
7
7
|
module Ingestion
|
|
8
|
-
#
|
|
8
|
+
# Input for a `streaming` task whose source is of type `ga4BigqueryExport` and for which extracted data is continuously streamed.
|
|
9
9
|
class StreamingUtilsInput
|
|
10
10
|
attr_accessor :mapping
|
|
11
11
|
|
|
@@ -6,31 +6,31 @@ require 'time'
|
|
|
6
6
|
module Algolia
|
|
7
7
|
module Ingestion
|
|
8
8
|
class Task
|
|
9
|
-
#
|
|
9
|
+
# Universally unique identifier (UUID) of a task.
|
|
10
10
|
attr_accessor :task_id
|
|
11
11
|
|
|
12
|
-
#
|
|
12
|
+
# Universally uniqud identifier (UUID) of a source.
|
|
13
13
|
attr_accessor :source_id
|
|
14
14
|
|
|
15
|
-
#
|
|
15
|
+
# Universally unique identifier (UUID) of a destination resource.
|
|
16
16
|
attr_accessor :destination_id
|
|
17
17
|
|
|
18
18
|
attr_accessor :trigger
|
|
19
19
|
|
|
20
20
|
attr_accessor :input
|
|
21
21
|
|
|
22
|
-
# Whether the task is enabled
|
|
22
|
+
# Whether the task is enabled.
|
|
23
23
|
attr_accessor :enabled
|
|
24
24
|
|
|
25
|
-
#
|
|
25
|
+
# Maximum accepted percentage of failures for a task run to finish successfully.
|
|
26
26
|
attr_accessor :failure_threshold
|
|
27
27
|
|
|
28
28
|
attr_accessor :action
|
|
29
29
|
|
|
30
|
-
# Date of creation
|
|
30
|
+
# Date of creation in RFC3339 format.
|
|
31
31
|
attr_accessor :created_at
|
|
32
32
|
|
|
33
|
-
# Date of last update
|
|
33
|
+
# Date of last update in RFC3339 format.
|
|
34
34
|
attr_accessor :updated_at
|
|
35
35
|
|
|
36
36
|
class EnumAttributeValidator
|
|
@@ -5,22 +5,22 @@ require 'time'
|
|
|
5
5
|
|
|
6
6
|
module Algolia
|
|
7
7
|
module Ingestion
|
|
8
|
-
#
|
|
8
|
+
# API request body for creating a task.
|
|
9
9
|
class TaskCreate
|
|
10
|
-
#
|
|
10
|
+
# Universally uniqud identifier (UUID) of a source.
|
|
11
11
|
attr_accessor :source_id
|
|
12
12
|
|
|
13
|
-
#
|
|
13
|
+
# Universally unique identifier (UUID) of a destination resource.
|
|
14
14
|
attr_accessor :destination_id
|
|
15
15
|
|
|
16
16
|
attr_accessor :trigger
|
|
17
17
|
|
|
18
18
|
attr_accessor :action
|
|
19
19
|
|
|
20
|
-
# Whether the task is enabled
|
|
20
|
+
# Whether the task is enabled.
|
|
21
21
|
attr_accessor :enabled
|
|
22
22
|
|
|
23
|
-
#
|
|
23
|
+
# Maximum accepted percentage of failures for a task run to finish successfully.
|
|
24
24
|
attr_accessor :failure_threshold
|
|
25
25
|
|
|
26
26
|
attr_accessor :input
|
|
@@ -5,12 +5,12 @@ require 'time'
|
|
|
5
5
|
|
|
6
6
|
module Algolia
|
|
7
7
|
module Ingestion
|
|
8
|
-
#
|
|
8
|
+
# API response for creating a task.
|
|
9
9
|
class TaskCreateResponse
|
|
10
|
-
#
|
|
10
|
+
# Universally unique identifier (UUID) of a task.
|
|
11
11
|
attr_accessor :task_id
|
|
12
12
|
|
|
13
|
-
# Date of creation
|
|
13
|
+
# Date of creation in RFC3339 format.
|
|
14
14
|
attr_accessor :created_at
|
|
15
15
|
|
|
16
16
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -5,19 +5,19 @@ require 'time'
|
|
|
5
5
|
|
|
6
6
|
module Algolia
|
|
7
7
|
module Ingestion
|
|
8
|
-
#
|
|
8
|
+
# API request body for updating a task.
|
|
9
9
|
class TaskUpdate
|
|
10
|
-
#
|
|
10
|
+
# Universally unique identifier (UUID) of a destination resource.
|
|
11
11
|
attr_accessor :destination_id
|
|
12
12
|
|
|
13
13
|
attr_accessor :trigger
|
|
14
14
|
|
|
15
15
|
attr_accessor :input
|
|
16
16
|
|
|
17
|
-
# Whether the task is enabled
|
|
17
|
+
# Whether the task is enabled.
|
|
18
18
|
attr_accessor :enabled
|
|
19
19
|
|
|
20
|
-
#
|
|
20
|
+
# Maximum accepted percentage of failures for a task run to finish successfully.
|
|
21
21
|
attr_accessor :failure_threshold
|
|
22
22
|
|
|
23
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -5,12 +5,12 @@ require 'time'
|
|
|
5
5
|
|
|
6
6
|
module Algolia
|
|
7
7
|
module Ingestion
|
|
8
|
-
#
|
|
8
|
+
# API response for updating a task.
|
|
9
9
|
class TaskUpdateResponse
|
|
10
|
-
#
|
|
10
|
+
# Universally unique identifier (UUID) of a task.
|
|
11
11
|
attr_accessor :task_id
|
|
12
12
|
|
|
13
|
-
# Date of last update
|
|
13
|
+
# Date of last update in RFC3339 format.
|
|
14
14
|
attr_accessor :updated_at
|
|
15
15
|
|
|
16
16
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -5,9 +5,9 @@ require 'time'
|
|
|
5
5
|
|
|
6
6
|
module Algolia
|
|
7
7
|
module Ingestion
|
|
8
|
-
#
|
|
8
|
+
# Trigger for a task update.
|
|
9
9
|
class TriggerUpdateInput
|
|
10
|
-
#
|
|
10
|
+
# Cron expression for the task's schedule.
|
|
11
11
|
attr_accessor :cron
|
|
12
12
|
|
|
13
13
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -5,12 +5,12 @@ require 'time'
|
|
|
5
5
|
|
|
6
6
|
module Algolia
|
|
7
7
|
module Ingestion
|
|
8
|
-
#
|
|
8
|
+
# Time window by which to filter the observability data.
|
|
9
9
|
class Window
|
|
10
|
-
#
|
|
10
|
+
# Date in RFC3339 format representing the oldest data in the time window.
|
|
11
11
|
attr_accessor :start_date
|
|
12
12
|
|
|
13
|
-
#
|
|
13
|
+
# Date in RFC3339 format representing the newest data in the time window.
|
|
14
14
|
attr_accessor :end_date
|
|
15
15
|
|
|
16
16
|
# Attribute mapping from ruby-style variable name to JSON key.
|
data/lib/algolia/models/monitoring/{get_inventory403_response.rb → get_servers403_response.rb}
RENAMED
|
@@ -5,7 +5,7 @@ require 'time'
|
|
|
5
5
|
|
|
6
6
|
module Algolia
|
|
7
7
|
module Monitoring
|
|
8
|
-
class
|
|
8
|
+
class GetServers403Response
|
|
9
9
|
attr_accessor :reason
|
|
10
10
|
|
|
11
11
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -36,14 +36,14 @@ module Algolia
|
|
|
36
36
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
37
37
|
def initialize(attributes = {})
|
|
38
38
|
unless attributes.is_a?(Hash)
|
|
39
|
-
raise ArgumentError, "The input argument (attributes) must be a hash in `Algolia::
|
|
39
|
+
raise ArgumentError, "The input argument (attributes) must be a hash in `Algolia::GetServers403Response` initialize method"
|
|
40
40
|
end
|
|
41
41
|
|
|
42
42
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
43
43
|
attributes = attributes.each_with_object({}) do |(k, v), h|
|
|
44
44
|
unless self.class.attribute_map.key?(k.to_sym)
|
|
45
45
|
raise ArgumentError,
|
|
46
|
-
"`#{k}` is not a valid attribute in `Algolia::
|
|
46
|
+
"`#{k}` is not a valid attribute in `Algolia::GetServers403Response`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
h[k.to_sym] = v
|
|
@@ -11,10 +11,10 @@ module Algolia
|
|
|
11
11
|
|
|
12
12
|
attr_accessor :region
|
|
13
13
|
|
|
14
|
-
# Included to support legacy applications.
|
|
14
|
+
# Included to support legacy applications. Use `is_replica` instead.
|
|
15
15
|
attr_accessor :is_slave
|
|
16
16
|
|
|
17
|
-
#
|
|
17
|
+
# Whether this server is a replica of another server.
|
|
18
18
|
attr_accessor :is_replica
|
|
19
19
|
|
|
20
20
|
# Name of the cluster to which this server belongs.
|