Show / Hide Table of Contents

Class SubscriptionsResource.DeleteRequest

Deletes a Google Workspace subscription. To learn how to use this method, see Delete a Google Workspace subscription.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Operation>
WorkspaceEventsBaseServiceRequest<Operation>
SubscriptionsResource.DeleteRequest
Implements
IClientServiceRequest<Operation>
IClientServiceRequest
Inherited Members
WorkspaceEventsBaseServiceRequest<Operation>.Xgafv
WorkspaceEventsBaseServiceRequest<Operation>.AccessToken
WorkspaceEventsBaseServiceRequest<Operation>.Alt
WorkspaceEventsBaseServiceRequest<Operation>.Callback
WorkspaceEventsBaseServiceRequest<Operation>.Fields
WorkspaceEventsBaseServiceRequest<Operation>.Key
WorkspaceEventsBaseServiceRequest<Operation>.OauthToken
WorkspaceEventsBaseServiceRequest<Operation>.PrettyPrint
WorkspaceEventsBaseServiceRequest<Operation>.QuotaUser
WorkspaceEventsBaseServiceRequest<Operation>.UploadType
WorkspaceEventsBaseServiceRequest<Operation>.UploadProtocol
ClientServiceRequest<Operation>.Execute()
ClientServiceRequest<Operation>.ExecuteAsStream()
ClientServiceRequest<Operation>.ExecuteAsync()
ClientServiceRequest<Operation>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Operation>.ExecuteAsStreamAsync()
ClientServiceRequest<Operation>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Operation>.CreateRequest(bool?)
ClientServiceRequest<Operation>.GenerateRequestUri()
ClientServiceRequest<Operation>.GetBody()
ClientServiceRequest<Operation>.GetDefaultETagAction(string)
ClientServiceRequest<Operation>.ETagAction
ClientServiceRequest<Operation>.ModifyRequest
ClientServiceRequest<Operation>.ValidateParameters
ClientServiceRequest<Operation>.ApiVersion
ClientServiceRequest<Operation>.RequestParameters
ClientServiceRequest<Operation>.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.WorkspaceEvents.v1
Assembly: Google.Apis.WorkspaceEvents.v1.dll
Syntax
public class SubscriptionsResource.DeleteRequest : WorkspaceEventsBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, 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

AllowMissing

Optional. If set to true and the subscription isn't found, the request succeeds but doesn't delete the subscription.

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

Etag

Optional. Etag of the subscription. If present, it must match with the server's etag. Otherwise, request fails with the status ABORTED.

Declaration
[RequestParameter("etag", RequestParameterType.Query)]
public virtual string Etag { get; set; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

Required. Resource name of the subscription to delete. Format: subscriptions/{subscription}

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<Operation>.RestPath

ValidateOnly

Optional. If set to true, validates and previews the request, but doesn't delete the subscription.

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

Methods

InitParameters()

Initializes Delete parameter list.

Declaration
protected override void InitParameters()
Overrides
WorkspaceEventsBaseServiceRequest<Operation>.InitParameters()

Implements

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