class RegionBackendServices extends Resource (View source)

The "regionBackendServices" collection of methods.

Typical usage is:

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

Methods

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

Deletes the specified regional BackendService resource.

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

Returns the specified regional BackendService resource.

getHealth(string $project, string $region, string $backendService, ResourceGroupReference $postBody, array $optParams = [])

Gets the most recent health check results for this regional BackendService.

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

Gets the access control policy for a resource. May be empty if no such policy or resource exists. (regionBackendServices.getIamPolicy)

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

Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview. (regionBackendServices.insert)

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

Retrieves the list of regional BackendService resources available to the specified project in the given region.

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

Retrieves an aggregated list of all usable backend services in the specified project in the given region. (regionBackendServices.listUsable)

patch(string $project, string $region, string $backendService, BackendService $postBody, array $optParams = [])

Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules. (regionBackendServices.patch)

setIamPolicy(string $project, string $region, string $resource, RegionSetPolicyRequest $postBody, array $optParams = [])

Sets the access control policy on the specified resource. Replaces any existing policy. (regionBackendServices.setIamPolicy)

setSecurityPolicy(string $project, string $region, string $backendService, SecurityPolicyReference $postBody, array $optParams = [])

Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview (regionBackendServices.setSecurityPolicy)

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

Returns permissions that a caller has on the specified resource.

update(string $project, string $region, string $backendService, BackendService $postBody, array $optParams = [])

Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview .

Details

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

Deletes the specified regional BackendService resource.

(regionBackendServices.delete)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

string $backendService

Name of the BackendService resource to delete.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Returns the specified regional BackendService resource.

(regionBackendServices.get)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

string $backendService

Name of the BackendService resource to return.

array $optParams

Optional parameters.

Return Value

BackendService

Exceptions

Exception

BackendServiceGroupHealth getHealth(string $project, string $region, string $backendService, ResourceGroupReference $postBody, array $optParams = [])

Gets the most recent health check results for this regional BackendService.

(regionBackendServices.getHealth)

Parameters

string $project
string $region

Name of the region scoping this request.

string $backendService

Name of the BackendService resource for which to get health.

ResourceGroupReference $postBody
array $optParams

Optional parameters.

Return Value

BackendServiceGroupHealth

Exceptions

Exception

Policy getIamPolicy(string $project, string $region, string $resource, array $optParams = [])

Gets the access control policy for a resource. May be empty if no such policy or resource exists. (regionBackendServices.getIamPolicy)

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.

array $optParams

Optional parameters.

Return Value

Policy

Exceptions

Exception

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

Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview. (regionBackendServices.insert)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

BackendService $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Retrieves the list of regional BackendService resources available to the specified project in the given region.

(regionBackendServices.listRegionBackendServices)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

array $optParams

Optional parameters.

Return Value

BackendServiceList

Exceptions

Exception

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

Retrieves an aggregated list of all usable backend services in the specified project in the given region. (regionBackendServices.listUsable)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request. It must be a string that meets the requirements in RFC1035.

array $optParams

Optional parameters.

Return Value

BackendServiceListUsable

Exceptions

Exception

Operation patch(string $project, string $region, string $backendService, BackendService $postBody, array $optParams = [])

Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules. (regionBackendServices.patch)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

string $backendService

Name of the BackendService resource to patch.

BackendService $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Policy setIamPolicy(string $project, string $region, string $resource, RegionSetPolicyRequest $postBody, array $optParams = [])

Sets the access control policy on the specified resource. Replaces any existing policy. (regionBackendServices.setIamPolicy)

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.

RegionSetPolicyRequest $postBody
array $optParams

Optional parameters.

Return Value

Policy

Exceptions

Exception

Operation setSecurityPolicy(string $project, string $region, string $backendService, SecurityPolicyReference $postBody, array $optParams = [])

Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview (regionBackendServices.setSecurityPolicy)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

string $backendService

Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035.

SecurityPolicyReference $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.

(regionBackendServices.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

Operation update(string $project, string $region, string $backendService, BackendService $postBody, array $optParams = [])

Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview .

(regionBackendServices.update)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

string $backendService

Name of the BackendService resource to update.

BackendService $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception