Struct google_api_proto::google::cloud::aiplatform::v1::CreateEndpointRequest
source · pub struct CreateEndpointRequest {
pub parent: String,
pub endpoint: Option<Endpoint>,
pub endpoint_id: String,
}
Expand description
Request message for [EndpointService.CreateEndpoint][google.cloud.aiplatform.v1.EndpointService.CreateEndpoint].
Fields§
§parent: String
Required. The resource name of the Location to create the Endpoint in.
Format: projects/{project}/locations/{location}
endpoint: Option<Endpoint>
Required. The Endpoint to create.
endpoint_id: String
Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this ID.
If the first character is a letter, this value may be up to 63 characters,
and valid characters are \[a-z0-9-\]
. The last character must be a letter
or number.
If the first character is a number, this value may be up to 9 characters,
and valid characters are \[0-9\]
with no leading zeros.
When using HTTP/JSON, this field is populated
based on a query string argument, such as ?endpoint_id=12345
. This is the
fallback for fields that are not included in either the URI or the body.
Trait Implementations§
source§impl Clone for CreateEndpointRequest
impl Clone for CreateEndpointRequest
source§fn clone(&self) -> CreateEndpointRequest
fn clone(&self) -> CreateEndpointRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateEndpointRequest
impl Debug for CreateEndpointRequest
source§impl Default for CreateEndpointRequest
impl Default for CreateEndpointRequest
source§impl Message for CreateEndpointRequest
impl Message for CreateEndpointRequest
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 CreateEndpointRequest
impl PartialEq for CreateEndpointRequest
source§fn eq(&self, other: &CreateEndpointRequest) -> bool
fn eq(&self, other: &CreateEndpointRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateEndpointRequest
Auto Trait Implementations§
impl Freeze for CreateEndpointRequest
impl RefUnwindSafe for CreateEndpointRequest
impl Send for CreateEndpointRequest
impl Sync for CreateEndpointRequest
impl Unpin for CreateEndpointRequest
impl UnwindSafe for CreateEndpointRequest
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