#[non_exhaustive]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: SpokeView,
/* private fields */
}Expand description
The request for HubService.ListHubSpokes.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. 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: i32The maximum number of results to return per page.
page_token: StringThe page token.
filter: StringAn expression that filters the list of results.
order_by: StringSort the results by name or create_time.
view: SpokeViewThe view of the spoke to return. The view that you use determines which spoke fields are included in the response.
Implementations§
Source§impl ListHubSpokesRequest
impl ListHubSpokesRequest
pub fn new() -> Self
Sourcepub fn set_spoke_locations<T, V>(self, v: T) -> Self
pub fn set_spoke_locations<T, V>(self, v: T) -> Self
Sets the value of spoke_locations.
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
Sets the value of page_size.
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
Sourcepub fn set_filter<T: Into<String>>(self, v: T) -> Self
pub fn set_filter<T: Into<String>>(self, v: T) -> Self
Sets the value of filter.
Sourcepub fn set_order_by<T: Into<String>>(self, v: T) -> Self
pub fn set_order_by<T: Into<String>>(self, v: T) -> Self
Sets the value of order_by.
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 more