BackendBuckets

google.cloud.compute.v1. BackendBuckets

Represents a BackendBuckets

Constructor

new BackendBuckets(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new BackendBuckets service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

addSignedUrlKey(request, callback) → {undefined}

Calls AddSignedUrlKey.

Parameters:
Name Type Description
request google.cloud.compute.v1.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:
Type Description
undefined

addSignedUrlKey(request) → {Promise.<google.cloud.compute.v1.Operation>}

Calls AddSignedUrlKey.

Parameters:
Name Type Description
request google.cloud.compute.v1.IAddSignedUrlKeyBackendBucketRequest

AddSignedUrlKeyBackendBucketRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.compute.v1.Operation>

Promise

delete(request, callback) → {undefined}

Calls Delete.

Parameters:
Name Type Description
request google.cloud.compute.v1.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:
Type Description
undefined

delete(request) → {Promise.<google.cloud.compute.v1.Operation>}

Calls Delete.

Parameters:
Name Type Description
request google.cloud.compute.v1.IDeleteBackendBucketRequest

DeleteBackendBucketRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.compute.v1.Operation>

Promise

deleteSignedUrlKey(request, callback) → {undefined}

Calls DeleteSignedUrlKey.

Parameters:
Name Type Description
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:
Type Description
undefined

deleteSignedUrlKey(request) → {Promise.<google.cloud.compute.v1.Operation>}

Calls DeleteSignedUrlKey.

Parameters:
Name Type Description
request google.cloud.compute.v1.IDeleteSignedUrlKeyBackendBucketRequest

DeleteSignedUrlKeyBackendBucketRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.compute.v1.Operation>

Promise

get(request, callback) → {undefined}

Calls Get.

Parameters:
Name Type Description
request google.cloud.compute.v1.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:
Type Description
undefined

get(request) → {Promise.<google.cloud.compute.v1.BackendBucket>}

Calls Get.

Parameters:
Name Type Description
request google.cloud.compute.v1.IGetBackendBucketRequest

GetBackendBucketRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.compute.v1.BackendBucket>

Promise

insert(request, callback) → {undefined}

Calls Insert.

Parameters:
Name Type Description
request google.cloud.compute.v1.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:
Type Description
undefined

insert(request) → {Promise.<google.cloud.compute.v1.Operation>}

Calls Insert.

Parameters:
Name Type Description
request google.cloud.compute.v1.IInsertBackendBucketRequest

InsertBackendBucketRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.compute.v1.Operation>

Promise

list(request, callback) → {undefined}

Calls List.

Parameters:
Name Type Description
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:
Type Description
undefined

list(request) → {Promise.<google.cloud.compute.v1.BackendBucketList>}

Calls List.

Parameters:
Name Type Description
request google.cloud.compute.v1.IListBackendBucketsRequest

ListBackendBucketsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.compute.v1.BackendBucketList>

Promise

patch(request, callback) → {undefined}

Calls Patch.

Parameters:
Name Type Description
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:
Type Description
undefined

patch(request) → {Promise.<google.cloud.compute.v1.Operation>}

Calls Patch.

Parameters:
Name Type Description
request google.cloud.compute.v1.IPatchBackendBucketRequest

PatchBackendBucketRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.compute.v1.Operation>

Promise

setEdgeSecurityPolicy(request, callback) → {undefined}

Calls SetEdgeSecurityPolicy.

Parameters:
Name Type Description
request google.cloud.compute.v1.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:
Type Description
undefined

setEdgeSecurityPolicy(request) → {Promise.<google.cloud.compute.v1.Operation>}

Calls SetEdgeSecurityPolicy.

Parameters:
Name Type Description
request google.cloud.compute.v1.ISetEdgeSecurityPolicyBackendBucketRequest

SetEdgeSecurityPolicyBackendBucketRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.compute.v1.Operation>

Promise

update(request, callback) → {undefined}

Calls Update.

Parameters:
Name Type Description
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:
Type Description
undefined

update(request) → {Promise.<google.cloud.compute.v1.Operation>}

Calls Update.

Parameters:
Name Type Description
request google.cloud.compute.v1.IUpdateBackendBucketRequest

UpdateBackendBucketRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.compute.v1.Operation>

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {BackendBuckets}

Creates new BackendBuckets service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
BackendBuckets

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

Type Definitions

AddSignedUrlKeyCallback(error, responseopt)

Callback as used by addSignedUrlKey.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Operation <optional>

Operation

DeleteCallback(error, responseopt)

Callback as used by delete_.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Operation <optional>

Operation

DeleteSignedUrlKeyCallback(error, responseopt)

Callback as used by deleteSignedUrlKey.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Operation <optional>

Operation

GetCallback(error, responseopt)

Callback as used by get.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.BackendBucket <optional>

BackendBucket

InsertCallback(error, responseopt)

Callback as used by insert.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Operation <optional>

Operation

ListCallback(error, responseopt)

Callback as used by list.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.BackendBucketList <optional>

BackendBucketList

PatchCallback(error, responseopt)

Callback as used by patch.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Operation <optional>

Operation

SetEdgeSecurityPolicyCallback(error, responseopt)

Callback as used by setEdgeSecurityPolicy.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Operation <optional>

Operation

UpdateCallback(error, responseopt)

Callback as used by update.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Operation <optional>

Operation