NAME

Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy - Compiled Protocol Buffers messages for google/cloud/networksecurity/v1beta1/client_tls_policy.proto

SYNOPSIS

use Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy;

my $msg = Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::ClientTlsPolicy->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::V1beta1::ClientTlsPolicy::ClientTlsPolicy->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/networksecurity/v1beta1/client_tls_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::V1beta1::ClientTlsPolicy::ClientTlsPolicy

ClientTlsPolicy is a resource that specifies how a client should authenticate connections to backends of a service. This resource itself does not affect configuration unless it is attached to a backend service resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}`

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

    Type: Message (Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::ClientTlsPolicy::LabelsEntry)

    Optional. Set of label tags associated with the resource.

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

    Type: String

    Optional. Server Name Indication string to present to the server during TLS handshake. E.g: "secure.example.com".

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

    Type: Message (Google::Cloud::Networksecurity::V1beta1::Tls::CertificateProvider)

    Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS.

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

    Type: Message (Google::Cloud::Networksecurity::V1beta1::Tls::ValidationCA)

    Optional. Defines the mechanism to obtain the Certificate Authority certificate to validate the server certificate. If empty, client does not validate the server certificate.

Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::ListClientTlsPoliciesRequest

Request used by the ListClientTlsPolicies method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

    Type: Int32

    Maximum number of ClientTlsPolicies to return per call.

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

    Type: String

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

Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::ListClientTlsPoliciesResponse

Response returned by the ListClientTlsPolicies method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::ClientTlsPolicy)

    List of ClientTlsPolicy 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`.

Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::GetClientTlsPolicyRequest

Request used by the GetClientTlsPolicy method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. A name of the ClientTlsPolicy to get. Must be in the format `projects/*/locations/{location}/clientTlsPolicies/*`.

Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::CreateClientTlsPolicyRequest

Request used by the CreateClientTlsPolicy method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

    Type: String

    Required. Short name of the ClientTlsPolicy 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. "client_mtls_policy".

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

    Type: Message (Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::ClientTlsPolicy)

    Required. ClientTlsPolicy resource to be created.

Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::UpdateClientTlsPolicyRequest

Request used by UpdateClientTlsPolicy 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 ClientTlsPolicy 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->client_tls_policy() / $msg->client_tls_policy($value)

    Type: Message (Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::ClientTlsPolicy)

    Required. Updated ClientTlsPolicy resource.

Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::DeleteClientTlsPolicyRequest

Request used by the DeleteClientTlsPolicy method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. A name of the ClientTlsPolicy to delete. Must be in the format `projects/*/locations/{location}/clientTlsPolicies/*`.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.