SslPolicies

google.cloud.compute.v1. SslPolicies

Represents a SslPolicies

Constructor

new SslPolicies(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new SslPolicies service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

aggregatedList(request, callback) → {undefined}

Calls AggregatedList.

Parameters:
Name Type Description
request google.cloud.compute.v1.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:
Type Description
undefined

aggregatedList(request) → {Promise.<google.cloud.compute.v1.SslPoliciesAggregatedList>}

Calls AggregatedList.

Parameters:
Name Type Description
request google.cloud.compute.v1.IAggregatedListSslPoliciesRequest

AggregatedListSslPoliciesRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.compute.v1.SslPoliciesAggregatedList>

Promise

delete(request, callback) → {undefined}

Calls Delete.

Parameters:
Name Type Description
request google.cloud.compute.v1.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:
Type Description
undefined

delete(request) → {Promise.<google.cloud.compute.v1.Operation>}

Calls Delete.

Parameters:
Name Type Description
request google.cloud.compute.v1.IDeleteSslPolicyRequest

DeleteSslPolicyRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.compute.v1.Operation>

Promise

get(request, callback) → {undefined}

Calls Get.

Parameters:
Name Type Description
request google.cloud.compute.v1.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:
Type Description
undefined

get(request) → {Promise.<google.cloud.compute.v1.SslPolicy>}

Calls Get.

Parameters:
Name Type Description
request google.cloud.compute.v1.IGetSslPolicyRequest

GetSslPolicyRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.compute.v1.SslPolicy>

Promise

insert(request, callback) → {undefined}

Calls Insert.

Parameters:
Name Type Description
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:
Type Description
undefined

insert(request) → {Promise.<google.cloud.compute.v1.Operation>}

Calls Insert.

Parameters:
Name Type Description
request google.cloud.compute.v1.IInsertSslPolicyRequest

InsertSslPolicyRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.compute.v1.Operation>

Promise

list(request, callback) → {undefined}

Calls List.

Parameters:
Name Type Description
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:
Type Description
undefined

list(request) → {Promise.<google.cloud.compute.v1.SslPoliciesList>}

Calls List.

Parameters:
Name Type Description
request google.cloud.compute.v1.IListSslPoliciesRequest

ListSslPoliciesRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.compute.v1.SslPoliciesList>

Promise

listAvailableFeatures(request, callback) → {undefined}

Calls ListAvailableFeatures.

Parameters:
Name Type Description
request google.cloud.compute.v1.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:
Type Description
undefined

listAvailableFeatures(request) → {Promise.<google.cloud.compute.v1.SslPoliciesListAvailableFeaturesResponse>}

Calls ListAvailableFeatures.

Parameters:
Name Type Description
request google.cloud.compute.v1.IListAvailableFeaturesSslPoliciesRequest

ListAvailableFeaturesSslPoliciesRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.compute.v1.SslPoliciesListAvailableFeaturesResponse>

Promise

patch(request, callback) → {undefined}

Calls Patch.

Parameters:
Name Type Description
request google.cloud.compute.v1.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:
Type Description
undefined

patch(request) → {Promise.<google.cloud.compute.v1.Operation>}

Calls Patch.

Parameters:
Name Type Description
request google.cloud.compute.v1.IPatchSslPolicyRequest

PatchSslPolicyRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.compute.v1.Operation>

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {SslPolicies}

Creates new SslPolicies service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
SslPolicies

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

Type Definitions

AggregatedListCallback(error, responseopt)

Callback as used by aggregatedList.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.SslPoliciesAggregatedList <optional>

SslPoliciesAggregatedList

DeleteCallback(error, responseopt)

Callback as used by delete_.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Operation <optional>

Operation

GetCallback(error, responseopt)

Callback as used by get.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.SslPolicy <optional>

SslPolicy

InsertCallback(error, responseopt)

Callback as used by insert.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Operation <optional>

Operation

ListAvailableFeaturesCallback(error, responseopt)

Callback as used by listAvailableFeatures.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.SslPoliciesListAvailableFeaturesResponse <optional>

SslPoliciesListAvailableFeaturesResponse

ListCallback(error, responseopt)

Callback as used by list.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.SslPoliciesList <optional>

SslPoliciesList

PatchCallback(error, responseopt)

Callback as used by patch.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.compute.v1.Operation <optional>

Operation