class BackendBuckets extends Resource (View source)

The "backendBuckets" collection of methods.

Typical usage is:

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

Methods

addSignedUrlKey(string $project, string $backendBucket, SignedUrlKey $postBody, array $optParams = [])

Adds a key for validating requests with signed URLs for this backend bucket.

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

Deletes the specified BackendBucket resource. (backendBuckets.delete)

deleteSignedUrlKey(string $project, string $backendBucket, string $keyName, array $optParams = [])

Deletes a key for validating requests with signed URLs for this backend bucket. (backendBuckets.deleteSignedUrlKey)

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

Returns the specified BackendBucket resource. (backendBuckets.get)

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. (backendBuckets.getIamPolicy)

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

Creates a BackendBucket resource in the specified project using the data included in the request. (backendBuckets.insert)

listBackendBuckets(string $project, array $optParams = [])

Retrieves the list of BackendBucket resources available to the specified project. (backendBuckets.listBackendBuckets)

patch(string $project, string $backendBucket, BackendBucket $postBody, array $optParams = [])

Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. (backendBuckets.patch)

setEdgeSecurityPolicy(string $project, string $backendBucket, SecurityPolicyReference $postBody, array $optParams = [])

Sets the edge security policy for the specified backend bucket.

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

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

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

Returns permissions that a caller has on the specified resource.

update(string $project, string $backendBucket, BackendBucket $postBody, array $optParams = [])

Updates the specified BackendBucket resource with the data included in the request. (backendBuckets.update)

Details

Operation addSignedUrlKey(string $project, string $backendBucket, SignedUrlKey $postBody, array $optParams = [])

Adds a key for validating requests with signed URLs for this backend bucket.

(backendBuckets.addSignedUrlKey)

Parameters

string $project

Project ID for this request.

string $backendBucket

Name of the BackendBucket resource to which the Signed URL Key should be added. The name should conform to RFC1035.

SignedUrlKey $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes the specified BackendBucket resource. (backendBuckets.delete)

Parameters

string $project

Project ID for this request.

string $backendBucket

Name of the BackendBucket resource to delete.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation deleteSignedUrlKey(string $project, string $backendBucket, string $keyName, array $optParams = [])

Deletes a key for validating requests with signed URLs for this backend bucket. (backendBuckets.deleteSignedUrlKey)

Parameters

string $project

Project ID for this request.

string $backendBucket

Name of the BackendBucket resource to which the Signed URL Key should be added. The name should conform to RFC1035.

string $keyName

The name of the Signed URL Key to delete.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

BackendBucket get(string $project, string $backendBucket, array $optParams = [])

Returns the specified BackendBucket resource. (backendBuckets.get)

Parameters

string $project

Project ID for this request.

string $backendBucket

Name of the BackendBucket resource to return.

array $optParams

Optional parameters.

Return Value

BackendBucket

Exceptions

Exception

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. (backendBuckets.getIamPolicy)

Parameters

string $project

Project ID 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, BackendBucket $postBody, array $optParams = [])

Creates a BackendBucket resource in the specified project using the data included in the request. (backendBuckets.insert)

Parameters

string $project

Project ID for this request.

BackendBucket $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

BackendBucketList listBackendBuckets(string $project, array $optParams = [])

Retrieves the list of BackendBucket resources available to the specified project. (backendBuckets.listBackendBuckets)

Parameters

string $project

Project ID for this request.

array $optParams

Optional parameters.

Return Value

BackendBucketList

Exceptions

Exception

Operation patch(string $project, string $backendBucket, BackendBucket $postBody, array $optParams = [])

Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. (backendBuckets.patch)

Parameters

string $project

Project ID for this request.

string $backendBucket

Name of the BackendBucket resource to patch.

BackendBucket $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation setEdgeSecurityPolicy(string $project, string $backendBucket, SecurityPolicyReference $postBody, array $optParams = [])

Sets the edge security policy for the specified backend bucket.

(backendBuckets.setEdgeSecurityPolicy)

Parameters

string $project

Project ID for this request.

string $backendBucket

Name of the BackendBucket 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

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

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

Parameters

string $project

Project ID for this request.

string $resource

Name or id of the resource for this request.

GlobalSetPolicyRequest $postBody
array $optParams

Optional parameters.

Return Value

Policy

Exceptions

Exception

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

Returns permissions that a caller has on the specified resource.

(backendBuckets.testIamPermissions)

Parameters

string $project

Project ID 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 $backendBucket, BackendBucket $postBody, array $optParams = [])

Updates the specified BackendBucket resource with the data included in the request. (backendBuckets.update)

Parameters

string $project

Project ID for this request.

string $backendBucket

Name of the BackendBucket resource to update.

BackendBucket $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception