Class protos.google.cloud.networksecurity.v1beta1.NetworkSecurity

Represents a NetworkSecurity

Inheritance

$protobuf.rpc.Service > protos.google.cloud.networksecurity.v1beta1.NetworkSecurity

Package

@google-cloud/network-security

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new NetworkSecurity service.

Parameters
NameDescription
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): NetworkSecurity;

Creates new NetworkSecurity 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
NetworkSecurity

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

createAuthorizationPolicy(request, callback)

public createAuthorizationPolicy(request: google.cloud.networksecurity.v1beta1.ICreateAuthorizationPolicyRequest, callback: google.cloud.networksecurity.v1beta1.NetworkSecurity.CreateAuthorizationPolicyCallback): void;

Calls CreateAuthorizationPolicy.

Parameters
NameDescription
request google.cloud.networksecurity.v1beta1.ICreateAuthorizationPolicyRequest

CreateAuthorizationPolicyRequest message or plain object

callback google.cloud.networksecurity.v1beta1.NetworkSecurity.CreateAuthorizationPolicyCallback

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

Returns
TypeDescription
void

createAuthorizationPolicy(request)

public createAuthorizationPolicy(request: google.cloud.networksecurity.v1beta1.ICreateAuthorizationPolicyRequest): Promise<google.longrunning.Operation>;

Calls CreateAuthorizationPolicy.

Parameter
NameDescription
request google.cloud.networksecurity.v1beta1.ICreateAuthorizationPolicyRequest

CreateAuthorizationPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createClientTlsPolicy(request, callback)

public createClientTlsPolicy(request: google.cloud.networksecurity.v1beta1.ICreateClientTlsPolicyRequest, callback: google.cloud.networksecurity.v1beta1.NetworkSecurity.CreateClientTlsPolicyCallback): void;

Calls CreateClientTlsPolicy.

Parameters
NameDescription
request google.cloud.networksecurity.v1beta1.ICreateClientTlsPolicyRequest

CreateClientTlsPolicyRequest message or plain object

callback google.cloud.networksecurity.v1beta1.NetworkSecurity.CreateClientTlsPolicyCallback

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

Returns
TypeDescription
void

createClientTlsPolicy(request)

public createClientTlsPolicy(request: google.cloud.networksecurity.v1beta1.ICreateClientTlsPolicyRequest): Promise<google.longrunning.Operation>;

Calls CreateClientTlsPolicy.

Parameter
NameDescription
request google.cloud.networksecurity.v1beta1.ICreateClientTlsPolicyRequest

CreateClientTlsPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createServerTlsPolicy(request, callback)

public createServerTlsPolicy(request: google.cloud.networksecurity.v1beta1.ICreateServerTlsPolicyRequest, callback: google.cloud.networksecurity.v1beta1.NetworkSecurity.CreateServerTlsPolicyCallback): void;

Calls CreateServerTlsPolicy.

Parameters
NameDescription
request google.cloud.networksecurity.v1beta1.ICreateServerTlsPolicyRequest

CreateServerTlsPolicyRequest message or plain object

callback google.cloud.networksecurity.v1beta1.NetworkSecurity.CreateServerTlsPolicyCallback

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

Returns
TypeDescription
void

createServerTlsPolicy(request)

public createServerTlsPolicy(request: google.cloud.networksecurity.v1beta1.ICreateServerTlsPolicyRequest): Promise<google.longrunning.Operation>;

Calls CreateServerTlsPolicy.

Parameter
NameDescription
request google.cloud.networksecurity.v1beta1.ICreateServerTlsPolicyRequest

CreateServerTlsPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteAuthorizationPolicy(request, callback)

public deleteAuthorizationPolicy(request: google.cloud.networksecurity.v1beta1.IDeleteAuthorizationPolicyRequest, callback: google.cloud.networksecurity.v1beta1.NetworkSecurity.DeleteAuthorizationPolicyCallback): void;

Calls DeleteAuthorizationPolicy.

Parameters
NameDescription
request google.cloud.networksecurity.v1beta1.IDeleteAuthorizationPolicyRequest

DeleteAuthorizationPolicyRequest message or plain object

