Google Cloud Network Security V1 Client - Class UrlList (1.3.0)

Reference documentation and code samples for the Google Cloud Network Security V1 Client class UrlList.

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

Generated from protobuf message google.cloud.networksecurity.v1.UrlList

Namespace

Google \ Cloud \ NetworkSecurity \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name 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?$).

↳ create_time Google\Protobuf\Timestamp

Output only. Time when the security policy was created.

↳ update_time Google\Protobuf\Timestamp

Output only. Time when the security policy was updated.

↳ description string

Optional. Free-text description of the resource.

↳ values string[]

Required. FQDNs and URLs.

getName

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?$).

Returns
Type Description
string

setName

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?$).

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. Time when the security policy was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Time when the security policy was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. Time when the security policy was updated.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Time when the security policy was updated.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getDescription

Optional. Free-text description of the resource.

Returns
Type Description
string

setDescription

Optional. Free-text description of the resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getValues

Required. FQDNs and URLs.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setValues

Required. FQDNs and URLs.

Parameter
Name Description
var string[]
Returns
Type Description
$this