Class ListSubscriptionsRequest
Request message for ListSubscriptions.
Implements
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class ListSubscriptionsRequest : IMessage<ListSubscriptionsRequest>, IEquatable<ListSubscriptionsRequest>, IDeepCloneable<ListSubscriptionsRequest>, IBufferMessage, IMessage, IPageRequest
Constructors
ListSubscriptionsRequest()
Declaration
public ListSubscriptionsRequest()
ListSubscriptionsRequest(ListSubscriptionsRequest)
Declaration
public ListSubscriptionsRequest(ListSubscriptionsRequest other)
Parameters
| Type | Name | Description |
|---|---|---|
| ListSubscriptionsRequest | other |
Properties
Filter
Optional. A filter to apply to the list of subscriptions. The filter syntax is described in https://google.aip.dev/160. The filter can be applied to the following fields:
userdata_type
The user identifier (e.g., user1 in users/user1) refers to the public
healthUserId
Example: user = "users/user1" Example: user = "users/user1" OR user = "users/user2" Example: user = "users/user1" AND (data_type = "sleep" OR data_type = "weight")
Declaration
public string Filter { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PageSize
Optional. The maximum number of subscriptions to return. The service may return fewer than this value. If unspecified, at most 50 subscriptions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
Declaration
public int PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Implements
PageToken
Optional. A page token, received from a previous ListSubscriptions call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListSubscriptions must
match the call that provided the page token.
Declaration
public string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Implements
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 |