NAME
Google::Cloud::Networksecurity::V1::GatewaySecurityPolicy - Compiled Protocol Buffers messages for google/cloud/networksecurity/v1/gateway_security_policy.proto
SYNOPSIS
use Google::Cloud::Networksecurity::V1::GatewaySecurityPolicy;
my $msg = Google::Cloud::Networksecurity::V1::GatewaySecurityPolicy::GatewaySecurityPolicy->new({
name => $name,
create_time => $create_time,
update_time => $update_time,
description => $description,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Networksecurity::V1::GatewaySecurityPolicy::GatewaySecurityPolicy->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/networksecurity/v1/gateway_security_policy.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::Networksecurity::V1::GatewaySecurityPolicy::GatewaySecurityPolicy
The GatewaySecurityPolicy resource contains a collection of GatewaySecurityPolicyRules and associated metadata.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp when the resource was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp when the resource was updated.
$msg->description()/$msg->description($value)Type:
StringOptional. Free-text description of the resource.
$msg->tls_inspection_policy()/$msg->tls_inspection_policy($value)Type:
StringOptional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.
Google::Cloud::Networksecurity::V1::GatewaySecurityPolicy::CreateGatewaySecurityPolicyRequest
Request used by the CreateGatewaySecurityPolicy method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource of the GatewaySecurityPolicy. Must be in the format `projects/{project}/locations/{location}`.
$msg->gateway_security_policy_id()/$msg->gateway_security_policy_id($value)Type:
StringRequired. Short name of the GatewaySecurityPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "gateway_security_policy1".
$msg->gateway_security_policy()/$msg->gateway_security_policy($value)Type:
Message(Google::Cloud::Networksecurity::V1::GatewaySecurityPolicy::GatewaySecurityPolicy)Required. GatewaySecurityPolicy resource to be created.
Google::Cloud::Networksecurity::V1::GatewaySecurityPolicy::ListGatewaySecurityPoliciesRequest
Request used with the ListGatewaySecurityPolicies method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The project and location from which the GatewaySecurityPolicies should be listed, specified in the format `projects/{project}/locations/{location}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Maximum number of GatewaySecurityPolicies to return per call.
$msg->page_token()/$msg->page_token($value)Type:
StringThe value returned by the last 'ListGatewaySecurityPoliciesResponse' Indicates that this is a continuation of a prior 'ListGatewaySecurityPolicies' call, and that the system should return the next page of data.
Google::Cloud::Networksecurity::V1::GatewaySecurityPolicy::ListGatewaySecurityPoliciesResponse
Response returned by the ListGatewaySecurityPolicies method.
Inherits from Protobuf::Message.
Accessors
$msg->gateway_security_policies()/$msg->gateway_security_policies($value)Type:
Message(Google::Cloud::Networksecurity::V1::GatewaySecurityPolicy::GatewaySecurityPolicy)List of GatewaySecurityPolicies resources.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringIf 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:
StringLocations that could not be reached.
Google::Cloud::Networksecurity::V1::GatewaySecurityPolicy::GetGatewaySecurityPolicyRequest
Request used by the GetGatewaySecurityPolicy method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. A name of the GatewaySecurityPolicy to get. Must be in the format `projects/{project}/locations/{location}/gatewaySecurityPolicies/*`.
Google::Cloud::Networksecurity::V1::GatewaySecurityPolicy::DeleteGatewaySecurityPolicyRequest
Request used by the DeleteGatewaySecurityPolicy method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. A name of the GatewaySecurityPolicy to delete. Must be in the format `projects/{project}/locations/{location}/gatewaySecurityPolicies/*`.
Google::Cloud::Networksecurity::V1::GatewaySecurityPolicy::UpdateGatewaySecurityPolicyRequest
Request used by the UpdateGatewaySecurityPolicy 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 GatewaySecurityPolicy 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->gateway_security_policy()/$msg->gateway_security_policy($value)Type:
Message(Google::Cloud::Networksecurity::V1::GatewaySecurityPolicy::GatewaySecurityPolicy)Required. Updated GatewaySecurityPolicy resource.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Networksecurity::V1::GatewaySecurityPolicy::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.