Class RegionNotificationEndpoints.RegionNotificationEndpointsClient (1.1.0)

public class RegionNotificationEndpointsClient : ClientBase<RegionNotificationEndpoints.RegionNotificationEndpointsClient>

Client for RegionNotificationEndpoints

Inheritance

Object > ClientBase > ClientBase<RegionNotificationEndpoints.RegionNotificationEndpointsClient> > 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(ClientBase.ClientBaseConfiguration)

protected RegionNotificationEndpointsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.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
TypeDescription
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
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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

DeleteAsync(DeleteRegionNotificationEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<NotificationEndpoint>

The call object.

GetAsync(GetRegionNotificationEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

public virtual Operation Insert(InsertRegionNotificationEndpointRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
NameDescription
requestInsertRegionNotificationEndpointRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

InsertAsync(InsertRegionNotificationEndpointRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionNotificationEndpointRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
NameDescription
requestInsertRegionNotificationEndpointRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<NotificationEndpointList>

The call object.

ListAsync(ListRegionNotificationEndpointsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
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
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
RegionNotificationEndpoints.RegionNotificationEndpointsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.RegionNotificationEndpoints.RegionNotificationEndpointsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)