Show / Hide Table of Contents

Class BatchDeleteDataPointsRequest

Request to delete a batch of identifiable data points.

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

Constructors

BatchDeleteDataPointsRequest()

Declaration
public BatchDeleteDataPointsRequest()

BatchDeleteDataPointsRequest(BatchDeleteDataPointsRequest)

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

Properties

DataPointNames

DataPointName-typed view over the Names resource name property.

Declaration
public ResourceNameList<DataPointName> DataPointNames { get; }
Property Value
Type Description
ResourceNameList<DataPointName>

Names

Required. The names of the DataPoints to delete. A maximum of 10000 data points can be deleted in a single request.

Declaration
public RepeatedField<string> Names { get; }
Property Value
Type Description
RepeatedField<string>

Parent

Optional. Parent (data type) for the Data Point collection

Format: users/{user}/dataTypes/{data_type}, e.g.:

  • users/me/dataTypes/steps
  • users/1234567890/dataTypes/steps
  • users/me/dataTypes/-
  • users/1234567890/dataTypes/-

The {user} can be either the alias me or the authenticated user's numeric Health User ID (retrieved via [GetIdentity][google.devicesandservices.health.v4beta.HealthProfileService.GetIdentity]).

For a list of the supported data types see the [DataPoint data][google.devicesandservices.health.v4beta.DataPoint] union field.

Deleting data points across multiple data type collections is supported following https://aip.dev/159.

If this is set, the parent of all of the data points specified in names must match this field.

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

ParentAsDataTypeName

DataTypeName-typed view over the Parent resource name property.

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