Show / Hide Table of Contents

Class HealthProfileServiceClientImpl

HealthProfileService client wrapper implementation, for convenient use.

Inheritance
object
HealthProfileServiceClient
HealthProfileServiceClientImpl
Inherited Members
HealthProfileServiceClient.DefaultEndpoint
HealthProfileServiceClient.DefaultScopes
HealthProfileServiceClient.ServiceMetadata
HealthProfileServiceClient.CreateAsync(CancellationToken)
HealthProfileServiceClient.Create()
HealthProfileServiceClient.ShutdownDefaultChannelsAsync()
HealthProfileServiceClient.GetProfileAsync(GetProfileRequest, CancellationToken)
HealthProfileServiceClient.GetProfile(string, CallSettings)
HealthProfileServiceClient.GetProfileAsync(string, CallSettings)
HealthProfileServiceClient.GetProfileAsync(string, CancellationToken)
HealthProfileServiceClient.GetProfile(ProfileName, CallSettings)
HealthProfileServiceClient.GetProfileAsync(ProfileName, CallSettings)
HealthProfileServiceClient.GetProfileAsync(ProfileName, CancellationToken)
HealthProfileServiceClient.UpdateProfileAsync(UpdateProfileRequest, CancellationToken)
HealthProfileServiceClient.UpdateProfile(Profile, FieldMask, CallSettings)
HealthProfileServiceClient.UpdateProfileAsync(Profile, FieldMask, CallSettings)
HealthProfileServiceClient.UpdateProfileAsync(Profile, FieldMask, CancellationToken)
HealthProfileServiceClient.GetSettingsAsync(GetSettingsRequest, CancellationToken)
HealthProfileServiceClient.GetSettings(string, CallSettings)
HealthProfileServiceClient.GetSettingsAsync(string, CallSettings)
HealthProfileServiceClient.GetSettingsAsync(string, CancellationToken)
HealthProfileServiceClient.GetSettings(SettingsName, CallSettings)
HealthProfileServiceClient.GetSettingsAsync(SettingsName, CallSettings)
HealthProfileServiceClient.GetSettingsAsync(SettingsName, CancellationToken)
HealthProfileServiceClient.UpdateSettingsAsync(UpdateSettingsRequest, CancellationToken)
HealthProfileServiceClient.UpdateSettings(Settings, FieldMask, CallSettings)
HealthProfileServiceClient.UpdateSettingsAsync(Settings, FieldMask, CallSettings)
HealthProfileServiceClient.UpdateSettingsAsync(Settings, FieldMask, CancellationToken)
HealthProfileServiceClient.GetIdentityAsync(GetIdentityRequest, CancellationToken)
HealthProfileServiceClient.GetIdentity(string, CallSettings)
HealthProfileServiceClient.GetIdentityAsync(string, CallSettings)
HealthProfileServiceClient.GetIdentityAsync(string, CancellationToken)
HealthProfileServiceClient.GetIdentity(IdentityName, CallSettings)
HealthProfileServiceClient.GetIdentityAsync(IdentityName, CallSettings)
HealthProfileServiceClient.GetIdentityAsync(IdentityName, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class HealthProfileServiceClientImpl : HealthProfileServiceClient
Remarks

Health Profile Service

Constructors

HealthProfileServiceClientImpl(HealthProfileServiceClient, HealthProfileServiceSettings, ILogger)

Constructs a client wrapper for the HealthProfileService service, with the specified gRPC client and settings.

Declaration
public HealthProfileServiceClientImpl(HealthProfileService.HealthProfileServiceClient grpcClient, HealthProfileServiceSettings settings, ILogger logger)
Parameters
Type Name Description
HealthProfileService.HealthProfileServiceClient grpcClient

The underlying gRPC client.

HealthProfileServiceSettings settings

The base HealthProfileServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC HealthProfileService client

Declaration
public override HealthProfileService.HealthProfileServiceClient GrpcClient { get; }
Property Value
Type Description
HealthProfileService.HealthProfileServiceClient
Overrides
HealthProfileServiceClient.GrpcClient

Methods

GetIdentity(GetIdentityRequest, CallSettings)

Gets the user's identity.

It includes the legacy Fitbit user ID and the Google user ID and it can be used by migrating clients to map identifiers between the two systems.

Declaration
public override Identity GetIdentity(GetIdentityRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetIdentityRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Identity

The RPC response.

Overrides
HealthProfileServiceClient.GetIdentity(GetIdentityRequest, CallSettings)

GetIdentityAsync(GetIdentityRequest, CallSettings)

Gets the user's identity.

It includes the legacy Fitbit user ID and the Google user ID and it can be used by migrating clients to map identifiers between the two systems.

Declaration
public override Task<Identity> GetIdentityAsync(GetIdentityRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetIdentityRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<Identity>

A Task containing the RPC response.

Overrides
HealthProfileServiceClient.GetIdentityAsync(GetIdentityRequest, CallSettings)

GetProfile(GetProfileRequest, CallSettings)

Returns user Profile details.

Declaration
public override Profile GetProfile(GetProfileRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetProfileRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Profile

The RPC response.

Overrides
HealthProfileServiceClient.GetProfile(GetProfileRequest, CallSettings)

GetProfileAsync(GetProfileRequest, CallSettings)

Returns user Profile details.

Declaration
public override Task<Profile> GetProfileAsync(GetProfileRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetProfileRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<Profile>

A Task containing the RPC response.

Overrides
HealthProfileServiceClient.GetProfileAsync(GetProfileRequest, CallSettings)

GetSettings(GetSettingsRequest, CallSettings)

Returns user settings details.

Declaration
public override Settings GetSettings(GetSettingsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetSettingsRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Settings

The RPC response.

Overrides
HealthProfileServiceClient.GetSettings(GetSettingsRequest, CallSettings)

GetSettingsAsync(GetSettingsRequest, CallSettings)

Returns user settings details.

Declaration
public override Task<Settings> GetSettingsAsync(GetSettingsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetSettingsRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<Settings>

A Task containing the RPC response.

Overrides
HealthProfileServiceClient.GetSettingsAsync(GetSettingsRequest, CallSettings)

UpdateProfile(UpdateProfileRequest, CallSettings)

Updates the user's profile details.

Declaration
public override Profile UpdateProfile(UpdateProfileRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateProfileRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Profile

The RPC response.

Overrides
HealthProfileServiceClient.UpdateProfile(UpdateProfileRequest, CallSettings)

UpdateProfileAsync(UpdateProfileRequest, CallSettings)

Updates the user's profile details.

Declaration
public override Task<Profile> UpdateProfileAsync(UpdateProfileRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateProfileRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<Profile>

A Task containing the RPC response.

Overrides
HealthProfileServiceClient.UpdateProfileAsync(UpdateProfileRequest, CallSettings)

UpdateSettings(UpdateSettingsRequest, CallSettings)

Updates the user's settings details.

Declaration
public override Settings UpdateSettings(UpdateSettingsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateSettingsRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Settings

The RPC response.

Overrides
HealthProfileServiceClient.UpdateSettings(UpdateSettingsRequest, CallSettings)

UpdateSettingsAsync(UpdateSettingsRequest, CallSettings)

Updates the user's settings details.

Declaration
public override Task<Settings> UpdateSettingsAsync(UpdateSettingsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateSettingsRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<Settings>

A Task containing the RPC response.

Overrides
HealthProfileServiceClient.UpdateSettingsAsync(UpdateSettingsRequest, CallSettings)
In this article
Back to top Generated by DocFX