NAME

Google::Cloud::Networksecurity::V1::TlsInspectionPolicy - Compiled Protocol Buffers messages for google/cloud/networksecurity/v1/tls_inspection_policy.proto

SYNOPSIS

use Google::Cloud::Networksecurity::V1::TlsInspectionPolicy;

my $msg = Google::Cloud::Networksecurity::V1::TlsInspectionPolicy::TlsInspectionPolicy->new({
    name => $name,
    description => $description,
    create_time => $create_time,
    update_time => $update_time,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/networksecurity/v1/tls_inspection_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::TlsInspectionPolicy::TlsInspectionPolicy

The TlsInspectionPolicy resource contains references to CA pools in Certificate Authority Service and associated metadata.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy} tls_inspection_policy should match the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).

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

    Type: String

    Optional. Free-text description of the resource.

  • $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->ca_pool() / $msg->ca_pool($value)

    Type: String

    Required. A CA pool resource used to issue interception certificates. The CA pool string has a relative resource path following the form "projects/{project}/locations/{location}/caPools/{ca_pool}".

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

    Type: String

    Optional. A TrustConfig resource used when making a connection to the TLS server. This is a relative resource path following the form "projects/{project}/locations/{location}/trustConfigs/{trust_config}". This is necessary to intercept TLS connections to servers with certificates signed by a private CA or self-signed certificates. Note that Secure Web Proxy does not yet honor this field.

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

    Type: Bool

    Optional. If FALSE (the default), use our default set of public CAs in addition to any CAs specified in trust_config. These public CAs are currently based on the Mozilla Root Program and are subject to change over time. If TRUE, do not accept our default set of public CAs. Only CAs specified in trust_config will be accepted. This defaults to FALSE (use public CAs in addition to trust_config) for backwards compatibility, but trusting public root CAs is *not recommended* unless the traffic in question is outbound to public web servers. When possible, prefer setting this to "false" and explicitly specifying trusted CAs and certificates in a TrustConfig. Note that Secure Web Proxy does not yet honor this field.

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

    Type: Enum (Google::Cloud::Networksecurity::V1::TlsInspectionPolicy::TlsVersion)

    Optional. Minimum TLS version that the firewall should use when negotiating connections with both clients and servers. If this is not set, then the default value is to allow the broadest set of clients and servers (TLS 1.0 or higher). Setting this to more restrictive values may improve security, but may also prevent the firewall from connecting to some clients or servers. Note that Secure Web Proxy does not yet honor this field.

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

    Type: Enum (Google::Cloud::Networksecurity::V1::TlsInspectionPolicy::Profile)

    Optional. The selected Profile. If this is not set, then the default value is to allow the broadest set of clients and servers ("PROFILE_COMPATIBLE"). Setting this to more restrictive values may improve security, but may also prevent the TLS inspection proxy from connecting to some clients or servers. Note that Secure Web Proxy does not yet honor this field.

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

    Type: String

    Optional. List of custom TLS cipher suites selected. This field is valid only if the selected tls_feature_profile is CUSTOM. The [compute.SslPoliciesService.ListAvailableFeatures][] method returns the set of features that can be specified in this list. Note that Secure Web Proxy does not yet honor this field.

Enum: TlsInspectionPolicy::TlsVersion

  • TLS_VERSION_UNSPECIFIED => 0

  • TLS_1_0 => 1

  • TLS_1_1 => 2

  • TLS_1_2 => 3

  • TLS_1_3 => 4

Enum: TlsInspectionPolicy::Profile

  • PROFILE_UNSPECIFIED => 0

  • PROFILE_COMPATIBLE => 1

  • PROFILE_MODERN => 2

  • PROFILE_RESTRICTED => 3

  • PROFILE_CUSTOM => 4

Google::Cloud::Networksecurity::V1::TlsInspectionPolicy::CreateTlsInspectionPolicyRequest

Request used by the CreateTlsInspectionPolicy method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource of the TlsInspectionPolicy. Must be in the format `projects/{project}/locations/{location}`.

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

    Type: String

    Required. Short name of the TlsInspectionPolicy 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. "tls_inspection_policy1".

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

    Type: Message (Google::Cloud::Networksecurity::V1::TlsInspectionPolicy::TlsInspectionPolicy)

    Required. TlsInspectionPolicy resource to be created.

Google::Cloud::Networksecurity::V1::TlsInspectionPolicy::ListTlsInspectionPoliciesRequest

Request used with the ListTlsInspectionPolicies method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

    Type: Int32

    Maximum number of TlsInspectionPolicies to return per call.

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

    Type: String

    The value returned by the last 'ListTlsInspectionPoliciesResponse' Indicates that this is a continuation of a prior 'ListTlsInspectionPolicies' call, and that the system should return the next page of data.

Google::Cloud::Networksecurity::V1::TlsInspectionPolicy::ListTlsInspectionPoliciesResponse

Response returned by the ListTlsInspectionPolicies method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Networksecurity::V1::TlsInspectionPolicy::TlsInspectionPolicy)

    List of TlsInspectionPolicies 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

    Locations that could not be reached.

Google::Cloud::Networksecurity::V1::TlsInspectionPolicy::GetTlsInspectionPolicyRequest

Request used by the GetTlsInspectionPolicy method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. A name of the TlsInspectionPolicy to get. Must be in the format `projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy}`.

Google::Cloud::Networksecurity::V1::TlsInspectionPolicy::DeleteTlsInspectionPolicyRequest

Request used by the DeleteTlsInspectionPolicy method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. A name of the TlsInspectionPolicy to delete. Must be in the format `projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy}`.

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

    Type: Bool

    If set to true, any rules for this TlsInspectionPolicy will also be deleted. (Otherwise, the request will only work if the TlsInspectionPolicy has no rules.)

Google::Cloud::Networksecurity::V1::TlsInspectionPolicy::UpdateTlsInspectionPolicyRequest

Request used by the UpdateTlsInspectionPolicy 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 TlsInspectionPolicy 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->tls_inspection_policy() / $msg->tls_inspection_policy($value)

    Type: Message (Google::Cloud::Networksecurity::V1::TlsInspectionPolicy::TlsInspectionPolicy)

    Required. Updated TlsInspectionPolicy resource.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Networksecurity::V1::TlsInspectionPolicy::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.