Class UsersResource.UpdateProfileRequest
Updates the user's profile details.
Inheritance
UsersResource.UpdateProfileRequest
Inherited Members
Namespace: Google.Apis.GoogleHealthAPI.v4
Assembly: Google.Apis.GoogleHealthAPI.v4.dll
Syntax
public class UsersResource.UpdateProfileRequest : GoogleHealthAPIBaseServiceRequest<Profile>, IClientServiceRequest<Profile>, IClientServiceRequest
Constructors
UpdateProfileRequest(IClientService, Profile, string)
Constructs a new UpdateProfile request.
Declaration
public UpdateProfileRequest(IClientService service, Profile body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| Profile | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Identifier. The resource name of this Profile resource. Format: users/{user}/profile Example:
users/1234567890/profile or users/me/profile The {user} ID is a system-generated Google Health API
user ID, a string of 1-63 characters consisting of lowercase and uppercase letters, numbers, and
hyphens. The literal me can also be used to refer to the authenticated user.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
UpdateMask
Optional. The list of fields to be updated.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes UpdateProfile parameter list.
Declaration
protected override void InitParameters()