public class GatewayServiceClient : ClientBase<GatewayService.GatewayServiceClient>
Client for GatewayService
Inheritance
Object > ClientBase > ClientBase<GatewayService.GatewayServiceClient> > GatewayService.GatewayServiceClientNamespace
Google.Cloud.GkeConnect.Gateway.V1Beta1Assembly
Google.Cloud.GkeConnect.Gateway.V1Beta1.dll
Constructors
GatewayServiceClient()
protected GatewayServiceClient()
Protected parameterless constructor to allow creation of test doubles.
GatewayServiceClient(CallInvoker)
public GatewayServiceClient(CallInvoker callInvoker)
Creates a new client for GatewayService that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
GatewayServiceClient(ChannelBase)
public GatewayServiceClient(ChannelBase channel)
Creates a new client for GatewayService
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
GatewayServiceClient(ClientBase.ClientBaseConfiguration)
protected GatewayServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
DeleteResource(HttpBody, CallOptions)
public virtual HttpBody DeleteResource(HttpBody request, CallOptions options)
DeleteResource performs an HTTP DELETE on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
HttpBody | The response received from the server. |
DeleteResource(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)
public virtual HttpBody DeleteResource(HttpBody request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
DeleteResource performs an HTTP DELETE on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody 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 |
HttpBody | The response received from the server. |
DeleteResourceAsync(HttpBody, CallOptions)
public virtual AsyncUnaryCall<HttpBody> DeleteResourceAsync(HttpBody request, CallOptions options)
DeleteResource performs an HTTP DELETE on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<HttpBody> | The call object. |
DeleteResourceAsync(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<HttpBody> DeleteResourceAsync(HttpBody request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
DeleteResource performs an HTTP DELETE on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody 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<HttpBody> | The call object. |
GetResource(HttpBody, CallOptions)
public virtual HttpBody GetResource(HttpBody request, CallOptions options)
GetResource performs an HTTP GET request on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
HttpBody | The response received from the server. |
GetResource(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)
public virtual HttpBody GetResource(HttpBody request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
GetResource performs an HTTP GET request on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody 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 |
HttpBody | The response received from the server. |
GetResourceAsync(HttpBody, CallOptions)
public virtual AsyncUnaryCall<HttpBody> GetResourceAsync(HttpBody request, CallOptions options)
GetResource performs an HTTP GET request on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<HttpBody> | The call object. |
GetResourceAsync(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<HttpBody> GetResourceAsync(HttpBody request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
GetResource performs an HTTP GET request on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody 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<HttpBody> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override GatewayService.GatewayServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
GatewayService.GatewayServiceClient |
PatchResource(HttpBody, CallOptions)
public virtual HttpBody PatchResource(HttpBody request, CallOptions options)
PatchResource performs an HTTP PATCH on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
HttpBody | The response received from the server. |
PatchResource(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)
public virtual HttpBody PatchResource(HttpBody request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
PatchResource performs an HTTP PATCH on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody 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 |
HttpBody | The response received from the server. |
PatchResourceAsync(HttpBody, CallOptions)
public virtual AsyncUnaryCall<HttpBody> PatchResourceAsync(HttpBody request, CallOptions options)
PatchResource performs an HTTP PATCH on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<HttpBody> | The call object. |
PatchResourceAsync(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<HttpBody> PatchResourceAsync(HttpBody request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
PatchResource performs an HTTP PATCH on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody 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<HttpBody> | The call object. |
PostResource(HttpBody, CallOptions)
public virtual HttpBody PostResource(HttpBody request, CallOptions options)
PostResource performs an HTTP POST on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
HttpBody | The response received from the server. |
PostResource(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)
public virtual HttpBody PostResource(HttpBody request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
PostResource performs an HTTP POST on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody 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 |
HttpBody | The response received from the server. |
PostResourceAsync(HttpBody, CallOptions)
public virtual AsyncUnaryCall<HttpBody> PostResourceAsync(HttpBody request, CallOptions options)
PostResource performs an HTTP POST on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<HttpBody> | The call object. |
PostResourceAsync(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<HttpBody> PostResourceAsync(HttpBody request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
PostResource performs an HTTP POST on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody 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<HttpBody> | The call object. |
PutResource(HttpBody, CallOptions)
public virtual HttpBody PutResource(HttpBody request, CallOptions options)
PutResource performs an HTTP PUT on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
HttpBody | The response received from the server. |
PutResource(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)
public virtual HttpBody PutResource(HttpBody request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
PutResource performs an HTTP PUT on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody 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 |
HttpBody | The response received from the server. |
PutResourceAsync(HttpBody, CallOptions)
public virtual AsyncUnaryCall<HttpBody> PutResourceAsync(HttpBody request, CallOptions options)
PutResource performs an HTTP PUT on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<HttpBody> | The call object. |
PutResourceAsync(HttpBody, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<HttpBody> PutResourceAsync(HttpBody request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
PutResource performs an HTTP PUT on the Kubernetes API Server.
Parameters | |
---|---|
Name | Description |
request | HttpBody 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<HttpBody> | The call object. |