Reference documentation and code samples for the Network Connectivity V1 API class Google::Cloud::NetworkConnectivity::V1::ListHubSpokesRequest.
The request for HubService.ListHubSpokes.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#filter
def filter() -> ::String
Returns
- (::String) — An expression that filters the list of results.
#filter=
def filter=(value) -> ::String
Parameter
- value (::String) — An expression that filters the list of results.
Returns
- (::String) — An expression that filters the list of results.
#name
def name() -> ::String
Returns
- (::String) — Required. The name of the hub.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Required. The name of the hub.
Returns
- (::String) — Required. The name of the hub.
#order_by
def order_by() -> ::String
Returns
- (::String) — Sort the results by name or create_time.
#order_by=
def order_by=(value) -> ::String
Parameter
- value (::String) — Sort the results by name or create_time.
Returns
- (::String) — Sort the results by name or create_time.
#page_size
def page_size() -> ::Integer
Returns
- (::Integer) — The maximum number of results to return per page.
#page_size=
def page_size=(value) -> ::Integer
Parameter
- value (::Integer) — The maximum number of results to return per page.
Returns
- (::Integer) — The maximum number of results to return per page.
#page_token
def page_token() -> ::String
Returns
- (::String) — The page token.
#page_token=
def page_token=(value) -> ::String
Parameter
- value (::String) — The page token.
Returns
- (::String) — The page token.
#spoke_locations
def spoke_locations() -> ::Array<::String>
Returns
-
(::Array<::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.
#spoke_locations=
def spoke_locations=(value) -> ::Array<::String>
Parameter
-
value (::Array<::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.
Returns
-
(::Array<::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.
#view
def view() -> ::Google::Cloud::NetworkConnectivity::V1::ListHubSpokesRequest::SpokeView
Returns
- (::Google::Cloud::NetworkConnectivity::V1::ListHubSpokesRequest::SpokeView) — The view of the spoke to return. The view that you use determines which spoke fields are included in the response.
#view=
def view=(value) -> ::Google::Cloud::NetworkConnectivity::V1::ListHubSpokesRequest::SpokeView
Parameter
- value (::Google::Cloud::NetworkConnectivity::V1::ListHubSpokesRequest::SpokeView) — The view of the spoke to return. The view that you use determines which spoke fields are included in the response.
Returns
- (::Google::Cloud::NetworkConnectivity::V1::ListHubSpokesRequest::SpokeView) — The view of the spoke to return. The view that you use determines which spoke fields are included in the response.