Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::ListModelsRequest.
Request message for ModelService.ListModels.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#filter
def filter() -> ::String-
(::String) —
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.v1.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"
#filter=
def filter=(value) -> ::String-
value (::String) —
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.v1.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"
-
(::String) —
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.v1.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"
#order_by
def order_by() -> ::String-
(::String) — A comma-separated list of fields to order by, sorted in ascending order.
Use "desc" after a field name for descending.
Supported fields:
display_namecreate_timeupdate_time
Example:
display_name, create_time desc.
#order_by=
def order_by=(value) -> ::String-
value (::String) — A comma-separated list of fields to order by, sorted in ascending order.
Use "desc" after a field name for descending.
Supported fields:
display_namecreate_timeupdate_time
Example:
display_name, create_time desc.
-
(::String) — A comma-separated list of fields to order by, sorted in ascending order.
Use "desc" after a field name for descending.
Supported fields:
display_namecreate_timeupdate_time
Example:
display_name, create_time desc.
#page_size
def page_size() -> ::Integer- (::Integer) — The standard list page size.
#page_size=
def page_size=(value) -> ::Integer- value (::Integer) — The standard list page size.
- (::Integer) — The standard list page size.
#page_token
def page_token() -> ::String- (::String) — The standard list page token. Typically obtained via ListModelsResponse.next_page_token of the previous ModelService.ListModels call.
#page_token=
def page_token=(value) -> ::String- value (::String) — The standard list page token. Typically obtained via ListModelsResponse.next_page_token of the previous ModelService.ListModels call.
- (::String) — The standard list page token. Typically obtained via ListModelsResponse.next_page_token of the previous ModelService.ListModels call.
#parent
def parent() -> ::String-
(::String) — Required. The resource name of the Location to list the Models from.
Format:
projects/{project}/locations/{location}
#parent=
def parent=(value) -> ::String-
value (::String) — Required. The resource name of the Location to list the Models from.
Format:
projects/{project}/locations/{location}
-
(::String) — Required. The resource name of the Location to list the Models from.
Format:
projects/{project}/locations/{location}
#read_mask
def read_mask() -> ::Google::Protobuf::FieldMask- (::Google::Protobuf::FieldMask) — Mask specifying which fields to read.
#read_mask=
def read_mask=(value) -> ::Google::Protobuf::FieldMask- value (::Google::Protobuf::FieldMask) — Mask specifying which fields to read.
- (::Google::Protobuf::FieldMask) — Mask specifying which fields to read.