NAME

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

SYNOPSIS

use Google::Cloud::Networksecurity::V1::UrlList;

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

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

DESCRIPTION

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

UrlList proto helps users to set reusable, independently manageable lists of hosts, host patterns, URLs, URL patterns.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the resource provided by the user. Name is of the form projects/{project}/locations/{location}/urlLists/{url_list} url_list 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. Time when the security policy was created.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when the security policy was updated.

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

    Type: String

    Optional. Free-text description of the resource.

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

    Type: String

    Required. FQDNs and URLs.

Google::Cloud::Networksecurity::V1::UrlList::ListUrlListsRequest

Request used by the ListUrlList method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

    Type: Int32

    Maximum number of UrlLists to return per call.

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

    Type: String

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

Google::Cloud::Networksecurity::V1::UrlList::ListUrlListsResponse

Response returned by the ListUrlLists method.

Inherits from Protobuf::Message.

Accessors

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

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

    List of UrlList 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::UrlList::GetUrlListRequest

Request used by the GetUrlList method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

Google::Cloud::Networksecurity::V1::UrlList::CreateUrlListRequest

Request used by the CreateUrlList method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

    Type: String

    Required. Short name of the UrlList 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. "url_list".

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

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

    Required. UrlList resource to be created.

Google::Cloud::Networksecurity::V1::UrlList::UpdateUrlListRequest

Request used by UpdateUrlList 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 UrlList 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->url_list() / $msg->url_list($value)

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

    Required. Updated UrlList resource.

Google::Cloud::Networksecurity::V1::UrlList::DeleteUrlListRequest

Request used by the DeleteUrlList method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.