VpnGateways
class VpnGateways extends Resource (View source)
The "vpnGateways" collection of methods.
Typical usage is:
$computeService = new Google\Service\Compute(...);
$vpnGateways = $computeService->vpnGateways;
Methods
Retrieves an aggregated list of VPN gateways. To prevent failure, Google
recommends that you set the returnPartialSuccess
parameter to true
.
Deletes the specified VPN gateway. (vpnGateways.delete)
Returns the specified VPN gateway. (vpnGateways.get)
Returns the status for the specified VPN gateway. (vpnGateways.getStatus)
Creates a VPN gateway in the specified project and region using the data included in the request. (vpnGateways.insert)
Retrieves a list of VPN gateways available to the specified project and region. (vpnGateways.listVpnGateways)
Sets the labels on a VpnGateway. To learn more about labels, read the Labeling Resources documentation. (vpnGateways.setLabels)
Returns permissions that a caller has on the specified resource.
Details
VpnGatewayAggregatedList
aggregatedList(string $project, array $optParams = [])
Retrieves an aggregated list of VPN gateways. To prevent failure, Google
recommends that you set the returnPartialSuccess
parameter to true
.
(vpnGateways.aggregatedList)
Operation
delete(string $project, string $region, string $vpnGateway, array $optParams = [])
Deletes the specified VPN gateway. (vpnGateways.delete)
VpnGateway
get(string $project, string $region, string $vpnGateway, array $optParams = [])
Returns the specified VPN gateway. (vpnGateways.get)
VpnGatewaysGetStatusResponse
getStatus(string $project, string $region, string $vpnGateway, array $optParams = [])
Returns the status for the specified VPN gateway. (vpnGateways.getStatus)
Operation
insert(string $project, string $region, VpnGateway $postBody, array $optParams = [])
Creates a VPN gateway in the specified project and region using the data included in the request. (vpnGateways.insert)
VpnGatewayList
listVpnGateways(string $project, string $region, array $optParams = [])
Retrieves a list of VPN gateways available to the specified project and region. (vpnGateways.listVpnGateways)
Operation
setLabels(string $project, string $region, string $resource, RegionSetLabelsRequest $postBody, array $optParams = [])
Sets the labels on a VpnGateway. To learn more about labels, read the Labeling Resources documentation. (vpnGateways.setLabels)
TestPermissionsResponse
testIamPermissions(string $project, string $region, string $resource, TestPermissionsRequest $postBody, array $optParams = [])
Returns permissions that a caller has on the specified resource.
(vpnGateways.testIamPermissions)