callback google.cloud.networksecurity.v1beta1.NetworkSecurity.DeleteAuthorizationPolicyCallback

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

Returns
TypeDescription
void

deleteAuthorizationPolicy(request)

public deleteAuthorizationPolicy(request: google.cloud.networksecurity.v1beta1.IDeleteAuthorizationPolicyRequest): Promise<google.longrunning.Operation>;

Calls DeleteAuthorizationPolicy.

Parameter
NameDescription
request google.cloud.networksecurity.v1beta1.IDeleteAuthorizationPolicyRequest

DeleteAuthorizationPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteClientTlsPolicy(request, callback)

public deleteClientTlsPolicy(request: google.cloud.networksecurity.v1beta1.IDeleteClientTlsPolicyRequest, callback: google.cloud.networksecurity.v1beta1.NetworkSecurity.DeleteClientTlsPolicyCallback): void;

Calls DeleteClientTlsPolicy.

Parameters
NameDescription
request google.cloud.networksecurity.v1beta1.IDeleteClientTlsPolicyRequest

DeleteClientTlsPolicyRequest message or plain object

callback google.cloud.networksecurity.v1beta1.NetworkSecurity.DeleteClientTlsPolicyCallback

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

Returns
TypeDescription
void

deleteClientTlsPolicy(request)

public deleteClientTlsPolicy(request: google.cloud.networksecurity.v1beta1.IDeleteClientTlsPolicyRequest): Promise<google.longrunning.Operation>;

Calls DeleteClientTlsPolicy.

Parameter
NameDescription
request google.cloud.networksecurity.v1beta1.IDeleteClientTlsPolicyRequest

DeleteClientTlsPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteServerTlsPolicy(request, callback)

public deleteServerTlsPolicy(request: google.cloud.networksecurity.v1beta1.IDeleteServerTlsPolicyRequest, callback: google.cloud.networksecurity.v1beta1.NetworkSecurity.DeleteServerTlsPolicyCallback): void;

Calls DeleteServerTlsPolicy.

Parameters
NameDescription
request google.cloud.networksecurity.v1beta1.IDeleteServerTlsPolicyRequest

DeleteServerTlsPolicyRequest message or plain object

callback google.cloud.networksecurity.v1beta1.NetworkSecurity.DeleteServerTlsPolicyCallback

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

Returns
TypeDescription
void

deleteServerTlsPolicy(request)

public deleteServerTlsPolicy(request: google.cloud.networksecurity.v1beta1.IDeleteServerTlsPolicyRequest): Promise<google.longrunning.Operation>;

Calls DeleteServerTlsPolicy.

Parameter
NameDescription
request google.cloud.networksecurity.v1beta1.IDeleteServerTlsPolicyRequest

DeleteServerTlsPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getAuthorizationPolicy(request, callback)

public getAuthorizationPolicy(request: google.cloud.networksecurity.v1beta1.IGetAuthorizationPolicyRequest, callback: google.cloud.networksecurity.v1beta1.NetworkSecurity.GetAuthorizationPolicyCallback): void;

Calls GetAuthorizationPolicy.

Parameters
NameDescription
request google.cloud.networksecurity.v1beta1.IGetAuthorizationPolicyRequest

GetAuthorizationPolicyRequest message or plain object

callback google.cloud.networksecurity.v1beta1.NetworkSecurity.GetAuthorizationPolicyCallback

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

Returns
TypeDescription
void

getAuthorizationPolicy(request)

public getAuthorizationPolicy(request: google.cloud.networksecurity.v1beta1.IGetAuthorizationPolicyRequest): Promise<google.cloud.networksecurity.v1beta1.AuthorizationPolicy>;

Calls GetAuthorizationPolicy.

Parameter
NameDescription
request google.cloud.networksecurity.v1beta1.IGetAuthorizationPolicyRequest

GetAuthorizationPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.networksecurity.v1beta1.AuthorizationPolicy>

Promise

getClientTlsPolicy(request, callback)

public getClientTlsPolicy(request: google.cloud.networksecurity.v1beta1.IGetClientTlsPolicyRequest, callback: google.cloud.networksecurity.v1beta1.NetworkSecurity.GetClientTlsPolicyCallback): void;

Calls GetClientTlsPolicy.

