Represents a RegionBackendServices
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.RegionBackendServicesPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new RegionBackendServices service.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): RegionBackendServices;
Creates new RegionBackendServices 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 |
RegionBackendServices | RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1.IDeleteRegionBackendServiceRequest, callback: google.cloud.compute.v1.RegionBackendServices.DeleteCallback): void;
Calls Delete.
Parameters | |
---|---|
Name | Description |
request |
IDeleteRegionBackendServiceRequest
DeleteRegionBackendServiceRequest 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.IDeleteRegionBackendServiceRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Delete.
Parameter | |
---|---|
Name | Description |
request |
IDeleteRegionBackendServiceRequest
DeleteRegionBackendServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetRegionBackendServiceRequest, callback: google.cloud.compute.v1.RegionBackendServices.GetCallback): void;
Calls Get.
Parameters | |
---|---|
Name | Description |
request |
IGetRegionBackendServiceRequest
GetRegionBackendServiceRequest message or plain object |
callback |
GetCallback
Node-style callback called with the error, if any, and BackendService |
Returns | |
---|---|
Type | Description |
void |
get(request)
public get(request: google.cloud.compute.v1.IGetRegionBackendServiceRequest): Promise<google.cloud.compute.v1.BackendService>;
Calls Get.
Parameter | |
---|---|
Name | Description |
request |
IGetRegionBackendServiceRequest
GetRegionBackendServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.BackendService> | Promise |
getHealth(request, callback)
public getHealth(request: google.cloud.compute.v1.IGetHealthRegionBackendServiceRequest, callback: google.cloud.compute.v1.RegionBackendServices.GetHealthCallback): void;
Calls GetHealth.
Parameters | |
---|---|
Name | Description |
request |
IGetHealthRegionBackendServiceRequest
GetHealthRegionBackendServiceRequest message or plain object |
callback |
GetHealthCallback
Node-style callback called with the error, if any, and BackendServiceGroupHealth |
Returns | |
---|---|
Type | Description |
void |
getHealth(request)
public getHealth(request: google.cloud.compute.v1.IGetHealthRegionBackendServiceRequest): Promise<google.cloud.compute.v1.BackendServiceGroupHealth>;
Calls GetHealth.
Parameter | |
---|---|
Name | Description |
request |
IGetHealthRegionBackendServiceRequest
GetHealthRegionBackendServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.BackendServiceGroupHealth> | Promise |
getIamPolicy(request, callback)
public getIamPolicy(request: google.cloud.compute.v1.IGetIamPolicyRegionBackendServiceRequest, callback: google.cloud.compute.v1.RegionBackendServices.GetIamPolicyCallback): void;
Calls GetIamPolicy.
Parameters | |
---|---|
Name | Description |
request |
IGetIamPolicyRegionBackendServiceRequest
GetIamPolicyRegionBackendServiceRequest 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.IGetIamPolicyRegionBackendServiceRequest): Promise<google.cloud.compute.v1.Policy>;
Calls GetIamPolicy.
Parameter | |
---|---|
Name | Description |
request |
IGetIamPolicyRegionBackendServiceRequest
GetIamPolicyRegionBackendServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Policy> | Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertRegionBackendServiceRequest, callback: google.cloud.compute.v1.RegionBackendServices.InsertCallback): void;
Calls Insert.
Parameters | |
---|---|
Name | Description |
request |
IInsertRegionBackendServiceRequest
InsertRegionBackendServiceRequest 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.IInsertRegionBackendServiceRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Insert.
Parameter | |
---|---|
Name | Description |
request |
IInsertRegionBackendServiceRequest
InsertRegionBackendServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListRegionBackendServicesRequest, callback: google.cloud.compute.v1.RegionBackendServices.ListCallback): void;
Calls List.
Parameters | |
---|---|
Name | Description |
request |
IListRegionBackendServicesRequest
ListRegionBackendServicesRequest message or plain object |
callback |
ListCallback
Node-style callback called with the error, if any, and BackendServiceList |
Returns | |
---|---|
Type | Description |
void |
list(request)
public list(request: google.cloud.compute.v1.IListRegionBackendServicesRequest): Promise<google.cloud.compute.v1.BackendServiceList>;
Calls List.
Parameter | |
---|---|
Name | Description |
request |
IListRegionBackendServicesRequest
ListRegionBackendServicesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.BackendServiceList> | Promise |
listUsable(request, callback)
public listUsable(request: google.cloud.compute.v1.IListUsableRegionBackendServicesRequest, callback: google.cloud.compute.v1.RegionBackendServices.ListUsableCallback): void;
Calls ListUsable.
Parameters | |
---|---|
Name | Description |
request |
IListUsableRegionBackendServicesRequest
ListUsableRegionBackendServicesRequest message or plain object |
callback |
ListUsableCallback
Node-style callback called with the error, if any, and BackendServiceListUsable |
Returns | |
---|---|
Type | Description |
void |
listUsable(request)
public listUsable(request: google.cloud.compute.v1.IListUsableRegionBackendServicesRequest): Promise<google.cloud.compute.v1.BackendServiceListUsable>;
Calls ListUsable.
Parameter | |
---|---|
Name | Description |
request |
IListUsableRegionBackendServicesRequest
ListUsableRegionBackendServicesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.BackendServiceListUsable> | Promise |
patch(request, callback)
public patch(request: google.cloud.compute.v1.IPatchRegionBackendServiceRequest, callback: google.cloud.compute.v1.RegionBackendServices.PatchCallback): void;
Calls Patch.
Parameters | |
---|---|
Name | Description |
request |
IPatchRegionBackendServiceRequest
PatchRegionBackendServiceRequest 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.IPatchRegionBackendServiceRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Patch.
Parameter | |
---|---|
Name | Description |
request |
IPatchRegionBackendServiceRequest
PatchRegionBackendServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
setIamPolicy(request, callback)
public setIamPolicy(request: google.cloud.compute.v1.ISetIamPolicyRegionBackendServiceRequest, callback: google.cloud.compute.v1.RegionBackendServices.SetIamPolicyCallback): void;
Calls SetIamPolicy.
Parameters | |
---|---|
Name | Description |
request |
ISetIamPolicyRegionBackendServiceRequest
SetIamPolicyRegionBackendServiceRequest 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.ISetIamPolicyRegionBackendServiceRequest): Promise<google.cloud.compute.v1.Policy>;
Calls SetIamPolicy.
Parameter | |
---|---|
Name | Description |
request |
ISetIamPolicyRegionBackendServiceRequest
SetIamPolicyRegionBackendServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Policy> | Promise |
setSecurityPolicy(request, callback)
public setSecurityPolicy(request: google.cloud.compute.v1.ISetSecurityPolicyRegionBackendServiceRequest, callback: google.cloud.compute.v1.RegionBackendServices.SetSecurityPolicyCallback): void;
Calls SetSecurityPolicy.
Parameters | |
---|---|
Name | Description |
request |
ISetSecurityPolicyRegionBackendServiceRequest
SetSecurityPolicyRegionBackendServiceRequest message or plain object |
callback |
SetSecurityPolicyCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
setSecurityPolicy(request)
public setSecurityPolicy(request: google.cloud.compute.v1.ISetSecurityPolicyRegionBackendServiceRequest): Promise<google.cloud.compute.v1.Operation>;
Calls SetSecurityPolicy.
Parameter | |
---|---|
Name | Description |
request |
ISetSecurityPolicyRegionBackendServiceRequest
SetSecurityPolicyRegionBackendServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
testIamPermissions(request, callback)
public testIamPermissions(request: google.cloud.compute.v1.ITestIamPermissionsRegionBackendServiceRequest, callback: google.cloud.compute.v1.RegionBackendServices.TestIamPermissionsCallback): void;
Calls TestIamPermissions.
Parameters | |
---|---|
Name | Description |
request |
ITestIamPermissionsRegionBackendServiceRequest
TestIamPermissionsRegionBackendServiceRequest 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.ITestIamPermissionsRegionBackendServiceRequest): Promise<google.cloud.compute.v1.TestPermissionsResponse>;
Calls TestIamPermissions.
Parameter | |
---|---|
Name | Description |
request |
ITestIamPermissionsRegionBackendServiceRequest
TestIamPermissionsRegionBackendServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.TestPermissionsResponse> | Promise |
update(request, callback)
public update(request: google.cloud.compute.v1.IUpdateRegionBackendServiceRequest, callback: google.cloud.compute.v1.RegionBackendServices.UpdateCallback): void;
Calls Update.
Parameters | |
---|---|
Name | Description |
request |
IUpdateRegionBackendServiceRequest
UpdateRegionBackendServiceRequest 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.IUpdateRegionBackendServiceRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Update.
Parameter | |
---|---|
Name | Description |
request |
IUpdateRegionBackendServiceRequest
UpdateRegionBackendServiceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |