Documentation
¶
Index ¶
- Variables
- func RegisterHubServiceServer(s *grpc.Server, srv HubServiceServer)
- type CreateHubRequest
- func (*CreateHubRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateHubRequest) GetHub() *Hub
- func (x *CreateHubRequest) GetHubId() string
- func (x *CreateHubRequest) GetParent() string
- func (x *CreateHubRequest) GetRequestId() string
- func (*CreateHubRequest) ProtoMessage()
- func (x *CreateHubRequest) ProtoReflect() protoreflect.Message
- func (x *CreateHubRequest) Reset()
- func (x *CreateHubRequest) String() string
- type CreateSpokeRequest
- func (*CreateSpokeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSpokeRequest) GetParent() string
- func (x *CreateSpokeRequest) GetRequestId() string
- func (x *CreateSpokeRequest) GetSpoke() *Spoke
- func (x *CreateSpokeRequest) GetSpokeId() string
- func (*CreateSpokeRequest) ProtoMessage()
- func (x *CreateSpokeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSpokeRequest) Reset()
- func (x *CreateSpokeRequest) String() string
- type DeleteHubRequest
- func (*DeleteHubRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteHubRequest) GetName() string
- func (x *DeleteHubRequest) GetRequestId() string
- func (*DeleteHubRequest) ProtoMessage()
- func (x *DeleteHubRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteHubRequest) Reset()
- func (x *DeleteHubRequest) String() string
- type DeleteSpokeRequest
- func (*DeleteSpokeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSpokeRequest) GetName() string
- func (x *DeleteSpokeRequest) GetRequestId() string
- func (*DeleteSpokeRequest) ProtoMessage()
- func (x *DeleteSpokeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSpokeRequest) Reset()
- func (x *DeleteSpokeRequest) String() string
- type GetHubRequest
- type GetSpokeRequest
- type Hub
- func (*Hub) Descriptor() ([]byte, []int)deprecated
- func (x *Hub) GetCreateTime() *timestamppb.Timestamp
- func (x *Hub) GetDescription() string
- func (x *Hub) GetLabels() map[string]string
- func (x *Hub) GetName() string
- func (x *Hub) GetRoutingVpcs() []*RoutingVPC
- func (x *Hub) GetState() State
- func (x *Hub) GetUniqueId() string
- func (x *Hub) GetUpdateTime() *timestamppb.Timestamp
- func (*Hub) ProtoMessage()
- func (x *Hub) ProtoReflect() protoreflect.Message
- func (x *Hub) Reset()
- func (x *Hub) String() string
- type HubServiceClient
- type HubServiceServer
- type LinkedInterconnectAttachments
- func (*LinkedInterconnectAttachments) Descriptor() ([]byte, []int)deprecated
- func (x *LinkedInterconnectAttachments) GetSiteToSiteDataTransfer() bool
- func (x *LinkedInterconnectAttachments) GetUris() []string
- func (*LinkedInterconnectAttachments) ProtoMessage()
- func (x *LinkedInterconnectAttachments) ProtoReflect() protoreflect.Message
- func (x *LinkedInterconnectAttachments) Reset()
- func (x *LinkedInterconnectAttachments) String() string
- type LinkedRouterApplianceInstances
- func (*LinkedRouterApplianceInstances) Descriptor() ([]byte, []int)deprecated
- func (x *LinkedRouterApplianceInstances) GetInstances() []*RouterApplianceInstance
- func (x *LinkedRouterApplianceInstances) GetSiteToSiteDataTransfer() bool
- func (*LinkedRouterApplianceInstances) ProtoMessage()
- func (x *LinkedRouterApplianceInstances) ProtoReflect() protoreflect.Message
- func (x *LinkedRouterApplianceInstances) Reset()
- func (x *LinkedRouterApplianceInstances) String() string
- type LinkedVpnTunnels
- func (*LinkedVpnTunnels) Descriptor() ([]byte, []int)deprecated
- func (x *LinkedVpnTunnels) GetSiteToSiteDataTransfer() bool
- func (x *LinkedVpnTunnels) GetUris() []string
- func (*LinkedVpnTunnels) ProtoMessage()
- func (x *LinkedVpnTunnels) ProtoReflect() protoreflect.Message
- func (x *LinkedVpnTunnels) Reset()
- func (x *LinkedVpnTunnels) String() string
- type ListHubsRequest
- func (*ListHubsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListHubsRequest) GetFilter() string
- func (x *ListHubsRequest) GetOrderBy() string
- func (x *ListHubsRequest) GetPageSize() int32
- func (x *ListHubsRequest) GetPageToken() string
- func (x *ListHubsRequest) GetParent() string
- func (*ListHubsRequest) ProtoMessage()
- func (x *ListHubsRequest) ProtoReflect() protoreflect.Message
- func (x *ListHubsRequest) Reset()
- func (x *ListHubsRequest) String() string
- type ListHubsResponse
- func (*ListHubsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListHubsResponse) GetHubs() []*Hub
- func (x *ListHubsResponse) GetNextPageToken() string
- func (x *ListHubsResponse) GetUnreachable() []string
- func (*ListHubsResponse) ProtoMessage()
- func (x *ListHubsResponse) ProtoReflect() protoreflect.Message
- func (x *ListHubsResponse) Reset()
- func (x *ListHubsResponse) String() string
- type ListSpokesRequest
- func (*ListSpokesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSpokesRequest) GetFilter() string
- func (x *ListSpokesRequest) GetOrderBy() string
- func (x *ListSpokesRequest) GetPageSize() int32
- func (x *ListSpokesRequest) GetPageToken() string
- func (x *ListSpokesRequest) GetParent() string
- func (*ListSpokesRequest) ProtoMessage()
- func (x *ListSpokesRequest) ProtoReflect() protoreflect.Message
- func (x *ListSpokesRequest) Reset()
- func (x *ListSpokesRequest) String() string
- type ListSpokesResponse
- func (*ListSpokesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSpokesResponse) GetNextPageToken() string
- func (x *ListSpokesResponse) GetSpokes() []*Spoke
- func (x *ListSpokesResponse) GetUnreachable() []string
- func (*ListSpokesResponse) ProtoMessage()
- func (x *ListSpokesResponse) ProtoReflect() protoreflect.Message
- func (x *ListSpokesResponse) Reset()
- func (x *ListSpokesResponse) String() string
- type LocationFeature
- func (LocationFeature) Descriptor() protoreflect.EnumDescriptor
- func (x LocationFeature) Enum() *LocationFeature
- func (LocationFeature) EnumDescriptor() ([]byte, []int)deprecated
- func (x LocationFeature) Number() protoreflect.EnumNumber
- func (x LocationFeature) String() string
- func (LocationFeature) Type() protoreflect.EnumType
- type LocationMetadata
- func (*LocationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *LocationMetadata) GetLocationFeatures() []LocationFeature
- func (*LocationMetadata) ProtoMessage()
- func (x *LocationMetadata) ProtoReflect() protoreflect.Message
- func (x *LocationMetadata) Reset()
- func (x *LocationMetadata) String() string
- type OperationMetadata
- func (*OperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *OperationMetadata) GetApiVersion() string
- func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
- func (x *OperationMetadata) GetRequestedCancellation() bool
- func (x *OperationMetadata) GetStatusMessage() string
- func (x *OperationMetadata) GetTarget() string
- func (x *OperationMetadata) GetVerb() string
- func (*OperationMetadata) ProtoMessage()
- func (x *OperationMetadata) ProtoReflect() protoreflect.Message
- func (x *OperationMetadata) Reset()
- func (x *OperationMetadata) String() string
- type RouterApplianceInstance
- func (*RouterApplianceInstance) Descriptor() ([]byte, []int)deprecated
- func (x *RouterApplianceInstance) GetIpAddress() string
- func (x *RouterApplianceInstance) GetVirtualMachine() string
- func (*RouterApplianceInstance) ProtoMessage()
- func (x *RouterApplianceInstance) ProtoReflect() protoreflect.Message
- func (x *RouterApplianceInstance) Reset()
- func (x *RouterApplianceInstance) String() string
- type RoutingVPC
- func (*RoutingVPC) Descriptor() ([]byte, []int)deprecated
- func (x *RoutingVPC) GetRequiredForNewSiteToSiteDataTransferSpokes() bool
- func (x *RoutingVPC) GetUri() string
- func (*RoutingVPC) ProtoMessage()
- func (x *RoutingVPC) ProtoReflect() protoreflect.Message
- func (x *RoutingVPC) Reset()
- func (x *RoutingVPC) String() string
- type Spoke
- func (*Spoke) Descriptor() ([]byte, []int)deprecated
- func (x *Spoke) GetCreateTime() *timestamppb.Timestamp
- func (x *Spoke) GetDescription() string
- func (x *Spoke) GetHub() string
- func (x *Spoke) GetLabels() map[string]string
- func (x *Spoke) GetLinkedInterconnectAttachments() *LinkedInterconnectAttachments
- func (x *Spoke) GetLinkedRouterApplianceInstances() *LinkedRouterApplianceInstances
- func (x *Spoke) GetLinkedVpnTunnels() *LinkedVpnTunnels
- func (x *Spoke) GetName() string
- func (x *Spoke) GetState() State
- func (x *Spoke) GetUniqueId() string
- func (x *Spoke) GetUpdateTime() *timestamppb.Timestamp
- func (*Spoke) ProtoMessage()
- func (x *Spoke) ProtoReflect() protoreflect.Message
- func (x *Spoke) Reset()
- func (x *Spoke) String() string
- type State
- type UnimplementedHubServiceServer
- func (*UnimplementedHubServiceServer) CreateHub(context.Context, *CreateHubRequest) (*longrunning.Operation, error)
- func (*UnimplementedHubServiceServer) CreateSpoke(context.Context, *CreateSpokeRequest) (*longrunning.Operation, error)
- func (*UnimplementedHubServiceServer) DeleteHub(context.Context, *DeleteHubRequest) (*longrunning.Operation, error)
- func (*UnimplementedHubServiceServer) DeleteSpoke(context.Context, *DeleteSpokeRequest) (*longrunning.Operation, error)
- func (*UnimplementedHubServiceServer) GetHub(context.Context, *GetHubRequest) (*Hub, error)
- func (*UnimplementedHubServiceServer) GetSpoke(context.Context, *GetSpokeRequest) (*Spoke, error)
- func (*UnimplementedHubServiceServer) ListHubs(context.Context, *ListHubsRequest) (*ListHubsResponse, error)
- func (*UnimplementedHubServiceServer) ListSpokes(context.Context, *ListSpokesRequest) (*ListSpokesResponse, error)
- func (*UnimplementedHubServiceServer) UpdateHub(context.Context, *UpdateHubRequest) (*longrunning.Operation, error)
- func (*UnimplementedHubServiceServer) UpdateSpoke(context.Context, *UpdateSpokeRequest) (*longrunning.Operation, error)
- type UpdateHubRequest
- func (*UpdateHubRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateHubRequest) GetHub() *Hub
- func (x *UpdateHubRequest) GetRequestId() string
- func (x *UpdateHubRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateHubRequest) ProtoMessage()
- func (x *UpdateHubRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateHubRequest) Reset()
- func (x *UpdateHubRequest) String() string
- type UpdateSpokeRequest
- func (*UpdateSpokeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSpokeRequest) GetRequestId() string
- func (x *UpdateSpokeRequest) GetSpoke() *Spoke
- func (x *UpdateSpokeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateSpokeRequest) ProtoMessage()
- func (x *UpdateSpokeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSpokeRequest) Reset()
- func (x *UpdateSpokeRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "DELETING", } State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "DELETING": 3, } )
Enum value maps for State.
var ( LocationFeature_name = map[int32]string{ 0: "LOCATION_FEATURE_UNSPECIFIED", 1: "SITE_TO_CLOUD_SPOKES", 2: "SITE_TO_SITE_SPOKES", } LocationFeature_value = map[string]int32{ "LOCATION_FEATURE_UNSPECIFIED": 0, "SITE_TO_CLOUD_SPOKES": 1, "SITE_TO_SITE_SPOKES": 2, } )
Enum value maps for LocationFeature.
var File_google_cloud_networkconnectivity_v1_common_proto protoreflect.FileDescriptor
var File_google_cloud_networkconnectivity_v1_hub_proto protoreflect.FileDescriptor
Functions ¶
func RegisterHubServiceServer ¶
func RegisterHubServiceServer(s *grpc.Server, srv HubServiceServer)
Types ¶
type CreateHubRequest ¶
type CreateHubRequest struct { // Required. The parent resource. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. A unique identifier for the hub. HubId string `protobuf:"bytes,2,opt,name=hub_id,json=hubId,proto3" json:"hub_id,omitempty"` // Required. The initial values for a new hub. Hub *Hub `protobuf:"bytes,3,opt,name=hub,proto3" json:"hub,omitempty"` // Optional. A unique request ID (optional). If you specify this ID, you can use it // in cases when you need to retry your request. When you need to retry, this // ID lets the server know that it can ignore the request if it has already // been completed. The server guarantees that for at least 60 minutes after // the first request. // // For example, consider a situation where you make an initial request and // the request times out. If you make the request again with the same request // ID, the server can check to see whether the original operation // was received. If it was, the server ignores the second request. This // behavior prevents clients from mistakenly creating duplicate commitments. // // The request ID must be a valid UUID, with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
Request for [HubService.CreateHub][google.cloud.networkconnectivity.v1.HubService.CreateHub] method.
func (*CreateHubRequest) Descriptor
deprecated
func (*CreateHubRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateHubRequest.ProtoReflect.Descriptor instead.
func (*CreateHubRequest) GetHub ¶
func (x *CreateHubRequest) GetHub() *Hub
func (*CreateHubRequest) GetHubId ¶
func (x *CreateHubRequest) GetHubId() string
func (*CreateHubRequest) GetParent ¶
func (x *CreateHubRequest) GetParent() string
func (*CreateHubRequest) GetRequestId ¶
func (x *CreateHubRequest) GetRequestId() string
func (*CreateHubRequest) ProtoMessage ¶
func (*CreateHubRequest) ProtoMessage()
func (*CreateHubRequest) ProtoReflect ¶
func (x *CreateHubRequest) ProtoReflect() protoreflect.Message
func (*CreateHubRequest) Reset ¶
func (x *CreateHubRequest) Reset()
func (*CreateHubRequest) String ¶
func (x *CreateHubRequest) String() string
type CreateSpokeRequest ¶
type CreateSpokeRequest struct { // Required. The parent resource. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. Unique id for the spoke to create. SpokeId string `protobuf:"bytes,2,opt,name=spoke_id,json=spokeId,proto3" json:"spoke_id,omitempty"` // Required. The initial values for a new spoke. Spoke *Spoke `protobuf:"bytes,3,opt,name=spoke,proto3" json:"spoke,omitempty"` // Optional. A unique request ID (optional). If you specify this ID, you can use it // in cases when you need to retry your request. When you need to retry, this // ID lets the server know that it can ignore the request if it has already // been completed. The server guarantees that for at least 60 minutes after // the first request. // // For example, consider a situation where you make an initial request and // the request times out. If you make the request again with the same request // ID, the server can check to see whether the original operation // was received. If it was, the server ignores the second request. This // behavior prevents clients from mistakenly creating duplicate commitments. // // The request ID must be a valid UUID, with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
The request for [HubService.CreateSpoke][google.cloud.networkconnectivity.v1.HubService.CreateSpoke].
func (*CreateSpokeRequest) Descriptor
deprecated
func (*CreateSpokeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSpokeRequest.ProtoReflect.Descriptor instead.
func (*CreateSpokeRequest) GetParent ¶
func (x *CreateSpokeRequest) GetParent() string
func (*CreateSpokeRequest) GetRequestId ¶
func (x *CreateSpokeRequest) GetRequestId() string
func (*CreateSpokeRequest) GetSpoke ¶
func (x *CreateSpokeRequest) GetSpoke() *Spoke
func (*CreateSpokeRequest) GetSpokeId ¶
func (x *CreateSpokeRequest) GetSpokeId() string
func (*CreateSpokeRequest) ProtoMessage ¶
func (*CreateSpokeRequest) ProtoMessage()
func (*CreateSpokeRequest) ProtoReflect ¶
func (x *CreateSpokeRequest) ProtoReflect() protoreflect.Message
func (*CreateSpokeRequest) Reset ¶
func (x *CreateSpokeRequest) Reset()
func (*CreateSpokeRequest) String ¶
func (x *CreateSpokeRequest) String() string
type DeleteHubRequest ¶
type DeleteHubRequest struct { // Required. The name of the hub to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. A unique request ID (optional). If you specify this ID, you can use it // in cases when you need to retry your request. When you need to retry, this // ID lets the server know that it can ignore the request if it has already // been completed. The server guarantees that for at least 60 minutes after // the first request. // // For example, consider a situation where you make an initial request and // the request times out. If you make the request again with the same request // ID, the server can check to see whether the original operation // was received. If it was, the server ignores the second request. This // behavior prevents clients from mistakenly creating duplicate commitments. // // The request ID must be a valid UUID, with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
The request for [HubService.DeleteHub][google.cloud.networkconnectivity.v1.HubService.DeleteHub].
func (*DeleteHubRequest) Descriptor
deprecated
func (*DeleteHubRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteHubRequest.ProtoReflect.Descriptor instead.
func (*DeleteHubRequest) GetName ¶
func (x *DeleteHubRequest) GetName() string
func (*DeleteHubRequest) GetRequestId ¶
func (x *DeleteHubRequest) GetRequestId() string
func (*DeleteHubRequest) ProtoMessage ¶
func (*DeleteHubRequest) ProtoMessage()
func (*DeleteHubRequest) ProtoReflect ¶
func (x *DeleteHubRequest) ProtoReflect() protoreflect.Message
func (*DeleteHubRequest) Reset ¶
func (x *DeleteHubRequest) Reset()
func (*DeleteHubRequest) String ¶
func (x *DeleteHubRequest) String() string
type DeleteSpokeRequest ¶
type DeleteSpokeRequest struct { // Required. The name of the spoke to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. A unique request ID (optional). If you specify this ID, you can use it // in cases when you need to retry your request. When you need to retry, this // ID lets the server know that it can ignore the request if it has already // been completed. The server guarantees that for at least 60 minutes after // the first request. // // For example, consider a situation where you make an initial request and // the request times out. If you make the request again with the same request // ID, the server can check to see whether the original operation // was received. If it was, the server ignores the second request. This // behavior prevents clients from mistakenly creating duplicate commitments. // // The request ID must be a valid UUID, with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
The request for [HubService.DeleteSpoke][google.cloud.networkconnectivity.v1.HubService.DeleteSpoke].
func (*DeleteSpokeRequest) Descriptor
deprecated
func (*DeleteSpokeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSpokeRequest.ProtoReflect.Descriptor instead.
func (*DeleteSpokeRequest) GetName ¶
func (x *DeleteSpokeRequest) GetName() string
func (*DeleteSpokeRequest) GetRequestId ¶
func (x *DeleteSpokeRequest) GetRequestId() string
func (*DeleteSpokeRequest) ProtoMessage ¶
func (*DeleteSpokeRequest) ProtoMessage()
func (*DeleteSpokeRequest) ProtoReflect ¶
func (x *DeleteSpokeRequest) ProtoReflect() protoreflect.Message
func (*DeleteSpokeRequest) Reset ¶
func (x *DeleteSpokeRequest) Reset()
func (*DeleteSpokeRequest) String ¶
func (x *DeleteSpokeRequest) String() string
type GetHubRequest ¶
type GetHubRequest struct { // Required. The name of the hub resource to get. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request for [HubService.GetHub][google.cloud.networkconnectivity.v1.HubService.GetHub] method.
func (*GetHubRequest) Descriptor
deprecated
func (*GetHubRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHubRequest.ProtoReflect.Descriptor instead.
func (*GetHubRequest) GetName ¶
func (x *GetHubRequest) GetName() string
func (*GetHubRequest) ProtoMessage ¶
func (*GetHubRequest) ProtoMessage()
func (*GetHubRequest) ProtoReflect ¶
func (x *GetHubRequest) ProtoReflect() protoreflect.Message
func (*GetHubRequest) Reset ¶
func (x *GetHubRequest) Reset()
func (*GetHubRequest) String ¶
func (x *GetHubRequest) String() string
type GetSpokeRequest ¶
type GetSpokeRequest struct { // Required. The name of the spoke resource. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request for [HubService.GetSpoke][google.cloud.networkconnectivity.v1.HubService.GetSpoke].
func (*GetSpokeRequest) Descriptor
deprecated
func (*GetSpokeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSpokeRequest.ProtoReflect.Descriptor instead.
func (*GetSpokeRequest) GetName ¶
func (x *GetSpokeRequest) GetName() string
func (*GetSpokeRequest) ProtoMessage ¶
func (*GetSpokeRequest) ProtoMessage()
func (*GetSpokeRequest) ProtoReflect ¶
func (x *GetSpokeRequest) ProtoReflect() protoreflect.Message
func (*GetSpokeRequest) Reset ¶
func (x *GetSpokeRequest) Reset()
func (*GetSpokeRequest) String ¶
func (x *GetSpokeRequest) String() string
type Hub ¶
type Hub struct { // Immutable. The name of the hub. Hub names must be unique. They use the // following form: // `projects/{project_number}/locations/global/hubs/{hub_id}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The time the hub was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time the hub was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional labels in key:value format. For more information about labels, see // [Requirements for // labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). Labels map[string]string `` /* 153-byte string literal not displayed */ // An optional description of the hub. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Output only. The Google-generated UUID for the hub. This value is unique across all hub // resources. If a hub is deleted and another with the same name is created, // the new hub is assigned a different unique_id. UniqueId string `protobuf:"bytes,8,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"` // Output only. The current lifecycle state of this hub. State State `protobuf:"varint,9,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1.State" json:"state,omitempty"` // The VPC networks associated with this hub's spokes. // // This field is read-only. Network Connectivity Center automatically // populates it based on the set of spokes attached to the hub. RoutingVpcs []*RoutingVPC `protobuf:"bytes,10,rep,name=routing_vpcs,json=routingVpcs,proto3" json:"routing_vpcs,omitempty"` // contains filtered or unexported fields }
A hub is a collection of spokes. A single hub can contain spokes from multiple regions. However, if any of a hub's spokes use the data transfer feature, the resources associated with those spokes must all reside in the same VPC network. Spokes that do not use data transfer can be associated with any VPC network in your project.
func (*Hub) Descriptor
deprecated
func (*Hub) GetCreateTime ¶
func (x *Hub) GetCreateTime() *timestamppb.Timestamp
func (*Hub) GetDescription ¶
func (*Hub) GetRoutingVpcs ¶
func (x *Hub) GetRoutingVpcs() []*RoutingVPC
func (*Hub) GetUniqueId ¶
func (*Hub) GetUpdateTime ¶
func (x *Hub) GetUpdateTime() *timestamppb.Timestamp
func (*Hub) ProtoMessage ¶
func (*Hub) ProtoMessage()
func (*Hub) ProtoReflect ¶
func (x *Hub) ProtoReflect() protoreflect.Message
type HubServiceClient ¶
type HubServiceClient interface { // Lists hubs in a given project. ListHubs(ctx context.Context, in *ListHubsRequest, opts ...grpc.CallOption) (*ListHubsResponse, error) // Gets details about the specified hub. GetHub(ctx context.Context, in *GetHubRequest, opts ...grpc.CallOption) (*Hub, error) // Creates a new hub in the specified project. CreateHub(ctx context.Context, in *CreateHubRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Updates the description and/or labels of the specified hub. UpdateHub(ctx context.Context, in *UpdateHubRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Deletes the specified hub. DeleteHub(ctx context.Context, in *DeleteHubRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Lists the spokes in the specified project and location. ListSpokes(ctx context.Context, in *ListSpokesRequest, opts ...grpc.CallOption) (*ListSpokesResponse, error) // Gets details about the specified spoke. GetSpoke(ctx context.Context, in *GetSpokeRequest, opts ...grpc.CallOption) (*Spoke, error) // Creates a spoke in the specified project and location. CreateSpoke(ctx context.Context, in *CreateSpokeRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Updates the parameters of the specified spoke. UpdateSpoke(ctx context.Context, in *UpdateSpokeRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Deletes the specified spoke. DeleteSpoke(ctx context.Context, in *DeleteSpokeRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) }
HubServiceClient is the client API for HubService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHubServiceClient ¶
func NewHubServiceClient(cc grpc.ClientConnInterface) HubServiceClient
type HubServiceServer ¶
type HubServiceServer interface { // Lists hubs in a given project. ListHubs(context.Context, *ListHubsRequest) (*ListHubsResponse, error) // Gets details about the specified hub. GetHub(context.Context, *GetHubRequest) (*Hub, error) // Creates a new hub in the specified project. CreateHub(context.Context, *CreateHubRequest) (*longrunning.Operation, error) // Updates the description and/or labels of the specified hub. UpdateHub(context.Context, *UpdateHubRequest) (*longrunning.Operation, error) // Deletes the specified hub. DeleteHub(context.Context, *DeleteHubRequest) (*longrunning.Operation, error) // Lists the spokes in the specified project and location. ListSpokes(context.Context, *ListSpokesRequest) (*ListSpokesResponse, error) // Gets details about the specified spoke. GetSpoke(context.Context, *GetSpokeRequest) (*Spoke, error) // Creates a spoke in the specified project and location. CreateSpoke(context.Context, *CreateSpokeRequest) (*longrunning.Operation, error) // Updates the parameters of the specified spoke. UpdateSpoke(context.Context, *UpdateSpokeRequest) (*longrunning.Operation, error) // Deletes the specified spoke. DeleteSpoke(context.Context, *DeleteSpokeRequest) (*longrunning.Operation, error) }
HubServiceServer is the server API for HubService service.
type LinkedInterconnectAttachments ¶
type LinkedInterconnectAttachments struct { // The URIs of linked interconnect attachment resources Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"` // A value that controls whether site-to-site data transfer is enabled for // these resources. Data transfer is available only in [supported // locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). SiteToSiteDataTransfer bool `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.
func (*LinkedInterconnectAttachments) Descriptor
deprecated
func (*LinkedInterconnectAttachments) Descriptor() ([]byte, []int)
Deprecated: Use LinkedInterconnectAttachments.ProtoReflect.Descriptor instead.
func (*LinkedInterconnectAttachments) GetSiteToSiteDataTransfer ¶
func (x *LinkedInterconnectAttachments) GetSiteToSiteDataTransfer() bool
func (*LinkedInterconnectAttachments) GetUris ¶
func (x *LinkedInterconnectAttachments) GetUris() []string
func (*LinkedInterconnectAttachments) ProtoMessage ¶
func (*LinkedInterconnectAttachments) ProtoMessage()
func (*LinkedInterconnectAttachments) ProtoReflect ¶
func (x *LinkedInterconnectAttachments) ProtoReflect() protoreflect.Message
func (*LinkedInterconnectAttachments) Reset ¶
func (x *LinkedInterconnectAttachments) Reset()
func (*LinkedInterconnectAttachments) String ¶
func (x *LinkedInterconnectAttachments) String() string
type LinkedRouterApplianceInstances ¶
type LinkedRouterApplianceInstances struct { // The list of router appliance instances. Instances []*RouterApplianceInstance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` // A value that controls whether site-to-site data transfer is enabled for // these resources. Data transfer is available only in [supported // locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). SiteToSiteDataTransfer bool `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
A collection of router appliance instances. If you configure multiple router appliance instances to receive data from the same set of sites outside of Google Cloud, we recommend that you associate those instances with the same spoke.
func (*LinkedRouterApplianceInstances) Descriptor
deprecated
func (*LinkedRouterApplianceInstances) Descriptor() ([]byte, []int)
Deprecated: Use LinkedRouterApplianceInstances.ProtoReflect.Descriptor instead.
func (*LinkedRouterApplianceInstances) GetInstances ¶
func (x *LinkedRouterApplianceInstances) GetInstances() []*RouterApplianceInstance
func (*LinkedRouterApplianceInstances) GetSiteToSiteDataTransfer ¶
func (x *LinkedRouterApplianceInstances) GetSiteToSiteDataTransfer() bool
func (*LinkedRouterApplianceInstances) ProtoMessage ¶
func (*LinkedRouterApplianceInstances) ProtoMessage()
func (*LinkedRouterApplianceInstances) ProtoReflect ¶
func (x *LinkedRouterApplianceInstances) ProtoReflect() protoreflect.Message
func (*LinkedRouterApplianceInstances) Reset ¶
func (x *LinkedRouterApplianceInstances) Reset()
func (*LinkedRouterApplianceInstances) String ¶
func (x *LinkedRouterApplianceInstances) String() string
type LinkedVpnTunnels ¶
type LinkedVpnTunnels struct { // The URIs of linked VPN tunnel resources. Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"` // A value that controls whether site-to-site data transfer is enabled for // these resources. Data transfer is available only in [supported // locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). SiteToSiteDataTransfer bool `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
A collection of Cloud VPN tunnel resources. These resources should be redundant HA VPN tunnels that all advertise the same prefixes to Google Cloud. Alternatively, in a passive/active configuration, all tunnels should be capable of advertising the same prefixes.
func (*LinkedVpnTunnels) Descriptor
deprecated
func (*LinkedVpnTunnels) Descriptor() ([]byte, []int)
Deprecated: Use LinkedVpnTunnels.ProtoReflect.Descriptor instead.
func (*LinkedVpnTunnels) GetSiteToSiteDataTransfer ¶
func (x *LinkedVpnTunnels) GetSiteToSiteDataTransfer() bool
func (*LinkedVpnTunnels) GetUris ¶
func (x *LinkedVpnTunnels) GetUris() []string
func (*LinkedVpnTunnels) ProtoMessage ¶
func (*LinkedVpnTunnels) ProtoMessage()
func (*LinkedVpnTunnels) ProtoReflect ¶
func (x *LinkedVpnTunnels) ProtoReflect() protoreflect.Message
func (*LinkedVpnTunnels) Reset ¶
func (x *LinkedVpnTunnels) Reset()
func (*LinkedVpnTunnels) String ¶
func (x *LinkedVpnTunnels) String() string
type ListHubsRequest ¶
type ListHubsRequest struct { // Required. The parent resource's name. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of results per page that should be returned. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The page token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // An expression that filters the results listed in the response. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Sort the results by a certain order. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
Request for [HubService.ListHubs][google.cloud.networkconnectivity.v1.HubService.ListHubs] method.
func (*ListHubsRequest) Descriptor
deprecated
func (*ListHubsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListHubsRequest.ProtoReflect.Descriptor instead.
func (*ListHubsRequest) GetFilter ¶
func (x *ListHubsRequest) GetFilter() string
func (*ListHubsRequest) GetOrderBy ¶
func (x *ListHubsRequest) GetOrderBy() string
func (*ListHubsRequest) GetPageSize ¶
func (x *ListHubsRequest) GetPageSize() int32
func (*ListHubsRequest) GetPageToken ¶
func (x *ListHubsRequest) GetPageToken() string
func (*ListHubsRequest) GetParent ¶
func (x *ListHubsRequest) GetParent() string
func (*ListHubsRequest) ProtoMessage ¶
func (*ListHubsRequest) ProtoMessage()
func (*ListHubsRequest) ProtoReflect ¶
func (x *ListHubsRequest) ProtoReflect() protoreflect.Message
func (*ListHubsRequest) Reset ¶
func (x *ListHubsRequest) Reset()
func (*ListHubsRequest) String ¶
func (x *ListHubsRequest) String() string
type ListHubsResponse ¶
type ListHubsResponse struct { // The requested hubs. Hubs []*Hub `protobuf:"bytes,1,rep,name=hubs,proto3" json:"hubs,omitempty"` // The next pagination token in the List response. It should be used as // page_token for the following request. An empty value means no more result. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // Locations that could not be reached. Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` // contains filtered or unexported fields }
Response for [HubService.ListHubs][google.cloud.networkconnectivity.v1.HubService.ListHubs] method.
func (*ListHubsResponse) Descriptor
deprecated
func (*ListHubsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListHubsResponse.ProtoReflect.Descriptor instead.
func (*ListHubsResponse) GetHubs ¶
func (x *ListHubsResponse) GetHubs() []*Hub
func (*ListHubsResponse) GetNextPageToken ¶
func (x *ListHubsResponse) GetNextPageToken() string
func (*ListHubsResponse) GetUnreachable ¶
func (x *ListHubsResponse) GetUnreachable() []string
func (*ListHubsResponse) ProtoMessage ¶
func (*ListHubsResponse) ProtoMessage()
func (*ListHubsResponse) ProtoReflect ¶
func (x *ListHubsResponse) ProtoReflect() protoreflect.Message
func (*ListHubsResponse) Reset ¶
func (x *ListHubsResponse) Reset()
func (*ListHubsResponse) String ¶
func (x *ListHubsResponse) String() string
type ListSpokesRequest ¶
type ListSpokesRequest struct { // Required. The parent resource. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of results per page that should be returned. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The page token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // An expression that filters the results listed in the response. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Sort the results by a certain order. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
The request for [HubService.ListSpokes][google.cloud.networkconnectivity.v1.HubService.ListSpokes].
func (*ListSpokesRequest) Descriptor
deprecated
func (*ListSpokesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSpokesRequest.ProtoReflect.Descriptor instead.
func (*ListSpokesRequest) GetFilter ¶
func (x *ListSpokesRequest) GetFilter() string
func (*ListSpokesRequest) GetOrderBy ¶
func (x *ListSpokesRequest) GetOrderBy() string
func (*ListSpokesRequest) GetPageSize ¶
func (x *ListSpokesRequest) GetPageSize() int32
func (*ListSpokesRequest) GetPageToken ¶
func (x *ListSpokesRequest) GetPageToken() string
func (*ListSpokesRequest) GetParent ¶
func (x *ListSpokesRequest) GetParent() string
func (*ListSpokesRequest) ProtoMessage ¶
func (*ListSpokesRequest) ProtoMessage()
func (*ListSpokesRequest) ProtoReflect ¶
func (x *ListSpokesRequest) ProtoReflect() protoreflect.Message
func (*ListSpokesRequest) Reset ¶
func (x *ListSpokesRequest) Reset()
func (*ListSpokesRequest) String ¶
func (x *ListSpokesRequest) String() string
type ListSpokesResponse ¶
type ListSpokesResponse struct { // The requested spokes. Spokes []*Spoke `protobuf:"bytes,1,rep,name=spokes,proto3" json:"spokes,omitempty"` // The next pagination token in the List response. It should be used as // page_token for the following request. An empty value means no more result. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // Locations that could not be reached. Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` // contains filtered or unexported fields }
The response for [HubService.ListSpokes][google.cloud.networkconnectivity.v1.HubService.ListSpokes].
func (*ListSpokesResponse) Descriptor
deprecated
func (*ListSpokesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSpokesResponse.ProtoReflect.Descriptor instead.
func (*ListSpokesResponse) GetNextPageToken ¶
func (x *ListSpokesResponse) GetNextPageToken() string
func (*ListSpokesResponse) GetSpokes ¶
func (x *ListSpokesResponse) GetSpokes() []*Spoke
func (*ListSpokesResponse) GetUnreachable ¶
func (x *ListSpokesResponse) GetUnreachable() []string
func (*ListSpokesResponse) ProtoMessage ¶
func (*ListSpokesResponse) ProtoMessage()
func (*ListSpokesResponse) ProtoReflect ¶
func (x *ListSpokesResponse) ProtoReflect() protoreflect.Message
func (*ListSpokesResponse) Reset ¶
func (x *ListSpokesResponse) Reset()
func (*ListSpokesResponse) String ¶
func (x *ListSpokesResponse) String() string
type LocationFeature ¶
type LocationFeature int32
Supported features for a location
const ( // No publicly supported feature in this location LocationFeature_LOCATION_FEATURE_UNSPECIFIED LocationFeature = 0 // Site-to-cloud spokes are supported in this location LocationFeature_SITE_TO_CLOUD_SPOKES LocationFeature = 1 // Site-to-site spokes are supported in this location LocationFeature_SITE_TO_SITE_SPOKES LocationFeature = 2 )
func (LocationFeature) Descriptor ¶
func (LocationFeature) Descriptor() protoreflect.EnumDescriptor
func (LocationFeature) Enum ¶
func (x LocationFeature) Enum() *LocationFeature
func (LocationFeature) EnumDescriptor
deprecated
func (LocationFeature) EnumDescriptor() ([]byte, []int)
Deprecated: Use LocationFeature.Descriptor instead.
func (LocationFeature) Number ¶
func (x LocationFeature) Number() protoreflect.EnumNumber
func (LocationFeature) String ¶
func (x LocationFeature) String() string
func (LocationFeature) Type ¶
func (LocationFeature) Type() protoreflect.EnumType
type LocationMetadata ¶
type LocationMetadata struct { // List of supported features LocationFeatures []LocationFeature `` /* 174-byte string literal not displayed */ // contains filtered or unexported fields }
Metadata about locations
func (*LocationMetadata) Descriptor
deprecated
func (*LocationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use LocationMetadata.ProtoReflect.Descriptor instead.
func (*LocationMetadata) GetLocationFeatures ¶
func (x *LocationMetadata) GetLocationFeatures() []LocationFeature
func (*LocationMetadata) ProtoMessage ¶
func (*LocationMetadata) ProtoMessage()
func (*LocationMetadata) ProtoReflect ¶
func (x *LocationMetadata) ProtoReflect() protoreflect.Message
func (*LocationMetadata) Reset ¶
func (x *LocationMetadata) Reset()
func (*LocationMetadata) String ¶
func (x *LocationMetadata) String() string
type OperationMetadata ¶
type OperationMetadata struct { // Output only. The time the operation was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time the operation finished running. EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. Server-defined resource path for the target of the operation. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // Output only. Name of the verb executed by the operation. Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"` // Output only. Human-readable status of the operation, if any. StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` // Output only. Identifies whether the user has requested cancellation // of the operation. Operations that have been cancelled successfully // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, // corresponding to `Code.CANCELLED`. RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"` // Output only. API version used to start the operation. ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // contains filtered or unexported fields }
Represents the metadata of the long-running operation.
func (*OperationMetadata) Descriptor
deprecated
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion ¶
func (x *OperationMetadata) GetApiVersion() string
func (*OperationMetadata) GetCreateTime ¶
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*OperationMetadata) GetEndTime ¶
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*OperationMetadata) GetRequestedCancellation ¶
func (x *OperationMetadata) GetRequestedCancellation() bool
func (*OperationMetadata) GetStatusMessage ¶
func (x *OperationMetadata) GetStatusMessage() string
func (*OperationMetadata) GetTarget ¶
func (x *OperationMetadata) GetTarget() string
func (*OperationMetadata) GetVerb ¶
func (x *OperationMetadata) GetVerb() string
func (*OperationMetadata) ProtoMessage ¶
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) ProtoReflect ¶
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (*OperationMetadata) Reset ¶
func (x *OperationMetadata) Reset()
func (*OperationMetadata) String ¶
func (x *OperationMetadata) String() string
type RouterApplianceInstance ¶
type RouterApplianceInstance struct { // The URI of the VM. VirtualMachine string `protobuf:"bytes,1,opt,name=virtual_machine,json=virtualMachine,proto3" json:"virtual_machine,omitempty"` // The IP address on the VM to use for peering. IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // contains filtered or unexported fields }
A router appliance instance is a Compute Engine virtual machine (VM) instance that acts as a BGP speaker. A router appliance instance is specified by the URI of the VM and the internal IP address of one of the VM's network interfaces.
func (*RouterApplianceInstance) Descriptor
deprecated
func (*RouterApplianceInstance) Descriptor() ([]byte, []int)
Deprecated: Use RouterApplianceInstance.ProtoReflect.Descriptor instead.
func (*RouterApplianceInstance) GetIpAddress ¶
func (x *RouterApplianceInstance) GetIpAddress() string
func (*RouterApplianceInstance) GetVirtualMachine ¶
func (x *RouterApplianceInstance) GetVirtualMachine() string
func (*RouterApplianceInstance) ProtoMessage ¶
func (*RouterApplianceInstance) ProtoMessage()
func (*RouterApplianceInstance) ProtoReflect ¶
func (x *RouterApplianceInstance) ProtoReflect() protoreflect.Message
func (*RouterApplianceInstance) Reset ¶
func (x *RouterApplianceInstance) Reset()
func (*RouterApplianceInstance) String ¶
func (x *RouterApplianceInstance) String() string
type RoutingVPC ¶
type RoutingVPC struct { // The URI of the VPC network. Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // Output only. If true, indicates that this VPC network is currently associated with // spokes that use the data transfer feature (spokes where the // site_to_site_data_transfer field is set to true). If you create new spokes // that use data transfer, they must be associated with this VPC network. At // most, one VPC network will have this field set to true. RequiredForNewSiteToSiteDataTransferSpokes bool `` /* 202-byte string literal not displayed */ // contains filtered or unexported fields }
RoutingVPC contains information about the VPC networks that are associated with a hub's spokes.
func (*RoutingVPC) Descriptor
deprecated
func (*RoutingVPC) Descriptor() ([]byte, []int)
Deprecated: Use RoutingVPC.ProtoReflect.Descriptor instead.
func (*RoutingVPC) GetRequiredForNewSiteToSiteDataTransferSpokes ¶
func (x *RoutingVPC) GetRequiredForNewSiteToSiteDataTransferSpokes() bool
func (*RoutingVPC) GetUri ¶
func (x *RoutingVPC) GetUri() string
func (*RoutingVPC) ProtoMessage ¶
func (*RoutingVPC) ProtoMessage()
func (*RoutingVPC) ProtoReflect ¶
func (x *RoutingVPC) ProtoReflect() protoreflect.Message
func (*RoutingVPC) Reset ¶
func (x *RoutingVPC) Reset()
func (*RoutingVPC) String ¶
func (x *RoutingVPC) String() string
type Spoke ¶
type Spoke struct { // Immutable. The name of the spoke. Spoke names must be unique. They use the // following form: // `projects/{project_number}/locations/{region}/spokes/{spoke_id}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The time the spoke was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time the spoke was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional labels in key:value format. For more information about labels, see // [Requirements for // labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). Labels map[string]string `` /* 153-byte string literal not displayed */ // An optional description of the spoke. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Immutable. The name of the hub that this spoke is attached to. Hub string `protobuf:"bytes,6,opt,name=hub,proto3" json:"hub,omitempty"` // VPN tunnels that are associated with the spoke. LinkedVpnTunnels *LinkedVpnTunnels `protobuf:"bytes,17,opt,name=linked_vpn_tunnels,json=linkedVpnTunnels,proto3" json:"linked_vpn_tunnels,omitempty"` // VLAN attachments that are associated with the spoke. LinkedInterconnectAttachments *LinkedInterconnectAttachments `` /* 151-byte string literal not displayed */ // Router appliance instances that are associated with the spoke. LinkedRouterApplianceInstances *LinkedRouterApplianceInstances `` /* 156-byte string literal not displayed */ // Output only. The Google-generated UUID for the spoke. This value is unique across all // spoke resources. If a spoke is deleted and another with the same name is // created, the new spoke is assigned a different unique_id. UniqueId string `protobuf:"bytes,11,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"` // Output only. The current lifecycle state of this spoke. State State `protobuf:"varint,15,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1.State" json:"state,omitempty"` // contains filtered or unexported fields }
A spoke represents a connection between your Google Cloud network resources and a non-Google-Cloud network.
When you create a spoke, you associate it with a hub. You must also identify a value for exactly one of the following fields:
* linked_vpn_tunnels * linked_interconnect_attachments * linked_router_appliance_instances
func (*Spoke) Descriptor
deprecated
func (*Spoke) GetCreateTime ¶
func (x *Spoke) GetCreateTime() *timestamppb.Timestamp
func (*Spoke) GetDescription ¶
func (*Spoke) GetLinkedInterconnectAttachments ¶
func (x *Spoke) GetLinkedInterconnectAttachments() *LinkedInterconnectAttachments
func (*Spoke) GetLinkedRouterApplianceInstances ¶
func (x *Spoke) GetLinkedRouterApplianceInstances() *LinkedRouterApplianceInstances
func (*Spoke) GetLinkedVpnTunnels ¶
func (x *Spoke) GetLinkedVpnTunnels() *LinkedVpnTunnels
func (*Spoke) GetUniqueId ¶
func (*Spoke) GetUpdateTime ¶
func (x *Spoke) GetUpdateTime() *timestamppb.Timestamp
func (*Spoke) ProtoMessage ¶
func (*Spoke) ProtoMessage()
func (*Spoke) ProtoReflect ¶
func (x *Spoke) ProtoReflect() protoreflect.Message
type State ¶
type State int32
The State enum represents the lifecycle stage of a Network Connectivity Center resource.
func (State) Descriptor ¶
func (State) Descriptor() protoreflect.EnumDescriptor
func (State) EnumDescriptor
deprecated
func (State) Number ¶
func (x State) Number() protoreflect.EnumNumber
func (State) Type ¶
func (State) Type() protoreflect.EnumType
type UnimplementedHubServiceServer ¶
type UnimplementedHubServiceServer struct { }
UnimplementedHubServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedHubServiceServer) CreateHub ¶
func (*UnimplementedHubServiceServer) CreateHub(context.Context, *CreateHubRequest) (*longrunning.Operation, error)
func (*UnimplementedHubServiceServer) CreateSpoke ¶
func (*UnimplementedHubServiceServer) CreateSpoke(context.Context, *CreateSpokeRequest) (*longrunning.Operation, error)
func (*UnimplementedHubServiceServer) DeleteHub ¶
func (*UnimplementedHubServiceServer) DeleteHub(context.Context, *DeleteHubRequest) (*longrunning.Operation, error)
func (*UnimplementedHubServiceServer) DeleteSpoke ¶
func (*UnimplementedHubServiceServer) DeleteSpoke(context.Context, *DeleteSpokeRequest) (*longrunning.Operation, error)
func (*UnimplementedHubServiceServer) GetHub ¶
func (*UnimplementedHubServiceServer) GetHub(context.Context, *GetHubRequest) (*Hub, error)
func (*UnimplementedHubServiceServer) GetSpoke ¶
func (*UnimplementedHubServiceServer) GetSpoke(context.Context, *GetSpokeRequest) (*Spoke, error)
func (*UnimplementedHubServiceServer) ListHubs ¶
func (*UnimplementedHubServiceServer) ListHubs(context.Context, *ListHubsRequest) (*ListHubsResponse, error)
func (*UnimplementedHubServiceServer) ListSpokes ¶
func (*UnimplementedHubServiceServer) ListSpokes(context.Context, *ListSpokesRequest) (*ListSpokesResponse, error)
func (*UnimplementedHubServiceServer) UpdateHub ¶
func (*UnimplementedHubServiceServer) UpdateHub(context.Context, *UpdateHubRequest) (*longrunning.Operation, error)
func (*UnimplementedHubServiceServer) UpdateSpoke ¶
func (*UnimplementedHubServiceServer) UpdateSpoke(context.Context, *UpdateSpokeRequest) (*longrunning.Operation, error)
type UpdateHubRequest ¶
type UpdateHubRequest struct { // Optional. In the case of an update to an existing hub, field mask is used to specify // the fields to be overwritten. The fields specified in the update_mask are // relative to the resource, not the full request. A field is overwritten if // it is in the mask. If the user does not provide a mask, then all fields are // overwritten. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The state that the hub should be in after the update. Hub *Hub `protobuf:"bytes,2,opt,name=hub,proto3" json:"hub,omitempty"` // Optional. A unique request ID (optional). If you specify this ID, you can use it // in cases when you need to retry your request. When you need to retry, this // ID lets the server know that it can ignore the request if it has already // been completed. The server guarantees that for at least 60 minutes after // the first request. // // For example, consider a situation where you make an initial request and // the request times out. If you make the request again with the same request // ID, the server can check to see whether the original operation // was received. If it was, the server ignores the second request. This // behavior prevents clients from mistakenly creating duplicate commitments. // // The request ID must be a valid UUID, with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
Request for [HubService.UpdateHub][google.cloud.networkconnectivity.v1.HubService.UpdateHub] method.
func (*UpdateHubRequest) Descriptor
deprecated
func (*UpdateHubRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateHubRequest.ProtoReflect.Descriptor instead.
func (*UpdateHubRequest) GetHub ¶
func (x *UpdateHubRequest) GetHub() *Hub
func (*UpdateHubRequest) GetRequestId ¶
func (x *UpdateHubRequest) GetRequestId() string
func (*UpdateHubRequest) GetUpdateMask ¶
func (x *UpdateHubRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateHubRequest) ProtoMessage ¶
func (*UpdateHubRequest) ProtoMessage()
func (*UpdateHubRequest) ProtoReflect ¶
func (x *UpdateHubRequest) ProtoReflect() protoreflect.Message
func (*UpdateHubRequest) Reset ¶
func (x *UpdateHubRequest) Reset()
func (*UpdateHubRequest) String ¶
func (x *UpdateHubRequest) String() string
type UpdateSpokeRequest ¶
type UpdateSpokeRequest struct { // Optional. In the case of an update to an existing spoke, field mask is used to // specify the fields to be overwritten. The fields specified in the // update_mask are relative to the resource, not the full request. A field is // overwritten if it is in the mask. If the user does not provide a mask, then // all fields are overwritten. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The state that the spoke should be in after the update. Spoke *Spoke `protobuf:"bytes,2,opt,name=spoke,proto3" json:"spoke,omitempty"` // Optional. A unique request ID (optional). If you specify this ID, you can use it // in cases when you need to retry your request. When you need to retry, this // ID lets the server know that it can ignore the request if it has already // been completed. The server guarantees that for at least 60 minutes after // the first request. // // For example, consider a situation where you make an initial request and // the request times out. If you make the request again with the same request // ID, the server can check to see whether the original operation // was received. If it was, the server ignores the second request. This // behavior prevents clients from mistakenly creating duplicate commitments. // // The request ID must be a valid UUID, with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
Request for [HubService.UpdateSpoke][google.cloud.networkconnectivity.v1.HubService.UpdateSpoke] method.
func (*UpdateSpokeRequest) Descriptor
deprecated
func (*UpdateSpokeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSpokeRequest.ProtoReflect.Descriptor instead.
func (*UpdateSpokeRequest) GetRequestId ¶
func (x *UpdateSpokeRequest) GetRequestId() string
func (*UpdateSpokeRequest) GetSpoke ¶
func (x *UpdateSpokeRequest) GetSpoke() *Spoke
func (*UpdateSpokeRequest) GetUpdateMask ¶
func (x *UpdateSpokeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSpokeRequest) ProtoMessage ¶
func (*UpdateSpokeRequest) ProtoMessage()
func (*UpdateSpokeRequest) ProtoReflect ¶
func (x *UpdateSpokeRequest) ProtoReflect() protoreflect.Message
func (*UpdateSpokeRequest) Reset ¶
func (x *UpdateSpokeRequest) Reset()
func (*UpdateSpokeRequest) String ¶
func (x *UpdateSpokeRequest) String() string