Represents a RegionSslPolicies
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.RegionSslPoliciesPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new RegionSslPolicies 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): RegionSslPolicies;Creates new RegionSslPolicies 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 |
RegionSslPolicies |
RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1.IDeleteRegionSslPolicyRequest, callback: google.cloud.compute.v1.RegionSslPolicies.DeleteCallback): void;Calls Delete.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteRegionSslPolicyRequest
DeleteRegionSslPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionSslPolicies.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.IDeleteRegionSslPolicyRequest): Promise<google.cloud.compute.v1.Operation>;Calls Delete.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeleteRegionSslPolicyRequest
DeleteRegionSslPolicyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetRegionSslPolicyRequest, callback: google.cloud.compute.v1.RegionSslPolicies.GetCallback): void;Calls Get.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetRegionSslPolicyRequest
GetRegionSslPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionSslPolicies.GetCallback
Node-style callback called with the error, if any, and SslPolicy |
| Returns | |
|---|---|
| Type | Description |
void |
|
get(request)
public get(request: google.cloud.compute.v1.IGetRegionSslPolicyRequest): Promise<google.cloud.compute.v1.SslPolicy>;Calls Get.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetRegionSslPolicyRequest
GetRegionSslPolicyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.SslPolicy> |
Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertRegionSslPolicyRequest, callback: google.cloud.compute.v1.RegionSslPolicies.InsertCallback): void;Calls Insert.
| Parameters | |
|---|---|
| Name | Description |
request |
IInsertRegionSslPolicyRequest
InsertRegionSslPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionSslPolicies.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.IInsertRegionSslPolicyRequest): Promise<google.cloud.compute.v1.Operation>;Calls Insert.
| Parameter | |
|---|---|
| Name | Description |
request |
IInsertRegionSslPolicyRequest
InsertRegionSslPolicyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListRegionSslPoliciesRequest, callback: google.cloud.compute.v1.RegionSslPolicies.ListCallback): void;Calls List.
| Parameters | |
|---|---|
| Name | Description |
request |
google.cloud.compute.v1.IListRegionSslPoliciesRequest
ListRegionSslPoliciesRequest message or plain object |
callback |
google.cloud.compute.v1.RegionSslPolicies.ListCallback
Node-style callback called with the error, if any, and SslPoliciesList |
| Returns | |
|---|---|
| Type | Description |
void |
|
list(request)
public list(request: google.cloud.compute.v1.IListRegionSslPoliciesRequest): Promise<google.cloud.compute.v1.SslPoliciesList>;Calls List.
| Parameter | |
|---|---|
| Name | Description |
request |
google.cloud.compute.v1.IListRegionSslPoliciesRequest
ListRegionSslPoliciesRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.SslPoliciesList> |
Promise |
listAvailableFeatures(request, callback)
public listAvailableFeatures(request: google.cloud.compute.v1.IListAvailableFeaturesRegionSslPoliciesRequest, callback: google.cloud.compute.v1.RegionSslPolicies.ListAvailableFeaturesCallback): void;Calls ListAvailableFeatures.
| Parameters | |
|---|---|
| Name | Description |
request |
google.cloud.compute.v1.IListAvailableFeaturesRegionSslPoliciesRequest
ListAvailableFeaturesRegionSslPoliciesRequest message or plain object |
callback |
google.cloud.compute.v1.RegionSslPolicies.ListAvailableFeaturesCallback
Node-style callback called with the error, if any, and SslPoliciesListAvailableFeaturesResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listAvailableFeatures(request)
public listAvailableFeatures(request: google.cloud.compute.v1.IListAvailableFeaturesRegionSslPoliciesRequest): Promise<google.cloud.compute.v1.SslPoliciesListAvailableFeaturesResponse>;Calls ListAvailableFeatures.
| Parameter | |
|---|---|
| Name | Description |
request |
google.cloud.compute.v1.IListAvailableFeaturesRegionSslPoliciesRequest
ListAvailableFeaturesRegionSslPoliciesRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.SslPoliciesListAvailableFeaturesResponse> |
Promise |
patch(request, callback)
public patch(request: google.cloud.compute.v1.IPatchRegionSslPolicyRequest, callback: google.cloud.compute.v1.RegionSslPolicies.PatchCallback): void;Calls Patch.
| Parameters | |
|---|---|
| Name | Description |
request |
IPatchRegionSslPolicyRequest
PatchRegionSslPolicyRequest message or plain object |
callback |
google.cloud.compute.v1.RegionSslPolicies.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.IPatchRegionSslPolicyRequest): Promise<google.cloud.compute.v1.Operation>;Calls Patch.
| Parameter | |
|---|---|
| Name | Description |
request |
IPatchRegionSslPolicyRequest
PatchRegionSslPolicyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |