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.
Namespace
Google.Cloud.Ids.V1Assembly
Google.Cloud.Ids.V1.dll
Remarks
The IDS Service
Constructors
IDSClientImpl(IDS.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 | IDS.IDSClient 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 |
DeleteEndpointOperationsClient
public override OperationsClient DeleteEndpointOperationsClient { get; }
The long-running operations client for DeleteEndpoint
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override IDS.IDSClient GrpcClient { get; }
The underlying gRPC IDS client
Property Value | |
---|---|
Type | Description |
IDS.IDSClient |
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 |
Operation<Endpoint, OperationMetadata> | The RPC response. |
CreateEndpointAsync(CreateEndpointRequest, CallSettings)
public override async 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 |
Task<Operation<Endpoint, OperationMetadata>> | A Task containing the RPC response. |
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 |
Operation<Empty, OperationMetadata> | The RPC response. |
DeleteEndpointAsync(DeleteEndpointRequest, CallSettings)
public override async 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 |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
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. |
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 |
Task<Endpoint> | A Task containing the RPC response. |
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 |
PagedEnumerable<ListEndpointsResponse, Endpoint> | A pageable sequence of Endpoint resources. |
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 |
PagedAsyncEnumerable<ListEndpointsResponse, Endpoint> | A pageable asynchronous sequence of Endpoint resources. |