class PacketMirrorings extends Resource (View source)

The "packetMirrorings" collection of methods.

Typical usage is:

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

Methods

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

Retrieves an aggregated list of packetMirrorings. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

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

Deletes the specified PacketMirroring resource. (packetMirrorings.delete)

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

Returns the specified PacketMirroring resource. (packetMirrorings.get)

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

Creates a PacketMirroring resource in the specified project and region using the data included in the request. (packetMirrorings.insert)

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

Retrieves a list of PacketMirroring resources available to the specified project and region. (packetMirrorings.listPacketMirrorings)

patch(string $project, string $region, string $packetMirroring, PacketMirroring $postBody, array $optParams = [])

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

testIamPermissions(string $project, string $region, string $resource, TestPermissionsRequest $postBody, array $optParams = [])

Returns permissions that a caller has on the specified resource.

Details

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

Retrieves an aggregated list of packetMirrorings. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

(packetMirrorings.aggregatedList)

Parameters

string $project

Project ID for this request.

array $optParams

Optional parameters.

Return Value

PacketMirroringAggregatedList

Exceptions

Exception

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

Deletes the specified PacketMirroring resource. (packetMirrorings.delete)

Parameters

string $project

Project ID for this request.

string $region

Name of the region for this request.

string $packetMirroring

Name of the PacketMirroring resource to delete.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Returns the specified PacketMirroring resource. (packetMirrorings.get)

Parameters

string $project

Project ID for this request.

string $region

Name of the region for this request.

string $packetMirroring

Name of the PacketMirroring resource to return.

array $optParams

Optional parameters.

Return Value

PacketMirroring

Exceptions

Exception

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

Creates a PacketMirroring resource in the specified project and region using the data included in the request. (packetMirrorings.insert)

Parameters

string $project

Project ID for this request.

string $region

Name of the region for this request.

PacketMirroring $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Retrieves a list of PacketMirroring resources available to the specified project and region. (packetMirrorings.listPacketMirrorings)

Parameters

string $project

Project ID for this request.

string $region

Name of the region for this request.

array $optParams

Optional parameters.

Return Value

PacketMirroringList

Exceptions

Exception

Operation patch(string $project, string $region, string $packetMirroring, PacketMirroring $postBody, array $optParams = [])

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

Parameters

string $project

Project ID for this request.

string $region

Name of the region for this request.

string $packetMirroring

Name of the PacketMirroring resource to patch.

PacketMirroring $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

TestPermissionsResponse testIamPermissions(string $project, string $region, string $resource, TestPermissionsRequest $postBody, array $optParams = [])

Returns permissions that a caller has on the specified resource.

(packetMirrorings.testIamPermissions)

Parameters

string $project

Project ID for this request.

string $region

The name of the region for this request.

string $resource

Name or id of the resource for this request.

TestPermissionsRequest $postBody
array $optParams

Optional parameters.

Return Value

TestPermissionsResponse

Exceptions

Exception