Parameters
NameDescription
request google.cloud.networksecurity.v1beta1.IGetClientTlsPolicyRequest

GetClientTlsPolicyRequest message or plain object

callback google.cloud.networksecurity.v1beta1.NetworkSecurity.GetClientTlsPolicyCallback

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

Returns
TypeDescription
void

getClientTlsPolicy(request)

public getClientTlsPolicy(request: google.cloud.networksecurity.v1beta1.IGetClientTlsPolicyRequest): Promise<google.cloud.networksecurity.v1beta1.ClientTlsPolicy>;

Calls GetClientTlsPolicy.

Parameter
NameDescription
request google.cloud.networksecurity.v1beta1.IGetClientTlsPolicyRequest

GetClientTlsPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.networksecurity.v1beta1.ClientTlsPolicy>

Promise

getServerTlsPolicy(request, callback)

public getServerTlsPolicy(request: google.cloud.networksecurity.v1beta1.IGetServerTlsPolicyRequest, callback: google.cloud.networksecurity.v1beta1.NetworkSecurity.GetServerTlsPolicyCallback): void;

Calls GetServerTlsPolicy.

Parameters
NameDescription
request google.cloud.networksecurity.v1beta1.IGetServerTlsPolicyRequest

GetServerTlsPolicyRequest message or plain object

callback google.cloud.networksecurity.v1beta1.NetworkSecurity.GetServerTlsPolicyCallback

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

Returns
TypeDescription
void

getServerTlsPolicy(request)

public getServerTlsPolicy(request: google.cloud.networksecurity.v1beta1.IGetServerTlsPolicyRequest): Promise<google.cloud.networksecurity.v1beta1.ServerTlsPolicy>;

Calls GetServerTlsPolicy.

Parameter
NameDescription
request google.cloud.networksecurity.v1beta1.IGetServerTlsPolicyRequest

GetServerTlsPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.networksecurity.v1beta1.ServerTlsPolicy>

Promise

listAuthorizationPolicies(request, callback)

public listAuthorizationPolicies(request: google.cloud.networksecurity.v1beta1.IListAuthorizationPoliciesRequest, callback: google.cloud.networksecurity.v1beta1.NetworkSecurity.ListAuthorizationPoliciesCallback): void;

Calls ListAuthorizationPolicies.

Parameters
NameDescription
request google.cloud.networksecurity.v1beta1.IListAuthorizationPoliciesRequest

ListAuthorizationPoliciesRequest message or plain object

callback google.cloud.networksecurity.v1beta1.NetworkSecurity.ListAuthorizationPoliciesCallback

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

Returns
TypeDescription
void

listAuthorizationPolicies(request)

public listAuthorizationPolicies(request: google.cloud.networksecurity.v1beta1.IListAuthorizationPoliciesRequest): Promise<google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesResponse>;

Calls ListAuthorizationPolicies.

Parameter
NameDescription
request google.cloud.networksecurity.v1beta1.IListAuthorizationPoliciesRequest

ListAuthorizationPoliciesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesResponse>

Promise

listClientTlsPolicies(request, callback)

public listClientTlsPolicies(request: google.cloud.networksecurity.v1beta1.IListClientTlsPoliciesRequest, callback: google.cloud.networksecurity.v1beta1.NetworkSecurity.ListClientTlsPoliciesCallback): void;

Calls ListClientTlsPolicies.

Parameters
NameDescription
request google.cloud.networksecurity.v1beta1.IListClientTlsPoliciesRequest

ListClientTlsPoliciesRequest message or plain object

callback google.cloud.networksecurity.v1beta1.NetworkSecurity.ListClientTlsPoliciesCallback

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

Returns
TypeDescription
void

listClientTlsPolicies(request)

public listClientTlsPolicies(request: google.cloud.networksecurity.v1beta1.IListClientTlsPoliciesRequest): Promise<google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponse>;

Calls ListClientTlsPolicies.

Parameter
NameDescription
request google.cloud.networksecurity.v1beta1.IListClientTlsPoliciesRequest

ListClientTlsPoliciesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponse>

Promise

listServerTlsPolicies(request, callback)

