Retail v2 API - Class ListModelsRequest (2.7.0)

public sealed class ListModelsRequest : IMessage<ListModelsRequest>, IEquatable<ListModelsRequest>, IDeepCloneable<ListModelsRequest>, IBufferMessage, IMessage, IPageRequest

Reference documentation and code samples for the Retail v2 API class ListModelsRequest.

Request for listing models associated with a resource.

Inheritance

object > ListModelsRequest

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

ListModelsRequest()

public ListModelsRequest()

ListModelsRequest(ListModelsRequest)

public ListModelsRequest(ListModelsRequest other)
Parameter
NameDescription
otherListModelsRequest

Properties

PageSize

public int PageSize { get; set; }

Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.

Property Value
TypeDescription
int

PageToken

public string PageToken { get; set; }

Optional. A page token, received from a previous ListModels call. Provide this to retrieve the subsequent page.

Property Value
TypeDescription
string

Parent

public string Parent { get; set; }

Required. The parent for which to list models. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}

Property Value
TypeDescription
string

ParentAsCatalogName

public CatalogName ParentAsCatalogName { get; set; }

CatalogName-typed view over the Parent resource name property.

Property Value
TypeDescription
CatalogName