public class ClientGatewaysService.ClientGatewaysServiceClient : ClientBase<ClientGatewaysService.ClientGatewaysServiceClient>Reference documentation and code samples for the BeyondCorp Client Gateways v1 API class ClientGatewaysService.ClientGatewaysServiceClient.
Client for ClientGatewaysService
Inheritance
object > ClientBase > ClientBaseClientGatewaysServiceClientGatewaysServiceClient > ClientGatewaysService.ClientGatewaysServiceClientNamespace
Google.Cloud.BeyondCorp.ClientGateways.V1Assembly
Google.Cloud.BeyondCorp.ClientGateways.V1.dll
Constructors
ClientGatewaysServiceClient()
protected ClientGatewaysServiceClient()Protected parameterless constructor to allow creation of test doubles.
ClientGatewaysServiceClient(CallInvoker)
public ClientGatewaysServiceClient(CallInvoker callInvoker)Creates a new client for ClientGatewaysService that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
ClientGatewaysServiceClient(ChannelBase)
public ClientGatewaysServiceClient(ChannelBase channel)Creates a new client for ClientGatewaysService
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
ClientGatewaysServiceClient(ClientBaseConfiguration)
protected ClientGatewaysServiceClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
CreateClientGateway(CreateClientGatewayRequest, CallOptions)
public virtual Operation CreateClientGateway(CreateClientGatewayRequest request, CallOptions options)Creates a new ClientGateway in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateClientGatewayRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateClientGateway(CreateClientGatewayRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateClientGateway(CreateClientGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a new ClientGateway in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateClientGatewayRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateClientGatewayAsync(CreateClientGatewayRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateClientGatewayAsync(CreateClientGatewayRequest request, CallOptions options)Creates a new ClientGateway in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateClientGatewayRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateClientGatewayAsync(CreateClientGatewayRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateClientGatewayAsync(CreateClientGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a new ClientGateway in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateClientGatewayRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateIAMPolicyClient()
public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
IAMPolicyIAMPolicyClient |
A new IAMPolicy.IAMPolicyClient for the same target as this client. |
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
LocationsLocationsClient |
A new Locations.LocationsClient for the same target as this client. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
DeleteClientGateway(DeleteClientGatewayRequest, CallOptions)
public virtual Operation DeleteClientGateway(DeleteClientGatewayRequest request, CallOptions options)Deletes a single ClientGateway.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteClientGatewayRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteClientGateway(DeleteClientGatewayRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteClientGateway(DeleteClientGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes a single ClientGateway.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteClientGatewayRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteClientGatewayAsync(DeleteClientGatewayRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteClientGatewayAsync(DeleteClientGatewayRequest request, CallOptions options)Deletes a single ClientGateway.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteClientGatewayRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteClientGatewayAsync(DeleteClientGatewayRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteClientGatewayAsync(DeleteClientGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes a single ClientGateway.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteClientGatewayRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
GetClientGateway(GetClientGatewayRequest, CallOptions)
public virtual ClientGateway GetClientGateway(GetClientGatewayRequest request, CallOptions options)Gets details of a single ClientGateway.
| Parameters | |
|---|---|
| Name | Description |
request |
GetClientGatewayRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ClientGateway |
The response received from the server. |
GetClientGateway(GetClientGatewayRequest, Metadata, DateTime?, CancellationToken)
public virtual ClientGateway GetClientGateway(GetClientGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single ClientGateway.
| Parameters | |
|---|---|
| Name | Description |
request |
GetClientGatewayRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ClientGateway |
The response received from the server. |
GetClientGatewayAsync(GetClientGatewayRequest, CallOptions)
public virtual AsyncUnaryCall<ClientGateway> GetClientGatewayAsync(GetClientGatewayRequest request, CallOptions options)Gets details of a single ClientGateway.
| Parameters | |
|---|---|
| Name | Description |
request |
GetClientGatewayRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallClientGateway |
The call object. |
GetClientGatewayAsync(GetClientGatewayRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ClientGateway> GetClientGatewayAsync(GetClientGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single ClientGateway.
| Parameters | |
|---|---|
| Name | Description |
request |
GetClientGatewayRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallClientGateway |
The call object. |
ListClientGateways(ListClientGatewaysRequest, CallOptions)
public virtual ListClientGatewaysResponse ListClientGateways(ListClientGatewaysRequest request, CallOptions options)Lists ClientGateways in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListClientGatewaysRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListClientGatewaysResponse |
The response received from the server. |
ListClientGateways(ListClientGatewaysRequest, Metadata, DateTime?, CancellationToken)
public virtual ListClientGatewaysResponse ListClientGateways(ListClientGatewaysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists ClientGateways in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListClientGatewaysRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListClientGatewaysResponse |
The response received from the server. |
ListClientGatewaysAsync(ListClientGatewaysRequest, CallOptions)
public virtual AsyncUnaryCall<ListClientGatewaysResponse> ListClientGatewaysAsync(ListClientGatewaysRequest request, CallOptions options)Lists ClientGateways in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListClientGatewaysRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListClientGatewaysResponse |
The call object. |
ListClientGatewaysAsync(ListClientGatewaysRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListClientGatewaysResponse> ListClientGatewaysAsync(ListClientGatewaysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists ClientGateways in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListClientGatewaysRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListClientGatewaysResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override ClientGatewaysService.ClientGatewaysServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
ClientGatewaysServiceClientGatewaysServiceClient |
|