Show / Hide Table of Contents

Class BackendBucketsResource

The "backendBuckets" collection of methods.

Inheritance
object
BackendBucketsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class BackendBucketsResource

Constructors

BackendBucketsResource(IClientService)

Constructs a new resource.

Declaration
public BackendBucketsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

AddSignedUrlKey(SignedUrlKey, string, string)

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

Declaration
public virtual BackendBucketsResource.AddSignedUrlKeyRequest AddSignedUrlKey(SignedUrlKey body, string project, string backendBucket)
Parameters
Type Name Description
SignedUrlKey body

The body of the request.

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.

Returns
Type Description
BackendBucketsResource.AddSignedUrlKeyRequest

Delete(string, string)

Deletes the specified BackendBucket resource.

Declaration
public virtual BackendBucketsResource.DeleteRequest Delete(string project, string backendBucket)
Parameters
Type Name Description
string project

Project ID for this request.

string backendBucket

Name of the BackendBucket resource to delete.

Returns
Type Description
BackendBucketsResource.DeleteRequest

DeleteSignedUrlKey(string, string, string)

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

Declaration
public virtual BackendBucketsResource.DeleteSignedUrlKeyRequest DeleteSignedUrlKey(string project, string backendBucket, string keyName)
Parameters
Type Name Description
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.

Returns
Type Description
BackendBucketsResource.DeleteSignedUrlKeyRequest

Get(string, string)

Returns the specified BackendBucket resource.

Declaration
public virtual BackendBucketsResource.GetRequest Get(string project, string backendBucket)
Parameters
Type Name Description
string project

Project ID for this request.

string backendBucket

Name of the BackendBucket resource to return.

Returns
Type Description
BackendBucketsResource.GetRequest

GetIamPolicy(string, string)

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

Declaration
public virtual BackendBucketsResource.GetIamPolicyRequest GetIamPolicy(string project, string resource)
Parameters
Type Name Description
string project

Project ID for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
BackendBucketsResource.GetIamPolicyRequest

Insert(BackendBucket, string)

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

Declaration
public virtual BackendBucketsResource.InsertRequest Insert(BackendBucket body, string project)
Parameters
Type Name Description
BackendBucket body

The body of the request.

string project

Project ID for this request.

Returns
Type Description
BackendBucketsResource.InsertRequest

List(string)

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

Declaration
public virtual BackendBucketsResource.ListRequest List(string project)
Parameters
Type Name Description
string project

Project ID for this request.

Returns
Type Description
BackendBucketsResource.ListRequest

Patch(BackendBucket, string, string)

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.

Declaration
public virtual BackendBucketsResource.PatchRequest Patch(BackendBucket body, string project, string backendBucket)
Parameters
Type Name Description
BackendBucket body

The body of the request.

string project

Project ID for this request.

string backendBucket

Name of the BackendBucket resource to patch.

Returns
Type Description
BackendBucketsResource.PatchRequest

SetEdgeSecurityPolicy(SecurityPolicyReference, string, string)

Sets the edge security policy for the specified backend bucket.

Declaration
public virtual BackendBucketsResource.SetEdgeSecurityPolicyRequest SetEdgeSecurityPolicy(SecurityPolicyReference body, string project, string backendBucket)
Parameters
Type Name Description
SecurityPolicyReference body

The body of the request.

string project

Project ID for this request.

string backendBucket

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

Returns
Type Description
BackendBucketsResource.SetEdgeSecurityPolicyRequest

SetIamPolicy(GlobalSetPolicyRequest, string, string)

Sets the access control policy on the specified resource. Replaces any existing policy.

Declaration
public virtual BackendBucketsResource.SetIamPolicyRequest SetIamPolicy(GlobalSetPolicyRequest body, string project, string resource)
Parameters
Type Name Description
GlobalSetPolicyRequest body

The body of the request.

string project

Project ID for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
BackendBucketsResource.SetIamPolicyRequest

TestIamPermissions(TestPermissionsRequest, string, string)

Returns permissions that a caller has on the specified resource.

Declaration
public virtual BackendBucketsResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string resource)
Parameters
Type Name Description
TestPermissionsRequest body

The body of the request.

string project

Project ID for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
BackendBucketsResource.TestIamPermissionsRequest

Update(BackendBucket, string, string)

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

Declaration
public virtual BackendBucketsResource.UpdateRequest Update(BackendBucket body, string project, string backendBucket)
Parameters
Type Name Description
BackendBucket body

The body of the request.

string project

Project ID for this request.

string backendBucket

Name of the BackendBucket resource to update.

Returns
Type Description
BackendBucketsResource.UpdateRequest
In This Article
Back to top Generated by DocFX