NAME
Google::Cloud::Financialservices::V1::PredictionResult - Compiled Protocol Buffers messages for google/cloud/financialservices/v1/prediction_result.proto
SYNOPSIS
use Google::Cloud::Financialservices::V1::PredictionResult;
my $msg = Google::Cloud::Financialservices::V1::PredictionResult::PredictionResult->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::PredictionResult::PredictionResult->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/financialservices/v1/prediction_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::PredictionResult::PredictionResult
PredictionResult is the result of using a model to create predictions.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The resource name of the PredictionResult. format: `/projects/{project_num}/locations/{location}/instances/{instance}/predictionResults/{prediction_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::PredictionResult::PredictionResult::LabelsEntry)Labels
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Financialservices::V1::PredictionResult::State)Output only. State of the PredictionResult (creating, active, deleting, etc.)
$msg->dataset()/$msg->dataset($value)Type:
StringRequired. The resource name of the Dataset to do predictions on Format: `/projects/{project_num}/locations/{location}/instances/{instance}/dataset/{dataset_id}`
$msg->model()/$msg->model($value)Type:
StringRequired. The resource name of the Model to use to use to make predictions Format: `/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}`
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Required. Specifies the latest time from which data is used to generate features for predictions. This time should be no later than the end of the [date_range][google.cloud.financialservices.v1.Dataset.date_range] of the dataset.
$msg->prediction_periods()/$msg->prediction_periods($value)Type:
Int32The number of consecutive months to produce predictions for, ending with the last full month prior to [end_time][google.cloud.financialservices.v1.PredictionResult.end_time] according to the dataset's timezone.
$msg->outputs()/$msg->outputs($value)Type:
Message(Google::Cloud::Financialservices::V1::PredictionResult::PredictionResult::Outputs)Required. Where to write the output of the predictions.
$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 prediction is for. Determined by Model, cannot be set by user.
Enum: PredictionResult::State
STATE_UNSPECIFIED=>0CREATING=>1ACTIVE=>2UPDATING=>3DELETING=>4
Google::Cloud::Financialservices::V1::PredictionResult::ListPredictionResultsRequest
Request for retrieving a paginated list of PredictionResult resources that meet the specified criteria.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent of the PredictionResult 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 ListPredictionResultsResponse. It should be copied here to retrieve the next page of resources. Empty will give the first page of ListPredictionResultsRequest, 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::PredictionResult::ListPredictionResultsResponse
Response for retrieving a list of PredictionResults
Inherits from Protobuf::Message.
Accessors
$msg->prediction_results()/$msg->prediction_results($value)Type:
Message(Google::Cloud::Financialservices::V1::PredictionResult::PredictionResult)List of PredictionResult resources
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThis token should be passed to the next ListPredictionResultsRequest to retrieve the next page of PredictionResults (empty indicicates we are done).
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Financialservices::V1::PredictionResult::GetPredictionResultRequest
Request for retrieving a specific PredictionResult resource.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the PredictionResult
Google::Cloud::Financialservices::V1::PredictionResult::CreatePredictionResultRequest
Request for creating a PredictionResult resource.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent of the PredictionResult is the Instance.
$msg->prediction_result_id()/$msg->prediction_result_id($value)Type:
StringRequired. The resource id of the PredictionResult
$msg->prediction_result()/$msg->prediction_result($value)Type:
Message(Google::Cloud::Financialservices::V1::PredictionResult::PredictionResult)Required. The PredictionResult 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::PredictionResult::UpdatePredictionResultRequest
Request for updating a PredictionResult
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 PredictionResult 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->prediction_result()/$msg->prediction_result($value)Type:
Message(Google::Cloud::Financialservices::V1::PredictionResult::PredictionResult)Required. The new value of the PredictionResult 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::PredictionResult::DeletePredictionResultRequest
Request for deleting a PredictionResult.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the PredictionResult.
$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::PredictionResult::ExportPredictionResultMetadataRequest
Request for exporting PredictionResult metadata.
Inherits from Protobuf::Message.
Accessors
$msg->prediction_result()/$msg->prediction_result($value)Type:
StringRequired. The resource name of the PredictionResult.
$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::PredictionResult::ExportPredictionResultMetadataResponse
Response for exporting PredictionResult metadata.
Inherits from Protobuf::Message.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Financialservices::V1::PredictionResult::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.