Struct google_api_proto::google::cloud::visionai::v1::IndexEndpoint
source · pub struct IndexEndpoint {
pub name: String,
pub display_name: String,
pub description: String,
pub deployed_index: Option<DeployedIndex>,
pub state: i32,
pub labels: BTreeMap<String, String>,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub satisfies_pzs: Option<bool>,
pub satisfies_pzi: Option<bool>,
}
Expand description
Message representing IndexEndpoint resource. Indexes are deployed into it.
Fields§
§name: String
Output only. Resource name of the IndexEndpoint.
Format:
projects/{project}/locations/{location}/indexEndpoints/{index_endpoint_id}
display_name: String
Optional. Display name of the IndexEndpoint. Can be up to 32 characters long.
description: String
Optional. Description of the IndexEndpoint. Can be up to 25000 characters long.
deployed_index: Option<DeployedIndex>
Output only. The Index deployed in this IndexEndpoint.
state: i32
Output only. IndexEndpoint state.
labels: BTreeMap<String, String>
Optional. The labels applied to a resource must meet the following requirements:
- Each resource can have multiple labels, up to a maximum of 64.
- Each label must be a key-value pair.
- Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters.
- Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed.
- The key portion of a label must be unique. However, you can use the same key with multiple resources.
- Keys must start with a lowercase letter or international character.
See Google Cloud Document for more details.
create_time: Option<Timestamp>
Output only. Create timestamp.
update_time: Option<Timestamp>
Output only. Update timestamp.
satisfies_pzs: Option<bool>
Output only. This boolean field is only set for projects that have Physical Zone Separation enabled via an Org Policy constraint. It is set to true when the index endpoint is a valid zone separated index endpoint and false if it isn’t.
satisfies_pzi: Option<bool>
Output only. This boolean field is only set for projects that have Physical Zone Isolation enabled via an Org Policy constraint. It is set to true when the index endpoint is a valid zone isolated index endpoint and false if it isn’t.
Implementations§
source§impl IndexEndpoint
impl IndexEndpoint
sourcepub fn state(&self) -> State
pub fn state(&self) -> State
Returns the enum value of state
, or the default if the field is set to an invalid enum value.
sourcepub fn satisfies_pzs(&self) -> bool
pub fn satisfies_pzs(&self) -> bool
Returns the value of satisfies_pzs
, or the default value if satisfies_pzs
is unset.
sourcepub fn satisfies_pzi(&self) -> bool
pub fn satisfies_pzi(&self) -> bool
Returns the value of satisfies_pzi
, or the default value if satisfies_pzi
is unset.
Trait Implementations§
source§impl Clone for IndexEndpoint
impl Clone for IndexEndpoint
source§fn clone(&self) -> IndexEndpoint
fn clone(&self) -> IndexEndpoint
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IndexEndpoint
impl Debug for IndexEndpoint
source§impl Default for IndexEndpoint
impl Default for IndexEndpoint
source§impl Message for IndexEndpoint
impl Message for IndexEndpoint
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 IndexEndpoint
impl PartialEq for IndexEndpoint
source§fn eq(&self, other: &IndexEndpoint) -> bool
fn eq(&self, other: &IndexEndpoint) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IndexEndpoint
Auto Trait Implementations§
impl Freeze for IndexEndpoint
impl RefUnwindSafe for IndexEndpoint
impl Send for IndexEndpoint
impl Sync for IndexEndpoint
impl Unpin for IndexEndpoint
impl UnwindSafe for IndexEndpoint
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