Class UsersResource.DataSourcesResource.GetRequest
Returns the specified data source.
Inheritance
UsersResource.DataSourcesResource.GetRequest
Inherited Members
Namespace: Google.Apis.Fitness.v1
Assembly: Google.Apis.Fitness.v1.dll
Syntax
public class UsersResource.DataSourcesResource.GetRequest : FitnessBaseServiceRequest<DataSource>, IClientServiceRequest<DataSource>, IClientServiceRequest
Constructors
GetRequest(IClientService, string, string)
Constructs a new Get request.
Declaration
public GetRequest(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 retrieve.
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 Get parameter list.
Declaration
protected override void InitParameters()