Class DeleteSubscriptionRequest
The request message for [SubscriptionsService.DeleteSubscription][google.apps.events.subscriptions.v1.SubscriptionsService.DeleteSubscription].
Implements
Namespace: Google.Apps.Events.Subscriptions.V1
Assembly: Google.Apps.Events.Subscriptions.V1.dll
Syntax
public sealed class DeleteSubscriptionRequest : IMessage<DeleteSubscriptionRequest>, IEquatable<DeleteSubscriptionRequest>, IDeepCloneable<DeleteSubscriptionRequest>, IBufferMessage, IMessage
Constructors
DeleteSubscriptionRequest()
Declaration
public DeleteSubscriptionRequest()
DeleteSubscriptionRequest(DeleteSubscriptionRequest)
Declaration
public DeleteSubscriptionRequest(DeleteSubscriptionRequest other)
Parameters
Type | Name | Description |
---|---|---|
DeleteSubscriptionRequest | other |
Properties
AllowMissing
Optional. If set to true
and the subscription isn't found, the request
succeeds but doesn't delete the subscription.
Declaration
public 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
public string Etag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Required. Resource name of the subscription to delete.
Format: subscriptions/{subscription}
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
SubscriptionName
SubscriptionName-typed view over the Name resource name property.
Declaration
public SubscriptionName SubscriptionName { get; set; }
Property Value
Type | Description |
---|---|
SubscriptionName |
ValidateOnly
Optional. If set to true
, validates and previews the request, but doesn't
delete the subscription.
Declaration
public bool ValidateOnly { get; set; }
Property Value
Type | Description |
---|---|
bool |