Show / Hide Table of Contents

Class UsersResource.SessionsResource.ListRequest

Lists sessions previously created.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ListSessionsResponse>
FitnessBaseServiceRequest<ListSessionsResponse>
UsersResource.SessionsResource.ListRequest
Implements
IClientServiceRequest<ListSessionsResponse>
IClientServiceRequest
Inherited Members
FitnessBaseServiceRequest<ListSessionsResponse>.Xgafv
FitnessBaseServiceRequest<ListSessionsResponse>.AccessToken
FitnessBaseServiceRequest<ListSessionsResponse>.Alt
FitnessBaseServiceRequest<ListSessionsResponse>.Callback
FitnessBaseServiceRequest<ListSessionsResponse>.Fields
FitnessBaseServiceRequest<ListSessionsResponse>.Key
FitnessBaseServiceRequest<ListSessionsResponse>.OauthToken
FitnessBaseServiceRequest<ListSessionsResponse>.PrettyPrint
FitnessBaseServiceRequest<ListSessionsResponse>.QuotaUser
FitnessBaseServiceRequest<ListSessionsResponse>.UploadType
FitnessBaseServiceRequest<ListSessionsResponse>.UploadProtocol
ClientServiceRequest<ListSessionsResponse>.Execute()
ClientServiceRequest<ListSessionsResponse>.ExecuteAsStream()
ClientServiceRequest<ListSessionsResponse>.ExecuteAsync()
ClientServiceRequest<ListSessionsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListSessionsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListSessionsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListSessionsResponse>.CreateRequest(bool?)
ClientServiceRequest<ListSessionsResponse>.GenerateRequestUri()
ClientServiceRequest<ListSessionsResponse>.GetBody()
ClientServiceRequest<ListSessionsResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ListSessionsResponse>.ETagAction
ClientServiceRequest<ListSessionsResponse>.ModifyRequest
ClientServiceRequest<ListSessionsResponse>.ValidateParameters
ClientServiceRequest<ListSessionsResponse>.ApiVersion
ClientServiceRequest<ListSessionsResponse>.RequestParameters
ClientServiceRequest<ListSessionsResponse>.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.SessionsResource.ListRequest : FitnessBaseServiceRequest<ListSessionsResponse>, IClientServiceRequest<ListSessionsResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService, string)

Constructs a new List request.

Declaration
public ListRequest(IClientService service, string userId)
Parameters
Type Name Description
IClientService service
string userId

Properties

ActivityType

If non-empty, only sessions with these activity types should be returned.

Declaration
[RequestParameter("activityType", RequestParameterType.Query)]
public virtual Repeatable<string> ActivityType { get; set; }
Property Value
Type Description
Repeatable<string>

EndTime

An RFC3339 timestamp. Only sessions ending between the start and end times will be included in the response. If this time is omitted but startTime is specified, all sessions from startTime to the end of time will be returned.

Declaration
[RequestParameter("endTime", RequestParameterType.Query)]
public virtual string EndTime { get; set; }
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.ListSessionsResponse>.HttpMethod

IncludeDeleted

If true, and if both startTime and endTime are omitted, session deletions will be returned.

Declaration
[RequestParameter("includeDeleted", RequestParameterType.Query)]
public virtual bool? IncludeDeleted { get; set; }
Property Value
Type Description
bool?

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.ListSessionsResponse>.MethodName

PageToken

The continuation token, which is used for incremental syncing. To get the next batch of changes, set this parameter to the value of nextPageToken from the previous response. The page token is ignored if either start or end time is specified. If none of start time, end time, and the page token is specified, sessions modified in the last 30 days are returned.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

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.ListSessionsResponse>.RestPath

StartTime

An RFC3339 timestamp. Only sessions ending between the start and end times will be included in the response. If this time is omitted but endTime is specified, all sessions from the start of time up to endTime will be returned.

Declaration
[RequestParameter("startTime", RequestParameterType.Query)]
public virtual string StartTime { get; set; }
Property Value
Type Description
string

UserId

List sessions 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 List parameter list.

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

Implements

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