class PublicAdvertisedPrefixes extends Resource (View source)

The "publicAdvertisedPrefixes" collection of methods.

Typical usage is:

 $computeService = new Google\Service\Compute(...);
 $publicAdvertisedPrefixes = $computeService->publicAdvertisedPrefixes;

Methods

announce(string $project, string $publicAdvertisedPrefix, array $optParams = [])

Announces the specified PublicAdvertisedPrefix (publicAdvertisedPrefixes.announce)

delete(string $project, string $publicAdvertisedPrefix, array $optParams = [])

Deletes the specified PublicAdvertisedPrefix (publicAdvertisedPrefixes.delete)

get(string $project, string $publicAdvertisedPrefix, array $optParams = [])

Returns the specified PublicAdvertisedPrefix resource.

insert(string $project, PublicAdvertisedPrefix $postBody, array $optParams = [])

Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request.

listPublicAdvertisedPrefixes(string $project, array $optParams = [])

Lists the PublicAdvertisedPrefixes for a project.

patch(string $project, string $publicAdvertisedPrefix, PublicAdvertisedPrefix $postBody, array $optParams = [])

Patches the specified Router resource with the data included in the request.

withdraw(string $project, string $publicAdvertisedPrefix, array $optParams = [])

Withdraws the specified PublicAdvertisedPrefix (publicAdvertisedPrefixes.withdraw)

Details

Operation announce(string $project, string $publicAdvertisedPrefix, array $optParams = [])

Announces the specified PublicAdvertisedPrefix (publicAdvertisedPrefixes.announce)

Parameters

string $project

Project ID for this request.

string $publicAdvertisedPrefix

The name of the public advertised prefix. It should comply with RFC1035.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes the specified PublicAdvertisedPrefix (publicAdvertisedPrefixes.delete)

Parameters

string $project

Project ID for this request.

string $publicAdvertisedPrefix

Name of the PublicAdvertisedPrefix resource to delete.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

PublicAdvertisedPrefix get(string $project, string $publicAdvertisedPrefix, array $optParams = [])

Returns the specified PublicAdvertisedPrefix resource.

(publicAdvertisedPrefixes.get)

Parameters

string $project

Project ID for this request.

string $publicAdvertisedPrefix

Name of the PublicAdvertisedPrefix resource to return.

array $optParams

Optional parameters.

Return Value

PublicAdvertisedPrefix

Exceptions

Exception

Operation insert(string $project, PublicAdvertisedPrefix $postBody, array $optParams = [])

Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request.

(publicAdvertisedPrefixes.insert)

Parameters

string $project

Project ID for this request.

PublicAdvertisedPrefix $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

PublicAdvertisedPrefixList listPublicAdvertisedPrefixes(string $project, array $optParams = [])

Lists the PublicAdvertisedPrefixes for a project.

(publicAdvertisedPrefixes.listPublicAdvertisedPrefixes)

Parameters

string $project

Project ID for this request.

array $optParams

Optional parameters.

Return Value

PublicAdvertisedPrefixList

Exceptions

Exception

Operation patch(string $project, string $publicAdvertisedPrefix, PublicAdvertisedPrefix $postBody, array $optParams = [])

Patches the specified Router resource with the data included in the request.

This method supports PATCH semantics and uses JSON merge patch format and processing rules. (publicAdvertisedPrefixes.patch)

Parameters

string $project

Project ID for this request.

string $publicAdvertisedPrefix

Name of the PublicAdvertisedPrefix resource to patch.

PublicAdvertisedPrefix $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation withdraw(string $project, string $publicAdvertisedPrefix, array $optParams = [])

Withdraws the specified PublicAdvertisedPrefix (publicAdvertisedPrefixes.withdraw)

Parameters

string $project

Project ID for this request.

string $publicAdvertisedPrefix

The name of the public advertised prefix. It should comply with RFC1035.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception