# Google Cloud Network Connectivity V1 Client - Class SpokeView (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.0 2.2.2 2.1.2 2.0.2 1.5.5 1.4.2 1.3.0 1.2.0 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class SpokeView.

Enum that controls which spoke fields are included in the response.

Protobuf type `google.cloud.networkconnectivity.v1.ListHubSpokesRequest.SpokeView`

## Namespace

Google \\ Cloud \\ NetworkConnectivity \\ V1 \\ ListHubSpokesRequest

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### SPOKE_VIEW_UNSPECIFIED

    Value: 0

The spoke view is unspecified. When the spoke view is unspecified, the
API returns the same fields as the `BASIC` view.

Generated from protobuf enum `SPOKE_VIEW_UNSPECIFIED = 0;`

### BASIC

    Value: 1

Includes `name`, `create_time`, `hub`, `unique_id`, `state`, `reasons`,
and `spoke_type`. This is the default value.

Generated from protobuf enum `BASIC = 1;`

### DETAILED

    Value: 2

Includes all spoke fields except `labels`.

You can use the `DETAILED` view only when you set the `spoke_locations`
field to `[global]`.

Generated from protobuf enum `DETAILED = 2;`