Class protos.google.cloud.compute.v1.BackendBuckets (3.5.1)

Represents a BackendBuckets

Inheritance

$protobuf.rpc.Service > protos.google.cloud.compute.v1.BackendBuckets

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new BackendBuckets service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

addSignedUrlKey(request, callback)

public addSignedUrlKey(request: google.cloud.compute.v1.IAddSignedUrlKeyBackendBucketRequest, callback: google.cloud.compute.v1.BackendBuckets.AddSignedUrlKeyCallback): void;

Calls AddSignedUrlKey.

Parameters
NameDescription
request IAddSignedUrlKeyBackendBucketRequest

AddSignedUrlKeyBackendBucketRequest message or plain object

callback google.cloud.compute.v1.BackendBuckets.AddSignedUrlKeyCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

addSignedUrlKey(request)

public addSignedUrlKey(request: google.cloud.compute.v1.IAddSignedUrlKeyBackendBucketRequest): Promise<google.cloud.compute.v1.Operation>;

Calls AddSignedUrlKey.

Parameter
NameDescription
request IAddSignedUrlKeyBackendBucketRequest

AddSignedUrlKeyBackendBucketRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): BackendBuckets;

Creates new BackendBuckets service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
BackendBuckets

RPC service. Useful where requests and/or responses are streamed.

delete(request, callback)

public delete(request: google.cloud.compute.v1.IDeleteBackendBucketRequest, callback: google.cloud.compute.v1.BackendBuckets.DeleteCallback): void;

Calls Delete.

Parameters
NameDescription
request IDeleteBackendBucketRequest

DeleteBackendBucketRequest message or plain object

callback google.cloud.compute.v1.BackendBuckets.DeleteCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

delete(request)

public delete(request: google.cloud.compute.v1.IDeleteBackendBucketRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Delete.

Parameter
NameDescription
request IDeleteBackendBucketRequest

DeleteBackendBucketRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise

deleteSignedUrlKey(request, callback)

public deleteSignedUrlKey(request: google.cloud.compute.v1.IDeleteSignedUrlKeyBackendBucketRequest, callback: google.cloud.compute.v1.BackendBuckets.DeleteSignedUrlKeyCallback): void;

Calls DeleteSignedUrlKey.

Parameters
NameDescription
request google.cloud.compute.v1.IDeleteSignedUrlKeyBackendBucketRequest

DeleteSignedUrlKeyBackendBucketRequest message or plain object

callback google.cloud.compute.v1.BackendBuckets.DeleteSignedUrlKeyCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteSignedUrlKey(request)

public deleteSignedUrlKey(request: google.cloud.compute.v1.IDeleteSignedUrlKeyBackendBucketRequest): Promise<google.cloud.compute.v1.Operation>;

Calls DeleteSignedUrlKey.

Parameter
NameDescription
request google.cloud.compute.v1.IDeleteSignedUrlKeyBackendBucketRequest

DeleteSignedUrlKeyBackendBucketRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise

get(request, callback)

public get(request: google.cloud.compute.v1.IGetBackendBucketRequest, callback: google.cloud.compute.v1.BackendBuckets.GetCallback): void;

Calls Get.

Parameters
NameDescription
request IGetBackendBucketRequest

GetBackendBucketRequest message or plain object

callback google.cloud.compute.v1.BackendBuckets.GetCallback

Node-style callback called with the error, if any, and BackendBucket

Returns
TypeDescription
void

get(request)

public get(request: google.cloud.compute.v1.IGetBackendBucketRequest): Promise<google.cloud.compute.v1.BackendBucket>;

Calls Get.

Parameter
NameDescription
request IGetBackendBucketRequest

GetBackendBucketRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.BackendBucket>

Promise

insert(request, callback)

public insert(request: google.cloud.compute.v1.IInsertBackendBucketRequest, callback: google.cloud.compute.v1.BackendBuckets.InsertCallback): void;

Calls Insert.

Parameters
NameDescription
request IInsertBackendBucketRequest

InsertBackendBucketRequest message or plain object

callback google.cloud.compute.v1.BackendBuckets.InsertCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

insert(request)

public insert(request: google.cloud.compute.v1.IInsertBackendBucketRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Insert.

Parameter
NameDescription
request IInsertBackendBucketRequest

InsertBackendBucketRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise

list(request, callback)

public list(request: google.cloud.compute.v1.IListBackendBucketsRequest, callback: google.cloud.compute.v1.BackendBuckets.ListCallback): void;

Calls List.

Parameters
NameDescription
request google.cloud.compute.v1.IListBackendBucketsRequest

ListBackendBucketsRequest message or plain object

callback google.cloud.compute.v1.BackendBuckets.ListCallback

Node-style callback called with the error, if any, and BackendBucketList

Returns
TypeDescription
void

list(request)

public list(request: google.cloud.compute.v1.IListBackendBucketsRequest): Promise<google.cloud.compute.v1.BackendBucketList>;

Calls List.

Parameter
NameDescription
request google.cloud.compute.v1.IListBackendBucketsRequest

ListBackendBucketsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.BackendBucketList>

Promise

patch(request, callback)

public patch(request: google.cloud.compute.v1.IPatchBackendBucketRequest, callback: google.cloud.compute.v1.BackendBuckets.PatchCallback): void;

Calls Patch.

Parameters
NameDescription
request google.cloud.compute.v1.IPatchBackendBucketRequest

PatchBackendBucketRequest message or plain object

callback google.cloud.compute.v1.BackendBuckets.PatchCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

patch(request)

public patch(request: google.cloud.compute.v1.IPatchBackendBucketRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Patch.

Parameter
NameDescription
request google.cloud.compute.v1.IPatchBackendBucketRequest

PatchBackendBucketRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise

setEdgeSecurityPolicy(request, callback)

public setEdgeSecurityPolicy(request: google.cloud.compute.v1.ISetEdgeSecurityPolicyBackendBucketRequest, callback: google.cloud.compute.v1.BackendBuckets.SetEdgeSecurityPolicyCallback): void;

Calls SetEdgeSecurityPolicy.

Parameters
NameDescription
request ISetEdgeSecurityPolicyBackendBucketRequest

SetEdgeSecurityPolicyBackendBucketRequest message or plain object

callback google.cloud.compute.v1.BackendBuckets.SetEdgeSecurityPolicyCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

setEdgeSecurityPolicy(request)

public setEdgeSecurityPolicy(request: google.cloud.compute.v1.ISetEdgeSecurityPolicyBackendBucketRequest): Promise<google.cloud.compute.v1.Operation>;

Calls SetEdgeSecurityPolicy.

Parameter
NameDescription
request ISetEdgeSecurityPolicyBackendBucketRequest

SetEdgeSecurityPolicyBackendBucketRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise

update(request, callback)

public update(request: google.cloud.compute.v1.IUpdateBackendBucketRequest, callback: google.cloud.compute.v1.BackendBuckets.UpdateCallback): void;

Calls Update.

Parameters
NameDescription
request google.cloud.compute.v1.IUpdateBackendBucketRequest

UpdateBackendBucketRequest message or plain object

callback google.cloud.compute.v1.BackendBuckets.UpdateCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

update(request)

public update(request: google.cloud.compute.v1.IUpdateBackendBucketRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Update.

Parameter
NameDescription
request google.cloud.compute.v1.IUpdateBackendBucketRequest

UpdateBackendBucketRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise