public class AppGatewaysServiceClient : ClientBase<AppGatewaysService.AppGatewaysServiceClient>
Reference documentation and code samples for the BeyondCorp AppGateways v1 API class AppGatewaysService.AppGatewaysServiceClient.
Client for AppGatewaysService
Inheritance
Object > ClientBase > ClientBase<AppGatewaysService.AppGatewaysServiceClient> > AppGatewaysService.AppGatewaysServiceClientNamespace
Google.Cloud.BeyondCorp.AppGateways.V1Assembly
Google.Cloud.BeyondCorp.AppGateways.V1.dll
Constructors
AppGatewaysServiceClient()
protected AppGatewaysServiceClient()
Protected parameterless constructor to allow creation of test doubles.
AppGatewaysServiceClient(CallInvoker)
public AppGatewaysServiceClient(CallInvoker callInvoker)
Creates a new client for AppGatewaysService that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
AppGatewaysServiceClient(ChannelBase)
public AppGatewaysServiceClient(ChannelBase channel)
Creates a new client for AppGatewaysService
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
AppGatewaysServiceClient(ClientBase.ClientBaseConfiguration)
protected AppGatewaysServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CreateAppGateway(CreateAppGatewayRequest, CallOptions)
public virtual Operation CreateAppGateway(CreateAppGatewayRequest request, CallOptions options)
Creates a new AppGateway in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateAppGatewayRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
CreateAppGateway(CreateAppGatewayRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateAppGateway(CreateAppGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a new AppGateway in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateAppGatewayRequest 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. |
CreateAppGatewayAsync(CreateAppGatewayRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateAppGatewayAsync(CreateAppGatewayRequest request, CallOptions options)
Creates a new AppGateway in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateAppGatewayRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
CreateAppGatewayAsync(CreateAppGatewayRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateAppGatewayAsync(CreateAppGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a new AppGateway in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateAppGatewayRequest 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. |
DeleteAppGateway(DeleteAppGatewayRequest, CallOptions)
public virtual Operation DeleteAppGateway(DeleteAppGatewayRequest request, CallOptions options)
Deletes a single AppGateway.
Parameters | |
---|---|
Name | Description |
request | DeleteAppGatewayRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
DeleteAppGateway(DeleteAppGatewayRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteAppGateway(DeleteAppGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes a single AppGateway.
Parameters | |
---|---|
Name | Description |
request | DeleteAppGatewayRequest 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. |
DeleteAppGatewayAsync(DeleteAppGatewayRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAppGatewayAsync(DeleteAppGatewayRequest request, CallOptions options)
Deletes a single AppGateway.
Parameters | |
---|---|
Name | Description |
request | DeleteAppGatewayRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeleteAppGatewayAsync(DeleteAppGatewayRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAppGatewayAsync(DeleteAppGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes a single AppGateway.
Parameters | |
---|---|
Name | Description |
request | DeleteAppGatewayRequest 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. |
GetAppGateway(GetAppGatewayRequest, CallOptions)
public virtual AppGateway GetAppGateway(GetAppGatewayRequest request, CallOptions options)
Gets details of a single AppGateway.
Parameters | |
---|---|
Name | Description |
request | GetAppGatewayRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AppGateway | The response received from the server. |
GetAppGateway(GetAppGatewayRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AppGateway GetAppGateway(GetAppGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets details of a single AppGateway.
Parameters | |
---|---|
Name | Description |
request | GetAppGatewayRequest 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 |
AppGateway | The response received from the server. |
GetAppGatewayAsync(GetAppGatewayRequest, CallOptions)
public virtual AsyncUnaryCall<AppGateway> GetAppGatewayAsync(GetAppGatewayRequest request, CallOptions options)
Gets details of a single AppGateway.
Parameters | |
---|---|
Name | Description |
request | GetAppGatewayRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<AppGateway> | The call object. |
GetAppGatewayAsync(GetAppGatewayRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<AppGateway> GetAppGatewayAsync(GetAppGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets details of a single AppGateway.
Parameters | |
---|---|
Name | Description |
request | GetAppGatewayRequest 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<AppGateway> | The call object. |
ListAppGateways(ListAppGatewaysRequest, CallOptions)
public virtual ListAppGatewaysResponse ListAppGateways(ListAppGatewaysRequest request, CallOptions options)
Lists AppGateways in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListAppGatewaysRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListAppGatewaysResponse | The response received from the server. |
ListAppGateways(ListAppGatewaysRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListAppGatewaysResponse ListAppGateways(ListAppGatewaysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists AppGateways in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListAppGatewaysRequest 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 |
ListAppGatewaysResponse | The response received from the server. |
ListAppGatewaysAsync(ListAppGatewaysRequest, CallOptions)
public virtual AsyncUnaryCall<ListAppGatewaysResponse> ListAppGatewaysAsync(ListAppGatewaysRequest request, CallOptions options)
Lists AppGateways in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListAppGatewaysRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListAppGatewaysResponse> | The call object. |
ListAppGatewaysAsync(ListAppGatewaysRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListAppGatewaysResponse> ListAppGatewaysAsync(ListAppGatewaysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists AppGateways in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListAppGatewaysRequest 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<ListAppGatewaysResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override AppGatewaysService.AppGatewaysServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
AppGatewaysService.AppGatewaysServiceClient |