Class UsersResource.LikedassetsResource.ListRequest
Lists assets that the user has liked. Only the value 'me', representing the currently-authenticated user, is supported. May include assets with an access level of UNLISTED.
Inheritance
Inherited Members
Namespace: Google.Apis.PolyService.v1
Assembly: Google.Apis.PolyService.v1.dll
Syntax
public class UsersResource.LikedassetsResource.ListRequest : PolyServiceBaseServiceRequest<ListLikedAssetsResponse>, IClientServiceRequest<ListLikedAssetsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
Format
Return only assets with the matching format. Acceptable values are: BLOCKS
, FBX
, GLTF
,
GLTF2
, OBJ
, TILT
.
Declaration
[RequestParameter("format", RequestParameterType.Query)]
public virtual string Format { get; set; }
Property Value
Type | Description |
---|---|
string |
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
A valid user id. Currently, only the special value 'me', representing the currently-authenticated user is supported. To use 'me', you must pass an OAuth token with the request.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
OrderBy
Specifies an ordering for assets. Acceptable values are: BEST
, NEWEST
, OLDEST
, 'LIKED_TIME'.
Defaults to LIKED_TIME
, which ranks assets based on how recently they were liked.
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
Type | Description |
---|---|
string |
PageSize
The maximum number of assets to be returned. This value must be between 1
and 100
. Defaults to
20
.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Specifies a continuation token from a previous search whose results were split into multiple pages. To get the next page, submit the same request specifying the value from next_page_token.
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
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()