NAME
Google::Cloud::Optimization::V1::AsyncModel - Compiled Protocol Buffers messages for google/cloud/optimization/v1/async_model.proto
SYNOPSIS
use Google::Cloud::Optimization::V1::AsyncModel;
my $msg = Google::Cloud::Optimization::V1::AsyncModel::InputConfig->new({
gcs_source => $gcs_source,
data_format => $data_format,
});
# Read or update a field
my $val = $msg->gcs_source();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Optimization::V1::AsyncModel::InputConfig->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/optimization/v1/async_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::Optimization::V1::AsyncModel::InputConfig
The desired input location information.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_source()/$msg->gcs_source($value)Type:
Message(Google::Cloud::Optimization::V1::AsyncModel::GcsSource)The Google Cloud Storage location to read the input from. This must be a single file.
$msg->data_format()/$msg->data_format($value)Type:
Enum(Google::Cloud::Optimization::V1::DataFormat)The input data format that used to store the model in Cloud Storage.
Google::Cloud::Optimization::V1::AsyncModel::OutputConfig
The desired output location.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_destination()/$msg->gcs_destination($value)Type:
Message(Google::Cloud::Optimization::V1::AsyncModel::GcsDestination)The Google Cloud Storage location to write the output to.
$msg->data_format()/$msg->data_format($value)Type:
Enum(Google::Cloud::Optimization::V1::DataFormat)The output data format that used to store the results in Cloud Storage.
Google::Cloud::Optimization::V1::AsyncModel::GcsSource
The Google Cloud Storage location where the input file will be read from.
Inherits from Protobuf::Message.
Accessors
$msg->uri()/$msg->uri($value)Type:
StringRequired. URI of the Google Cloud Storage location.
Google::Cloud::Optimization::V1::AsyncModel::GcsDestination
The Google Cloud Storage location where the output file will be written to.
Inherits from Protobuf::Message.
Accessors
$msg->uri()/$msg->uri($value)Type:
StringRequired. URI of the Google Cloud Storage location.
Google::Cloud::Optimization::V1::AsyncModel::AsyncModelMetadata
The long running operation metadata for async model related methods.
Inherits from Protobuf::Message.
Accessors
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Optimization::V1::AsyncModelMetadata::State)The state of the current operation.
$msg->state_message()/$msg->state_message($value)Type:
StringA message providing more details about the current state of the operation. For example, the error message if the operation is failed.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The creation time of the operation.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The last update time of the operation.
Enum: AsyncModelMetadata::State
STATE_UNSPECIFIED=>0RUNNING=>1SUCCEEDED=>2CANCELLED=>3FAILED=>4
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Optimization::V1::AsyncModel::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.