Enum SubscriberConfig.Types.SubscriptionCreatePolicy
Policy for subscription creation.
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public enum SubscriberConfig.Types.SubscriptionCreatePolicy
Fields
| Name |
Description |
| Automatic |
When using AUTOMATIC, individual subscriptions are not created or
stored. Instead, eligibility for notifications is computed dynamically.
When a data update occurs for a given data type, notifications are sent
to all subscribers with an AUTOMATIC policy for that data type,
provided the user has granted the necessary consents.
This means you do not need to call CreateSubscription for each user;
notifications are managed automatically based on user consents. As
Subscription resources are not stored, they cannot be retrieved or
managed through GetSubscription, ListSubscriptions,
UpdateSubscription, or DeleteSubscription.
|
| Manual |
Requires subscriptions to be created manually for new users.
The developer needs to call CreateSubscription for new users.
|
| Unspecified |
Represents an unspecified policy.
|