Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
Google_Service_Compute_TargetVpnGateways_Resource Class Reference

The "targetVpnGateways" collection of methods. More...

Inheritance diagram for Google_Service_Compute_TargetVpnGateways_Resource:
Google_Service_Resource

Public Member Functions

 aggregatedList ($project, $optParams=array())
 Retrieves the list of target VPN gateways grouped by scope.
 
 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($project, $region, $targetVpnGateway, $optParams=array())
 Deletes the specified TargetVpnGateway resource.
 
 get ($project, $region, $targetVpnGateway, $optParams=array())
 Returns the specified TargetVpnGateway resource.
 
 insert ($project, $region, Google_Service_Compute_TargetVpnGateway $postBody, $optParams=array())
 Creates a TargetVpnGateway resource in the specified project and region using the data included in the request.
 
 listTargetVpnGateways ($project, $region, $optParams=array())
 Retrieves the list of TargetVpnGateway resources available to the specified project and region.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "targetVpnGateways" collection of methods.

Typical usage is: $computeService = new Google_Service_Compute(...); $targetVpnGateways = $computeService->targetVpnGateways;

Member Function Documentation

◆ aggregatedList()

Google_Service_Compute_TargetVpnGateways_Resource::aggregatedList ( $project,
$optParams = array() )

Retrieves the list of target VPN gateways grouped by scope.

(targetVpnGateways.aggregatedList)

Parameters
string$projectProject ID for this request.
array$optParamsOptional parameters.

@opt_param string filter Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.

The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.

For example, filter=name ne example-instance. @opt_param string pageToken Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. @opt_param string maxResults Maximum count of results to be returned.

Return values
Google_Service_Compute_TargetVpnGatewayAggregatedList

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ delete()

Google_Service_Compute_TargetVpnGateways_Resource::delete ( $project,
$region,
$targetVpnGateway,
$optParams = array() )

Deletes the specified TargetVpnGateway resource.

(targetVpnGateways.delete)

Parameters
string$projectProject ID for this request.
string$regionThe name of the region for this request.
string$targetVpnGatewayName of the TargetVpnGateway resource to delete.
array$optParamsOptional parameters.
Return values
Google_Service_Compute_Operation

◆ get()

Google_Service_Compute_TargetVpnGateways_Resource::get ( $project,
$region,
$targetVpnGateway,
$optParams = array() )

Returns the specified TargetVpnGateway resource.

(targetVpnGateways.get)

Parameters
string$projectProject ID for this request.
string$regionThe name of the region for this request.
string$targetVpnGatewayName of the TargetVpnGateway resource to return.
array$optParamsOptional parameters.
Return values
Google_Service_Compute_TargetVpnGateway

◆ insert()

Google_Service_Compute_TargetVpnGateways_Resource::insert ( $project,
$region,
Google_Service_Compute_TargetVpnGateway $postBody,
$optParams = array() )

Creates a TargetVpnGateway resource in the specified project and region using the data included in the request.

(targetVpnGateways.insert)

Parameters
string$projectProject ID for this request.
string$regionThe name of the region for this request.
Google_TargetVpnGateway$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Compute_Operation

◆ listTargetVpnGateways()

Google_Service_Compute_TargetVpnGateways_Resource::listTargetVpnGateways ( $project,
$region,
$optParams = array() )

Retrieves the list of TargetVpnGateway resources available to the specified project and region.

(targetVpnGateways.listTargetVpnGateways)

Parameters
string$projectProject ID for this request.
string$regionThe name of the region for this request.
array$optParamsOptional parameters.

@opt_param string filter Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.

The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.

For example, filter=name ne example-instance. @opt_param string pageToken Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. @opt_param string maxResults Maximum count of results to be returned.

Return values
Google_Service_Compute_TargetVpnGatewayList

The documentation for this class was generated from the following file: