public class ClientGatewaysServiceClient : ClientBase<ClientGatewaysService.ClientGatewaysServiceClient>
Reference documentation and code samples for the BeyondCorp Client Connector Services v1 API class ClientGatewaysService.ClientGatewaysServiceClient.
Client for ClientGatewaysService
Inheritance
Object > ClientBase > ClientBase<ClientGatewaysService.ClientGatewaysServiceClient> > 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 | CallInvoker The callInvoker to use to make remote calls. |
ClientGatewaysServiceClient(ChannelBase)
public ClientGatewaysServiceClient(ChannelBase channel)
Creates a new client for ClientGatewaysService
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
ClientGatewaysServiceClient(ClientBase.ClientBaseConfiguration)
protected ClientGatewaysServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The 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 | CreateClientGatewayRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
CreateClientGateway(CreateClientGatewayRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateClientGateway(CreateClientGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a new ClientGateway in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateClientGatewayRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An 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 | CreateClientGatewayRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
CreateClientGatewayAsync(CreateClientGatewayRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateClientGatewayAsync(CreateClientGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a new ClientGateway in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateClientGatewayRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | 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 |
IAMPolicy.IAMPolicyClient | 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 |
Locations.LocationsClient | 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 |
Operations.OperationsClient | 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 | DeleteClientGatewayRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
DeleteClientGateway(DeleteClientGatewayRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteClientGateway(DeleteClientGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes a single ClientGateway.
Parameters | |
---|---|
Name | Description |
request | DeleteClientGatewayRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An 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 | DeleteClientGatewayRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeleteClientGatewayAsync(DeleteClientGatewayRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteClientGatewayAsync(DeleteClientGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes a single ClientGateway.
Parameters | |
---|---|
Name | Description |
request | DeleteClientGatewayRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
GetClientGateway(GetClientGatewayRequest, CallOptions)
public virtual ClientGateway GetClientGateway(GetClientGatewayRequest request, CallOptions options)
Gets details of a single ClientGateway.
Parameters | |
---|---|
Name | Description |
request | GetClientGatewayRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ClientGateway | The response received from the server. |
GetClientGateway(GetClientGatewayRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ClientGateway GetClientGateway(GetClientGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets details of a single ClientGateway.
Parameters | |
---|---|
Name | Description |
request | GetClientGatewayRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An 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 | GetClientGatewayRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ClientGateway> | The call object. |
GetClientGatewayAsync(GetClientGatewayRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ClientGateway> GetClientGatewayAsync(GetClientGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets details of a single ClientGateway.
Parameters | |
---|---|
Name | Description |
request | GetClientGatewayRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ClientGateway> | 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 | ListClientGatewaysRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListClientGatewaysResponse | The response received from the server. |
ListClientGateways(ListClientGatewaysRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListClientGatewaysResponse ListClientGateways(ListClientGatewaysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists ClientGateways in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListClientGatewaysRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An 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 | ListClientGatewaysRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListClientGatewaysResponse> | The call object. |
ListClientGatewaysAsync(ListClientGatewaysRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListClientGatewaysResponse> ListClientGatewaysAsync(ListClientGatewaysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists ClientGateways in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListClientGatewaysRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListClientGatewaysResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override ClientGatewaysService.ClientGatewaysServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
ClientGatewaysService.ClientGatewaysServiceClient |