Cloud IDS v1 API - Class IDSClientImpl (2.3.0)

public sealed class IDSClientImpl : IDSClient

Reference documentation and code samples for the Cloud IDS v1 API class IDSClientImpl.

IDS client wrapper implementation, for convenient use.

Inheritance

object > IDSClient > IDSClientImpl

Namespace

Google.Cloud.Ids.V1

Assembly

Google.Cloud.Ids.V1.dll

Remarks

The IDS Service

Constructors

IDSClientImpl(IDSClient, IDSSettings, ILogger)

public IDSClientImpl(IDS.IDSClient grpcClient, IDSSettings settings, ILogger logger)

Constructs a client wrapper for the IDS service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient IDSIDSClient

The underlying gRPC client.

settings IDSSettings

The base IDSSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

CreateEndpointOperationsClient

public override OperationsClient CreateEndpointOperationsClient { get; }

The long-running operations client for CreateEndpoint.

Property Value
Type Description
OperationsClient
Overrides

DeleteEndpointOperationsClient

public override OperationsClient DeleteEndpointOperationsClient { get; }

The long-running operations client for DeleteEndpoint.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override IDS.IDSClient GrpcClient { get; }

The underlying gRPC IDS client

Property Value
Type Description
IDSIDSClient
Overrides

Methods

CreateEndpoint(CreateEndpointRequest, CallSettings)

public override Operation<Endpoint, OperationMetadata> CreateEndpoint(CreateEndpointRequest request, CallSettings callSettings = null)

Creates a new Endpoint in a given project and location.

Parameters
Name Description
request CreateEndpointRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEndpointOperationMetadata

The RPC response.

Overrides

CreateEndpointAsync(CreateEndpointRequest, CallSettings)

public override Task<Operation<Endpoint, OperationMetadata>> CreateEndpointAsync(CreateEndpointRequest request, CallSettings callSettings = null)

Creates a new Endpoint in a given project and location.

Parameters
Name Description
request CreateEndpointRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEndpointOperationMetadata

A Task containing the RPC response.

Overrides

DeleteEndpoint(DeleteEndpointRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteEndpoint(DeleteEndpointRequest request, CallSettings callSettings = null)

Deletes a single Endpoint.

Parameters
Name Description
request DeleteEndpointRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteEndpointAsync(DeleteEndpointRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteEndpointAsync(DeleteEndpointRequest request, CallSettings callSettings = null)

Deletes a single Endpoint.

Parameters
Name Description
request DeleteEndpointRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

GetEndpoint(GetEndpointRequest, CallSettings)

public override Endpoint GetEndpoint(GetEndpointRequest request, CallSettings callSettings = null)

Gets details of a single Endpoint.

Parameters
Name Description
request GetEndpointRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Endpoint

The RPC response.

Overrides

GetEndpointAsync(GetEndpointRequest, CallSettings)

public override Task<Endpoint> GetEndpointAsync(GetEndpointRequest request, CallSettings callSettings = null)

Gets details of a single Endpoint.

Parameters
Name Description
request GetEndpointRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskEndpoint

A Task containing the RPC response.

Overrides

ListEndpoints(ListEndpointsRequest, CallSettings)

public override PagedEnumerable<ListEndpointsResponse, Endpoint> ListEndpoints(ListEndpointsRequest request, CallSettings callSettings = null)

Lists Endpoints in a given project and location.

Parameters
Name Description
request ListEndpointsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListEndpointsResponseEndpoint

A pageable sequence of Endpoint resources.

Overrides

ListEndpointsAsync(ListEndpointsRequest, CallSettings)

public override PagedAsyncEnumerable<ListEndpointsResponse, Endpoint> ListEndpointsAsync(ListEndpointsRequest request, CallSettings callSettings = null)

Lists Endpoints in a given project and location.

Parameters
Name Description
request ListEndpointsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListEndpointsResponseEndpoint

A pageable asynchronous sequence of Endpoint resources.

Overrides