/// <summary> /// Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request. /// </summary> /// <param name="request">The request object containing all of the parameters for the API call.</param> /// <param name="callSettings">If not null, applies overrides to this RPC call.</param> /// <returns>The RPC response.</returns> public virtual Operation Insert(InsertRegionNotificationEndpointRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();
partial void Modify_InsertRegionNotificationEndpointRequest(ref InsertRegionNotificationEndpointRequest request, ref gaxgrpc::CallSettings settings);
/// <summary> /// Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request. /// </summary> /// <param name="request">The request object containing all of the parameters for the API call.</param> /// <param name="callSettings">If not null, applies overrides to this RPC call.</param> /// <returns>A Task containing the RPC response.</returns> public override stt::Task <Operation> InsertAsync(InsertRegionNotificationEndpointRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_InsertRegionNotificationEndpointRequest(ref request, ref callSettings); return(_callInsert.Async(request, callSettings)); }
/// <summary> /// Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request. /// </summary> /// <param name="request">The request object containing all of the parameters for the API call.</param> /// <param name="cancellationToken">A <see cref="st::CancellationToken"/> to use for this RPC.</param> /// <returns>A Task containing the RPC response.</returns> public virtual stt::Task <Operation> InsertAsync(InsertRegionNotificationEndpointRequest request, st::CancellationToken cancellationToken) => InsertAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));