NAME
Google::Cloud::Financialservices::V1::BacktestResult - Compiled Protocol Buffers messages for google/cloud/financialservices/v1/backtest_result.proto
SYNOPSIS
use Google::Cloud::Financialservices::V1::BacktestResult;
my $msg = Google::Cloud::Financialservices::V1::BacktestResult::BacktestResult->new({
name => $name,
create_time => $create_time,
update_time => $update_time,
labels => $labels,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Financialservices::V1::BacktestResult::BacktestResult->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/financialservices/v1/backtest_result.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Financialservices::V1::BacktestResult::BacktestResult
BacktestResult is created to test the performance of a model on a dataset.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The resource name of the BacktestResult. format: `/projects/{project_num}/locations/{location}/instances/{instance}/backtestResults/{backtest_result}`
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp of creation of this resource.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp of the most recent update of this resource.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Financialservices::V1::BacktestResult::BacktestResult::LabelsEntry)Labels
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Financialservices::V1::BacktestResult::State)Output only. State of the BacktestResult (creating, active, deleting, etc.)
$msg->dataset()/$msg->dataset($value)Type:
StringRequired. The resource name of the Dataset to backtest on Format: `/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}`
$msg->model()/$msg->model($value)Type:
StringRequired. The resource name of the Model to use or to backtest. Format: `/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}`
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Required. End_time specifies the latest time from which labels are used and from which data is used to generate features for backtesting. End_time should be no later than the end of the date_range of the primary dataset.
$msg->backtest_periods()/$msg->backtest_periods($value)Type:
Int32The number of consecutive months to conduct backtesting for, ending with the last full month prior to the end_time according to the dataset's timezone.
$msg->performance_target()/$msg->performance_target($value)Type:
Message(Google::Cloud::Financialservices::V1::BacktestResult::BacktestResult::PerformanceTarget)Required. PerformanceTarget gives information on how the test will be evaluated.
$msg->line_of_business()/$msg->line_of_business($value)Type:
Enum(Google::Cloud::Financialservices::V1::LineOfBusiness)Output only. The line of business (Retail/Commercial) this backtest is for. Determined by Model, cannot be set by user.
Enum: BacktestResult::State
STATE_UNSPECIFIED=>0CREATING=>1ACTIVE=>2UPDATING=>3DELETING=>4
Google::Cloud::Financialservices::V1::BacktestResult::ListBacktestResultsRequest
Request for retrieving a paginated list of BacktestResult resources that meet the specified criteria.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent of the BacktestResult is the Instance.
$msg->page_size()/$msg->page_size($value)Type:
Int32The number of resources to be included in the response. The response contains a next_page_token, which can be used to retrieve the next page of resources.
$msg->page_token()/$msg->page_token($value)Type:
StringIn case of paginated results, this is the token that was returned in the previous ListBacktestResultsResponse. It should be copied here to retrieve the next page of resources. Empty will give the first page of ListBacktestResultsRequest, and the last page will return an empty page_token.
$msg->filter()/$msg->filter($value)Type:
StringSpecify a filter to narrow search results.
$msg->order_by()/$msg->order_by($value)Type:
StringSpecify a field to use for ordering.
Google::Cloud::Financialservices::V1::BacktestResult::ListBacktestResultsResponse
Response for retrieving a list of BacktestResults
Inherits from Protobuf::Message.
Accessors
$msg->backtest_results()/$msg->backtest_results($value)Type:
Message(Google::Cloud::Financialservices::V1::BacktestResult::BacktestResult)List of BacktestResult resources
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThis token should be passed to the next ListBacktestResultsRequest to retrieve the next page of BacktestResults (empty indicates we are done).
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Financialservices::V1::BacktestResult::GetBacktestResultRequest
Request for retrieving a specific BacktestResult resource.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the BacktestResult
Google::Cloud::Financialservices::V1::BacktestResult::CreateBacktestResultRequest
Request for creating a BacktestResult resource.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent of the BacktestResult is the Instance.
$msg->backtest_result_id()/$msg->backtest_result_id($value)Type:
StringRequired. The resource id of the BacktestResult
$msg->backtest_result()/$msg->backtest_result($value)Type:
Message(Google::Cloud::Financialservices::V1::BacktestResult::BacktestResult)Required. The BacktestResult that will be created.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Financialservices::V1::BacktestResult::UpdateBacktestResultRequest
Request for updating a BacktestResult
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Field mask is used to specify the fields to be overwritten in the BacktestResult resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
$msg->backtest_result()/$msg->backtest_result($value)Type:
Message(Google::Cloud::Financialservices::V1::BacktestResult::BacktestResult)Required. The new value of the BacktestResult fields that will be updated according to the update_mask.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Financialservices::V1::BacktestResult::DeleteBacktestResultRequest
Request for deleting a BacktestResult.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the BacktestResult.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Financialservices::V1::BacktestResult::ExportBacktestResultMetadataRequest
Request for exporting BacktestResult metadata.
Inherits from Protobuf::Message.
Accessors
$msg->backtest_result()/$msg->backtest_result($value)Type:
StringRequired. The resource name of the BacktestResult.
$msg->structured_metadata_destination()/$msg->structured_metadata_destination($value)Type:
Message(Google::Cloud::Financialservices::V1::BigqueryDestination::BigQueryDestination)Required. BigQuery output where the metadata will be written.
Google::Cloud::Financialservices::V1::BacktestResult::ExportBacktestResultMetadataResponse
Response for exporting BacktestResult metadata.
Inherits from Protobuf::Message.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Financialservices::V1::BacktestResult::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.