Show / Hide Table of Contents

Class ProjectsResource.NotificationChannelsResource.DeleteRequest

Deletes a notification channel.Design your application to single-thread API calls that modify the state of notification channels in a single project. This includes calls to CreateNotificationChannel, DeleteNotificationChannel and UpdateNotificationChannel.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Empty>
MonitoringBaseServiceRequest<Empty>
ProjectsResource.NotificationChannelsResource.DeleteRequest
Implements
IClientServiceRequest<Empty>
IClientServiceRequest
Inherited Members
MonitoringBaseServiceRequest<Empty>.Xgafv
MonitoringBaseServiceRequest<Empty>.AccessToken
MonitoringBaseServiceRequest<Empty>.Alt
MonitoringBaseServiceRequest<Empty>.Callback
MonitoringBaseServiceRequest<Empty>.Fields
MonitoringBaseServiceRequest<Empty>.Key
MonitoringBaseServiceRequest<Empty>.OauthToken
MonitoringBaseServiceRequest<Empty>.PrettyPrint
MonitoringBaseServiceRequest<Empty>.QuotaUser
MonitoringBaseServiceRequest<Empty>.UploadType
MonitoringBaseServiceRequest<Empty>.UploadProtocol
ClientServiceRequest<Empty>.Execute()
ClientServiceRequest<Empty>.ExecuteAsStream()
ClientServiceRequest<Empty>.ExecuteAsync()
ClientServiceRequest<Empty>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Empty>.ExecuteAsStreamAsync()
ClientServiceRequest<Empty>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Empty>.CreateRequest(bool?)
ClientServiceRequest<Empty>.GenerateRequestUri()
ClientServiceRequest<Empty>.GetBody()
ClientServiceRequest<Empty>.GetDefaultETagAction(string)
ClientServiceRequest<Empty>.ETagAction
ClientServiceRequest<Empty>.ModifyRequest
ClientServiceRequest<Empty>.ValidateParameters
ClientServiceRequest<Empty>.ApiVersion
ClientServiceRequest<Empty>.RequestParameters
ClientServiceRequest<Empty>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Monitoring.v3
Assembly: Google.Apis.Monitoring.v3.dll
Syntax
public class ProjectsResource.NotificationChannelsResource.DeleteRequest : MonitoringBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest

Constructors

DeleteRequest(IClientService, string)

Constructs a new Delete request.

Declaration
public DeleteRequest(IClientService service, string name)
Parameters
Type Name Description
IClientService service
string name

Properties

Force

If true, the notification channel will be deleted regardless of its use in alert policies (the policies will be updated to remove the channel). If false, this operation will fail if the notification channel is referenced by existing alerting policies.

Declaration
[RequestParameter("force", RequestParameterType.Query)]
public virtual bool? Force { get; set; }
Property Value
Type Description
bool?

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Empty>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Empty>.MethodName

Name

Required. The channel for which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Empty>.RestPath

Methods

InitParameters()

Initializes Delete parameter list.

Declaration
protected override void InitParameters()
Overrides
MonitoringBaseServiceRequest<Empty>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX