public sealed class RegionNotificationEndpointsClientImpl : RegionNotificationEndpointsClient
Reference documentation and code samples for the Compute Engine v1 API class RegionNotificationEndpointsClientImpl.
RegionNotificationEndpoints client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The RegionNotificationEndpoints API.
Constructors
RegionNotificationEndpointsClientImpl(RegionNotificationEndpoints.RegionNotificationEndpointsClient, RegionNotificationEndpointsSettings, ILogger)
public RegionNotificationEndpointsClientImpl(RegionNotificationEndpoints.RegionNotificationEndpointsClient grpcClient, RegionNotificationEndpointsSettings settings, ILogger logger)
Constructs a client wrapper for the RegionNotificationEndpoints service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | RegionNotificationEndpoints.RegionNotificationEndpointsClient The underlying gRPC client. |
settings | RegionNotificationEndpointsSettings The base RegionNotificationEndpointsSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
DeleteOperationsClient
public override OperationsClient DeleteOperationsClient { get; }
The long-running operations client for Delete
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override RegionNotificationEndpoints.RegionNotificationEndpointsClient GrpcClient { get; }
The underlying gRPC RegionNotificationEndpoints client
Property Value | |
---|---|
Type | Description |
RegionNotificationEndpoints.RegionNotificationEndpointsClient |
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }
The long-running operations client for Insert
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
Delete(DeleteRegionNotificationEndpointRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteRegionNotificationEndpointRequest request, CallSettings callSettings = null)
Deletes the specified NotificationEndpoint in the given region
Parameters | |
---|---|
Name | Description |
request | DeleteRegionNotificationEndpointRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
DeleteAsync(DeleteRegionNotificationEndpointRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> DeleteAsync(DeleteRegionNotificationEndpointRequest request, CallSettings callSettings = null)
Deletes the specified NotificationEndpoint in the given region
Parameters | |
---|---|
Name | Description |
request | DeleteRegionNotificationEndpointRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
Get(GetRegionNotificationEndpointRequest, CallSettings)
public override NotificationEndpoint Get(GetRegionNotificationEndpointRequest request, CallSettings callSettings = null)
Returns the specified NotificationEndpoint resource in the given region.
Parameters | |
---|---|
Name | Description |
request | GetRegionNotificationEndpointRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
NotificationEndpoint | The RPC response. |
GetAsync(GetRegionNotificationEndpointRequest, CallSettings)
public override Task<NotificationEndpoint> GetAsync(GetRegionNotificationEndpointRequest request, CallSettings callSettings = null)
Returns the specified NotificationEndpoint resource in the given region.
Parameters | |
---|---|
Name | Description |
request | GetRegionNotificationEndpointRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<NotificationEndpoint> | A Task containing the RPC response. |
Insert(InsertRegionNotificationEndpointRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertRegionNotificationEndpointRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
InsertAsync(InsertRegionNotificationEndpointRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> InsertAsync(InsertRegionNotificationEndpointRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
List(ListRegionNotificationEndpointsRequest, CallSettings)
public override PagedEnumerable<NotificationEndpointList, NotificationEndpoint> List(ListRegionNotificationEndpointsRequest request, CallSettings callSettings = null)
Lists the NotificationEndpoints for a project in the given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionNotificationEndpointsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<NotificationEndpointList, NotificationEndpoint> | A pageable sequence of NotificationEndpoint resources. |
ListAsync(ListRegionNotificationEndpointsRequest, CallSettings)
public override PagedAsyncEnumerable<NotificationEndpointList, NotificationEndpoint> ListAsync(ListRegionNotificationEndpointsRequest request, CallSettings callSettings = null)
Lists the NotificationEndpoints for a project in the given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionNotificationEndpointsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<NotificationEndpointList, NotificationEndpoint> | A pageable asynchronous sequence of NotificationEndpoint resources. |