Compute Engine v1 API - Class RegionNotificationEndpoints.RegionNotificationEndpointsClient (2.14.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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

RegionNotificationEndpointsClient(ChannelBase)

public RegionNotificationEndpointsClient(ChannelBase channel)

Creates a new client for RegionNotificationEndpoints

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

RegionNotificationEndpointsClient(ClientBaseConfiguration)

protected RegionNotificationEndpointsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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
TypeDescription
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
NameDescription
requestDeleteRegionNotificationEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteRegionNotificationEndpointRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeleteRegionNotificationEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteRegionNotificationEndpointRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetRegionNotificationEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetRegionNotificationEndpointRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetRegionNotificationEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetRegionNotificationEndpointRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestInsertRegionNotificationEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestInsertRegionNotificationEndpointRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestInsertRegionNotificationEndpointRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestInsertRegionNotificationEndpointRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListRegionNotificationEndpointsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListRegionNotificationEndpointsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListRegionNotificationEndpointsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListRegionNotificationEndpointsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallNotificationEndpointList

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
RegionNotificationEndpointsRegionNotificationEndpointsClient
Overrides