Show / Hide Table of Contents

Class AssetsResource.ListRequest

Lists all public, remixable assets. These are assets with an access level of PUBLIC and published under the CC-By license.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ListAssetsResponse>
PolyServiceBaseServiceRequest<ListAssetsResponse>
AssetsResource.ListRequest
Implements
IClientServiceRequest<ListAssetsResponse>
IClientServiceRequest
Inherited Members
PolyServiceBaseServiceRequest<ListAssetsResponse>.Xgafv
PolyServiceBaseServiceRequest<ListAssetsResponse>.AccessToken
PolyServiceBaseServiceRequest<ListAssetsResponse>.Alt
PolyServiceBaseServiceRequest<ListAssetsResponse>.Callback
PolyServiceBaseServiceRequest<ListAssetsResponse>.Fields
PolyServiceBaseServiceRequest<ListAssetsResponse>.Key
PolyServiceBaseServiceRequest<ListAssetsResponse>.OauthToken
PolyServiceBaseServiceRequest<ListAssetsResponse>.PrettyPrint
PolyServiceBaseServiceRequest<ListAssetsResponse>.QuotaUser
PolyServiceBaseServiceRequest<ListAssetsResponse>.UploadType
PolyServiceBaseServiceRequest<ListAssetsResponse>.UploadProtocol
ClientServiceRequest<ListAssetsResponse>.Execute()
ClientServiceRequest<ListAssetsResponse>.ExecuteAsStream()
ClientServiceRequest<ListAssetsResponse>.ExecuteAsync()
ClientServiceRequest<ListAssetsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListAssetsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListAssetsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListAssetsResponse>.CreateRequest(bool?)
ClientServiceRequest<ListAssetsResponse>.GenerateRequestUri()
ClientServiceRequest<ListAssetsResponse>.GetBody()
ClientServiceRequest<ListAssetsResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ListAssetsResponse>.ETagAction
ClientServiceRequest<ListAssetsResponse>.ModifyRequest
ClientServiceRequest<ListAssetsResponse>.ValidateParameters
ClientServiceRequest<ListAssetsResponse>.RequestParameters
ClientServiceRequest<ListAssetsResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.PolyService.v1
Assembly: Google.Apis.PolyService.v1.dll
Syntax
public class AssetsResource.ListRequest : PolyServiceBaseServiceRequest<ListAssetsResponse>, IClientServiceRequest<ListAssetsResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService)

Constructs a new List request.

Declaration
public ListRequest(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Category

Filter assets based on the specified category. Supported values are: animals, architecture, art, food, nature, objects, people, scenes, technology, and transport.

Declaration
[RequestParameter("category", RequestParameterType.Query)]
public virtual string Category { get; set; }
Property Value
Type Description
string

Curated

Return only assets that have been curated by the Poly team.

Declaration
[RequestParameter("curated", RequestParameterType.Query)]
public virtual bool? Curated { get; set; }
Property Value
Type Description
bool?

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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PolyService.v1.Data.ListAssetsResponse>.HttpMethod

Keywords

One or more search terms to be matched against all text that Poly has indexed for assets, which includes display_name, description, and tags. Multiple keywords should be separated by spaces.

Declaration
[RequestParameter("keywords", RequestParameterType.Query)]
public virtual string Keywords { get; set; }
Property Value
Type Description
string

MaxComplexity

Returns assets that are of the specified complexity or less. Defaults to COMPLEX. For example, a request for MEDIUM assets also includes SIMPLE assets.

Declaration
[RequestParameter("maxComplexity", RequestParameterType.Query)]
public virtual AssetsResource.ListRequest.MaxComplexityEnum? MaxComplexity { get; set; }
Property Value
Type Description
AssetsResource.ListRequest.MaxComplexityEnum?

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PolyService.v1.Data.ListAssetsResponse>.MethodName

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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PolyService.v1.Data.ListAssetsResponse>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
PolyServiceBaseServiceRequest<ListAssetsResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX