TargetVpnGateways
class TargetVpnGateways extends Resource (View source)
The "targetVpnGateways" collection of methods.
Typical usage is:
$computeService = new Google\Service\Compute(...);
$targetVpnGateways = $computeService->targetVpnGateways;
Methods
Retrieves an aggregated list of target VPN gateways. To prevent failure,
Google recommends that you set the returnPartialSuccess
parameter to
true
. (targetVpnGateways.aggregatedList)
Deletes the specified target VPN gateway. (targetVpnGateways.delete)
Returns the specified target VPN gateway. (targetVpnGateways.get)
Creates a target VPN gateway in the specified project and region using the data included in the request. (targetVpnGateways.insert)
Retrieves a list of target VPN gateways available to the specified project and region. (targetVpnGateways.listTargetVpnGateways)
Sets the labels on a TargetVpnGateway. To learn more about labels, read the Labeling Resources documentation. (targetVpnGateways.setLabels)
Details
TargetVpnGatewayAggregatedList
aggregatedList(string $project, array $optParams = [])
Retrieves an aggregated list of target VPN gateways. To prevent failure,
Google recommends that you set the returnPartialSuccess
parameter to
true
. (targetVpnGateways.aggregatedList)
Operation
delete(string $project, string $region, string $targetVpnGateway, array $optParams = [])
Deletes the specified target VPN gateway. (targetVpnGateways.delete)
TargetVpnGateway
get(string $project, string $region, string $targetVpnGateway, array $optParams = [])
Returns the specified target VPN gateway. (targetVpnGateways.get)
Operation
insert(string $project, string $region, TargetVpnGateway $postBody, array $optParams = [])
Creates a target VPN gateway in the specified project and region using the data included in the request. (targetVpnGateways.insert)
TargetVpnGatewayList
listTargetVpnGateways(string $project, string $region, array $optParams = [])
Retrieves a list of target VPN gateways available to the specified project and region. (targetVpnGateways.listTargetVpnGateways)
Operation
setLabels(string $project, string $region, string $resource, RegionSetLabelsRequest $postBody, array $optParams = [])
Sets the labels on a TargetVpnGateway. To learn more about labels, read the Labeling Resources documentation. (targetVpnGateways.setLabels)