Show / Hide Table of Contents

Class CreateSubscriptionRequest

Request message for CreateSubscription.

Inheritance
object
CreateSubscriptionRequest
Implements
IMessage<CreateSubscriptionRequest>
IEquatable<CreateSubscriptionRequest>
IDeepCloneable<CreateSubscriptionRequest>
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 CreateSubscriptionRequest : IMessage<CreateSubscriptionRequest>, IEquatable<CreateSubscriptionRequest>, IDeepCloneable<CreateSubscriptionRequest>, IBufferMessage, IMessage

Constructors

CreateSubscriptionRequest()

Declaration
public CreateSubscriptionRequest()

CreateSubscriptionRequest(CreateSubscriptionRequest)

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

Properties

Parent

Required. The parent subscriber. Format: projects/{project}/subscribers/{subscriber} The {subscriber} ID is user-settable (4-36 characters, matching /a-z/) if provided during creation, or system-generated otherwise.

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

ParentAsSubscriberName

SubscriberName-typed view over the Parent resource name property.

Declaration
public SubscriberName ParentAsSubscriberName { get; set; }
Property Value
Type Description
SubscriberName

Subscription

Required. The subscription to create.

Declaration
public CreateSubscriptionPayload Subscription { get; set; }
Property Value
Type Description
CreateSubscriptionPayload

SubscriptionId

Optional. The {subscription_id} is user-settable (4-36 chars, matching /a-z/) or system-generated otherwise. If provided, the ID must be unique within the parent subscriber.

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