Class SubscriberConfig
Configuration for a subscriber. A notification is sent to a subscription ONLY if the subscriber has a config for the data type.
Implements
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class SubscriberConfig : IMessage<SubscriberConfig>, IEquatable<SubscriberConfig>, IDeepCloneable<SubscriberConfig>, IBufferMessage, IMessage
Constructors
SubscriberConfig()
Declaration
public SubscriberConfig()
SubscriberConfig(SubscriberConfig)
Declaration
public SubscriberConfig(SubscriberConfig other)
Parameters
| Type | Name | Description |
|---|---|---|
| SubscriberConfig | other |
Properties
DataTypes
Required. See Google Health API data types for the list of supported data types. Values should be in kebab-case.
Declaration
public RepeatedField<string> DataTypes { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
DataTypesAsDataTypeNames
DataTypeName-typed view over the DataTypes resource name property.
Declaration
public ResourceNameList<DataTypeName> DataTypesAsDataTypeNames { get; }
Property Value
| Type | Description |
|---|---|
| ResourceNameList<DataTypeName> |
SubscriptionCreatePolicy
Required. Policy for subscription creation.
Declaration
public SubscriberConfig.Types.SubscriptionCreatePolicy SubscriptionCreatePolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| SubscriberConfig.Types.SubscriptionCreatePolicy |