public sealed class ClientGatewaysServiceClientImpl : ClientGatewaysServiceClient
Reference documentation and code samples for the BeyondCorp Client Connector Services v1 API class ClientGatewaysServiceClientImpl.
ClientGatewaysService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.BeyondCorp.ClientGateways.V1Assembly
Google.Cloud.BeyondCorp.ClientGateways.V1.dll
Remarks
API Overview
The beyondcorp.googleapis.com
service implements the Google Cloud
BeyondCorp API.
Data Model
The ClientGatewaysService exposes the following resources:
- Client Gateways, named as follows:
projects/{project_id}/locations/{location_id}/clientGateways/{client_gateway_id}
.
Constructors
ClientGatewaysServiceClientImpl(ClientGatewaysService.ClientGatewaysServiceClient, ClientGatewaysServiceSettings, ILogger)
public ClientGatewaysServiceClientImpl(ClientGatewaysService.ClientGatewaysServiceClient grpcClient, ClientGatewaysServiceSettings settings, ILogger logger)
Constructs a client wrapper for the ClientGatewaysService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | ClientGatewaysService.ClientGatewaysServiceClient The underlying gRPC client. |
settings | ClientGatewaysServiceSettings The base ClientGatewaysServiceSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
CreateClientGatewayOperationsClient
public override OperationsClient CreateClientGatewayOperationsClient { get; }
The long-running operations client for CreateClientGateway
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteClientGatewayOperationsClient
public override OperationsClient DeleteClientGatewayOperationsClient { get; }
The long-running operations client for DeleteClientGateway
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override ClientGatewaysService.ClientGatewaysServiceClient GrpcClient { get; }
The underlying gRPC ClientGatewaysService client
Property Value | |
---|---|
Type | Description |
ClientGatewaysService.ClientGatewaysServiceClient |
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }
The IAMPolicyClient associated with this client.
Property Value | |
---|---|
Type | Description |
IAMPolicyClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
Methods
CreateClientGateway(CreateClientGatewayRequest, CallSettings)
public override Operation<ClientGateway, ClientGatewayOperationMetadata> CreateClientGateway(CreateClientGatewayRequest request, CallSettings callSettings = null)
Creates a new ClientGateway in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateClientGatewayRequest 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<ClientGateway, ClientGatewayOperationMetadata> | The RPC response. |
CreateClientGatewayAsync(CreateClientGatewayRequest, CallSettings)
public override async Task<Operation<ClientGateway, ClientGatewayOperationMetadata>> CreateClientGatewayAsync(CreateClientGatewayRequest request, CallSettings callSettings = null)
Creates a new ClientGateway in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateClientGatewayRequest 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<ClientGateway, ClientGatewayOperationMetadata>> | A Task containing the RPC response. |
DeleteClientGateway(DeleteClientGatewayRequest, CallSettings)
public override Operation<Empty, ClientGatewayOperationMetadata> DeleteClientGateway(DeleteClientGatewayRequest request, CallSettings callSettings = null)
Deletes a single ClientGateway.
Parameters | |
---|---|
Name | Description |
request | DeleteClientGatewayRequest 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, ClientGatewayOperationMetadata> | The RPC response. |
DeleteClientGatewayAsync(DeleteClientGatewayRequest, CallSettings)
public override async Task<Operation<Empty, ClientGatewayOperationMetadata>> DeleteClientGatewayAsync(DeleteClientGatewayRequest request, CallSettings callSettings = null)
Deletes a single ClientGateway.
Parameters | |
---|---|
Name | Description |
request | DeleteClientGatewayRequest 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, ClientGatewayOperationMetadata>> | A Task containing the RPC response. |
GetClientGateway(GetClientGatewayRequest, CallSettings)
public override ClientGateway GetClientGateway(GetClientGatewayRequest request, CallSettings callSettings = null)
Gets details of a single ClientGateway.
Parameters | |
---|---|
Name | Description |
request | GetClientGatewayRequest 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 |
ClientGateway | The RPC response. |
GetClientGatewayAsync(GetClientGatewayRequest, CallSettings)
public override Task<ClientGateway> GetClientGatewayAsync(GetClientGatewayRequest request, CallSettings callSettings = null)
Gets details of a single ClientGateway.
Parameters | |
---|---|
Name | Description |
request | GetClientGatewayRequest 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<ClientGateway> | A Task containing the RPC response. |
ListClientGateways(ListClientGatewaysRequest, CallSettings)
public override PagedEnumerable<ListClientGatewaysResponse, ClientGateway> ListClientGateways(ListClientGatewaysRequest request, CallSettings callSettings = null)
Lists ClientGateways in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListClientGatewaysRequest 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<ListClientGatewaysResponse, ClientGateway> | A pageable sequence of ClientGateway resources. |
ListClientGatewaysAsync(ListClientGatewaysRequest, CallSettings)
public override PagedAsyncEnumerable<ListClientGatewaysResponse, ClientGateway> ListClientGatewaysAsync(ListClientGatewaysRequest request, CallSettings callSettings = null)
Lists ClientGateways in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListClientGatewaysRequest 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<ListClientGatewaysResponse, ClientGateway> | A pageable asynchronous sequence of ClientGateway resources. |