Class UsersResource.DataSourcesResource.DeleteRequest
Deletes the specified data source. The request will fail if the data source contains any data points.
Inheritance
UsersResource.DataSourcesResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.Fitness.v1
Assembly: Google.Apis.Fitness.v1.dll
Syntax
public class UsersResource.DataSourcesResource.DeleteRequest : FitnessBaseServiceRequest<DataSource>, IClientServiceRequest<DataSource>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string userId, string dataSourceId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | userId | |
string | dataSourceId |
Properties
DataSourceId
The data stream ID of the data source to delete.
Declaration
[RequestParameter("dataSourceId", RequestParameterType.Path)]
public virtual string DataSourceId { 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<Google.Apis.Fitness.v1.Data.DataSource>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Fitness.v1.Data.DataSource>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Fitness.v1.Data.DataSource>.RestPath
UserId
Retrieve a data source 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()