Compute Engine v1 API - Class RegionNotificationEndpoints.RegionNotificationEndpointsClient (2.15.0)

public class RegionNotificationEndpoints.RegionNotificationEndpointsClient : ClientBase<RegionNotificationEndpoints.RegionNotificationEndpointsClient>

Reference documentation and code samples for the Compute Engine v1 API class RegionNotificationEndpoints.RegionNotificationEndpointsClient.

Client for RegionNotificationEndpoints

Inheritance

object > ClientBase > ClientBaseRegionNotificationEndpointsRegionNotificationEndpointsClient > RegionNotificationEndpoints.RegionNotificationEndpointsClient

Namespace

Google.Cloud.Compute.V1

Assembly

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(ClientBaseConfiguration)

protected RegionNotificationEndpointsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

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
OperationsOperationsClient

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, DateTime?, CancellationToken)

public virtual Operation Delete(DeleteRegionNotificationEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 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
AsyncUnaryCallOperation

The call object.

DeleteAsync(DeleteRegionNotificationEndpointRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionNotificationEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 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
AsyncUnaryCallOperation

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, DateTime?, CancellationToken)

public virtual NotificationEndpoint Get(GetRegionNotificationEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 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
AsyncUnaryCallNotificationEndpoint

The call object.

GetAsync(GetRegionNotificationEndpointRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<NotificationEndpoint> GetAsync(GetRegionNotificationEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 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
AsyncUnaryCallNotificationEndpoint

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, DateTime?, CancellationToken)

public virtual Operation Insert(InsertRegionNotificationEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 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
AsyncUnaryCallOperation

The call object.

InsertAsync(InsertRegionNotificationEndpointRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionNotificationEndpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 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
AsyncUnaryCallOperation

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, DateTime?, CancellationToken)

public virtual NotificationEndpointList List(ListRegionNotificationEndpointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 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
AsyncUnaryCallNotificationEndpointList

The call object.

ListAsync(ListRegionNotificationEndpointsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<NotificationEndpointList> ListAsync(ListRegionNotificationEndpointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 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
AsyncUnaryCallNotificationEndpointList

The call object.

NewInstance(ClientBaseConfiguration)

protected override RegionNotificationEndpoints.RegionNotificationEndpointsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
RegionNotificationEndpointsRegionNotificationEndpointsClient
Overrides