#[non_exhaustive]pub struct IndexPrivateEndpoints {
pub match_grpc_address: String,
pub service_attachment: String,
pub psc_automated_endpoints: Vec<PscAutomatedEndpoints>,
/* private fields */
}Available on crate feature
index-endpoint-service only.Expand description
IndexPrivateEndpoints proto is used to provide paths for users to send requests via private endpoints (e.g. private service access, private service connect). To send request via private service access, use match_grpc_address. 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.match_grpc_address: StringOutput only. The ip address used to send match gRPC requests.
service_attachment: StringOutput only. The name of the service attachment resource. Populated if private service connect is enabled.
psc_automated_endpoints: Vec<PscAutomatedEndpoints>Output only. PscAutomatedEndpoints is populated if private service connect is enabled if PscAutomatedConfig is set.
Implementations§
Source§impl IndexPrivateEndpoints
impl IndexPrivateEndpoints
pub fn new() -> Self
Sourcepub fn set_match_grpc_address<T: Into<String>>(self, v: T) -> Self
pub fn set_match_grpc_address<T: Into<String>>(self, v: T) -> Self
Sets the value of match_grpc_address.
§Example
ⓘ
let x = IndexPrivateEndpoints::new().set_match_grpc_address("example");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.
§Example
ⓘ
let x = IndexPrivateEndpoints::new().set_service_attachment("example");Sourcepub fn set_psc_automated_endpoints<T, V>(self, v: T) -> Self
pub fn set_psc_automated_endpoints<T, V>(self, v: T) -> Self
Sets the value of psc_automated_endpoints.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::PscAutomatedEndpoints;
let x = IndexPrivateEndpoints::new()
.set_psc_automated_endpoints([
PscAutomatedEndpoints::default()/* use setters */,
PscAutomatedEndpoints::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for IndexPrivateEndpoints
impl Clone for IndexPrivateEndpoints
Source§fn clone(&self) -> IndexPrivateEndpoints
fn clone(&self) -> IndexPrivateEndpoints
Returns a duplicate 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 IndexPrivateEndpoints
impl Debug for IndexPrivateEndpoints
Source§impl Default for IndexPrivateEndpoints
impl Default for IndexPrivateEndpoints
Source§fn default() -> IndexPrivateEndpoints
fn default() -> IndexPrivateEndpoints
Returns the “default value” for a type. Read more
Source§impl Message for IndexPrivateEndpoints
impl Message for IndexPrivateEndpoints
Source§impl PartialEq for IndexPrivateEndpoints
impl PartialEq for IndexPrivateEndpoints
impl StructuralPartialEq for IndexPrivateEndpoints
Auto Trait Implementations§
impl Freeze for IndexPrivateEndpoints
impl RefUnwindSafe for IndexPrivateEndpoints
impl Send for IndexPrivateEndpoints
impl Sync for IndexPrivateEndpoints
impl Unpin for IndexPrivateEndpoints
impl UnwindSafe for IndexPrivateEndpoints
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