public sealed class ListModelsRequest : IMessage<ListModelsRequest>, IEquatable<ListModelsRequest>, IDeepCloneable<ListModelsRequest>, IBufferMessage, IMessage, IPageRequestReference documentation and code samples for the Vertex AI v1beta1 API class ListModelsRequest.
Request message for [ModelService.ListModels][google.cloud.aiplatform.v1beta1.ModelService.ListModels].
Implements
IMessageListModelsRequest, IEquatableListModelsRequest, IDeepCloneableListModelsRequest, IBufferMessage, IMessage, IPageRequestNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
ListModelsRequest()
public ListModelsRequest()ListModelsRequest(ListModelsRequest)
public ListModelsRequest(ListModelsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListModelsRequest |
Properties
Filter
public string Filter { get; set; }An expression for filtering the results of the request. For field names both snake_case and camelCase are supported.
modelsupports = and !=.modelrepresents the Model ID, i.e. the last segment of the Model's [resource name][google.cloud.aiplatform.v1beta1.Model.name].display_namesupports = and !=labelssupports general map functions that is:labels.key=value- key:value equality- `labels.key:* or labels:key - key existence
- A key including a space must be quoted.
labels."a key".
base_model_nameonly supports =
Some examples:
model=1234displayName="myDisplayName"labels.myKey="myValue"baseModelName="text-bison"
| Property Value | |
|---|---|
| Type | Description |
string |
|
PageSize
public int PageSize { get; set; }The standard list page size.
| Property Value | |
|---|---|
| Type | Description |
int |
|
PageToken
public string PageToken { get; set; }The standard list page token. Typically obtained via [ListModelsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListModelsResponse.next_page_token] of the previous [ModelService.ListModels][google.cloud.aiplatform.v1beta1.ModelService.ListModels] call.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Parent
public string Parent { get; set; }Required. The resource name of the Location to list the Models from.
Format: projects/{project}/locations/{location}
| Property Value | |
|---|---|
| Type | Description |
string |
|
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }LocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
LocationName |
|
ReadMask
public FieldMask ReadMask { get; set; }Mask specifying which fields to read.
| Property Value | |
|---|---|
| Type | Description |
FieldMask |
|