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 \ ListHubSpokesRequestMethods
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;