src/v3/uptime_check_service_client.js
/**
   * Deletes an uptime check configuration. Note that this method will fail
   * if the uptime check configuration is referenced by an alert policy or
   * other dependent configs that would be rendered invalid by the deletion.
   *
   * @param {Object} request
   *   The request object that will be sent.
   * @param {string} request.name
   *   The uptime check configuration to delete. The format is
   *
   *     `projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID]`.
   * @param {Object=} options
   *   Optional parameters. You can override the default settings for this call, e.g, timeout,
   *   retries, paginations, etc. See [gax.CallOptions]{@link https://googleapis.github.io/gax-nodejs/global.html#CallOptions} for the details.
   * @param {function(?Error)=} callback
   *   The function which will be called with the result of the API call.
   * @returns {Promise} - The promise which resolves when API call finishes.
   *   The promise has a method named "cancel" which cancels the ongoing API call.
   *
   * @example
   *
   * const monitoring = require('@google-cloud/monitoring');
   *
   * var client = new monitoring.v3.UptimeCheckServiceClient({
   *   // optional auth parameters.
   * });
   *
   * var formattedName = client.uptimeCheckConfigPath('[PROJECT]', '[UPTIME_CHECK_CONFIG]');
   * client.deleteUptimeCheckConfig({name: formattedName}).catch(err => {
   *   console.error(err);
   * });
   */
Deletes an uptime check configuration. Note that this method will fail
if the uptime check configuration is referenced by an alert policy or
other dependent configs that would be rendered invalid by the deletion.

@param {Object} request
The request object that will be sent.
@param {string} request.name
The uptime check configuration to delete. The format is



@example

const monitoring = require('@google-cloud/monitoring').

var client = new monitoring.v3.UptimeCheckServiceClient({
optional auth parameters.


Deletes an uptime check configuration . Note that this method will fail if the uptime check configuration is referenced by an alert policy or other dependent configs that would be rendered invalid by the deletion . @param { Object } request The request object that will be sent . @param { string } request . name The uptime check configuration to delete . The format is @example const monitoring = require ( ' @google - cloud / monitoring ' ) . var client = new monitoring . v3 . UptimeCheckServiceClient ( { optional auth parameters .
deleteUptimeCheckConfig(request, options, callback) {
    if (options instanceof Function && callback === undefined) {
      callback = options;
      options = {};
    }
    options = options || {};
    return this._innerApiCalls.deleteUptimeCheckConfig(
      request,
      options,
      callback
    );
  }
deleteUptimeCheckConfig ( request , options , callback ) { if ( options instanceof Function && callback === undefined ) { callback = options ; options = { } ; } options = options || { } ; return this . _innerApiCalls . deleteUptimeCheckConfig ( request , options , callback ) ; }
Deletes an uptime check configuration.
Deletes an uptime check configuration .