Class ProjectsResource.LocationsResource.GlobalResource.HubsResource.ListSpokesRequest
Lists the Network Connectivity Center spokes associated with a specified hub and location. The list includes both spokes that are attached to the hub and spokes that have been proposed but not yet accepted.
Inheritance
Inherited Members
Namespace: Google.Apis.Networkconnectivity.v1
Assembly: Google.Apis.Networkconnectivity.v1.dll
Syntax
public class ProjectsResource.LocationsResource.GlobalResource.HubsResource.ListSpokesRequest : NetworkconnectivityBaseServiceRequest<ListHubSpokesResponse>, IClientServiceRequest<ListHubSpokesResponse>, IClientServiceRequest
Constructors
ListSpokesRequest(IClientService, string)
Constructs a new ListSpokes request.
Declaration
public ListSpokesRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
Filter
An expression that filters the list of results.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The name of the hub.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
OrderBy
Sort the results by name or create_time.
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
Type | Description |
---|---|
string |
PageSize
The maximum number of results to return per page.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
The page token.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
SpokeLocations
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.
Declaration
[RequestParameter("spokeLocations", RequestParameterType.Query)]
public virtual Repeatable<string> SpokeLocations { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
View
The view of the spoke to return. The view that you use determines which spoke fields are included in the response.
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual ProjectsResource.LocationsResource.GlobalResource.HubsResource.ListSpokesRequest.ViewEnum? View { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.HubsResource.ListSpokesRequest.ViewEnum? |
Methods
InitParameters()
Initializes ListSpokes parameter list.
Declaration
protected override void InitParameters()