public class RegionNotificationEndpointsClient : ClientBase<RegionNotificationEndpoints.RegionNotificationEndpointsClient>
Client for RegionNotificationEndpoints
Inheritance
Object > ClientBase > ClientBase<RegionNotificationEndpoints.RegionNotificationEndpointsClient> > RegionNotificationEndpoints.RegionNotificationEndpointsClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
RegionNotificationEndpointsClient()
protected RegionNotificationEndpointsClient()
Protected parameterless constructor to allow creation of test doubles.
RegionNotificationEndpointsClient(CallInvoker)
public RegionNotificationEndpointsClient(CallInvoker callInvoker)
Creates a new client for RegionNotificationEndpoints that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
RegionNotificationEndpointsClient(ChannelBase)
public RegionNotificationEndpointsClient(ChannelBase channel)
Creates a new client for RegionNotificationEndpoints
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
RegionNotificationEndpointsClient(ClientBase.ClientBaseConfiguration)
protected RegionNotificationEndpointsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CreateOperationsClientForRegionOperations()
public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.
Returns | |
---|---|
Type | Description |
Operations.OperationsClient | A new Operations client for the same target as this client. |
Delete(DeleteRegionNotificationEndpointRequest, CallOptions)
public virtual Operation Delete(DeleteRegionNotificationEndpointRequest request, CallOptions options)
Deletes the specified NotificationEndpoint in the given region
Parameters | |
---|---|
Name | Description |
request | DeleteRegionNotificationEndpointRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Delete(DeleteRegionNotificationEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Delete(DeleteRegionNotificationEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified NotificationEndpoint in the given region
Parameters | |
---|---|
Name | Description |
request | DeleteRegionNotificationEndpointRequest 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. |
DeleteAsync(DeleteRegionNotificationEndpointRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionNotificationEndpointRequest request, CallOptions options)
Deletes the specified NotificationEndpoint in the given region
Parameters | |
---|---|
Name | Description |
request | DeleteRegionNotificationEndpointRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeleteAsync(DeleteRegionNotificationEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionNotificationEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified NotificationEndpoint in the given region
Parameters | |
---|---|
Name | Description |
request | DeleteRegionNotificationEndpointRequest 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. |
Get(GetRegionNotificationEndpointRequest, CallOptions)
public virtual NotificationEndpoint Get(GetRegionNotificationEndpointRequest request, CallOptions options)
Returns the specified NotificationEndpoint resource in the given region.
Parameters | |
---|---|
Name | Description |
request | GetRegionNotificationEndpointRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
NotificationEndpoint | The response received from the server. |
Get(GetRegionNotificationEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual NotificationEndpoint Get(GetRegionNotificationEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns the specified NotificationEndpoint resource in the given region.
Parameters | |
---|---|
Name | Description |
request | GetRegionNotificationEndpointRequest 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 |
NotificationEndpoint | The response received from the server. |
GetAsync(GetRegionNotificationEndpointRequest, CallOptions)
public virtual AsyncUnaryCall<NotificationEndpoint> GetAsync(GetRegionNotificationEndpointRequest request, CallOptions options)
Returns the specified NotificationEndpoint resource in the given region.
Parameters | |
---|---|
Name | Description |
request | GetRegionNotificationEndpointRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<NotificationEndpoint> | The call object. |
GetAsync(GetRegionNotificationEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<NotificationEndpoint> GetAsync(GetRegionNotificationEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns the specified NotificationEndpoint resource in the given region.
Parameters | |
---|---|
Name | Description |
request | GetRegionNotificationEndpointRequest 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<NotificationEndpoint> | The call object. |
Insert(InsertRegionNotificationEndpointRequest, CallOptions)
public virtual Operation Insert(InsertRegionNotificationEndpointRequest request, CallOptions options)
Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertRegionNotificationEndpointRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Insert(InsertRegionNotificationEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Insert(InsertRegionNotificationEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertRegionNotificationEndpointRequest 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. |
InsertAsync(InsertRegionNotificationEndpointRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionNotificationEndpointRequest request, CallOptions options)
Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertRegionNotificationEndpointRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
InsertAsync(InsertRegionNotificationEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionNotificationEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertRegionNotificationEndpointRequest 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. |
List(ListRegionNotificationEndpointsRequest, CallOptions)
public virtual NotificationEndpointList List(ListRegionNotificationEndpointsRequest request, CallOptions options)
Lists the NotificationEndpoints for a project in the given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionNotificationEndpointsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
NotificationEndpointList | The response received from the server. |
List(ListRegionNotificationEndpointsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual NotificationEndpointList List(ListRegionNotificationEndpointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists the NotificationEndpoints for a project in the given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionNotificationEndpointsRequest 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 |
NotificationEndpointList | The response received from the server. |
ListAsync(ListRegionNotificationEndpointsRequest, CallOptions)
public virtual AsyncUnaryCall<NotificationEndpointList> ListAsync(ListRegionNotificationEndpointsRequest request, CallOptions options)
Lists the NotificationEndpoints for a project in the given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionNotificationEndpointsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<NotificationEndpointList> | The call object. |
ListAsync(ListRegionNotificationEndpointsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<NotificationEndpointList> ListAsync(ListRegionNotificationEndpointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists the NotificationEndpoints for a project in the given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionNotificationEndpointsRequest 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<NotificationEndpointList> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override RegionNotificationEndpoints.RegionNotificationEndpointsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
RegionNotificationEndpoints.RegionNotificationEndpointsClient |