SDK reference / Models / Push
PushDevice
Kind: class
Namespace: Egulu.Sdk.Models.Push
A device registered for push. A token is never read back in full.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
AlreadyRegistered | bool? | alreadyRegistered | True when the registration matched a device that was already registered (the labels were updated). |
CreateTime | DateTimeOffset? | createTime | The createTime property |
EndpointHost | string? | endpointHost | For WEB: the host of the push service. |
KeyVersion | int? | keyVersion | For WEB: the version of the VAPID key the browser subscribed with. |
LastAcceptTime | DateTimeOffset? | lastAcceptTime | The lastAcceptTime property |
Locale | string? | locale | The locale property |
Name | string? | name | projects/{project}/locations/{location}/pushApplications/{pushApplication}/devices/{device}. |
Platform | string? | platform | The platform property |
State | Models.Push.PushDeviceState? | state | The state of a device registration. |
Tags | List<string>? | tags | The tags property |
TokenSuffix | string? | tokenSuffix | The last six characters of the token or endpoint. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |
UserId | string? | userId | The userId property |