Moodle PHP Documentation 4.1
Moodle 4.1.11 (Build: 20240610) (c8c84b4af18)
Google_Service_Compute_Firewalls_Resource Class Reference

The "firewalls" collection of methods. More...

Inheritance diagram for Google_Service_Compute_Firewalls_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($project, $firewall, $optParams=array())
 Deletes the specified firewall resource.
 
 get ($project, $firewall, $optParams=array())
 Returns the specified firewall resource.
 
 insert ($project, Google_Service_Compute_Firewall $postBody, $optParams=array())
 Creates a firewall resource in the specified project using the data included in the request.
 
 listFirewalls ($project, $optParams=array())
 Retrieves the list of firewall resources available to the specified project.
 
 patch ($project, $firewall, Google_Service_Compute_Firewall $postBody, $optParams=array())
 Updates the specified firewall resource with the data included in the request.
 
 update ($project, $firewall, Google_Service_Compute_Firewall $postBody, $optParams=array())
 Updates the specified firewall resource with the data included in the request.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "firewalls" collection of methods.

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

Member Function Documentation

◆ 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_Firewalls_Resource::delete ( $project,
$firewall,
$optParams = array() )

Deletes the specified firewall resource.

(firewalls.delete)

Parameters
string$projectProject ID for this request.
string$firewallName of the firewall resource to delete.
array$optParamsOptional parameters.
Return values
Google_Service_Compute_Operation

◆ get()

Google_Service_Compute_Firewalls_Resource::get ( $project,
$firewall,
$optParams = array() )

Returns the specified firewall resource.

(firewalls.get)

Parameters
string$projectProject ID for this request.
string$firewallName of the firewall resource to return.
array$optParamsOptional parameters.
Return values
Google_Service_Compute_Firewall

◆ insert()

Google_Service_Compute_Firewalls_Resource::insert ( $project,
Google_Service_Compute_Firewall $postBody,
$optParams = array() )

Creates a firewall resource in the specified project using the data included in the request.

(firewalls.insert)

Parameters
string$projectProject ID for this request.
Google_Firewall$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Compute_Operation

◆ listFirewalls()

Google_Service_Compute_Firewalls_Resource::listFirewalls ( $project,
$optParams = array() )

Retrieves the list of firewall resources available to the specified project.

(firewalls.listFirewalls)

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_FirewallList

◆ patch()

Google_Service_Compute_Firewalls_Resource::patch ( $project,
$firewall,
Google_Service_Compute_Firewall $postBody,
$optParams = array() )

Updates the specified firewall resource with the data included in the request.

This method supports patch semantics. (firewalls.patch)

Parameters
string$projectProject ID for this request.
string$firewallName of the firewall resource to update.
Google_Firewall$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Compute_Operation

◆ update()

Google_Service_Compute_Firewalls_Resource::update ( $project,
$firewall,
Google_Service_Compute_Firewall $postBody,
$optParams = array() )

Updates the specified firewall resource with the data included in the request.

(firewalls.update)

Parameters
string$projectProject ID for this request.
string$firewallName of the firewall resource to update.
Google_Firewall$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Compute_Operation

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