class ProjectsLocationsUrlLists extends Resource (View source)

The "urlLists" collection of methods.

Typical usage is:

 $networksecurityService = new Google\Service\NetworkSecurity(...);
 $urlLists = $networksecurityService->projects_locations_urlLists;

Methods

create(string $parent, UrlList $postBody, array $optParams = [])

Creates a new UrlList in a given project and location. (urlLists.create)

delete(string $name, array $optParams = [])

Deletes a single UrlList. (urlLists.delete)

get(string $name, array $optParams = [])

Gets details of a single UrlList. (urlLists.get)

listProjectsLocationsUrlLists(string $parent, array $optParams = [])

Lists UrlLists in a given project and location.

patch(string $name, UrlList $postBody, array $optParams = [])

Updates the parameters of a single UrlList. (urlLists.patch)

Details

Operation create(string $parent, UrlList $postBody, array $optParams = [])

Creates a new UrlList in a given project and location. (urlLists.create)

Parameters

string $parent

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

UrlList $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation delete(string $name, array $optParams = [])

Deletes a single UrlList. (urlLists.delete)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

UrlList get(string $name, array $optParams = [])

Gets details of a single UrlList. (urlLists.get)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

UrlList

Exceptions

Exception

ListUrlListsResponse listProjectsLocationsUrlLists(string $parent, array $optParams = [])

Lists UrlLists in a given project and location.

(urlLists.listProjectsLocationsUrlLists)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

ListUrlListsResponse

Exceptions

Exception

Operation patch(string $name, UrlList $postBody, array $optParams = [])

Updates the parameters of a single UrlList. (urlLists.patch)

Parameters

string $name

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

UrlList $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception