NAME

Google::Cloud::Networkservices::V1::AgentGateway - Compiled Protocol Buffers messages for google/cloud/networkservices/v1/agent_gateway.proto

SYNOPSIS

use Google::Cloud::Networkservices::V1::AgentGateway;

my $msg = Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway->new({
    google_managed => $google_managed,
    self_managed => $self_managed,
    name => $name,
    create_time => $create_time,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/networkservices/v1/agent_gateway.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::Networkservices::V1::AgentGateway::AgentGateway

AgentGateway represents the agent gateway resource.

Inherits from Protobuf::Message.

Accessors

Enum: AgentGateway::Protocol

  • PROTOCOL_UNSPECIFIED => 0

  • MCP => 1

Google::Cloud::Networkservices::V1::AgentGateway::ListAgentGatewaysRequest

Request used with the ListAgentGateways method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The project and location from which the AgentGateways should be listed, specified in the format `projects/*/locations/*`.

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

    Type: Int32

    Optional. Maximum number of AgentGateways to return per call.

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

    Type: String

    Optional. The value returned by the last `ListAgentGatewaysResponse` Indicates that this is a continuation of a prior `ListAgentGateways` call, and that the system should return the next page of data.

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

    Type: Bool

    Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.

Google::Cloud::Networkservices::V1::AgentGateway::ListAgentGatewaysResponse

Response returned by the ListAgentGateways method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway)

    List of AgentGateway resources.

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

    Type: String

    If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.

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

    Type: String

    Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.

Google::Cloud::Networkservices::V1::AgentGateway::GetAgentGatewayRequest

Request used by the GetAgentGateway method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. A name of the AgentGateway to get. Must be in the format `projects/*/locations/*/agentGateways/*`.

Google::Cloud::Networkservices::V1::AgentGateway::CreateAgentGatewayRequest

Request used by the CreateAgentGateway method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource of the AgentGateway. Must be in the format `projects/*/locations/*`.

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

    Type: String

    Required. Short name of the AgentGateway resource to be created.

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

    Type: Message (Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway)

    Required. AgentGateway resource to be created.

Google::Cloud::Networkservices::V1::AgentGateway::UpdateAgentGatewayRequest

Request used by the UpdateAgentGateway method.

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 AgentGateway 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->agent_gateway() / $msg->agent_gateway($value)

    Type: Message (Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway)

    Required. Updated AgentGateway resource.

Google::Cloud::Networkservices::V1::AgentGateway::DeleteAgentGatewayRequest

Request used by the DeleteAgentGateway method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. A name of the AgentGateway to delete. Must be in the format `projects/*/locations/*/agentGateways/*`.

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

    Type: String

    Optional. The etag of the AgentGateway to delete.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Networkservices::V1::AgentGateway::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.