public listServerTlsPolicies(request: google.cloud.networksecurity.v1beta1.IListServerTlsPoliciesRequest, callback: google.cloud.networksecurity.v1beta1.NetworkSecurity.ListServerTlsPoliciesCallback): void;

Calls ListServerTlsPolicies.

Parameters
NameDescription
request google.cloud.networksecurity.v1beta1.IListServerTlsPoliciesRequest

ListServerTlsPoliciesRequest message or plain object

callback google.cloud.networksecurity.v1beta1.NetworkSecurity.ListServerTlsPoliciesCallback

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

Returns
TypeDescription
void

listServerTlsPolicies(request)

public listServerTlsPolicies(request: google.cloud.networksecurity.v1beta1.IListServerTlsPoliciesRequest): Promise<google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse>;

Calls ListServerTlsPolicies.

Parameter
NameDescription
request google.cloud.networksecurity.v1beta1.IListServerTlsPoliciesRequest

ListServerTlsPoliciesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse>

Promise

updateAuthorizationPolicy(request, callback)

public updateAuthorizationPolicy(request: google.cloud.networksecurity.v1beta1.IUpdateAuthorizationPolicyRequest, callback: google.cloud.networksecurity.v1beta1.NetworkSecurity.UpdateAuthorizationPolicyCallback): void;

Calls UpdateAuthorizationPolicy.

Parameters
NameDescription
request google.cloud.networksecurity.v1beta1.IUpdateAuthorizationPolicyRequest

UpdateAuthorizationPolicyRequest message or plain object

callback google.cloud.networksecurity.v1beta1.NetworkSecurity.UpdateAuthorizationPolicyCallback

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

Returns
TypeDescription
void

updateAuthorizationPolicy(request)

public updateAuthorizationPolicy(request: google.cloud.networksecurity.v1beta1.IUpdateAuthorizationPolicyRequest): Promise<google.longrunning.Operation>;

Calls UpdateAuthorizationPolicy.

Parameter
NameDescription
request google.cloud.networksecurity.v1beta1.IUpdateAuthorizationPolicyRequest

UpdateAuthorizationPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateClientTlsPolicy(request, callback)

public updateClientTlsPolicy(request: google.cloud.networksecurity.v1beta1.IUpdateClientTlsPolicyRequest, callback: google.cloud.networksecurity.v1beta1.NetworkSecurity.UpdateClientTlsPolicyCallback): void;

Calls UpdateClientTlsPolicy.

Parameters
NameDescription
request google.cloud.networksecurity.v1beta1.IUpdateClientTlsPolicyRequest

UpdateClientTlsPolicyRequest message or plain object

callback google.cloud.networksecurity.v1beta1.NetworkSecurity.UpdateClientTlsPolicyCallback

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

Returns
TypeDescription
void

updateClientTlsPolicy(request)

public updateClientTlsPolicy(request: google.cloud.networksecurity.v1beta1.IUpdateClientTlsPolicyRequest): Promise<google.longrunning.Operation>;

Calls UpdateClientTlsPolicy.

Parameter
NameDescription
request google.cloud.networksecurity.v1beta1.IUpdateClientTlsPolicyRequest

UpdateClientTlsPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateServerTlsPolicy(request, callback)

public updateServerTlsPolicy(request: google.cloud.networksecurity.v1beta1.IUpdateServerTlsPolicyRequest, callback: google.cloud.networksecurity.v1beta1.NetworkSecurity.UpdateServerTlsPolicyCallback): void;

Calls UpdateServerTlsPolicy.

Parameters
NameDescription
request google.cloud.networksecurity.v1beta1.IUpdateServerTlsPolicyRequest

UpdateServerTlsPolicyRequest message or plain object

callback google.cloud.networksecurity.v1beta1.NetworkSecurity.UpdateServerTlsPolicyCallback

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

Returns
TypeDescription
void

updateServerTlsPolicy(request)

public updateServerTlsPolicy(request: google.cloud.networksecurity.v1beta1.IUpdateServerTlsPolicyRequest): Promise<google.longrunning.Operation>;

Calls UpdateServerTlsPolicy.

Parameter
NameDescription
request google.cloud.networksecurity.v1beta1.IUpdateServerTlsPolicyRequest

UpdateServerTlsPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise