Class UsersResource.GetRequest
Gets a user. This method has unique authentication requirements. Read the prerequisites in our Managing Users guide before using this method. The "Try this method" feature does not work for this method.
Inheritance
UsersResource.GetRequest
Inherited Members
Namespace: Google.Apis.DisplayVideo.v3
Assembly: Google.Apis.DisplayVideo.v3.dll
Syntax
public class UsersResource.GetRequest : DisplayVideoBaseServiceRequest<User>, IClientServiceRequest<User>, IClientServiceRequest
Constructors
GetRequest(IClientService, long)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, long userId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
long | userId |
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UserId
Required. The ID of the user to fetch.
Declaration
[RequestParameter("userId", RequestParameterType.Path)]
public virtual long UserId { get; }
Property Value
Type | Description |
---|---|
long |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()