Class protos.google.cloud.ids.v1.IDS (1.1.0)

Represents a IDS

Inheritance

$protobuf.rpc.Service > protos.google.cloud.ids.v1.IDS

Package

@google-cloud/ids

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new IDS 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): IDS;

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

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

createEndpoint(request, callback)

public createEndpoint(request: google.cloud.ids.v1.ICreateEndpointRequest, callback: google.cloud.ids.v1.IDS.CreateEndpointCallback): void;

Calls CreateEndpoint.

Parameters
NameDescription
request ICreateEndpointRequest

CreateEndpointRequest message or plain object

callback google.cloud.ids.v1.IDS.CreateEndpointCallback

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

Returns
TypeDescription
void

createEndpoint(request)

public createEndpoint(request: google.cloud.ids.v1.ICreateEndpointRequest): Promise<google.longrunning.Operation>;

Calls CreateEndpoint.

Parameter
NameDescription
request ICreateEndpointRequest

CreateEndpointRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteEndpoint(request, callback)

public deleteEndpoint(request: google.cloud.ids.v1.IDeleteEndpointRequest, callback: google.cloud.ids.v1.IDS.DeleteEndpointCallback): void;

Calls DeleteEndpoint.

Parameters
NameDescription
request IDeleteEndpointRequest

DeleteEndpointRequest message or plain object

callback google.cloud.ids.v1.IDS.DeleteEndpointCallback

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

Returns
TypeDescription
void

deleteEndpoint(request)

public deleteEndpoint(request: google.cloud.ids.v1.IDeleteEndpointRequest): Promise<google.longrunning.Operation>;

Calls DeleteEndpoint.

Parameter
NameDescription
request IDeleteEndpointRequest

DeleteEndpointRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getEndpoint(request, callback)

public getEndpoint(request: google.cloud.ids.v1.IGetEndpointRequest, callback: google.cloud.ids.v1.IDS.GetEndpointCallback): void;

Calls GetEndpoint.

Parameters
NameDescription
request IGetEndpointRequest

GetEndpointRequest message or plain object

callback google.cloud.ids.v1.IDS.GetEndpointCallback

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

Returns
TypeDescription
void

getEndpoint(request)

public getEndpoint(request: google.cloud.ids.v1.IGetEndpointRequest): Promise<google.cloud.ids.v1.Endpoint>;

Calls GetEndpoint.

Parameter
NameDescription
request IGetEndpointRequest

GetEndpointRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.ids.v1.Endpoint>

Promise

listEndpoints(request, callback)

public listEndpoints(request: google.cloud.ids.v1.IListEndpointsRequest, callback: google.cloud.ids.v1.IDS.ListEndpointsCallback): void;

Calls ListEndpoints.

Parameters
NameDescription
request IListEndpointsRequest

ListEndpointsRequest message or plain object

callback google.cloud.ids.v1.IDS.ListEndpointsCallback

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

Returns
TypeDescription
void

listEndpoints(request)

public listEndpoints(request: google.cloud.ids.v1.IListEndpointsRequest): Promise<google.cloud.ids.v1.ListEndpointsResponse>;

Calls ListEndpoints.

Parameter
NameDescription
request IListEndpointsRequest

ListEndpointsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.ids.v1.ListEndpointsResponse>

Promise