Class UsersResource.AssetsResource.ListRequest
Lists assets authored by the given user. Only the value 'me', representing the currently-authenticated user, is supported. May include assets with an access level of PRIVATE or UNLISTED and assets which are All Rights Reserved for the currently-authenticated user.
Inheritance
Inherited Members
Namespace: Google.Apis.PolyService.v1
Assembly: Google.Apis.PolyService.v1.dll
Syntax
public class UsersResource.AssetsResource.ListRequest : PolyServiceBaseServiceRequest<ListUserAssetsResponse>, IClientServiceRequest<ListUserAssetsResponse>, 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
, and 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
. Defaults to
BEST
, which ranks assets based on a combination of popularity and other features.
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
Visibility
The visibility of the assets to be returned. Defaults to VISIBILITY_UNSPECIFIED which returns all assets.
Declaration
[RequestParameter("visibility", RequestParameterType.Query)]
public virtual UsersResource.AssetsResource.ListRequest.VisibilityEnum? Visibility { get; set; }
Property Value
Type | Description |
---|---|
UsersResource.AssetsResource.ListRequest.VisibilityEnum? |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()