Struct google_api_proto::google::cloud::networkconnectivity::v1::ListHubSpokesRequest
source · pub struct ListHubSpokesRequest {
pub name: String,
pub spoke_locations: Vec<String>,
pub page_size: i32,
pub page_token: String,
pub filter: String,
pub order_by: String,
pub view: i32,
}
Expand description
The request for [HubService.ListHubSpokes][google.cloud.networkconnectivity.v1.HubService.ListHubSpokes].
Fields§
§name: String
Required. The name of the hub.
spoke_locations: Vec<String>
A list of locations.
Specify one of the following: \[global\]
, a single region (for
example, \[us-central1\]
), or a combination of
values (for example, \[global, us-central1, us-west1\]
).
If the spoke_locations field is populated, the list of results
includes only spokes in the specified location.
If the spoke_locations field is not populated, the list of results
includes spokes in all locations.
page_size: i32
The maximum number of results to return per page.
page_token: String
The page token.
filter: String
An expression that filters the list of results.
order_by: String
Sort the results by name or create_time.
view: i32
The view of the spoke to return. The view that you use determines which spoke fields are included in the response.
Implementations§
Trait Implementations§
source§impl Clone for ListHubSpokesRequest
impl Clone for ListHubSpokesRequest
source§fn clone(&self) -> ListHubSpokesRequest
fn clone(&self) -> ListHubSpokesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListHubSpokesRequest
impl Debug for ListHubSpokesRequest
source§impl Default for ListHubSpokesRequest
impl Default for ListHubSpokesRequest
source§impl Message for ListHubSpokesRequest
impl Message for ListHubSpokesRequest
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 ListHubSpokesRequest
impl PartialEq for ListHubSpokesRequest
source§fn eq(&self, other: &ListHubSpokesRequest) -> bool
fn eq(&self, other: &ListHubSpokesRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListHubSpokesRequest
Auto Trait Implementations§
impl Freeze for ListHubSpokesRequest
impl RefUnwindSafe for ListHubSpokesRequest
impl Send for ListHubSpokesRequest
impl Sync for ListHubSpokesRequest
impl Unpin for ListHubSpokesRequest
impl UnwindSafe for ListHubSpokesRequest
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