Struct google_api_proto::google::cloud::aiplatform::v1beta1::ListPublisherModelsRequest
source · pub struct ListPublisherModelsRequest {
pub parent: String,
pub filter: String,
pub page_size: i32,
pub page_token: String,
pub view: i32,
pub order_by: String,
pub language_code: String,
}
Expand description
Request message for [ModelGardenService.ListPublisherModels][google.cloud.aiplatform.v1beta1.ModelGardenService.ListPublisherModels].
Fields§
§parent: String
Required. The name of the Publisher from which to list the PublisherModels.
Format: publishers/{publisher}
filter: String
Optional. The standard list filter.
page_size: i32
Optional. The standard list page size.
page_token: String
Optional. The standard list page token. Typically obtained via [ListPublisherModelsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListPublisherModelsResponse.next_page_token] of the previous [ModelGardenService.ListPublisherModels][google.cloud.aiplatform.v1beta1.ModelGardenService.ListPublisherModels] call.
view: i32
Optional. PublisherModel view specifying which fields to read.
order_by: String
Optional. A comma-separated list of fields to order by, sorted in ascending order. Use “desc” after a field name for descending.
language_code: String
Optional. The IETF BCP-47 language code representing the language in which the publisher models’ text information should be written in. If not set, by default English (en).
Implementations§
source§impl ListPublisherModelsRequest
impl ListPublisherModelsRequest
sourcepub fn view(&self) -> PublisherModelView
pub fn view(&self) -> PublisherModelView
Returns the enum value of view
, or the default if the field is set to an invalid enum value.
sourcepub fn set_view(&mut self, value: PublisherModelView)
pub fn set_view(&mut self, value: PublisherModelView)
Sets view
to the provided enum value.
Trait Implementations§
source§impl Clone for ListPublisherModelsRequest
impl Clone for ListPublisherModelsRequest
source§fn clone(&self) -> ListPublisherModelsRequest
fn clone(&self) -> ListPublisherModelsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListPublisherModelsRequest
impl Debug for ListPublisherModelsRequest
source§impl Default for ListPublisherModelsRequest
impl Default for ListPublisherModelsRequest
source§impl Message for ListPublisherModelsRequest
impl Message for ListPublisherModelsRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ListPublisherModelsRequest
impl PartialEq for ListPublisherModelsRequest
source§fn eq(&self, other: &ListPublisherModelsRequest) -> bool
fn eq(&self, other: &ListPublisherModelsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListPublisherModelsRequest
Auto Trait Implementations§
impl Freeze for ListPublisherModelsRequest
impl RefUnwindSafe for ListPublisherModelsRequest
impl Send for ListPublisherModelsRequest
impl Sync for ListPublisherModelsRequest
impl Unpin for ListPublisherModelsRequest
impl UnwindSafe for ListPublisherModelsRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request