NAME
Google::Cloud::Securitycenter::V1::Connection - Compiled Protocol Buffers messages for google/cloud/securitycenter/v1/connection.proto
SYNOPSIS
use Google::Cloud::Securitycenter::V1::Connection;
my $msg = Google::Cloud::Securitycenter::V1::Connection::Connection->new({
destination_ip => $destination_ip,
destination_port => $destination_port,
source_ip => $source_ip,
source_port => $source_port,
});
# Read or update a field
my $val = $msg->destination_ip();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Securitycenter::V1::Connection::Connection->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v1/connection.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::Securitycenter::V1::Connection::Connection
Contains information about the IP connection associated with the finding.
Inherits from Protobuf::Message.
Accessors
$msg->destination_ip()/$msg->destination_ip($value)Type:
StringDestination IP address. Not present for sockets that are listening and not connected.
$msg->destination_port()/$msg->destination_port($value)Type:
Int32Destination port. Not present for sockets that are listening and not connected.
$msg->source_ip()/$msg->source_ip($value)Type:
StringSource IP address.
$msg->source_port()/$msg->source_port($value)Type:
Int32Source port.
$msg->protocol()/$msg->protocol($value)Type:
Enum(Google::Cloud::Securitycenter::V1::Connection::Protocol)IANA Internet Protocol Number such as TCP(6) and UDP(17).
Enum: Connection::Protocol
PROTOCOL_UNSPECIFIED=>0ICMP=>1TCP=>6UDP=>17GRE=>47ESP=>50
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Securitycenter::V1::Connection::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.