Represents a RegionSecurityPolicies
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.RegionSecurityPoliciesPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new RegionSecurityPolicies service.
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): RegionSecurityPolicies;
Creates new RegionSecurityPolicies service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
RegionSecurityPolicies | RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1.IDeleteRegionSecurityPolicyRequest, callback: google.cloud.compute.v1.RegionSecurityPolicies.DeleteCallback): void;
Calls Delete.
Name | Description |
request |
IDeleteRegionSecurityPolicyRequest
DeleteRegionSecurityPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionSecurityPolicies.DeleteCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteRegionSecurityPolicyRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Delete.
Name | Description |
request |
IDeleteRegionSecurityPolicyRequest
DeleteRegionSecurityPolicyRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetRegionSecurityPolicyRequest, callback: google.cloud.compute.v1.RegionSecurityPolicies.GetCallback): void;
Calls Get.
Name | Description |
request |
google.cloud.compute.v1.IGetRegionSecurityPolicyRequest
GetRegionSecurityPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionSecurityPolicies.GetCallback
Node-style callback called with the error, if any, and SecurityPolicy |
Type | Description |
void |
get(request)
public get(request: google.cloud.compute.v1.IGetRegionSecurityPolicyRequest): Promise<google.cloud.compute.v1.SecurityPolicy>;
Calls Get.
Name | Description |
request |
google.cloud.compute.v1.IGetRegionSecurityPolicyRequest
GetRegionSecurityPolicyRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.SecurityPolicy> | Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertRegionSecurityPolicyRequest, callback: google.cloud.compute.v1.RegionSecurityPolicies.InsertCallback): void;
Calls Insert.
Name | Description |
request |
IInsertRegionSecurityPolicyRequest
InsertRegionSecurityPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionSecurityPolicies.InsertCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertRegionSecurityPolicyRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Insert.
Name | Description |
request |
IInsertRegionSecurityPolicyRequest
InsertRegionSecurityPolicyRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListRegionSecurityPoliciesRequest, callback: google.cloud.compute.v1.RegionSecurityPolicies.ListCallback): void;
Calls List.
Name | Description |
request |
IListRegionSecurityPoliciesRequest
ListRegionSecurityPoliciesRequest message or plain object |
callback |
google.cloud.compute.v1.RegionSecurityPolicies.ListCallback
Node-style callback called with the error, if any, and SecurityPolicyList |
Type | Description |
void |
list(request)
public list(request: google.cloud.compute.v1.IListRegionSecurityPoliciesRequest): Promise<google.cloud.compute.v1.SecurityPolicyList>;
Calls List.
Name | Description |
request |
IListRegionSecurityPoliciesRequest
ListRegionSecurityPoliciesRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.SecurityPolicyList> | Promise |
patch(request, callback)
public patch(request: google.cloud.compute.v1.IPatchRegionSecurityPolicyRequest, callback: google.cloud.compute.v1.RegionSecurityPolicies.PatchCallback): void;
Calls Patch.
Name | Description |
request |
IPatchRegionSecurityPolicyRequest
PatchRegionSecurityPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionSecurityPolicies.PatchCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
patch(request)
public patch(request: google.cloud.compute.v1.IPatchRegionSecurityPolicyRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Patch.
Name | Description |
request |
IPatchRegionSecurityPolicyRequest
PatchRegionSecurityPolicyRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |