Class protos.google.cloud.compute.v1.SslPolicies (3.5.1)

Represents a SslPolicies

Inheritance

$protobuf.rpc.Service > protos.google.cloud.compute.v1.SslPolicies

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new SslPolicies service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

aggregatedList(request, callback)

public aggregatedList(request: google.cloud.compute.v1.IAggregatedListSslPoliciesRequest, callback: google.cloud.compute.v1.SslPolicies.AggregatedListCallback): void;

Calls AggregatedList.

Parameters
NameDescription
request IAggregatedListSslPoliciesRequest

AggregatedListSslPoliciesRequest message or plain object

callback google.cloud.compute.v1.SslPolicies.AggregatedListCallback

Node-style callback called with the error, if any, and SslPoliciesAggregatedList

Returns
TypeDescription
void

aggregatedList(request)

public aggregatedList(request: google.cloud.compute.v1.IAggregatedListSslPoliciesRequest): Promise<google.cloud.compute.v1.SslPoliciesAggregatedList>;

Calls AggregatedList.

Parameter
NameDescription
request IAggregatedListSslPoliciesRequest

AggregatedListSslPoliciesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.SslPoliciesAggregatedList>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): SslPolicies;

Creates new SslPolicies service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
SslPolicies

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

delete(request, callback)

public delete(request: google.cloud.compute.v1.IDeleteSslPolicyRequest, callback: google.cloud.compute.v1.SslPolicies.DeleteCallback): void;

Calls Delete.

Parameters
NameDescription
request IDeleteSslPolicyRequest

DeleteSslPolicyRequest message or plain object

callback google.cloud.compute.v1.SslPolicies.DeleteCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

delete(request)

public delete(request: google.cloud.compute.v1.IDeleteSslPolicyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Delete.

Parameter
NameDescription
request IDeleteSslPolicyRequest

DeleteSslPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise

get(request, callback)

public get(request: google.cloud.compute.v1.IGetSslPolicyRequest, callback: google.cloud.compute.v1.SslPolicies.GetCallback): void;

Calls Get.

Parameters
NameDescription
request IGetSslPolicyRequest

GetSslPolicyRequest message or plain object

callback google.cloud.compute.v1.SslPolicies.GetCallback

Node-style callback called with the error, if any, and SslPolicy

Returns
TypeDescription
void

get(request)

public get(request: google.cloud.compute.v1.IGetSslPolicyRequest): Promise<google.cloud.compute.v1.SslPolicy>;

Calls Get.

Parameter
NameDescription
request IGetSslPolicyRequest

GetSslPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.SslPolicy>

Promise

insert(request, callback)

public insert(request: google.cloud.compute.v1.IInsertSslPolicyRequest, callback: google.cloud.compute.v1.SslPolicies.InsertCallback): void;

Calls Insert.

Parameters
NameDescription
request google.cloud.compute.v1.IInsertSslPolicyRequest

InsertSslPolicyRequest message or plain object

callback google.cloud.compute.v1.SslPolicies.InsertCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

insert(request)

public insert(request: google.cloud.compute.v1.IInsertSslPolicyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Insert.

Parameter
NameDescription
request google.cloud.compute.v1.IInsertSslPolicyRequest

InsertSslPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise

list(request, callback)

public list(request: google.cloud.compute.v1.IListSslPoliciesRequest, callback: google.cloud.compute.v1.SslPolicies.ListCallback): void;

Calls List.

Parameters
NameDescription
request google.cloud.compute.v1.IListSslPoliciesRequest

ListSslPoliciesRequest message or plain object

callback google.cloud.compute.v1.SslPolicies.ListCallback

Node-style callback called with the error, if any, and SslPoliciesList

Returns
TypeDescription
void

list(request)

public list(request: google.cloud.compute.v1.IListSslPoliciesRequest): Promise<google.cloud.compute.v1.SslPoliciesList>;

Calls List.

Parameter
NameDescription
request google.cloud.compute.v1.IListSslPoliciesRequest

ListSslPoliciesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.SslPoliciesList>

Promise

listAvailableFeatures(request, callback)

public listAvailableFeatures(request: google.cloud.compute.v1.IListAvailableFeaturesSslPoliciesRequest, callback: google.cloud.compute.v1.SslPolicies.ListAvailableFeaturesCallback): void;

Calls ListAvailableFeatures.

Parameters
NameDescription
request IListAvailableFeaturesSslPoliciesRequest

ListAvailableFeaturesSslPoliciesRequest message or plain object

callback google.cloud.compute.v1.SslPolicies.ListAvailableFeaturesCallback

Node-style callback called with the error, if any, and SslPoliciesListAvailableFeaturesResponse

Returns
TypeDescription
void

listAvailableFeatures(request)

public listAvailableFeatures(request: google.cloud.compute.v1.IListAvailableFeaturesSslPoliciesRequest): Promise<google.cloud.compute.v1.SslPoliciesListAvailableFeaturesResponse>;

Calls ListAvailableFeatures.

Parameter
NameDescription
request IListAvailableFeaturesSslPoliciesRequest

ListAvailableFeaturesSslPoliciesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.SslPoliciesListAvailableFeaturesResponse>

Promise

patch(request, callback)

public patch(request: google.cloud.compute.v1.IPatchSslPolicyRequest, callback: google.cloud.compute.v1.SslPolicies.PatchCallback): void;

Calls Patch.

Parameters
NameDescription
request IPatchSslPolicyRequest

PatchSslPolicyRequest message or plain object

callback google.cloud.compute.v1.SslPolicies.PatchCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

patch(request)

public patch(request: google.cloud.compute.v1.IPatchSslPolicyRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Patch.

Parameter
NameDescription
request IPatchSslPolicyRequest

PatchSslPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise