class PublicDelegatedPrefixes extends Resource (View source)

The "publicDelegatedPrefixes" collection of methods.

Typical usage is:

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

Methods

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

Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

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

Announces the specified PublicDelegatedPrefix in the given region.

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

Deletes the specified PublicDelegatedPrefix in the given region.

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

Returns the specified PublicDelegatedPrefix resource in the given region.

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

Creates a PublicDelegatedPrefix in the specified project in the given region using the parameters that are included in the request.

listPublicDelegatedPrefixes(string $project, string $region, array $optParams = [])

Lists the PublicDelegatedPrefixes for a project in the given region.

patch(string $project, string $region, string $publicDelegatedPrefix, PublicDelegatedPrefix $postBody, array $optParams = [])

Patches the specified PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. (publicDelegatedPrefixes.patch)

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

Withdraws the specified PublicDelegatedPrefix in the given region.

Details

PublicDelegatedPrefixAggregatedList aggregatedList(string $project, array $optParams = [])

Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

(publicDelegatedPrefixes.aggregatedList)

Parameters

string $project

Name of the project scoping this request.

array $optParams

Optional parameters.

Return Value

PublicDelegatedPrefixAggregatedList

Exceptions

Exception

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

Announces the specified PublicDelegatedPrefix in the given region.

(publicDelegatedPrefixes.announce)

Parameters

string $project

Project ID for this request.

string $region

The name of the region where the public delegated prefix is located. It should comply with RFC1035.

string $publicDelegatedPrefix

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

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes the specified PublicDelegatedPrefix in the given region.

(publicDelegatedPrefixes.delete)

Parameters

string $project

Project ID for this request.

string $region

Name of the region of this request.

string $publicDelegatedPrefix

Name of the PublicDelegatedPrefix resource to delete.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

PublicDelegatedPrefix get(string $project, string $region, string $publicDelegatedPrefix, array $optParams = [])

Returns the specified PublicDelegatedPrefix resource in the given region.

(publicDelegatedPrefixes.get)

Parameters

string $project

Project ID for this request.

string $region

Name of the region of this request.

string $publicDelegatedPrefix

Name of the PublicDelegatedPrefix resource to return.

array $optParams

Optional parameters.

Return Value

PublicDelegatedPrefix

Exceptions

Exception

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

Creates a PublicDelegatedPrefix in the specified project in the given region using the parameters that are included in the request.

(publicDelegatedPrefixes.insert)

Parameters

string $project

Project ID for this request.

string $region

Name of the region of this request.

PublicDelegatedPrefix $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

PublicDelegatedPrefixList listPublicDelegatedPrefixes(string $project, string $region, array $optParams = [])

Lists the PublicDelegatedPrefixes for a project in the given region.

(publicDelegatedPrefixes.listPublicDelegatedPrefixes)

Parameters

string $project

Project ID for this request.

string $region

Name of the region of this request.

array $optParams

Optional parameters.

Return Value

PublicDelegatedPrefixList

Exceptions

Exception

Operation patch(string $project, string $region, string $publicDelegatedPrefix, PublicDelegatedPrefix $postBody, array $optParams = [])

Patches the specified PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. (publicDelegatedPrefixes.patch)

Parameters

string $project

Project ID for this request.

string $region

Name of the region for this request.

string $publicDelegatedPrefix

Name of the PublicDelegatedPrefix resource to patch.

PublicDelegatedPrefix $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Withdraws the specified PublicDelegatedPrefix in the given region.

(publicDelegatedPrefixes.withdraw)

Parameters

string $project

Project ID for this request.

string $region

The name of the region where the public delegated prefix is located. It should comply with RFC1035.

string $publicDelegatedPrefix

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

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception