Class UpdateSubscriptionRequest
The request message for [SubscriptionsService.UpdateSubscription][google.apps.events.subscriptions.v1.SubscriptionsService.UpdateSubscription].
Implements
Namespace: Google.Apps.Events.Subscriptions.V1
Assembly: Google.Apps.Events.Subscriptions.V1.dll
Syntax
public sealed class UpdateSubscriptionRequest : IMessage<UpdateSubscriptionRequest>, IEquatable<UpdateSubscriptionRequest>, IDeepCloneable<UpdateSubscriptionRequest>, IBufferMessage, IMessage
Constructors
UpdateSubscriptionRequest()
Declaration
public UpdateSubscriptionRequest()
UpdateSubscriptionRequest(UpdateSubscriptionRequest)
Declaration
public UpdateSubscriptionRequest(UpdateSubscriptionRequest other)
Parameters
Type | Name | Description |
---|---|---|
UpdateSubscriptionRequest | other |
Properties
Subscription
Required. The subscription to update.
The subscription's name
field is used to identify the subscription to
update.
Declaration
public Subscription Subscription { get; set; }
Property Value
Type | Description |
---|---|
Subscription |
UpdateMask
Optional. Required. The field to update.
You can update one of the following fields in a subscription:
- [
expire_time
][google.apps.events.subscriptions.v1.Subscription.expire_time]: The timestamp when the subscription expires. - [
ttl
][google.apps.events.subscriptions.v1.Subscription.ttl]: The time-to-live (TTL) or duration of the subscription.
Declaration
public FieldMask UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
FieldMask |
ValidateOnly
Optional. If set to true
, validates and previews the request, but doesn't
update the subscription.
Declaration
public bool ValidateOnly { get; set; }
Property Value
Type | Description |
---|---|
bool |