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

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

Request used by the CreateUrlList method.

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

Namespace

Google \ Cloud \ NetworkSecurity \ V1

Methods

__construct

Constructor.

Parameter
Name Description
data mixed

getParent

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

Returns
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getUrlListId

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".

Returns
Type Description
string

setUrlListId

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".

Parameter
Name Description
var string
Returns
Type Description
$this

getUrlList

Required. UrlList resource to be created.

Returns
Type Description
UrlList|null

hasUrlList

clearUrlList

setUrlList

Required. UrlList resource to be created.

Parameter
Name Description
var UrlList
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource of the UrlList. Must be in the format projects/*/locations/{location}. Please see NetworkSecurityClient::locationName() for help formatting this field.

urlList UrlList

Required. UrlList resource to be created.

urlListId 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".

Returns
Type Description
CreateUrlListRequest