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

Google::Cloud::Optimization::V1::AsyncModel::OutputConfig

The desired output location.

Inherits from Protobuf::Message.

Accessors

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

    Required. 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: String

    Required. 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

Enum: AsyncModelMetadata::State

  • STATE_UNSPECIFIED => 0

  • RUNNING => 1

  • SUCCEEDED => 2

  • CANCELLED => 3

  • FAILED => 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.