Class UpdateSubscriptionRequest
The request message for [SubscriptionsService.UpdateSubscription][google.apps.events.subscriptions.v1beta.SubscriptionsService.UpdateSubscription].
Implements
Namespace: Google.Apps.Events.Subscriptions.V1Beta
Assembly: Google.Apps.Events.Subscriptions.V1Beta.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. The field to update. If omitted, updates any fields included in the request.
You can update one of the following fields in a subscription:
- [
expire_time][google.apps.events.subscriptions.v1beta.Subscription.expire_time]: The timestamp when the subscription expires. - [
ttl][google.apps.events.subscriptions.v1beta.Subscription.ttl]: The time-to-live (TTL) or duration of the subscription. - [
event_types][google.apps.events.subscriptions.v1beta.Subscription.event_types]: The list of event types to receive about the target resource.
To fully replace the subscription (the equivalent of PUT), use *. Any
omitted fields are updated with empty values.
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 |