Show / Hide Table of Contents

Class CreateSubscriptionPayload

Payload for creating a subscription.

Inheritance
object
CreateSubscriptionPayload
Implements
IMessage<CreateSubscriptionPayload>
IEquatable<CreateSubscriptionPayload>
IDeepCloneable<CreateSubscriptionPayload>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class CreateSubscriptionPayload : IMessage<CreateSubscriptionPayload>, IEquatable<CreateSubscriptionPayload>, IDeepCloneable<CreateSubscriptionPayload>, IBufferMessage, IMessage

Constructors

CreateSubscriptionPayload()

Declaration
public CreateSubscriptionPayload()

CreateSubscriptionPayload(CreateSubscriptionPayload)

Declaration
public CreateSubscriptionPayload(CreateSubscriptionPayload other)
Parameters
Type Name Description
CreateSubscriptionPayload other

Properties

DataTypes

Optional. Data types subscribed to.

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>

User

Required. Immutable. The resource name of the user for whom this subscription is active. Format: users/{user} where {user} is the public healthUserId as returned by the GetIdentity action in the profile PAPI (see google.devicesandservices.health.v4main.HealthProfileService.GetIdentity).

Declaration
public string User { get; set; }
Property Value
Type Description
string

UserAsUserName

UserName-typed view over the User resource name property.

Declaration
public UserName UserAsUserName { get; set; }
Property Value
Type Description
UserName
In this article
Back to top Generated by DocFX