Class Subscriber
-- Resource Messages -- A subscriber receives notifications from Google Health API.
Implements
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class Subscriber : IMessage<Subscriber>, IEquatable<Subscriber>, IDeepCloneable<Subscriber>, IBufferMessage, IMessage
Constructors
Subscriber()
Declaration
public Subscriber()
Subscriber(Subscriber)
Declaration
public Subscriber(Subscriber other)
Parameters
| Type | Name | Description |
|---|---|---|
| Subscriber | other |
Properties
CreateTime
Output only. The time at which the subscriber was created.
Declaration
public Timestamp CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
EndpointAuthorization
Required. Authorization mechanism for a subscriber endpoint. This is required to ensure the endpoint can be verified.
Declaration
public EndpointAuthorization EndpointAuthorization { get; set; }
Property Value
| Type | Description |
|---|---|
| EndpointAuthorization |
EndpointUri
Required. The full HTTPS URI where update notifications will be sent. The URI must be a valid URL and use HTTPS as the scheme. This endpoint will be verified during CreateSubscriber and UpdateSubscriber calls. See RPC documentation for verification details.
Declaration
public string EndpointUri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Identifier. The resource name of the Subscriber. Format: projects/{project}/subscribers/{subscriber} The {project} ID is a Google Cloud Project ID or Project Number. The {subscriber} ID is user-settable (4-36 characters, matching /a-z/) if provided during creation, or system-generated otherwise (e.g., a UUID). Example (User-settable subscriber ID): projects/my-project/subscribers/my-sub-123 Example (System-generated subscriber ID): projects/my-project/subscribers/a1b2c3d4-e5f6-7890-1234-567890abcdef
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
State
Output only. The state of the subscriber.
Declaration
public Subscriber.Types.State State { get; set; }
Property Value
| Type | Description |
|---|---|
| Subscriber.Types.State |
SubscriberConfigs
Optional. Configuration for the subscriber.
Declaration
public RepeatedField<SubscriberConfig> SubscriberConfigs { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<SubscriberConfig> |
SubscriberName
SubscriberName-typed view over the Name resource name property.
Declaration
public SubscriberName SubscriberName { get; set; }
Property Value
| Type | Description |
|---|---|
| SubscriberName |
UpdateTime
Output only. The time at which the subscriber was last updated.
Declaration
public Timestamp UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |