Show / Hide Table of Contents

Class UsersResource.DataSourcesResource.DatasetsResource.DeleteRequest

Performs an inclusive delete of all data points whose start and end times have any overlap with the time range specified by the dataset ID. For most data types, the entire data point will be deleted. For data types where the time span represents a consistent value (such as com.google.activity.segment), and a data point straddles either end point of the dataset, only the overlapping portion of the data point will be deleted.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<string>
FitnessBaseServiceRequest<string>
UsersResource.DataSourcesResource.DatasetsResource.DeleteRequest
Implements
IClientServiceRequest<string>
IClientServiceRequest
Inherited Members
FitnessBaseServiceRequest<string>.Xgafv
FitnessBaseServiceRequest<string>.AccessToken
FitnessBaseServiceRequest<string>.Alt
FitnessBaseServiceRequest<string>.Callback
FitnessBaseServiceRequest<string>.Fields
FitnessBaseServiceRequest<string>.Key
FitnessBaseServiceRequest<string>.OauthToken
FitnessBaseServiceRequest<string>.PrettyPrint
FitnessBaseServiceRequest<string>.QuotaUser
FitnessBaseServiceRequest<string>.UploadType
FitnessBaseServiceRequest<string>.UploadProtocol
ClientServiceRequest<string>.Execute()
ClientServiceRequest<string>.ExecuteAsStream()
ClientServiceRequest<string>.ExecuteAsync()
ClientServiceRequest<string>.ExecuteAsync(CancellationToken)
ClientServiceRequest<string>.ExecuteAsStreamAsync()
ClientServiceRequest<string>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<string>.CreateRequest(bool?)
ClientServiceRequest<string>.GenerateRequestUri()
ClientServiceRequest<string>.GetBody()
ClientServiceRequest<string>.GetDefaultETagAction(string)
ClientServiceRequest<string>.ETagAction
ClientServiceRequest<string>.ModifyRequest
ClientServiceRequest<string>.ValidateParameters
ClientServiceRequest<string>.ApiVersion
ClientServiceRequest<string>.RequestParameters
ClientServiceRequest<string>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Fitness.v1
Assembly: Google.Apis.Fitness.v1.dll
Syntax
public class UsersResource.DataSourcesResource.DatasetsResource.DeleteRequest : FitnessBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest

Constructors

DeleteRequest(IClientService, string, string, string)

Constructs a new Delete request.

Declaration
public DeleteRequest(IClientService service, string userId, string dataSourceId, string datasetId)
Parameters
Type Name Description
IClientService service
string userId
string dataSourceId
string datasetId

Properties

DataSourceId

The data stream ID of the data source that created the dataset.

Declaration
[RequestParameter("dataSourceId", RequestParameterType.Path)]
public virtual string DataSourceId { get; }
Property Value
Type Description
string

DatasetId

Dataset identifier that is a composite of the minimum data point start time and maximum data point end time represented as nanoseconds from the epoch. The ID is formatted like: "startTime-endTime" where startTime and endTime are 64 bit integers.

Declaration
[RequestParameter("datasetId", RequestParameterType.Path)]
public virtual string DatasetId { get; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<string>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<string>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<string>.RestPath

UserId

Delete a dataset for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.

Declaration
[RequestParameter("userId", RequestParameterType.Path)]
public virtual string UserId { get; }
Property Value
Type Description
string

Methods

InitParameters()

Initializes Delete parameter list.

Declaration
protected override void InitParameters()
Overrides
FitnessBaseServiceRequest<string>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX