Class UsersResource.UpdateSettingsRequest
Updates the user's settings details.
Inheritance
UsersResource.UpdateSettingsRequest
Inherited Members
Namespace: Google.Apis.GoogleHealthAPI.v4
Assembly: Google.Apis.GoogleHealthAPI.v4.dll
Syntax
public class UsersResource.UpdateSettingsRequest : GoogleHealthAPIBaseServiceRequest<Settings>, IClientServiceRequest<Settings>, IClientServiceRequest
Constructors
UpdateSettingsRequest(IClientService, Settings, string)
Constructs a new UpdateSettings request.
Declaration
public UpdateSettingsRequest(IClientService service, Settings body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| Settings | 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 Settings resource. Format: users/{user}/settings Example:
users/1234567890/settings or users/me/settings 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 UpdateSettings parameter list.
Declaration
protected override void InitParameters()