Represents a BackendBuckets
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.BackendBucketsPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new BackendBuckets service.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Name | Description |
request |
IAddSignedUrlKeyBackendBucketRequest
AddSignedUrlKeyBackendBucketRequest message or plain object |
callback |
AddSignedUrlKeyCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
addSignedUrlKey(request)
public addSignedUrlKey(request: google.cloud.compute.v1.IAddSignedUrlKeyBackendBucketRequest): Promise<google.cloud.compute.v1.Operation>;
Calls AddSignedUrlKey.
Parameter | |
---|---|
Name | Description |
request |
IAddSignedUrlKeyBackendBucketRequest
AddSignedUrlKeyBackendBucketRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IDeleteBackendBucketRequest
DeleteBackendBucketRequest message or plain object |
callback |
DeleteCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteBackendBucketRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Delete.
Parameter | |
---|---|
Name | Description |
request |
IDeleteBackendBucketRequest
DeleteBackendBucketRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IDeleteSignedUrlKeyBackendBucketRequest
DeleteSignedUrlKeyBackendBucketRequest message or plain object |
callback |
DeleteSignedUrlKeyCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteSignedUrlKey(request)
public deleteSignedUrlKey(request: google.cloud.compute.v1.IDeleteSignedUrlKeyBackendBucketRequest): Promise<google.cloud.compute.v1.Operation>;
Calls DeleteSignedUrlKey.
Parameter | |
---|---|
Name | Description |
request |
IDeleteSignedUrlKeyBackendBucketRequest
DeleteSignedUrlKeyBackendBucketRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IGetBackendBucketRequest
GetBackendBucketRequest message or plain object |
callback |
GetCallback
Node-style callback called with the error, if any, and BackendBucket |
Returns | |
---|---|
Type | Description |
void |
get(request)
public get(request: google.cloud.compute.v1.IGetBackendBucketRequest): Promise<google.cloud.compute.v1.BackendBucket>;
Calls Get.
Parameter | |
---|---|
Name | Description |
request |
IGetBackendBucketRequest
GetBackendBucketRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.BackendBucket> |
Promise |
getIamPolicy(request, callback)
public getIamPolicy(request: google.cloud.compute.v1.IGetIamPolicyBackendBucketRequest, callback: google.cloud.compute.v1.BackendBuckets.GetIamPolicyCallback): void;
Calls GetIamPolicy.
Parameters | |
---|---|
Name | Description |
request |
IGetIamPolicyBackendBucketRequest
GetIamPolicyBackendBucketRequest message or plain object |
callback |
GetIamPolicyCallback
Node-style callback called with the error, if any, and Policy |
Returns | |
---|---|
Type | Description |
void |
getIamPolicy(request)
public getIamPolicy(request: google.cloud.compute.v1.IGetIamPolicyBackendBucketRequest): Promise<google.cloud.compute.v1.Policy>;
Calls GetIamPolicy.
Parameter | |
---|---|
Name | Description |
request |
IGetIamPolicyBackendBucketRequest
GetIamPolicyBackendBucketRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Policy> |
Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertBackendBucketRequest, callback: google.cloud.compute.v1.BackendBuckets.InsertCallback): void;
Calls Insert.
Parameters | |
---|---|
Name | Description |
request |
IInsertBackendBucketRequest
InsertBackendBucketRequest message or plain object |
callback |
InsertCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertBackendBucketRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Insert.
Parameter | |
---|---|
Name | Description |
request |
IInsertBackendBucketRequest
InsertBackendBucketRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IListBackendBucketsRequest
ListBackendBucketsRequest message or plain object |
callback |
ListCallback
Node-style callback called with the error, if any, and BackendBucketList |
Returns | |
---|---|
Type | Description |
void |
list(request)
public list(request: google.cloud.compute.v1.IListBackendBucketsRequest): Promise<google.cloud.compute.v1.BackendBucketList>;
Calls List.
Parameter | |
---|---|
Name | Description |
request |
IListBackendBucketsRequest
ListBackendBucketsRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IPatchBackendBucketRequest
PatchBackendBucketRequest message or plain object |
callback |
PatchCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
patch(request)
public patch(request: google.cloud.compute.v1.IPatchBackendBucketRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Patch.
Parameter | |
---|---|
Name | Description |
request |
IPatchBackendBucketRequest
PatchBackendBucketRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ISetEdgeSecurityPolicyBackendBucketRequest
SetEdgeSecurityPolicyBackendBucketRequest message or plain object |
callback |
SetEdgeSecurityPolicyCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
setEdgeSecurityPolicy(request)
public setEdgeSecurityPolicy(request: google.cloud.compute.v1.ISetEdgeSecurityPolicyBackendBucketRequest): Promise<google.cloud.compute.v1.Operation>;
Calls SetEdgeSecurityPolicy.
Parameter | |
---|---|
Name | Description |
request |
ISetEdgeSecurityPolicyBackendBucketRequest
SetEdgeSecurityPolicyBackendBucketRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |
setIamPolicy(request, callback)
public setIamPolicy(request: google.cloud.compute.v1.ISetIamPolicyBackendBucketRequest, callback: google.cloud.compute.v1.BackendBuckets.SetIamPolicyCallback): void;
Calls SetIamPolicy.
Parameters | |
---|---|
Name | Description |
request |
ISetIamPolicyBackendBucketRequest
SetIamPolicyBackendBucketRequest message or plain object |
callback |
SetIamPolicyCallback
Node-style callback called with the error, if any, and Policy |
Returns | |
---|---|
Type | Description |
void |
setIamPolicy(request)
public setIamPolicy(request: google.cloud.compute.v1.ISetIamPolicyBackendBucketRequest): Promise<google.cloud.compute.v1.Policy>;
Calls SetIamPolicy.
Parameter | |
---|---|
Name | Description |
request |
ISetIamPolicyBackendBucketRequest
SetIamPolicyBackendBucketRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Policy> |
Promise |
testIamPermissions(request, callback)
public testIamPermissions(request: google.cloud.compute.v1.ITestIamPermissionsBackendBucketRequest, callback: google.cloud.compute.v1.BackendBuckets.TestIamPermissionsCallback): void;
Calls TestIamPermissions.
Parameters | |
---|---|
Name | Description |
request |
ITestIamPermissionsBackendBucketRequest
TestIamPermissionsBackendBucketRequest message or plain object |
callback |
TestIamPermissionsCallback
Node-style callback called with the error, if any, and TestPermissionsResponse |
Returns | |
---|---|
Type | Description |
void |
testIamPermissions(request)
public testIamPermissions(request: google.cloud.compute.v1.ITestIamPermissionsBackendBucketRequest): Promise<google.cloud.compute.v1.TestPermissionsResponse>;
Calls TestIamPermissions.
Parameter | |
---|---|
Name | Description |
request |
ITestIamPermissionsBackendBucketRequest
TestIamPermissionsBackendBucketRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.TestPermissionsResponse> |
Promise |
update(request, callback)
public update(request: google.cloud.compute.v1.IUpdateBackendBucketRequest, callback: google.cloud.compute.v1.BackendBuckets.UpdateCallback): void;
Calls Update.
Parameters | |
---|---|
Name | Description |
request |
IUpdateBackendBucketRequest
UpdateBackendBucketRequest message or plain object |
callback |
UpdateCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
update(request)
public update(request: google.cloud.compute.v1.IUpdateBackendBucketRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Update.
Parameter | |
---|---|
Name | Description |
request |
IUpdateBackendBucketRequest
UpdateBackendBucketRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |