Represents a IDS
Inheritance
$protobuf.rpc.Service > protos.google.cloud.ids.v1.IDSPackage
@google-cloud/idsConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new IDS service.
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): IDS;
Creates new IDS service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
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.
Name | Description |
request |
google.cloud.ids.v1.ICreateEndpointRequest
CreateEndpointRequest message or plain object |
callback |
google.cloud.ids.v1.IDS.CreateEndpointCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
createEndpoint(request)
public createEndpoint(request: google.cloud.ids.v1.ICreateEndpointRequest): Promise<google.longrunning.Operation>;
Calls CreateEndpoint.
Name | Description |
request |
google.cloud.ids.v1.ICreateEndpointRequest
CreateEndpointRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
deleteEndpoint(request)
public deleteEndpoint(request: google.cloud.ids.v1.IDeleteEndpointRequest): Promise<google.longrunning.Operation>;
Calls DeleteEndpoint.
Name | Description |
request |
IDeleteEndpointRequest
DeleteEndpointRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
google.cloud.ids.v1.IGetEndpointRequest
GetEndpointRequest message or plain object |
callback |
google.cloud.ids.v1.IDS.GetEndpointCallback
Node-style callback called with the error, if any, and Endpoint |
Type | Description |
void |
getEndpoint(request)
public getEndpoint(request: google.cloud.ids.v1.IGetEndpointRequest): Promise<google.cloud.ids.v1.Endpoint>;
Calls GetEndpoint.
Name | Description |
request |
google.cloud.ids.v1.IGetEndpointRequest
GetEndpointRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
listEndpoints(request)
public listEndpoints(request: google.cloud.ids.v1.IListEndpointsRequest): Promise<google.cloud.ids.v1.ListEndpointsResponse>;
Calls ListEndpoints.
Name | Description |
request |
IListEndpointsRequest
ListEndpointsRequest message or plain object |
Type | Description |
Promise<google.cloud.ids.v1.ListEndpointsResponse> | Promise |