BackendServices
class BackendServices extends Resource (View source)
The "backendServices" collection of methods.
Typical usage is:
$computeService = new Google\Service\Compute(...);
$backendServices = $computeService->backendServices;
Methods
Adds a key for validating requests with signed URLs for this backend service.
Retrieves the list of all BackendService resources, regional and global,
available to the specified project. To prevent failure, Google recommends
that you set the returnPartialSuccess
parameter to true
.
Deletes the specified BackendService resource. (backendServices.delete)
Deletes a key for validating requests with signed URLs for this backend service. (backendServices.deleteSignedUrlKey)
Returns the specified BackendService resource. (backendServices.get)
Gets the most recent health check results for this BackendService. Example request body: { "group": "/zones/us-east1-b/instanceGroups/lb-backend- example" } (backendServices.getHealth)
Gets the access control policy for a resource. May be empty if no such policy or resource exists. (backendServices.getIamPolicy)
Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview . (backendServices.insert)
Retrieves the list of BackendService resources available to the specified project. (backendServices.listBackendServices)
Retrieves an aggregated list of all usable backend services in the specified project. (backendServices.listUsable)
Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. (backendServices.patch)
Sets the edge security policy for the specified backend service.
Sets the access control policy on the specified resource. Replaces any existing policy. (backendServices.setIamPolicy)
Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview (backendServices.setSecurityPolicy)
Returns permissions that a caller has on the specified resource.
Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview.
Details
Operation
addSignedUrlKey(string $project, string $backendService, SignedUrlKey $postBody, array $optParams = [])
Adds a key for validating requests with signed URLs for this backend service.
(backendServices.addSignedUrlKey)
BackendServiceAggregatedList
aggregatedList(string $project, array $optParams = [])
Retrieves the list of all BackendService resources, regional and global,
available to the specified project. To prevent failure, Google recommends
that you set the returnPartialSuccess
parameter to true
.
(backendServices.aggregatedList)
Operation
delete(string $project, string $backendService, array $optParams = [])
Deletes the specified BackendService resource. (backendServices.delete)
Operation
deleteSignedUrlKey(string $project, string $backendService, string $keyName, array $optParams = [])
Deletes a key for validating requests with signed URLs for this backend service. (backendServices.deleteSignedUrlKey)
BackendService
get(string $project, string $backendService, array $optParams = [])
Returns the specified BackendService resource. (backendServices.get)
BackendServiceGroupHealth
getHealth(string $project, string $backendService, ResourceGroupReference $postBody, array $optParams = [])
Gets the most recent health check results for this BackendService. Example request body: { "group": "/zones/us-east1-b/instanceGroups/lb-backend- example" } (backendServices.getHealth)
Policy
getIamPolicy(string $project, string $resource, array $optParams = [])
Gets the access control policy for a resource. May be empty if no such policy or resource exists. (backendServices.getIamPolicy)
Operation
insert(string $project, BackendService $postBody, array $optParams = [])
Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview . (backendServices.insert)
BackendServiceList
listBackendServices(string $project, array $optParams = [])
Retrieves the list of BackendService resources available to the specified project. (backendServices.listBackendServices)
BackendServiceListUsable
listUsable(string $project, array $optParams = [])
Retrieves an aggregated list of all usable backend services in the specified project. (backendServices.listUsable)
Operation
patch(string $project, string $backendService, BackendService $postBody, array $optParams = [])
Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. (backendServices.patch)
Operation
setEdgeSecurityPolicy(string $project, string $backendService, SecurityPolicyReference $postBody, array $optParams = [])
Sets the edge security policy for the specified backend service.
(backendServices.setEdgeSecurityPolicy)
Policy
setIamPolicy(string $project, string $resource, GlobalSetPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on the specified resource. Replaces any existing policy. (backendServices.setIamPolicy)
Operation
setSecurityPolicy(string $project, 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 (backendServices.setSecurityPolicy)
TestPermissionsResponse
testIamPermissions(string $project, string $resource, TestPermissionsRequest $postBody, array $optParams = [])
Returns permissions that a caller has on the specified resource.
(backendServices.testIamPermissions)
Operation
update(string $project, string $backendService, BackendService $postBody, array $optParams = [])
Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview.
(backendServices.update)