NAME

Google::Cloud::Financialservices::V1::Model - Compiled Protocol Buffers messages for google/cloud/financialservices/v1/model.proto

SYNOPSIS

use Google::Cloud::Financialservices::V1::Model;

my $msg = Google::Cloud::Financialservices::V1::Model::Model->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::Model::Model->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/financialservices/v1/model.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::Model::Model

Model represents a trained model.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Output only. The resource name of the Model. format: `/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}`

  • $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::Model::Model::LabelsEntry)

    Labels

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Financialservices::V1::Model::State)

    Output only. State of the model (creating, active, deleting, etc.)

  • $msg->engine_version() / $msg->engine_version($value)

    Type: String

    Output only. The EngineVersion used in training this model. This is output only, and is determined from the EngineConfig used.

  • $msg->engine_config() / $msg->engine_config($value)

    Type: String

    Required. The resource name of the EngineConfig the model training will be based on. Format: `/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engineConfig}`

  • $msg->primary_dataset() / $msg->primary_dataset($value)

    Type: String

    Required. The resource name of the Primary Dataset used in this model training. For information about how primary and auxiliary datasets are used, refer to the engine version's documentation. Format: `/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}`

  • $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 training. End_time should be no later than the end of the date_range of the dataset.

  • $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 model is used for. Determined by EngineConfig, cannot be set by user.

Enum: Model::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • ACTIVE => 2

  • UPDATING => 3

  • DELETING => 4

Google::Cloud::Financialservices::V1::Model::ListModelsRequest

Request for retrieving a paginated list of Model resources that meet the specified criteria.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent of the Model is the Instance.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The 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: String

    In case of paginated results, this is the token that was returned in the previous ListModelsResponse. It should be copied here to retrieve the next page of resources. Empty will give the first page of ListModelsRequest, and the last page will return an empty page_token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Specify a filter to narrow search results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Specify a field to use for ordering.

Google::Cloud::Financialservices::V1::Model::ListModelsResponse

Response for retrieving a list of Models

Inherits from Protobuf::Message.

Accessors

  • $msg->models() / $msg->models($value)

    Type: Message (Google::Cloud::Financialservices::V1::Model::Model)

    List of Model resources

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    This token should be passed to the next ListModelsRequest to retrieve the next page of Models (empty indicicates we are done).

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Financialservices::V1::Model::GetModelRequest

Request for retrieving a specific Model resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the Model

Google::Cloud::Financialservices::V1::Model::CreateModelRequest

Request for creating a Model resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent of the Model is the Instance.

  • $msg->model_id() / $msg->model_id($value)

    Type: String

    Required. The resource id of the Model

  • $msg->model() / $msg->model($value)

    Type: Message (Google::Cloud::Financialservices::V1::Model::Model)

    Required. The Model that will be created.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. 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::Model::UpdateModelRequest

Request for updating a Model

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 Model 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->model() / $msg->model($value)

    Type: Message (Google::Cloud::Financialservices::V1::Model::Model)

    Required. The new value of the Model fields that will be updated according to the update_mask.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. 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::Model::DeleteModelRequest

Request for deleting a Model.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the Model.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. 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::Model::ExportModelMetadataRequest

Request for exporting Model metadata.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Financialservices::V1::Model::ExportModelMetadataResponse

Response for exporting Model metadata.

Inherits from Protobuf::Message.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Financialservices::V1::Model::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.