#[non_exhaustive]pub struct PrivateEndpoints {
pub predict_http_uri: String,
pub explain_http_uri: String,
pub health_http_uri: String,
pub service_attachment: String,
/* private fields */
}Expand description
PrivateEndpoints proto is used to provide paths for users to send requests privately. To send request via private service access, use predict_http_uri, explain_http_uri or health_http_uri. To send request via private service connect, use service_attachment.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.predict_http_uri: StringOutput only. Http(s) path to send prediction requests.
explain_http_uri: StringOutput only. Http(s) path to send explain requests.
health_http_uri: StringOutput only. Http(s) path to send health check requests.
service_attachment: StringOutput only. The name of the service attachment resource. Populated if private service connect is enabled.
Implementations§
Source§impl PrivateEndpoints
impl PrivateEndpoints
pub fn new() -> Self
Sourcepub fn set_predict_http_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_predict_http_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of predict_http_uri.
Sourcepub fn set_explain_http_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_explain_http_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of explain_http_uri.
Sourcepub fn set_health_http_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_health_http_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of health_http_uri.
Sourcepub fn set_service_attachment<T: Into<String>>(self, v: T) -> Self
pub fn set_service_attachment<T: Into<String>>(self, v: T) -> Self
Sets the value of service_attachment.
Trait Implementations§
Source§impl Clone for PrivateEndpoints
impl Clone for PrivateEndpoints
Source§fn clone(&self) -> PrivateEndpoints
fn clone(&self) -> PrivateEndpoints
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrivateEndpoints
impl Debug for PrivateEndpoints
Source§impl Default for PrivateEndpoints
impl Default for PrivateEndpoints
Source§fn default() -> PrivateEndpoints
fn default() -> PrivateEndpoints
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrivateEndpointswhere
PrivateEndpoints: Default,
impl<'de> Deserialize<'de> for PrivateEndpointswhere
PrivateEndpoints: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for PrivateEndpoints
impl Message for PrivateEndpoints
Source§impl PartialEq for PrivateEndpoints
impl PartialEq for PrivateEndpoints
Source§impl Serialize for PrivateEndpoints
impl Serialize for PrivateEndpoints
impl StructuralPartialEq for PrivateEndpoints
Auto Trait Implementations§
impl Freeze for PrivateEndpoints
impl RefUnwindSafe for PrivateEndpoints
impl Send for PrivateEndpoints
impl Sync for PrivateEndpoints
impl Unpin for PrivateEndpoints
impl UnwindSafe for PrivateEndpoints
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
Mutably borrows from an owned value. Read more