NAME

Google::Appengine::V1::Instance - Compiled Protocol Buffers messages for google/appengine/v1/instance.proto

SYNOPSIS

use Google::Appengine::V1::Instance;

my $msg = Google::Appengine::V1::Instance::Instance->new({
    name => $name,
    id => $id,
    app_engine_release => $app_engine_release,
    availability => $availability,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Appengine::V1::Instance::Instance->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/appengine/v1/instance.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Appengine::V1::Instance::Instance

An Instance resource is the computing unit that App Engine uses to automatically scale an application.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Full path to the Instance resource in the API. Example: `apps/myapp/services/default/versions/v1/instances/instance-1`.

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

    Type: String

    Output only. Relative name of the instance within the version. Example: `instance-1`.

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

    Type: String

    Output only. App Engine release this instance is running on.

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

    Type: Enum (Google::Appengine::V1::Instance::Availability)

    Output only. Availability of the instance.

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

    Type: String

    Output only. Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.

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

    Type: String

    Output only. Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment.

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

    Type: String

    Output only. Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time that this instance was started.

    @OutputOnly

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

    Type: Int32

    Output only. Number of requests since this instance was started.

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

    Type: Int32

    Output only. Number of errors since this instance was started.

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

    Type: Float

    Output only. Average queries per second (QPS) over the last minute.

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

    Type: Int32

    Output only. Average latency (ms) over the last minute.

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

    Type: Int64

    Output only. Total memory in use (bytes).

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

    Type: String

    Output only. Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.

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

    Type: Bool

    Output only. Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment.

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

    Type: String

    Output only. The IP address of this instance. Only applicable for instances in App Engine flexible environment.

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

    Type: Enum (Google::Appengine::V1::Instance::Liveness::LivenessState)

    Output only. The liveness health check of this instance. Only applicable for instances in App Engine flexible environment.

Enum: Instance::Availability

  • UNSPECIFIED => 0

  • RESIDENT => 1

  • DYNAMIC => 2

SEE ALSO

Protobuf, Protobuf::Message, Google::Appengine::V1::Instance::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.