Class CreateSubscriptionRequest
The request message for [SubscriptionsService.CreateSubscription][google.apps.events.subscriptions.v1.SubscriptionsService.CreateSubscription].
Implements
Namespace: Google.Apps.Events.Subscriptions.V1
Assembly: Google.Apps.Events.Subscriptions.V1.dll
Syntax
public sealed class CreateSubscriptionRequest : IMessage<CreateSubscriptionRequest>, IEquatable<CreateSubscriptionRequest>, IDeepCloneable<CreateSubscriptionRequest>, IBufferMessage, IMessage
Constructors
CreateSubscriptionRequest()
Declaration
public CreateSubscriptionRequest()
CreateSubscriptionRequest(CreateSubscriptionRequest)
Declaration
public CreateSubscriptionRequest(CreateSubscriptionRequest other)
Parameters
Type | Name | Description |
---|---|---|
CreateSubscriptionRequest | other |
Properties
Subscription
Required. The subscription resource to create.
Declaration
public Subscription Subscription { get; set; }
Property Value
Type | Description |
---|---|
Subscription |
ValidateOnly
Optional. If set to true
, validates and previews the request, but doesn't
create the subscription.
Declaration
public bool ValidateOnly { get; set; }
Property Value
Type | Description |
---|---|
bool |