Constants
DataTransferService_ListMulticloudDataTransferConfigs_FullMethodName, DataTransferService_GetMulticloudDataTransferConfig_FullMethodName, DataTransferService_CreateMulticloudDataTransferConfig_FullMethodName, DataTransferService_UpdateMulticloudDataTransferConfig_FullMethodName, DataTransferService_DeleteMulticloudDataTransferConfig_FullMethodName, DataTransferService_ListDestinations_FullMethodName, DataTransferService_GetDestination_FullMethodName, DataTransferService_CreateDestination_FullMethodName, DataTransferService_UpdateDestination_FullMethodName, DataTransferService_DeleteDestination_FullMethodName, DataTransferService_GetMulticloudDataTransferSupportedService_FullMethodName, DataTransferService_ListMulticloudDataTransferSupportedServices_FullMethodName
const (
DataTransferService_ListMulticloudDataTransferConfigs_FullMethodName = "/google.cloud.networkconnectivity.v1beta.DataTransferService/ListMulticloudDataTransferConfigs"
DataTransferService_GetMulticloudDataTransferConfig_FullMethodName = "/google.cloud.networkconnectivity.v1beta.DataTransferService/GetMulticloudDataTransferConfig"
DataTransferService_CreateMulticloudDataTransferConfig_FullMethodName = "/google.cloud.networkconnectivity.v1beta.DataTransferService/CreateMulticloudDataTransferConfig"
DataTransferService_UpdateMulticloudDataTransferConfig_FullMethodName = "/google.cloud.networkconnectivity.v1beta.DataTransferService/UpdateMulticloudDataTransferConfig"
DataTransferService_DeleteMulticloudDataTransferConfig_FullMethodName = "/google.cloud.networkconnectivity.v1beta.DataTransferService/DeleteMulticloudDataTransferConfig"
DataTransferService_ListDestinations_FullMethodName = "/google.cloud.networkconnectivity.v1beta.DataTransferService/ListDestinations"
DataTransferService_GetDestination_FullMethodName = "/google.cloud.networkconnectivity.v1beta.DataTransferService/GetDestination"
DataTransferService_CreateDestination_FullMethodName = "/google.cloud.networkconnectivity.v1beta.DataTransferService/CreateDestination"
DataTransferService_UpdateDestination_FullMethodName = "/google.cloud.networkconnectivity.v1beta.DataTransferService/UpdateDestination"
DataTransferService_DeleteDestination_FullMethodName = "/google.cloud.networkconnectivity.v1beta.DataTransferService/DeleteDestination"
DataTransferService_GetMulticloudDataTransferSupportedService_FullMethodName = "/google.cloud.networkconnectivity.v1beta.DataTransferService/GetMulticloudDataTransferSupportedService"
DataTransferService_ListMulticloudDataTransferSupportedServices_FullMethodName = "/google.cloud.networkconnectivity.v1beta.DataTransferService/ListMulticloudDataTransferSupportedServices"
)HubService_ListHubs_FullMethodName, HubService_GetHub_FullMethodName, HubService_CreateHub_FullMethodName, HubService_UpdateHub_FullMethodName, HubService_DeleteHub_FullMethodName, HubService_ListHubSpokes_FullMethodName, HubService_QueryHubStatus_FullMethodName, HubService_ListSpokes_FullMethodName, HubService_GetSpoke_FullMethodName, HubService_CreateSpoke_FullMethodName, HubService_UpdateSpoke_FullMethodName, HubService_RejectHubSpoke_FullMethodName, HubService_AcceptHubSpoke_FullMethodName, HubService_AcceptSpokeUpdate_FullMethodName, HubService_RejectSpokeUpdate_FullMethodName, HubService_DeleteSpoke_FullMethodName, HubService_GetRouteTable_FullMethodName, HubService_GetRoute_FullMethodName, HubService_ListRoutes_FullMethodName, HubService_ListRouteTables_FullMethodName, HubService_GetGroup_FullMethodName, HubService_ListGroups_FullMethodName, HubService_UpdateGroup_FullMethodName, HubService_CreateGatewayAdvertisedRoute_FullMethodName, HubService_GetGatewayAdvertisedRoute_FullMethodName, HubService_ListGatewayAdvertisedRoutes_FullMethodName, HubService_UpdateGatewayAdvertisedRoute_FullMethodName, HubService_DeleteGatewayAdvertisedRoute_FullMethodName
const (
HubService_ListHubs_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/ListHubs"
HubService_GetHub_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/GetHub"
HubService_CreateHub_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/CreateHub"
HubService_UpdateHub_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/UpdateHub"
HubService_DeleteHub_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/DeleteHub"
HubService_ListHubSpokes_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/ListHubSpokes"
HubService_QueryHubStatus_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/QueryHubStatus"
HubService_ListSpokes_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/ListSpokes"
HubService_GetSpoke_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/GetSpoke"
HubService_CreateSpoke_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/CreateSpoke"
HubService_UpdateSpoke_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/UpdateSpoke"
HubService_RejectHubSpoke_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/RejectHubSpoke"
HubService_AcceptHubSpoke_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/AcceptHubSpoke"
HubService_AcceptSpokeUpdate_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/AcceptSpokeUpdate"
HubService_RejectSpokeUpdate_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/RejectSpokeUpdate"
HubService_DeleteSpoke_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/DeleteSpoke"
HubService_GetRouteTable_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/GetRouteTable"
HubService_GetRoute_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/GetRoute"
HubService_ListRoutes_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/ListRoutes"
HubService_ListRouteTables_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/ListRouteTables"
HubService_GetGroup_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/GetGroup"
HubService_ListGroups_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/ListGroups"
HubService_UpdateGroup_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/UpdateGroup"
HubService_CreateGatewayAdvertisedRoute_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/CreateGatewayAdvertisedRoute"
HubService_GetGatewayAdvertisedRoute_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/GetGatewayAdvertisedRoute"
HubService_ListGatewayAdvertisedRoutes_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/ListGatewayAdvertisedRoutes"
HubService_UpdateGatewayAdvertisedRoute_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/UpdateGatewayAdvertisedRoute"
HubService_DeleteGatewayAdvertisedRoute_FullMethodName = "/google.cloud.networkconnectivity.v1beta.HubService/DeleteGatewayAdvertisedRoute"
)PolicyBasedRoutingService_ListPolicyBasedRoutes_FullMethodName, PolicyBasedRoutingService_GetPolicyBasedRoute_FullMethodName, PolicyBasedRoutingService_CreatePolicyBasedRoute_FullMethodName, PolicyBasedRoutingService_DeletePolicyBasedRoute_FullMethodName
const (
PolicyBasedRoutingService_ListPolicyBasedRoutes_FullMethodName = "/google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService/ListPolicyBasedRoutes"
PolicyBasedRoutingService_GetPolicyBasedRoute_FullMethodName = "/google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService/GetPolicyBasedRoute"
PolicyBasedRoutingService_CreatePolicyBasedRoute_FullMethodName = "/google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService/CreatePolicyBasedRoute"
PolicyBasedRoutingService_DeletePolicyBasedRoute_FullMethodName = "/google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService/DeletePolicyBasedRoute"
)TransportManager_ListRemoteTransportProfiles_FullMethodName, TransportManager_GetRemoteTransportProfile_FullMethodName, TransportManager_ParseFromActivationKey_FullMethodName, TransportManager_ListTransports_FullMethodName, TransportManager_GetTransport_FullMethodName, TransportManager_GetStatus_FullMethodName, TransportManager_CreateTransport_FullMethodName, TransportManager_UpdateTransport_FullMethodName, TransportManager_DeleteTransport_FullMethodName
const (
TransportManager_ListRemoteTransportProfiles_FullMethodName = "/google.cloud.networkconnectivity.v1beta.TransportManager/ListRemoteTransportProfiles"
TransportManager_GetRemoteTransportProfile_FullMethodName = "/google.cloud.networkconnectivity.v1beta.TransportManager/GetRemoteTransportProfile"
TransportManager_ParseFromActivationKey_FullMethodName = "/google.cloud.networkconnectivity.v1beta.TransportManager/ParseFromActivationKey"
TransportManager_ListTransports_FullMethodName = "/google.cloud.networkconnectivity.v1beta.TransportManager/ListTransports"
TransportManager_GetTransport_FullMethodName = "/google.cloud.networkconnectivity.v1beta.TransportManager/GetTransport"
TransportManager_GetStatus_FullMethodName = "/google.cloud.networkconnectivity.v1beta.TransportManager/GetStatus"
TransportManager_CreateTransport_FullMethodName = "/google.cloud.networkconnectivity.v1beta.TransportManager/CreateTransport"
TransportManager_UpdateTransport_FullMethodName = "/google.cloud.networkconnectivity.v1beta.TransportManager/UpdateTransport"
TransportManager_DeleteTransport_FullMethodName = "/google.cloud.networkconnectivity.v1beta.TransportManager/DeleteTransport"
)Variables
Destination_DestinationEndpoint_State_name, Destination_DestinationEndpoint_State_value
var (
Destination_DestinationEndpoint_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "VALID",
2: "INVALID",
}
Destination_DestinationEndpoint_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"VALID": 1,
"INVALID": 2,
}
)Enum value maps for Destination_DestinationEndpoint_State.
StateTimeline_StateMetadata_State_name, StateTimeline_StateMetadata_State_value
var (
StateTimeline_StateMetadata_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "ADDING",
2: "ACTIVE",
3: "DELETING",
4: "SUSPENDING",
5: "SUSPENDED",
}
StateTimeline_StateMetadata_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"ADDING": 1,
"ACTIVE": 2,
"DELETING": 3,
"SUSPENDING": 4,
"SUSPENDED": 5,
}
)Enum value maps for StateTimeline_StateMetadata_State.
ServiceConfig_EligibilityCriteria_name, ServiceConfig_EligibilityCriteria_value
var (
ServiceConfig_EligibilityCriteria_name = map[int32]string{
0: "ELIGIBILITY_CRITERIA_UNSPECIFIED",
1: "NETWORK_SERVICE_TIER_PREMIUM_ONLY",
2: "NETWORK_SERVICE_TIER_STANDARD_ONLY",
3: "REQUEST_ENDPOINT_REGIONAL_ENDPOINT_ONLY",
}
ServiceConfig_EligibilityCriteria_value = map[string]int32{
"ELIGIBILITY_CRITERIA_UNSPECIFIED": 0,
"NETWORK_SERVICE_TIER_PREMIUM_ONLY": 1,
"NETWORK_SERVICE_TIER_STANDARD_ONLY": 2,
"REQUEST_ENDPOINT_REGIONAL_ENDPOINT_ONLY": 3,
}
)Enum value maps for ServiceConfig_EligibilityCriteria.
RouteType_name, RouteType_value
var (
RouteType_name = map[int32]string{
0: "ROUTE_TYPE_UNSPECIFIED",
1: "VPC_PRIMARY_SUBNET",
2: "VPC_SECONDARY_SUBNET",
3: "DYNAMIC_ROUTE",
4: "PSC_GLOBAL_GAPI",
}
RouteType_value = map[string]int32{
"ROUTE_TYPE_UNSPECIFIED": 0,
"VPC_PRIMARY_SUBNET": 1,
"VPC_SECONDARY_SUBNET": 2,
"DYNAMIC_ROUTE": 3,
"PSC_GLOBAL_GAPI": 4,
}
)Enum value maps for RouteType.
State_name, State_value
var (
State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "ACTIVE",
3: "DELETING",
8: "ACCEPTING",
9: "REJECTING",
6: "UPDATING",
7: "INACTIVE",
10: "OBSOLETE",
11: "FAILED",
}
State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"ACTIVE": 2,
"DELETING": 3,
"ACCEPTING": 8,
"REJECTING": 9,
"UPDATING": 6,
"INACTIVE": 7,
"OBSOLETE": 10,
"FAILED": 11,
}
)Enum value maps for State.
SpokeType_name, SpokeType_value
var (
SpokeType_name = map[int32]string{
0: "SPOKE_TYPE_UNSPECIFIED",
1: "VPN_TUNNEL",
2: "INTERCONNECT_ATTACHMENT",
3: "ROUTER_APPLIANCE",
4: "VPC_NETWORK",
5: "GATEWAY",
7: "PRODUCER_VPC_NETWORK",
}
SpokeType_value = map[string]int32{
"SPOKE_TYPE_UNSPECIFIED": 0,
"VPN_TUNNEL": 1,
"INTERCONNECT_ATTACHMENT": 2,
"ROUTER_APPLIANCE": 3,
"VPC_NETWORK": 4,
"GATEWAY": 5,
"PRODUCER_VPC_NETWORK": 7,
}
)Enum value maps for SpokeType.
PolicyMode_name, PolicyMode_value
var (
PolicyMode_name = map[int32]string{
0: "POLICY_MODE_UNSPECIFIED",
1: "PRESET",
}
PolicyMode_value = map[string]int32{
"POLICY_MODE_UNSPECIFIED": 0,
"PRESET": 1,
}
)Enum value maps for PolicyMode.
PresetTopology_name, PresetTopology_value
var (
PresetTopology_name = map[int32]string{
0: "PRESET_TOPOLOGY_UNSPECIFIED",
2: "MESH",
3: "STAR",
4: "HYBRID_INSPECTION",
}
PresetTopology_value = map[string]int32{
"PRESET_TOPOLOGY_UNSPECIFIED": 0,
"MESH": 2,
"STAR": 3,
"HYBRID_INSPECTION": 4,
}
)Enum value maps for PresetTopology.
LocationFeature_name, LocationFeature_value
var (
LocationFeature_name = map[int32]string{
0: "LOCATION_FEATURE_UNSPECIFIED",
1: "SITE_TO_CLOUD_SPOKES",
2: "SITE_TO_SITE_SPOKES",
3: "GATEWAY_SPOKES",
4: "TRANSPORTS",
}
LocationFeature_value = map[string]int32{
"LOCATION_FEATURE_UNSPECIFIED": 0,
"SITE_TO_CLOUD_SPOKES": 1,
"SITE_TO_SITE_SPOKES": 2,
"GATEWAY_SPOKES": 3,
"TRANSPORTS": 4,
}
)Enum value maps for LocationFeature.
Spoke_StateReason_Code_name, Spoke_StateReason_Code_value
var (
Spoke_StateReason_Code_name = map[int32]string{
0: "CODE_UNSPECIFIED",
1: "PENDING_REVIEW",
2: "REJECTED",
3: "PAUSED",
4: "FAILED",
5: "UPDATE_PENDING_REVIEW",
6: "UPDATE_REJECTED",
7: "UPDATE_FAILED",
}
Spoke_StateReason_Code_value = map[string]int32{
"CODE_UNSPECIFIED": 0,
"PENDING_REVIEW": 1,
"REJECTED": 2,
"PAUSED": 3,
"FAILED": 4,
"UPDATE_PENDING_REVIEW": 5,
"UPDATE_REJECTED": 6,
"UPDATE_FAILED": 7,
}
)Enum value maps for Spoke_StateReason_Code.
ListHubSpokesRequest_SpokeView_name, ListHubSpokesRequest_SpokeView_value
var (
ListHubSpokesRequest_SpokeView_name = map[int32]string{
0: "SPOKE_VIEW_UNSPECIFIED",
1: "BASIC",
2: "DETAILED",
}
ListHubSpokesRequest_SpokeView_value = map[string]int32{
"SPOKE_VIEW_UNSPECIFIED": 0,
"BASIC": 1,
"DETAILED": 2,
}
)Enum value maps for ListHubSpokesRequest_SpokeView.
PscPropagationStatus_Code_name, PscPropagationStatus_Code_value
var (
PscPropagationStatus_Code_name = map[int32]string{
0: "CODE_UNSPECIFIED",
1: "READY",
2: "PROPAGATING",
3: "ERROR_PRODUCER_PROPAGATED_CONNECTION_LIMIT_EXCEEDED",
4: "ERROR_PRODUCER_NAT_IP_SPACE_EXHAUSTED",
5: "ERROR_PRODUCER_QUOTA_EXCEEDED",
6: "ERROR_CONSUMER_QUOTA_EXCEEDED",
}
PscPropagationStatus_Code_value = map[string]int32{
"CODE_UNSPECIFIED": 0,
"READY": 1,
"PROPAGATING": 2,
"ERROR_PRODUCER_PROPAGATED_CONNECTION_LIMIT_EXCEEDED": 3,
"ERROR_PRODUCER_NAT_IP_SPACE_EXHAUSTED": 4,
"ERROR_PRODUCER_QUOTA_EXCEEDED": 5,
"ERROR_CONSUMER_QUOTA_EXCEEDED": 6,
}
)Enum value maps for PscPropagationStatus_Code.
Gateway_GatewayCapacity_name, Gateway_GatewayCapacity_value
var (
Gateway_GatewayCapacity_name = map[int32]string{
0: "GATEWAY_CAPACITY_UNSPECIFIED",
5: "CAPACITY_1_GBPS",
1: "CAPACITY_10_GBPS",
4: "CAPACITY_100_GBPS",
}
Gateway_GatewayCapacity_value = map[string]int32{
"GATEWAY_CAPACITY_UNSPECIFIED": 0,
"CAPACITY_1_GBPS": 5,
"CAPACITY_10_GBPS": 1,
"CAPACITY_100_GBPS": 4,
}
)Enum value maps for Gateway_GatewayCapacity.
GatewayAdvertisedRoute_Recipient_name, GatewayAdvertisedRoute_Recipient_value
var (
GatewayAdvertisedRoute_Recipient_name = map[int32]string{
0: "RECIPIENT_UNSPECIFIED",
1: "ADVERTISE_TO_HUB",
}
GatewayAdvertisedRoute_Recipient_value = map[string]int32{
"RECIPIENT_UNSPECIFIED": 0,
"ADVERTISE_TO_HUB": 1,
}
)Enum value maps for GatewayAdvertisedRoute_Recipient.
PolicyBasedRoute_OtherRoutes_name, PolicyBasedRoute_OtherRoutes_value
var (
PolicyBasedRoute_OtherRoutes_name = map[int32]string{
0: "OTHER_ROUTES_UNSPECIFIED",
1: "DEFAULT_ROUTING",
}
PolicyBasedRoute_OtherRoutes_value = map[string]int32{
"OTHER_ROUTES_UNSPECIFIED": 0,
"DEFAULT_ROUTING": 1,
}
)Enum value maps for PolicyBasedRoute_OtherRoutes.
PolicyBasedRoute_Filter_ProtocolVersion_name, PolicyBasedRoute_Filter_ProtocolVersion_value
var (
PolicyBasedRoute_Filter_ProtocolVersion_name = map[int32]string{
0: "PROTOCOL_VERSION_UNSPECIFIED",
1: "IPV4",
2: "IPV6",
}
PolicyBasedRoute_Filter_ProtocolVersion_value = map[string]int32{
"PROTOCOL_VERSION_UNSPECIFIED": 0,
"IPV4": 1,
"IPV6": 2,
}
)Enum value maps for PolicyBasedRoute_Filter_ProtocolVersion.
PolicyBasedRoute_Warnings_Code_name, PolicyBasedRoute_Warnings_Code_value
var (
PolicyBasedRoute_Warnings_Code_name = map[int32]string{
0: "WARNING_UNSPECIFIED",
1: "RESOURCE_NOT_ACTIVE",
2: "RESOURCE_BEING_MODIFIED",
}
PolicyBasedRoute_Warnings_Code_value = map[string]int32{
"WARNING_UNSPECIFIED": 0,
"RESOURCE_NOT_ACTIVE": 1,
"RESOURCE_BEING_MODIFIED": 2,
}
)Enum value maps for PolicyBasedRoute_Warnings_Code.
RemoteTransportProfile_Bandwidth_name, RemoteTransportProfile_Bandwidth_value
var (
RemoteTransportProfile_Bandwidth_name = map[int32]string{
0: "BANDWIDTH_UNSPECIFIED",
1: "BPS_50M",
2: "BPS_100M",
3: "BPS_200M",
4: "BPS_300M",
5: "BPS_400M",
6: "BPS_500M",
7: "BPS_1G",
8: "BPS_2G",
9: "BPS_5G",
10: "BPS_10G",
11: "BPS_20G",
12: "BPS_50G",
13: "BPS_100G",
}
RemoteTransportProfile_Bandwidth_value = map[string]int32{
"BANDWIDTH_UNSPECIFIED": 0,
"BPS_50M": 1,
"BPS_100M": 2,
"BPS_200M": 3,
"BPS_300M": 4,
"BPS_400M": 5,
"BPS_500M": 6,
"BPS_1G": 7,
"BPS_2G": 8,
"BPS_5G": 9,
"BPS_10G": 10,
"BPS_20G": 11,
"BPS_50G": 12,
"BPS_100G": 13,
}
)Enum value maps for RemoteTransportProfile_Bandwidth.
RemoteTransportProfile_ServiceLevelAvailability_name, RemoteTransportProfile_ServiceLevelAvailability_value
var (
RemoteTransportProfile_ServiceLevelAvailability_name = map[int32]string{
0: "SERVICE_LEVEL_AVAILABILITY_UNSPECIFIED",
1: "HIGH",
2: "MAXIMUM",
}
RemoteTransportProfile_ServiceLevelAvailability_value = map[string]int32{
"SERVICE_LEVEL_AVAILABILITY_UNSPECIFIED": 0,
"HIGH": 1,
"MAXIMUM": 2,
}
)Enum value maps for RemoteTransportProfile_ServiceLevelAvailability.
RemoteTransportProfile_KeyProvisioningFlow_name, RemoteTransportProfile_KeyProvisioningFlow_value
var (
RemoteTransportProfile_KeyProvisioningFlow_name = map[int32]string{
0: "KEY_PROVISIONING_FLOW_UNSPECIFIED",
1: "INPUT_ONLY",
2: "OUTPUT_ONLY",
3: "INPUT_OR_OUTPUT",
}
RemoteTransportProfile_KeyProvisioningFlow_value = map[string]int32{
"KEY_PROVISIONING_FLOW_UNSPECIFIED": 0,
"INPUT_ONLY": 1,
"OUTPUT_ONLY": 2,
"INPUT_OR_OUTPUT": 3,
}
)Enum value maps for RemoteTransportProfile_KeyProvisioningFlow.
RemoteTransportProfile_State_name, RemoteTransportProfile_State_value
var (
RemoteTransportProfile_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CLOSED",
2: "OPEN",
}
RemoteTransportProfile_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CLOSED": 1,
"OPEN": 2,
}
)Enum value maps for RemoteTransportProfile_State.
RemoteTransportProfile_ProviderType_name, RemoteTransportProfile_ProviderType_value
var (
RemoteTransportProfile_ProviderType_name = map[int32]string{
0: "PROVIDER_TYPE_UNSPECIFIED",
1: "CLOUD",
2: "NETWORK",
}
RemoteTransportProfile_ProviderType_value = map[string]int32{
"PROVIDER_TYPE_UNSPECIFIED": 0,
"CLOUD": 1,
"NETWORK": 2,
}
)Enum value maps for RemoteTransportProfile_ProviderType.
Transport_Bandwidth_name, Transport_Bandwidth_value
var (
Transport_Bandwidth_name = map[int32]string{
0: "BANDWIDTH_UNSPECIFIED",
1: "BPS_50M",
2: "BPS_100M",
3: "BPS_200M",
4: "BPS_300M",
5: "BPS_400M",
6: "BPS_500M",
7: "BPS_1G",
8: "BPS_2G",
9: "BPS_5G",
10: "BPS_10G",
11: "BPS_20G",
12: "BPS_50G",
13: "BPS_100G",
}
Transport_Bandwidth_value = map[string]int32{
"BANDWIDTH_UNSPECIFIED": 0,
"BPS_50M": 1,
"BPS_100M": 2,
"BPS_200M": 3,
"BPS_300M": 4,
"BPS_400M": 5,
"BPS_500M": 6,
"BPS_1G": 7,
"BPS_2G": 8,
"BPS_5G": 9,
"BPS_10G": 10,
"BPS_20G": 11,
"BPS_50G": 12,
"BPS_100G": 13,
}
)Enum value maps for Transport_Bandwidth.
Transport_StackType_name, Transport_StackType_value
var (
Transport_StackType_name = map[int32]string{
0: "STACK_TYPE_UNSPECIFIED",
1: "IPV4_ONLY",
2: "IPV4_IPV6",
}
Transport_StackType_value = map[string]int32{
"STACK_TYPE_UNSPECIFIED": 0,
"IPV4_ONLY": 1,
"IPV4_IPV6": 2,
}
)Enum value maps for Transport_StackType.
Transport_State_name, Transport_State_value
var (
Transport_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "CREATING",
2: "PENDING_CONFIG",
3: "PENDING_KEY",
4: "ACTIVE",
5: "DELETING",
6: "DEPROVISIONED",
}
Transport_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"PENDING_CONFIG": 2,
"PENDING_KEY": 3,
"ACTIVE": 4,
"DELETING": 5,
"DEPROVISIONED": 6,
}
)Enum value maps for Transport_State.
GetStatusResponse_OverallStatus_name, GetStatusResponse_OverallStatus_value
var (
GetStatusResponse_OverallStatus_name = map[int32]string{
0: "OVERALL_STATUS_UNSPECIFIED",
1: "ACTIVE",
2: "PENDING_KEY",
3: "CONFIGURING",
4: "DISCONNECTED",
5: "DOWN",
}
GetStatusResponse_OverallStatus_value = map[string]int32{
"OVERALL_STATUS_UNSPECIFIED": 0,
"ACTIVE": 1,
"PENDING_KEY": 2,
"CONFIGURING": 3,
"DISCONNECTED": 4,
"DOWN": 5,
}
)Enum value maps for GetStatusResponse_OverallStatus.
GetStatusResponse_OperationalStatus_name, GetStatusResponse_OperationalStatus_value
var (
GetStatusResponse_OperationalStatus_name = map[int32]string{
0: "OPERATIONAL_STATUS_UNSPECIFIED",
1: "OPERATIONAL_STATUS_ACTIVE",
2: "OPERATIONAL_STATUS_DOWN",
}
GetStatusResponse_OperationalStatus_value = map[string]int32{
"OPERATIONAL_STATUS_UNSPECIFIED": 0,
"OPERATIONAL_STATUS_ACTIVE": 1,
"OPERATIONAL_STATUS_DOWN": 2,
}
)Enum value maps for GetStatusResponse_OperationalStatus.
GetStatusResponse_ConnectivityStatus_name, GetStatusResponse_ConnectivityStatus_value
var (
GetStatusResponse_ConnectivityStatus_name = map[int32]string{
0: "CONNECTIVITY_STATUS_UNSPECIFIED",
1: "CONNECTIVITY_STATUS_CONNECTED",
2: "CONNECTIVITY_STATUS_DISCONNECTED",
}
GetStatusResponse_ConnectivityStatus_value = map[string]int32{
"CONNECTIVITY_STATUS_UNSPECIFIED": 0,
"CONNECTIVITY_STATUS_CONNECTED": 1,
"CONNECTIVITY_STATUS_DISCONNECTED": 2,
}
)Enum value maps for GetStatusResponse_ConnectivityStatus.
GetStatusResponse_MacSecStatus_name, GetStatusResponse_MacSecStatus_value
var (
GetStatusResponse_MacSecStatus_name = map[int32]string{
0: "MAC_SEC_STATUS_UNSPECIFIED",
1: "MAC_SEC_STATUS_ACTIVE_FAIL_CLOSED",
2: "MAC_SEC_STATUS_ACTIVE_FAIL_OPEN",
3: "MAC_SEC_STATUS_NOT_CONFIGURED",
}
GetStatusResponse_MacSecStatus_value = map[string]int32{
"MAC_SEC_STATUS_UNSPECIFIED": 0,
"MAC_SEC_STATUS_ACTIVE_FAIL_CLOSED": 1,
"MAC_SEC_STATUS_ACTIVE_FAIL_OPEN": 2,
"MAC_SEC_STATUS_NOT_CONFIGURED": 3,
}
)Enum value maps for GetStatusResponse_MacSecStatus.
DataTransferService_ServiceDesc
var DataTransferService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.networkconnectivity.v1beta.DataTransferService",
HandlerType: (*DataTransferServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListMulticloudDataTransferConfigs",
Handler: _DataTransferService_ListMulticloudDataTransferConfigs_Handler,
},
{
MethodName: "GetMulticloudDataTransferConfig",
Handler: _DataTransferService_GetMulticloudDataTransferConfig_Handler,
},
{
MethodName: "CreateMulticloudDataTransferConfig",
Handler: _DataTransferService_CreateMulticloudDataTransferConfig_Handler,
},
{
MethodName: "UpdateMulticloudDataTransferConfig",
Handler: _DataTransferService_UpdateMulticloudDataTransferConfig_Handler,
},
{
MethodName: "DeleteMulticloudDataTransferConfig",
Handler: _DataTransferService_DeleteMulticloudDataTransferConfig_Handler,
},
{
MethodName: "ListDestinations",
Handler: _DataTransferService_ListDestinations_Handler,
},
{
MethodName: "GetDestination",
Handler: _DataTransferService_GetDestination_Handler,
},
{
MethodName: "CreateDestination",
Handler: _DataTransferService_CreateDestination_Handler,
},
{
MethodName: "UpdateDestination",
Handler: _DataTransferService_UpdateDestination_Handler,
},
{
MethodName: "DeleteDestination",
Handler: _DataTransferService_DeleteDestination_Handler,
},
{
MethodName: "GetMulticloudDataTransferSupportedService",
Handler: _DataTransferService_GetMulticloudDataTransferSupportedService_Handler,
},
{
MethodName: "ListMulticloudDataTransferSupportedServices",
Handler: _DataTransferService_ListMulticloudDataTransferSupportedServices_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/networkconnectivity/v1beta/data_transfer.proto",
}DataTransferService_ServiceDesc is the grpc.ServiceDesc for DataTransferService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_cloud_networkconnectivity_v1beta_common_proto
var File_google_cloud_networkconnectivity_v1beta_common_proto protoreflect.FileDescriptorFile_google_cloud_networkconnectivity_v1beta_data_transfer_proto
var File_google_cloud_networkconnectivity_v1beta_data_transfer_proto protoreflect.FileDescriptorFile_google_cloud_networkconnectivity_v1beta_hub_proto
var File_google_cloud_networkconnectivity_v1beta_hub_proto protoreflect.FileDescriptorFile_google_cloud_networkconnectivity_v1beta_policy_based_routing_proto
var File_google_cloud_networkconnectivity_v1beta_policy_based_routing_proto protoreflect.FileDescriptorFile_google_cloud_networkconnectivity_v1beta_transport_manager_proto
var File_google_cloud_networkconnectivity_v1beta_transport_manager_proto protoreflect.FileDescriptorHubService_ServiceDesc
var HubService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.networkconnectivity.v1beta.HubService",
HandlerType: (*HubServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListHubs",
Handler: _HubService_ListHubs_Handler,
},
{
MethodName: "GetHub",
Handler: _HubService_GetHub_Handler,
},
{
MethodName: "CreateHub",
Handler: _HubService_CreateHub_Handler,
},
{
MethodName: "UpdateHub",
Handler: _HubService_UpdateHub_Handler,
},
{
MethodName: "DeleteHub",
Handler: _HubService_DeleteHub_Handler,
},
{
MethodName: "ListHubSpokes",
Handler: _HubService_ListHubSpokes_Handler,
},
{
MethodName: "QueryHubStatus",
Handler: _HubService_QueryHubStatus_Handler,
},
{
MethodName: "ListSpokes",
Handler: _HubService_ListSpokes_Handler,
},
{
MethodName: "GetSpoke",
Handler: _HubService_GetSpoke_Handler,
},
{
MethodName: "CreateSpoke",
Handler: _HubService_CreateSpoke_Handler,
},
{
MethodName: "UpdateSpoke",
Handler: _HubService_UpdateSpoke_Handler,
},
{
MethodName: "RejectHubSpoke",
Handler: _HubService_RejectHubSpoke_Handler,
},
{
MethodName: "AcceptHubSpoke",
Handler: _HubService_AcceptHubSpoke_Handler,
},
{
MethodName: "AcceptSpokeUpdate",
Handler: _HubService_AcceptSpokeUpdate_Handler,
},
{
MethodName: "RejectSpokeUpdate",
Handler: _HubService_RejectSpokeUpdate_Handler,
},
{
MethodName: "DeleteSpoke",
Handler: _HubService_DeleteSpoke_Handler,
},
{
MethodName: "GetRouteTable",
Handler: _HubService_GetRouteTable_Handler,
},
{
MethodName: "GetRoute",
Handler: _HubService_GetRoute_Handler,
},
{
MethodName: "ListRoutes",
Handler: _HubService_ListRoutes_Handler,
},
{
MethodName: "ListRouteTables",
Handler: _HubService_ListRouteTables_Handler,
},
{
MethodName: "GetGroup",
Handler: _HubService_GetGroup_Handler,
},
{
MethodName: "ListGroups",
Handler: _HubService_ListGroups_Handler,
},
{
MethodName: "UpdateGroup",
Handler: _HubService_UpdateGroup_Handler,
},
{
MethodName: "CreateGatewayAdvertisedRoute",
Handler: _HubService_CreateGatewayAdvertisedRoute_Handler,
},
{
MethodName: "GetGatewayAdvertisedRoute",
Handler: _HubService_GetGatewayAdvertisedRoute_Handler,
},
{
MethodName: "ListGatewayAdvertisedRoutes",
Handler: _HubService_ListGatewayAdvertisedRoutes_Handler,
},
{
MethodName: "UpdateGatewayAdvertisedRoute",
Handler: _HubService_UpdateGatewayAdvertisedRoute_Handler,
},
{
MethodName: "DeleteGatewayAdvertisedRoute",
Handler: _HubService_DeleteGatewayAdvertisedRoute_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/networkconnectivity/v1beta/hub.proto",
}HubService_ServiceDesc is the grpc.ServiceDesc for HubService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
PolicyBasedRoutingService_ServiceDesc
var PolicyBasedRoutingService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService",
HandlerType: (*PolicyBasedRoutingServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListPolicyBasedRoutes",
Handler: _PolicyBasedRoutingService_ListPolicyBasedRoutes_Handler,
},
{
MethodName: "GetPolicyBasedRoute",
Handler: _PolicyBasedRoutingService_GetPolicyBasedRoute_Handler,
},
{
MethodName: "CreatePolicyBasedRoute",
Handler: _PolicyBasedRoutingService_CreatePolicyBasedRoute_Handler,
},
{
MethodName: "DeletePolicyBasedRoute",
Handler: _PolicyBasedRoutingService_DeletePolicyBasedRoute_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/networkconnectivity/v1beta/policy_based_routing.proto",
}PolicyBasedRoutingService_ServiceDesc is the grpc.ServiceDesc for PolicyBasedRoutingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
TransportManager_ServiceDesc
var TransportManager_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.networkconnectivity.v1beta.TransportManager",
HandlerType: (*TransportManagerServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListRemoteTransportProfiles",
Handler: _TransportManager_ListRemoteTransportProfiles_Handler,
},
{
MethodName: "GetRemoteTransportProfile",
Handler: _TransportManager_GetRemoteTransportProfile_Handler,
},
{
MethodName: "ParseFromActivationKey",
Handler: _TransportManager_ParseFromActivationKey_Handler,
},
{
MethodName: "ListTransports",
Handler: _TransportManager_ListTransports_Handler,
},
{
MethodName: "GetTransport",
Handler: _TransportManager_GetTransport_Handler,
},
{
MethodName: "GetStatus",
Handler: _TransportManager_GetStatus_Handler,
},
{
MethodName: "CreateTransport",
Handler: _TransportManager_CreateTransport_Handler,
},
{
MethodName: "UpdateTransport",
Handler: _TransportManager_UpdateTransport_Handler,
},
{
MethodName: "DeleteTransport",
Handler: _TransportManager_DeleteTransport_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/networkconnectivity/v1beta/transport_manager.proto",
}TransportManager_ServiceDesc is the grpc.ServiceDesc for TransportManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions
func RegisterDataTransferServiceServer
func RegisterDataTransferServiceServer(s grpc.ServiceRegistrar, srv DataTransferServiceServer)func RegisterHubServiceServer
func RegisterHubServiceServer(s grpc.ServiceRegistrar, srv HubServiceServer)func RegisterPolicyBasedRoutingServiceServer
func RegisterPolicyBasedRoutingServiceServer(s grpc.ServiceRegistrar, srv PolicyBasedRoutingServiceServer)func RegisterTransportManagerServer
func RegisterTransportManagerServer(s grpc.ServiceRegistrar, srv TransportManagerServer)AcceptHubSpokeRequest
type AcceptHubSpokeRequest struct {
// Required. The name of the hub into which to accept the spoke.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The URI of the spoke to accept into the hub.
SpokeUri string `protobuf:"bytes,2,opt,name=spoke_uri,json=spokeUri,proto3" json:"spoke_uri,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID so
// that if you must retry your request, the server knows to ignore the request
// if it has already been completed. The server guarantees that a request
// doesn't result in creation of duplicate commitments for at least 60
// minutes.
//
// 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
}The request for [HubService.AcceptHubSpoke][google.cloud.networkconnectivity.v1beta.HubService.AcceptHubSpoke].
func (*AcceptHubSpokeRequest) Descriptor
func (*AcceptHubSpokeRequest) Descriptor() ([]byte, []int)Deprecated: Use AcceptHubSpokeRequest.ProtoReflect.Descriptor instead.
func (*AcceptHubSpokeRequest) GetName
func (x *AcceptHubSpokeRequest) GetName() stringfunc (*AcceptHubSpokeRequest) GetRequestId
func (x *AcceptHubSpokeRequest) GetRequestId() stringfunc (*AcceptHubSpokeRequest) GetSpokeUri
func (x *AcceptHubSpokeRequest) GetSpokeUri() stringfunc (*AcceptHubSpokeRequest) ProtoMessage
func (*AcceptHubSpokeRequest) ProtoMessage()func (*AcceptHubSpokeRequest) ProtoReflect
func (x *AcceptHubSpokeRequest) ProtoReflect() protoreflect.Messagefunc (*AcceptHubSpokeRequest) Reset
func (x *AcceptHubSpokeRequest) Reset()func (*AcceptHubSpokeRequest) String
func (x *AcceptHubSpokeRequest) String() stringAcceptHubSpokeResponse
type AcceptHubSpokeResponse struct {
// The spoke that was operated on.
Spoke *Spoke `protobuf:"bytes,1,opt,name=spoke,proto3" json:"spoke,omitempty"`
// contains filtered or unexported fields
}The response for [HubService.AcceptHubSpoke][google.cloud.networkconnectivity.v1beta.HubService.AcceptHubSpoke].
func (*AcceptHubSpokeResponse) Descriptor
func (*AcceptHubSpokeResponse) Descriptor() ([]byte, []int)Deprecated: Use AcceptHubSpokeResponse.ProtoReflect.Descriptor instead.
func (*AcceptHubSpokeResponse) GetSpoke
func (x *AcceptHubSpokeResponse) GetSpoke() *Spokefunc (*AcceptHubSpokeResponse) ProtoMessage
func (*AcceptHubSpokeResponse) ProtoMessage()func (*AcceptHubSpokeResponse) ProtoReflect
func (x *AcceptHubSpokeResponse) ProtoReflect() protoreflect.Messagefunc (*AcceptHubSpokeResponse) Reset
func (x *AcceptHubSpokeResponse) Reset()func (*AcceptHubSpokeResponse) String
func (x *AcceptHubSpokeResponse) String() stringAcceptSpokeUpdateRequest
type AcceptSpokeUpdateRequest struct {
// Required. The name of the hub to accept spoke update.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The URI of the spoke to accept update.
SpokeUri string `protobuf:"bytes,2,opt,name=spoke_uri,json=spokeUri,proto3" json:"spoke_uri,omitempty"`
// Required. The etag of the spoke to accept update.
SpokeEtag string `protobuf:"bytes,3,opt,name=spoke_etag,json=spokeEtag,proto3" json:"spoke_etag,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID so
// that if you must retry your request, the server knows to ignore the request
// if it has already been completed. The server guarantees that a request
// doesn't result in creation of duplicate commitments for at least 60
// minutes.
//
// 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.AcceptSpokeUpdate][google.cloud.networkconnectivity.v1beta.HubService.AcceptSpokeUpdate].
func (*AcceptSpokeUpdateRequest) Descriptor
func (*AcceptSpokeUpdateRequest) Descriptor() ([]byte, []int)Deprecated: Use AcceptSpokeUpdateRequest.ProtoReflect.Descriptor instead.
func (*AcceptSpokeUpdateRequest) GetName
func (x *AcceptSpokeUpdateRequest) GetName() stringfunc (*AcceptSpokeUpdateRequest) GetRequestId
func (x *AcceptSpokeUpdateRequest) GetRequestId() stringfunc (*AcceptSpokeUpdateRequest) GetSpokeEtag
func (x *AcceptSpokeUpdateRequest) GetSpokeEtag() stringfunc (*AcceptSpokeUpdateRequest) GetSpokeUri
func (x *AcceptSpokeUpdateRequest) GetSpokeUri() stringfunc (*AcceptSpokeUpdateRequest) ProtoMessage
func (*AcceptSpokeUpdateRequest) ProtoMessage()func (*AcceptSpokeUpdateRequest) ProtoReflect
func (x *AcceptSpokeUpdateRequest) ProtoReflect() protoreflect.Messagefunc (*AcceptSpokeUpdateRequest) Reset
func (x *AcceptSpokeUpdateRequest) Reset()func (*AcceptSpokeUpdateRequest) String
func (x *AcceptSpokeUpdateRequest) String() stringAcceptSpokeUpdateResponse
type AcceptSpokeUpdateResponse struct {
// The spoke that was operated on.
Spoke *Spoke `protobuf:"bytes,1,opt,name=spoke,proto3" json:"spoke,omitempty"`
// contains filtered or unexported fields
}The response for [HubService.AcceptSpokeUpdate][google.cloud.networkconnectivity.v1beta.HubService.AcceptSpokeUpdate].
func (*AcceptSpokeUpdateResponse) Descriptor
func (*AcceptSpokeUpdateResponse) Descriptor() ([]byte, []int)Deprecated: Use AcceptSpokeUpdateResponse.ProtoReflect.Descriptor instead.
func (*AcceptSpokeUpdateResponse) GetSpoke
func (x *AcceptSpokeUpdateResponse) GetSpoke() *Spokefunc (*AcceptSpokeUpdateResponse) ProtoMessage
func (*AcceptSpokeUpdateResponse) ProtoMessage()func (*AcceptSpokeUpdateResponse) ProtoReflect
func (x *AcceptSpokeUpdateResponse) ProtoReflect() protoreflect.Messagefunc (*AcceptSpokeUpdateResponse) Reset
func (x *AcceptSpokeUpdateResponse) Reset()func (*AcceptSpokeUpdateResponse) String
func (x *AcceptSpokeUpdateResponse) String() stringAutoAccept
type AutoAccept struct {
// Optional. A list of project ids or project numbers for which you want
// to enable auto-accept. The auto-accept setting is applied to
// spokes being created or updated in these projects.
AutoAcceptProjects []string `protobuf:"bytes,1,rep,name=auto_accept_projects,json=autoAcceptProjects,proto3" json:"auto_accept_projects,omitempty"`
// contains filtered or unexported fields
}The auto-accept setting for a group controls whether proposed spokes are automatically attached to the hub. If auto-accept is enabled, the spoke immediately is attached to the hub and becomes part of the group. In this case, the new spoke is in the ACTIVE state. If auto-accept is disabled, the spoke goes to the INACTIVE state, and it must be reviewed and accepted by a hub administrator.
func (*AutoAccept) Descriptor
func (*AutoAccept) Descriptor() ([]byte, []int)Deprecated: Use AutoAccept.ProtoReflect.Descriptor instead.
func (*AutoAccept) GetAutoAcceptProjects
func (x *AutoAccept) GetAutoAcceptProjects() []stringfunc (*AutoAccept) ProtoMessage
func (*AutoAccept) ProtoMessage()func (*AutoAccept) ProtoReflect
func (x *AutoAccept) ProtoReflect() protoreflect.Messagefunc (*AutoAccept) Reset
func (x *AutoAccept) Reset()func (*AutoAccept) String
func (x *AutoAccept) String() stringCreateDestinationRequest
type CreateDestinationRequest struct {
// Required. The name of the parent resource.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID to use for the `Destination` resource, which becomes the
// final component of the `Destination` resource name.
DestinationId string `protobuf:"bytes,2,opt,name=destination_id,json=destinationId,proto3" json:"destination_id,omitempty"`
// Required. The `Destination` resource to create.
Destination *Destination `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server can ignore
// the request if it has already been completed. The server waits
// for at least 60 minutes since 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 if original operation with the same request ID
// was received, and if so, can ignore the second request. This prevents
// clients from accidentally creating duplicate `Destination`
// resources.
//
// The request ID must be a valid UUID with the exception that zero UUID
// (00000000-0000-0000-0000-000000000000) isn't supported.
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message to create a Destination resource.
func (*CreateDestinationRequest) Descriptor
func (*CreateDestinationRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateDestinationRequest.ProtoReflect.Descriptor instead.
func (*CreateDestinationRequest) GetDestination
func (x *CreateDestinationRequest) GetDestination() *Destinationfunc (*CreateDestinationRequest) GetDestinationId
func (x *CreateDestinationRequest) GetDestinationId() stringfunc (*CreateDestinationRequest) GetParent
func (x *CreateDestinationRequest) GetParent() stringfunc (*CreateDestinationRequest) GetRequestId
func (x *CreateDestinationRequest) GetRequestId() stringfunc (*CreateDestinationRequest) ProtoMessage
func (*CreateDestinationRequest) ProtoMessage()func (*CreateDestinationRequest) ProtoReflect
func (x *CreateDestinationRequest) ProtoReflect() protoreflect.Messagefunc (*CreateDestinationRequest) Reset
func (x *CreateDestinationRequest) Reset()func (*CreateDestinationRequest) String
func (x *CreateDestinationRequest) String() stringCreateGatewayAdvertisedRouteRequest
type CreateGatewayAdvertisedRouteRequest struct {
// Required. The parent resource.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Unique id for the route to create.
GatewayAdvertisedRouteId string `protobuf:"bytes,2,opt,name=gateway_advertised_route_id,json=gatewayAdvertisedRouteId,proto3" json:"gateway_advertised_route_id,omitempty"`
// Required. Initial values for the new gateway advertised route.
GatewayAdvertisedRoute *GatewayAdvertisedRoute `protobuf:"bytes,3,opt,name=gateway_advertised_route,json=gatewayAdvertisedRoute,proto3" json:"gateway_advertised_route,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID so
// that if you must retry your request, the server knows to ignore the request
// if it has already been completed. The server guarantees that a request
// doesn't result in creation of duplicate commitments for at least 60
// minutes.
//
// 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.CreateGatewayAdvertisedRoute][google.cloud.networkconnectivity.v1beta.HubService.CreateGatewayAdvertisedRoute].
func (*CreateGatewayAdvertisedRouteRequest) Descriptor
func (*CreateGatewayAdvertisedRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateGatewayAdvertisedRouteRequest.ProtoReflect.Descriptor instead.
func (*CreateGatewayAdvertisedRouteRequest) GetGatewayAdvertisedRoute
func (x *CreateGatewayAdvertisedRouteRequest) GetGatewayAdvertisedRoute() *GatewayAdvertisedRoutefunc (*CreateGatewayAdvertisedRouteRequest) GetGatewayAdvertisedRouteId
func (x *CreateGatewayAdvertisedRouteRequest) GetGatewayAdvertisedRouteId() stringfunc (*CreateGatewayAdvertisedRouteRequest) GetParent
func (x *CreateGatewayAdvertisedRouteRequest) GetParent() stringfunc (*CreateGatewayAdvertisedRouteRequest) GetRequestId
func (x *CreateGatewayAdvertisedRouteRequest) GetRequestId() stringfunc (*CreateGatewayAdvertisedRouteRequest) ProtoMessage
func (*CreateGatewayAdvertisedRouteRequest) ProtoMessage()func (*CreateGatewayAdvertisedRouteRequest) ProtoReflect
func (x *CreateGatewayAdvertisedRouteRequest) ProtoReflect() protoreflect.Messagefunc (*CreateGatewayAdvertisedRouteRequest) Reset
func (x *CreateGatewayAdvertisedRouteRequest) Reset()func (*CreateGatewayAdvertisedRouteRequest) String
func (x *CreateGatewayAdvertisedRouteRequest) String() stringCreateHubRequest
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 request ID to identify requests. Specify a unique request ID so
// that if you must retry your request, the server knows to ignore the request
// if it has already been completed. The server guarantees that a request
// doesn't result in creation of duplicate commitments for at least 60
// minutes.
//
// 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.v1beta.HubService.CreateHub] method.
func (*CreateHubRequest) Descriptor
func (*CreateHubRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateHubRequest.ProtoReflect.Descriptor instead.
func (*CreateHubRequest) GetHub
func (x *CreateHubRequest) GetHub() *Hubfunc (*CreateHubRequest) GetHubId
func (x *CreateHubRequest) GetHubId() stringfunc (*CreateHubRequest) GetParent
func (x *CreateHubRequest) GetParent() stringfunc (*CreateHubRequest) GetRequestId
func (x *CreateHubRequest) GetRequestId() stringfunc (*CreateHubRequest) ProtoMessage
func (*CreateHubRequest) ProtoMessage()func (*CreateHubRequest) ProtoReflect
func (x *CreateHubRequest) ProtoReflect() protoreflect.Messagefunc (*CreateHubRequest) Reset
func (x *CreateHubRequest) Reset()func (*CreateHubRequest) String
func (x *CreateHubRequest) String() stringCreateMulticloudDataTransferConfigRequest
type CreateMulticloudDataTransferConfigRequest struct {
// Required. The name of the parent resource.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID to use for the `MulticloudDataTransferConfig` resource,
// which becomes the final component of the `MulticloudDataTransferConfig`
// resource name.
MulticloudDataTransferConfigId string `protobuf:"bytes,2,opt,name=multicloud_data_transfer_config_id,json=multicloudDataTransferConfigId,proto3" json:"multicloud_data_transfer_config_id,omitempty"`
// Required. The `MulticloudDataTransferConfig` resource to create.
MulticloudDataTransferConfig *MulticloudDataTransferConfig `protobuf:"bytes,3,opt,name=multicloud_data_transfer_config,json=multicloudDataTransferConfig,proto3" json:"multicloud_data_transfer_config,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server can ignore
// the request if it has already been completed. The server waits
// for at least 60 minutes since 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 if original operation with the same request ID
// was received, and if so, can ignore the second request. This prevents
// clients from accidentally creating duplicate `MulticloudDataTransferConfig`
// resources.
//
// The request ID must be a valid UUID with the exception that zero UUID
// (00000000-0000-0000-0000-000000000000) isn't supported.
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message to create a MulticloudDataTransferConfig resource.
func (*CreateMulticloudDataTransferConfigRequest) Descriptor
func (*CreateMulticloudDataTransferConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateMulticloudDataTransferConfigRequest.ProtoReflect.Descriptor instead.
func (*CreateMulticloudDataTransferConfigRequest) GetMulticloudDataTransferConfig
func (x *CreateMulticloudDataTransferConfigRequest) GetMulticloudDataTransferConfig() *MulticloudDataTransferConfigfunc (*CreateMulticloudDataTransferConfigRequest) GetMulticloudDataTransferConfigId
func (x *CreateMulticloudDataTransferConfigRequest) GetMulticloudDataTransferConfigId() stringfunc (*CreateMulticloudDataTransferConfigRequest) GetParent
func (x *CreateMulticloudDataTransferConfigRequest) GetParent() stringfunc (*CreateMulticloudDataTransferConfigRequest) GetRequestId
func (x *CreateMulticloudDataTransferConfigRequest) GetRequestId() stringfunc (*CreateMulticloudDataTransferConfigRequest) ProtoMessage
func (*CreateMulticloudDataTransferConfigRequest) ProtoMessage()func (*CreateMulticloudDataTransferConfigRequest) ProtoReflect
func (x *CreateMulticloudDataTransferConfigRequest) ProtoReflect() protoreflect.Messagefunc (*CreateMulticloudDataTransferConfigRequest) Reset
func (x *CreateMulticloudDataTransferConfigRequest) Reset()func (*CreateMulticloudDataTransferConfigRequest) String
func (x *CreateMulticloudDataTransferConfigRequest) String() stringCreatePolicyBasedRouteRequest
type CreatePolicyBasedRouteRequest struct {
// Required. The parent resource's name of the PolicyBasedRoute.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Unique id for the policy-based route to create. Provided by the
// client when the resource is created. The name must comply with
// https://google.aip.dev/122#resource-id-segments. Specifically, the name
// must be 1-63 characters long and match the regular expression
// [a-z]([a-z0-9-]*[a-z0-9])?. The first character must be a lowercase letter,
// and all following characters (except for the last character) must be a
// dash, lowercase letter, or digit. The last character must be a lowercase
// letter or digit.
PolicyBasedRouteId string `protobuf:"bytes,2,opt,name=policy_based_route_id,json=policyBasedRouteId,proto3" json:"policy_based_route_id,omitempty"`
// Required. Initial values for a new policy-based route.
PolicyBasedRoute *PolicyBasedRoute `protobuf:"bytes,3,opt,name=policy_based_route,json=policyBasedRoute,proto3" json:"policy_based_route,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server knows to
// ignore the request if it has already been completed. The server guarantees
// that for at least 60 minutes since 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 if original operation with the same request ID
// was received, and if so, ignores the second request. This prevents clients
// from accidentally 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 [PolicyBasedRoutingService.CreatePolicyBasedRoute][google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService.CreatePolicyBasedRoute] method.
func (*CreatePolicyBasedRouteRequest) Descriptor
func (*CreatePolicyBasedRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use CreatePolicyBasedRouteRequest.ProtoReflect.Descriptor instead.
func (*CreatePolicyBasedRouteRequest) GetParent
func (x *CreatePolicyBasedRouteRequest) GetParent() stringfunc (*CreatePolicyBasedRouteRequest) GetPolicyBasedRoute
func (x *CreatePolicyBasedRouteRequest) GetPolicyBasedRoute() *PolicyBasedRoutefunc (*CreatePolicyBasedRouteRequest) GetPolicyBasedRouteId
func (x *CreatePolicyBasedRouteRequest) GetPolicyBasedRouteId() stringfunc (*CreatePolicyBasedRouteRequest) GetRequestId
func (x *CreatePolicyBasedRouteRequest) GetRequestId() stringfunc (*CreatePolicyBasedRouteRequest) ProtoMessage
func (*CreatePolicyBasedRouteRequest) ProtoMessage()func (*CreatePolicyBasedRouteRequest) ProtoReflect
func (x *CreatePolicyBasedRouteRequest) ProtoReflect() protoreflect.Messagefunc (*CreatePolicyBasedRouteRequest) Reset
func (x *CreatePolicyBasedRouteRequest) Reset()func (*CreatePolicyBasedRouteRequest) String
func (x *CreatePolicyBasedRouteRequest) String() stringCreateSpokeRequest
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 request ID to identify requests. Specify a unique request ID so
// that if you must retry your request, the server knows to ignore the request
// if it has already been completed. The server guarantees that a request
// doesn't result in creation of duplicate commitments for at least 60
// minutes.
//
// 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.v1beta.HubService.CreateSpoke].
func (*CreateSpokeRequest) Descriptor
func (*CreateSpokeRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateSpokeRequest.ProtoReflect.Descriptor instead.
func (*CreateSpokeRequest) GetParent
func (x *CreateSpokeRequest) GetParent() stringfunc (*CreateSpokeRequest) GetRequestId
func (x *CreateSpokeRequest) GetRequestId() stringfunc (*CreateSpokeRequest) GetSpoke
func (x *CreateSpokeRequest) GetSpoke() *Spokefunc (*CreateSpokeRequest) GetSpokeId
func (x *CreateSpokeRequest) GetSpokeId() stringfunc (*CreateSpokeRequest) ProtoMessage
func (*CreateSpokeRequest) ProtoMessage()func (*CreateSpokeRequest) ProtoReflect
func (x *CreateSpokeRequest) ProtoReflect() protoreflect.Messagefunc (*CreateSpokeRequest) Reset
func (x *CreateSpokeRequest) Reset()func (*CreateSpokeRequest) String
func (x *CreateSpokeRequest) String() stringCreateTransportRequest
type CreateTransportRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting object
TransportId string `protobuf:"bytes,2,opt,name=transport_id,json=transportId,proto3" json:"transport_id,omitempty"`
// Required. The resource being created
Transport *Transport `protobuf:"bytes,3,opt,name=transport,proto3" json:"transport,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since 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 if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally 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
}Message for creating a Transport
func (*CreateTransportRequest) Descriptor
func (*CreateTransportRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateTransportRequest.ProtoReflect.Descriptor instead.
func (*CreateTransportRequest) GetParent
func (x *CreateTransportRequest) GetParent() stringfunc (*CreateTransportRequest) GetRequestId
func (x *CreateTransportRequest) GetRequestId() stringfunc (*CreateTransportRequest) GetTransport
func (x *CreateTransportRequest) GetTransport() *Transportfunc (*CreateTransportRequest) GetTransportId
func (x *CreateTransportRequest) GetTransportId() stringfunc (*CreateTransportRequest) ProtoMessage
func (*CreateTransportRequest) ProtoMessage()func (*CreateTransportRequest) ProtoReflect
func (x *CreateTransportRequest) ProtoReflect() protoreflect.Messagefunc (*CreateTransportRequest) Reset
func (x *CreateTransportRequest) Reset()func (*CreateTransportRequest) String
func (x *CreateTransportRequest) String() stringDataTransferServiceClient
type DataTransferServiceClient interface {
// Lists the `MulticloudDataTransferConfig` resources in a specified project
// and location.
ListMulticloudDataTransferConfigs(ctx context.Context, in *ListMulticloudDataTransferConfigsRequest, opts ...grpc.CallOption) (*ListMulticloudDataTransferConfigsResponse, error)
// Gets the details of a `MulticloudDataTransferConfig` resource.
GetMulticloudDataTransferConfig(ctx context.Context, in *GetMulticloudDataTransferConfigRequest, opts ...grpc.CallOption) (*MulticloudDataTransferConfig, error)
// Creates a `MulticloudDataTransferConfig` resource in a specified project
// and location.
CreateMulticloudDataTransferConfig(ctx context.Context, in *CreateMulticloudDataTransferConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates a `MulticloudDataTransferConfig` resource in a specified project
// and location.
UpdateMulticloudDataTransferConfig(ctx context.Context, in *UpdateMulticloudDataTransferConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a `MulticloudDataTransferConfig` resource.
DeleteMulticloudDataTransferConfig(ctx context.Context, in *DeleteMulticloudDataTransferConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists the `Destination` resources in a specified project and location.
ListDestinations(ctx context.Context, in *ListDestinationsRequest, opts ...grpc.CallOption) (*ListDestinationsResponse, error)
// Gets the details of a `Destination` resource.
GetDestination(ctx context.Context, in *GetDestinationRequest, opts ...grpc.CallOption) (*Destination, error)
// Creates a `Destination` resource in a specified project and location.
CreateDestination(ctx context.Context, in *CreateDestinationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates a `Destination` resource in a specified project and location.
UpdateDestination(ctx context.Context, in *UpdateDestinationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a `Destination` resource.
DeleteDestination(ctx context.Context, in *DeleteDestinationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets the details of a service that is supported for Data Transfer
// Essentials.
GetMulticloudDataTransferSupportedService(ctx context.Context, in *GetMulticloudDataTransferSupportedServiceRequest, opts ...grpc.CallOption) (*MulticloudDataTransferSupportedService, error)
// Lists the services in the project for a region that are supported for
// Data Transfer Essentials.
ListMulticloudDataTransferSupportedServices(ctx context.Context, in *ListMulticloudDataTransferSupportedServicesRequest, opts ...grpc.CallOption) (*ListMulticloudDataTransferSupportedServicesResponse, error)
}DataTransferServiceClient is the client API for DataTransferService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDataTransferServiceClient
func NewDataTransferServiceClient(cc grpc.ClientConnInterface) DataTransferServiceClientDataTransferServiceServer
type DataTransferServiceServer interface {
// Lists the `MulticloudDataTransferConfig` resources in a specified project
// and location.
ListMulticloudDataTransferConfigs(context.Context, *ListMulticloudDataTransferConfigsRequest) (*ListMulticloudDataTransferConfigsResponse, error)
// Gets the details of a `MulticloudDataTransferConfig` resource.
GetMulticloudDataTransferConfig(context.Context, *GetMulticloudDataTransferConfigRequest) (*MulticloudDataTransferConfig, error)
// Creates a `MulticloudDataTransferConfig` resource in a specified project
// and location.
CreateMulticloudDataTransferConfig(context.Context, *CreateMulticloudDataTransferConfigRequest) (*longrunningpb.Operation, error)
// Updates a `MulticloudDataTransferConfig` resource in a specified project
// and location.
UpdateMulticloudDataTransferConfig(context.Context, *UpdateMulticloudDataTransferConfigRequest) (*longrunningpb.Operation, error)
// Deletes a `MulticloudDataTransferConfig` resource.
DeleteMulticloudDataTransferConfig(context.Context, *DeleteMulticloudDataTransferConfigRequest) (*longrunningpb.Operation, error)
// Lists the `Destination` resources in a specified project and location.
ListDestinations(context.Context, *ListDestinationsRequest) (*ListDestinationsResponse, error)
// Gets the details of a `Destination` resource.
GetDestination(context.Context, *GetDestinationRequest) (*Destination, error)
// Creates a `Destination` resource in a specified project and location.
CreateDestination(context.Context, *CreateDestinationRequest) (*longrunningpb.Operation, error)
// Updates a `Destination` resource in a specified project and location.
UpdateDestination(context.Context, *UpdateDestinationRequest) (*longrunningpb.Operation, error)
// Deletes a `Destination` resource.
DeleteDestination(context.Context, *DeleteDestinationRequest) (*longrunningpb.Operation, error)
// Gets the details of a service that is supported for Data Transfer
// Essentials.
GetMulticloudDataTransferSupportedService(context.Context, *GetMulticloudDataTransferSupportedServiceRequest) (*MulticloudDataTransferSupportedService, error)
// Lists the services in the project for a region that are supported for
// Data Transfer Essentials.
ListMulticloudDataTransferSupportedServices(context.Context, *ListMulticloudDataTransferSupportedServicesRequest) (*ListMulticloudDataTransferSupportedServicesResponse, error)
}DataTransferServiceServer is the server API for DataTransferService service. All implementations should embed UnimplementedDataTransferServiceServer for forward compatibility
DeleteDestinationRequest
type DeleteDestinationRequest struct {
// Required. The name of the `Destination` resource to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server can ignore
// the request if it has already been completed. The server waits
// for at least 60 minutes since 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 if original operation with the same request ID
// was received, and if so, can ignore the second request.
//
// The request ID must be a valid UUID with the exception that zero UUID
// (00000000-0000-0000-0000-000000000000) isn't supported.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. The etag is computed by the server, and might be sent with update
// and delete requests so that the client has an up-to-date value before
// proceeding.
Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}Request message to delete a Destination resource.
func (*DeleteDestinationRequest) Descriptor
func (*DeleteDestinationRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteDestinationRequest.ProtoReflect.Descriptor instead.
func (*DeleteDestinationRequest) GetEtag
func (x *DeleteDestinationRequest) GetEtag() stringfunc (*DeleteDestinationRequest) GetName
func (x *DeleteDestinationRequest) GetName() stringfunc (*DeleteDestinationRequest) GetRequestId
func (x *DeleteDestinationRequest) GetRequestId() stringfunc (*DeleteDestinationRequest) ProtoMessage
func (*DeleteDestinationRequest) ProtoMessage()func (*DeleteDestinationRequest) ProtoReflect
func (x *DeleteDestinationRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteDestinationRequest) Reset
func (x *DeleteDestinationRequest) Reset()func (*DeleteDestinationRequest) String
func (x *DeleteDestinationRequest) String() stringDeleteGatewayAdvertisedRouteRequest
type DeleteGatewayAdvertisedRouteRequest struct {
// Required. The name of the gateway advertised route to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID so
// that if you must retry your request, the server knows to ignore the request
// if it has already been completed. The server guarantees that a request
// doesn't result in creation of duplicate commitments for at least 60
// minutes.
//
// 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
}Request for [HubService.DeleteGatewayAdvertisedRoute][google.cloud.networkconnectivity.v1beta.HubService.DeleteGatewayAdvertisedRoute] method.
func (*DeleteGatewayAdvertisedRouteRequest) Descriptor
func (*DeleteGatewayAdvertisedRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteGatewayAdvertisedRouteRequest.ProtoReflect.Descriptor instead.
func (*DeleteGatewayAdvertisedRouteRequest) GetName
func (x *DeleteGatewayAdvertisedRouteRequest) GetName() stringfunc (*DeleteGatewayAdvertisedRouteRequest) GetRequestId
func (x *DeleteGatewayAdvertisedRouteRequest) GetRequestId() stringfunc (*DeleteGatewayAdvertisedRouteRequest) ProtoMessage
func (*DeleteGatewayAdvertisedRouteRequest) ProtoMessage()func (*DeleteGatewayAdvertisedRouteRequest) ProtoReflect
func (x *DeleteGatewayAdvertisedRouteRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteGatewayAdvertisedRouteRequest) Reset
func (x *DeleteGatewayAdvertisedRouteRequest) Reset()func (*DeleteGatewayAdvertisedRouteRequest) String
func (x *DeleteGatewayAdvertisedRouteRequest) String() stringDeleteHubRequest
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 request ID to identify requests. Specify a unique request ID so
// that if you must retry your request, the server knows to ignore the request
// if it has already been completed. The server guarantees that a request
// doesn't result in creation of duplicate commitments for at least 60
// minutes.
//
// 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.v1beta.HubService.DeleteHub].
func (*DeleteHubRequest) Descriptor
func (*DeleteHubRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteHubRequest.ProtoReflect.Descriptor instead.
func (*DeleteHubRequest) GetName
func (x *DeleteHubRequest) GetName() stringfunc (*DeleteHubRequest) GetRequestId
func (x *DeleteHubRequest) GetRequestId() stringfunc (*DeleteHubRequest) ProtoMessage
func (*DeleteHubRequest) ProtoMessage()func (*DeleteHubRequest) ProtoReflect
func (x *DeleteHubRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteHubRequest) Reset
func (x *DeleteHubRequest) Reset()func (*DeleteHubRequest) String
func (x *DeleteHubRequest) String() stringDeleteMulticloudDataTransferConfigRequest
type DeleteMulticloudDataTransferConfigRequest struct {
// Required. The name of the `MulticloudDataTransferConfig` resource to
// delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server can ignore
// the request if it has already been completed. The server waits
// for at least 60 minutes since 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 if original operation with the same request ID
// was received, and if so, can ignore the second request. This prevents
// clients from accidentally creating duplicate `MulticloudDataTransferConfig`
// resources.
//
// The request ID must be a valid UUID with the exception that zero UUID
// (00000000-0000-0000-0000-000000000000) isn't supported.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. The etag is computed by the server, and might be sent with update
// and delete requests so that the client has an up-to-date value before
// proceeding.
Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}Request message to delete a MulticloudDataTransferConfig resource.
func (*DeleteMulticloudDataTransferConfigRequest) Descriptor
func (*DeleteMulticloudDataTransferConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteMulticloudDataTransferConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteMulticloudDataTransferConfigRequest) GetEtag
func (x *DeleteMulticloudDataTransferConfigRequest) GetEtag() stringfunc (*DeleteMulticloudDataTransferConfigRequest) GetName
func (x *DeleteMulticloudDataTransferConfigRequest) GetName() stringfunc (*DeleteMulticloudDataTransferConfigRequest) GetRequestId
func (x *DeleteMulticloudDataTransferConfigRequest) GetRequestId() stringfunc (*DeleteMulticloudDataTransferConfigRequest) ProtoMessage
func (*DeleteMulticloudDataTransferConfigRequest) ProtoMessage()func (*DeleteMulticloudDataTransferConfigRequest) ProtoReflect
func (x *DeleteMulticloudDataTransferConfigRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteMulticloudDataTransferConfigRequest) Reset
func (x *DeleteMulticloudDataTransferConfigRequest) Reset()func (*DeleteMulticloudDataTransferConfigRequest) String
func (x *DeleteMulticloudDataTransferConfigRequest) String() stringDeletePolicyBasedRouteRequest
type DeletePolicyBasedRouteRequest struct {
// Required. Name of the policy-based route resource to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server knows to
// 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 if original operation with the same request ID
// was received, and if so, ignores the second request. This prevents clients
// from accidentally 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
}Request for [PolicyBasedRoutingService.DeletePolicyBasedRoute][google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService.DeletePolicyBasedRoute] method.
func (*DeletePolicyBasedRouteRequest) Descriptor
func (*DeletePolicyBasedRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use DeletePolicyBasedRouteRequest.ProtoReflect.Descriptor instead.
func (*DeletePolicyBasedRouteRequest) GetName
func (x *DeletePolicyBasedRouteRequest) GetName() stringfunc (*DeletePolicyBasedRouteRequest) GetRequestId
func (x *DeletePolicyBasedRouteRequest) GetRequestId() stringfunc (*DeletePolicyBasedRouteRequest) ProtoMessage
func (*DeletePolicyBasedRouteRequest) ProtoMessage()func (*DeletePolicyBasedRouteRequest) ProtoReflect
func (x *DeletePolicyBasedRouteRequest) ProtoReflect() protoreflect.Messagefunc (*DeletePolicyBasedRouteRequest) Reset
func (x *DeletePolicyBasedRouteRequest) Reset()func (*DeletePolicyBasedRouteRequest) String
func (x *DeletePolicyBasedRouteRequest) String() stringDeleteSpokeRequest
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 request ID to identify requests. Specify a unique request ID so
// that if you must retry your request, the server knows to ignore the request
// if it has already been completed. The server guarantees that a request
// doesn't result in creation of duplicate commitments for at least 60
// minutes.
//
// 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.v1beta.HubService.DeleteSpoke].
func (*DeleteSpokeRequest) Descriptor
func (*DeleteSpokeRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteSpokeRequest.ProtoReflect.Descriptor instead.
func (*DeleteSpokeRequest) GetName
func (x *DeleteSpokeRequest) GetName() stringfunc (*DeleteSpokeRequest) GetRequestId
func (x *DeleteSpokeRequest) GetRequestId() stringfunc (*DeleteSpokeRequest) ProtoMessage
func (*DeleteSpokeRequest) ProtoMessage()func (*DeleteSpokeRequest) ProtoReflect
func (x *DeleteSpokeRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteSpokeRequest) Reset
func (x *DeleteSpokeRequest) Reset()func (*DeleteSpokeRequest) String
func (x *DeleteSpokeRequest) String() stringDeleteTransportRequest
type DeleteTransportRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee 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 if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally 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
}Message for deleting a Transport.
func (*DeleteTransportRequest) Descriptor
func (*DeleteTransportRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteTransportRequest.ProtoReflect.Descriptor instead.
func (*DeleteTransportRequest) GetName
func (x *DeleteTransportRequest) GetName() stringfunc (*DeleteTransportRequest) GetRequestId
func (x *DeleteTransportRequest) GetRequestId() stringfunc (*DeleteTransportRequest) ProtoMessage
func (*DeleteTransportRequest) ProtoMessage()func (*DeleteTransportRequest) ProtoReflect
func (x *DeleteTransportRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteTransportRequest) Reset
func (x *DeleteTransportRequest) Reset()func (*DeleteTransportRequest) String
func (x *DeleteTransportRequest) String() stringDestination
type Destination struct {
// Identifier. The name of the `Destination` resource.
// Format:
// `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Time when the `Destination` resource was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when the `Destination` resource was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. User-defined labels.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// The etag is computed by the server, and might be sent with update and
// delete requests so that the client has an up-to-date value before
// proceeding.
Etag string `protobuf:"bytes,5,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. A description of this resource.
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
// Required. Immutable. The IP prefix that represents your workload on another
// CSP.
IpPrefix string `protobuf:"bytes,7,opt,name=ip_prefix,json=ipPrefix,proto3" json:"ip_prefix,omitempty"`
// Required. Unordered list. The list of `DestinationEndpoint` resources
// configured for the IP prefix.
Endpoints []*Destination_DestinationEndpoint `protobuf:"bytes,8,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
// Output only. The timeline of the expected `Destination` states or the
// current rest state. If a state change is expected, the value is `ADDING`,
// `DELETING` or `SUSPENDING`, depending on the action specified.
//
// Example:
//
// "state_timeline": {
// "states": [
// {
// // The time when the `Destination` resource will be activated.
// "effectiveTime": "2024-12-01T08:00:00Z",
// "state": "ADDING"
// },
// {
// // The time when the `Destination` resource will be suspended.
// "effectiveTime": "2024-12-01T20:00:00Z",
// "state": "SUSPENDING"
// }
// ]
// }
StateTimeline *StateTimeline `protobuf:"bytes,9,opt,name=state_timeline,json=stateTimeline,proto3" json:"state_timeline,omitempty"`
// Output only. The Google-generated unique ID for the `Destination` resource.
// This value is unique across all `Destination` resources.
// If a resource is deleted and another with the same name is
// created, the new resource is assigned a different and unique ID.
Uid string `protobuf:"bytes,10,opt,name=uid,proto3" json:"uid,omitempty"`
// contains filtered or unexported fields
}The Destination resource. It specifies the IP prefix and the associated
autonomous system numbers (ASN) that you want to include in a
MulticloudDataTransferConfig resource.
func (*Destination) Descriptor
func (*Destination) Descriptor() ([]byte, []int)Deprecated: Use Destination.ProtoReflect.Descriptor instead.
func (*Destination) GetCreateTime
func (x *Destination) GetCreateTime() *timestamppb.Timestampfunc (*Destination) GetDescription
func (x *Destination) GetDescription() stringfunc (*Destination) GetEndpoints
func (x *Destination) GetEndpoints() []*Destination_DestinationEndpointfunc (*Destination) GetEtag
func (x *Destination) GetEtag() stringfunc (*Destination) GetIpPrefix
func (x *Destination) GetIpPrefix() stringfunc (*Destination) GetLabels
func (x *Destination) GetLabels() map[string]stringfunc (*Destination) GetName
func (x *Destination) GetName() stringfunc (*Destination) GetStateTimeline
func (x *Destination) GetStateTimeline() *StateTimelinefunc (*Destination) GetUid
func (x *Destination) GetUid() stringfunc (*Destination) GetUpdateTime
func (x *Destination) GetUpdateTime() *timestamppb.Timestampfunc (*Destination) ProtoMessage
func (*Destination) ProtoMessage()func (*Destination) ProtoReflect
func (x *Destination) ProtoReflect() protoreflect.Messagefunc (*Destination) Reset
func (x *Destination) Reset()func (*Destination) String
func (x *Destination) String() stringDestination_DestinationEndpoint
type Destination_DestinationEndpoint struct {
// Required. The ASN of the remote IP prefix.
Asn int64 `protobuf:"varint,1,opt,name=asn,proto3" json:"asn,omitempty"`
// Required. The CSP of the remote IP prefix.
Csp string `protobuf:"bytes,2,opt,name=csp,proto3" json:"csp,omitempty"`
// Output only. The state of the `DestinationEndpoint` resource.
State Destination_DestinationEndpoint_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1beta.Destination_DestinationEndpoint_State" json:"state,omitempty"`
// Output only. Time when the `DestinationEndpoint` resource was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}The metadata for a DestinationEndpoint resource.
func (*Destination_DestinationEndpoint) Descriptor
func (*Destination_DestinationEndpoint) Descriptor() ([]byte, []int)Deprecated: Use Destination_DestinationEndpoint.ProtoReflect.Descriptor instead.
func (*Destination_DestinationEndpoint) GetAsn
func (x *Destination_DestinationEndpoint) GetAsn() int64func (*Destination_DestinationEndpoint) GetCsp
func (x *Destination_DestinationEndpoint) GetCsp() stringfunc (*Destination_DestinationEndpoint) GetState
func (x *Destination_DestinationEndpoint) GetState() Destination_DestinationEndpoint_Statefunc (*Destination_DestinationEndpoint) GetUpdateTime
func (x *Destination_DestinationEndpoint) GetUpdateTime() *timestamppb.Timestampfunc (*Destination_DestinationEndpoint) ProtoMessage
func (*Destination_DestinationEndpoint) ProtoMessage()func (*Destination_DestinationEndpoint) ProtoReflect
func (x *Destination_DestinationEndpoint) ProtoReflect() protoreflect.Messagefunc (*Destination_DestinationEndpoint) Reset
func (x *Destination_DestinationEndpoint) Reset()func (*Destination_DestinationEndpoint) String
func (x *Destination_DestinationEndpoint) String() stringDestination_DestinationEndpoint_State
type Destination_DestinationEndpoint_State int32The state of the DestinationEndpoint resource.
Destination_DestinationEndpoint_STATE_UNSPECIFIED, Destination_DestinationEndpoint_VALID, Destination_DestinationEndpoint_INVALID
const (
// An invalid state, which is the default case.
Destination_DestinationEndpoint_STATE_UNSPECIFIED Destination_DestinationEndpoint_State = 0
// The `DestinationEndpoint` resource is valid.
Destination_DestinationEndpoint_VALID Destination_DestinationEndpoint_State = 1
// The `DestinationEndpoint` resource is invalid.
Destination_DestinationEndpoint_INVALID Destination_DestinationEndpoint_State = 2
)func (Destination_DestinationEndpoint_State) Descriptor
func (Destination_DestinationEndpoint_State) Descriptor() protoreflect.EnumDescriptorfunc (Destination_DestinationEndpoint_State) Enum
func (Destination_DestinationEndpoint_State) EnumDescriptor
func (Destination_DestinationEndpoint_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Destination_DestinationEndpoint_State.Descriptor instead.
func (Destination_DestinationEndpoint_State) Number
func (x Destination_DestinationEndpoint_State) Number() protoreflect.EnumNumberfunc (Destination_DestinationEndpoint_State) String
func (x Destination_DestinationEndpoint_State) String() stringfunc (Destination_DestinationEndpoint_State) Type
func (Destination_DestinationEndpoint_State) Type() protoreflect.EnumTypeGateway
type Gateway struct {
// Optional. A list of IP ranges that are reserved for this gateway's internal
// intfrastructure.
IpRangeReservations []*Gateway_IpRangeReservation `protobuf:"bytes,7,rep,name=ip_range_reservations,json=ipRangeReservations,proto3" json:"ip_range_reservations,omitempty"`
// Optional. The aggregate processing capacity of this gateway.
Capacity Gateway_GatewayCapacity `protobuf:"varint,10,opt,name=capacity,proto3,enum=google.cloud.networkconnectivity.v1beta.Gateway_GatewayCapacity" json:"capacity,omitempty"`
// Output only. The list of Cloud Routers that are connected to this gateway.
// Should be in the form:
// https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/routers/{router}
CloudRouters []string `protobuf:"bytes,13,rep,name=cloud_routers,json=cloudRouters,proto3" json:"cloud_routers,omitempty"`
// Output only. The URI of the connected SACAttachment.
// Should be in the form:
// projects/{project}/locations/{location}/sacAttachments/{sac_attachment}
SacAttachment string `protobuf:"bytes,14,opt,name=sac_attachment,json=sacAttachment,proto3" json:"sac_attachment,omitempty"`
// contains filtered or unexported fields
}A gateway that can apply specialized traffic processing.
func (*Gateway) Descriptor
Deprecated: Use Gateway.ProtoReflect.Descriptor instead.
func (*Gateway) GetCapacity
func (x *Gateway) GetCapacity() Gateway_GatewayCapacityfunc (*Gateway) GetCloudRouters
func (*Gateway) GetIpRangeReservations
func (x *Gateway) GetIpRangeReservations() []*Gateway_IpRangeReservationfunc (*Gateway) GetSacAttachment
func (*Gateway) ProtoMessage
func (*Gateway) ProtoMessage()func (*Gateway) ProtoReflect
func (x *Gateway) ProtoReflect() protoreflect.Messagefunc (*Gateway) Reset
func (x *Gateway) Reset()func (*Gateway) String
GatewayAdvertisedRoute
type GatewayAdvertisedRoute struct {
// Identifier. The name of the gateway advertised route. Route names must be
// unique and use the following form:
//
// `projects/{project_number}/locations/{region}/spokes/{spoke}/gatewayAdvertisedRoutes/{gateway_advertised_route_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time the gateway advertised route was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the gateway advertised route 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 pair 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 `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// An optional description of the gateway advertised route.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The Google-generated UUID for the gateway advertised route.
// This value is unique across all gateway advertised route resources. If a
// gateway advertised route is deleted and another with the same name is
// created, the new route is assigned a different `unique_id`.
UniqueId string `protobuf:"bytes,6,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
// Output only. The current lifecycle state of this gateway advertised route.
State State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1beta.State" json:"state,omitempty"`
// Immutable. This route's advertised IP address range. Must be a valid
// CIDR-formatted prefix. If an IP address is provided without a subnet mask,
// it is interpreted as, for IPv4, a `/32` singular IP address range, and, for
// IPv6,
// `/128`.
IpRange string `protobuf:"bytes,8,opt,name=ip_range,json=ipRange,proto3" json:"ip_range,omitempty"`
// Optional. The priority of this advertised route. You can choose a value
// from `0` to `65335`. If you don't provide a value, Google Cloud assigns a
// priority of `100` to the ranges.
Priority *int32 `protobuf:"varint,9,opt,name=priority,proto3,oneof" json:"priority,omitempty"`
// Optional. The recipient of this advertised route.
Recipient GatewayAdvertisedRoute_Recipient `protobuf:"varint,10,opt,name=recipient,proto3,enum=google.cloud.networkconnectivity.v1beta.GatewayAdvertisedRoute_Recipient" json:"recipient,omitempty"`
// contains filtered or unexported fields
}A gateway advertised route is a route that a gateway spoke advertises somewhere.
func (*GatewayAdvertisedRoute) Descriptor
func (*GatewayAdvertisedRoute) Descriptor() ([]byte, []int)Deprecated: Use GatewayAdvertisedRoute.ProtoReflect.Descriptor instead.
func (*GatewayAdvertisedRoute) GetCreateTime
func (x *GatewayAdvertisedRoute) GetCreateTime() *timestamppb.Timestampfunc (*GatewayAdvertisedRoute) GetDescription
func (x *GatewayAdvertisedRoute) GetDescription() stringfunc (*GatewayAdvertisedRoute) GetIpRange
func (x *GatewayAdvertisedRoute) GetIpRange() stringfunc (*GatewayAdvertisedRoute) GetLabels
func (x *GatewayAdvertisedRoute) GetLabels() map[string]stringfunc (*GatewayAdvertisedRoute) GetName
func (x *GatewayAdvertisedRoute) GetName() stringfunc (*GatewayAdvertisedRoute) GetPriority
func (x *GatewayAdvertisedRoute) GetPriority() int32func (*GatewayAdvertisedRoute) GetRecipient
func (x *GatewayAdvertisedRoute) GetRecipient() GatewayAdvertisedRoute_Recipientfunc (*GatewayAdvertisedRoute) GetState
func (x *GatewayAdvertisedRoute) GetState() Statefunc (*GatewayAdvertisedRoute) GetUniqueId
func (x *GatewayAdvertisedRoute) GetUniqueId() stringfunc (*GatewayAdvertisedRoute) GetUpdateTime
func (x *GatewayAdvertisedRoute) GetUpdateTime() *timestamppb.Timestampfunc (*GatewayAdvertisedRoute) ProtoMessage
func (*GatewayAdvertisedRoute) ProtoMessage()func (*GatewayAdvertisedRoute) ProtoReflect
func (x *GatewayAdvertisedRoute) ProtoReflect() protoreflect.Messagefunc (*GatewayAdvertisedRoute) Reset
func (x *GatewayAdvertisedRoute) Reset()func (*GatewayAdvertisedRoute) String
func (x *GatewayAdvertisedRoute) String() stringGatewayAdvertisedRoute_Recipient
type GatewayAdvertisedRoute_Recipient int32The recipient of an advertised route.
GatewayAdvertisedRoute_RECIPIENT_UNSPECIFIED, GatewayAdvertisedRoute_ADVERTISE_TO_HUB
const (
// No recipient specified. By default routes are advertised to the hub.
GatewayAdvertisedRoute_RECIPIENT_UNSPECIFIED GatewayAdvertisedRoute_Recipient = 0
// Advertises a route toward the hub. Other spokes reachable from this spoke
// will receive the route.
GatewayAdvertisedRoute_ADVERTISE_TO_HUB GatewayAdvertisedRoute_Recipient = 1
)func (GatewayAdvertisedRoute_Recipient) Descriptor
func (GatewayAdvertisedRoute_Recipient) Descriptor() protoreflect.EnumDescriptorfunc (GatewayAdvertisedRoute_Recipient) Enum
func (x GatewayAdvertisedRoute_Recipient) Enum() *GatewayAdvertisedRoute_Recipientfunc (GatewayAdvertisedRoute_Recipient) EnumDescriptor
func (GatewayAdvertisedRoute_Recipient) EnumDescriptor() ([]byte, []int)Deprecated: Use GatewayAdvertisedRoute_Recipient.Descriptor instead.
func (GatewayAdvertisedRoute_Recipient) Number
func (x GatewayAdvertisedRoute_Recipient) Number() protoreflect.EnumNumberfunc (GatewayAdvertisedRoute_Recipient) String
func (x GatewayAdvertisedRoute_Recipient) String() stringfunc (GatewayAdvertisedRoute_Recipient) Type
func (GatewayAdvertisedRoute_Recipient) Type() protoreflect.EnumTypeGateway_GatewayCapacity
type Gateway_GatewayCapacity int32The aggregate processing capacity of this gateway.
Gateway_GATEWAY_CAPACITY_UNSPECIFIED, Gateway_CAPACITY_1_GBPS, Gateway_CAPACITY_10_GBPS, Gateway_CAPACITY_100_GBPS
const (
// The gateway capacity is unspecified.
Gateway_GATEWAY_CAPACITY_UNSPECIFIED Gateway_GatewayCapacity = 0
// The gateway has 1 Gbps of aggregate processing capacity
Gateway_CAPACITY_1_GBPS Gateway_GatewayCapacity = 5
// The gateway has 10 Gbps of aggregate processing capacity
Gateway_CAPACITY_10_GBPS Gateway_GatewayCapacity = 1
// The gateway has 100 Gbps of aggregate processing capacity
Gateway_CAPACITY_100_GBPS Gateway_GatewayCapacity = 4
)func (Gateway_GatewayCapacity) Descriptor
func (Gateway_GatewayCapacity) Descriptor() protoreflect.EnumDescriptorfunc (Gateway_GatewayCapacity) Enum
func (x Gateway_GatewayCapacity) Enum() *Gateway_GatewayCapacityfunc (Gateway_GatewayCapacity) EnumDescriptor
func (Gateway_GatewayCapacity) EnumDescriptor() ([]byte, []int)Deprecated: Use Gateway_GatewayCapacity.Descriptor instead.
func (Gateway_GatewayCapacity) Number
func (x Gateway_GatewayCapacity) Number() protoreflect.EnumNumberfunc (Gateway_GatewayCapacity) String
func (x Gateway_GatewayCapacity) String() stringfunc (Gateway_GatewayCapacity) Type
func (Gateway_GatewayCapacity) Type() protoreflect.EnumTypeGateway_IpRangeReservation
type Gateway_IpRangeReservation struct {
// Required. A block of IP addresses used to allocate supporting
// infrastructure for this gateway. This block must not overlap with subnets
// in any spokes or peer VPC networks that the gateway can communicate with.
// Example: "10.1.2.0/24"
IpRange string `protobuf:"bytes,1,opt,name=ip_range,json=ipRange,proto3" json:"ip_range,omitempty"`
// contains filtered or unexported fields
}A list of IP ranges that are reserved for this gateway's internal intfrastructure.
func (*Gateway_IpRangeReservation) Descriptor
func (*Gateway_IpRangeReservation) Descriptor() ([]byte, []int)Deprecated: Use Gateway_IpRangeReservation.ProtoReflect.Descriptor instead.
func (*Gateway_IpRangeReservation) GetIpRange
func (x *Gateway_IpRangeReservation) GetIpRange() stringfunc (*Gateway_IpRangeReservation) ProtoMessage
func (*Gateway_IpRangeReservation) ProtoMessage()func (*Gateway_IpRangeReservation) ProtoReflect
func (x *Gateway_IpRangeReservation) ProtoReflect() protoreflect.Messagefunc (*Gateway_IpRangeReservation) Reset
func (x *Gateway_IpRangeReservation) Reset()func (*Gateway_IpRangeReservation) String
func (x *Gateway_IpRangeReservation) String() stringGetDestinationRequest
type GetDestinationRequest struct {
// Required. The name of the `Destination` resource to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message to get the details of a Destination resource.
func (*GetDestinationRequest) Descriptor
func (*GetDestinationRequest) Descriptor() ([]byte, []int)Deprecated: Use GetDestinationRequest.ProtoReflect.Descriptor instead.
func (*GetDestinationRequest) GetName
func (x *GetDestinationRequest) GetName() stringfunc (*GetDestinationRequest) ProtoMessage
func (*GetDestinationRequest) ProtoMessage()func (*GetDestinationRequest) ProtoReflect
func (x *GetDestinationRequest) ProtoReflect() protoreflect.Messagefunc (*GetDestinationRequest) Reset
func (x *GetDestinationRequest) Reset()func (*GetDestinationRequest) String
func (x *GetDestinationRequest) String() stringGetGatewayAdvertisedRouteRequest
type GetGatewayAdvertisedRouteRequest struct {
// Required. The name of the gateway advertised route to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request for [HubService.GetGatewayAdvertisedRoute][google.cloud.networkconnectivity.v1beta.HubService.GetGatewayAdvertisedRoute].
func (*GetGatewayAdvertisedRouteRequest) Descriptor
func (*GetGatewayAdvertisedRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use GetGatewayAdvertisedRouteRequest.ProtoReflect.Descriptor instead.
func (*GetGatewayAdvertisedRouteRequest) GetName
func (x *GetGatewayAdvertisedRouteRequest) GetName() stringfunc (*GetGatewayAdvertisedRouteRequest) ProtoMessage
func (*GetGatewayAdvertisedRouteRequest) ProtoMessage()func (*GetGatewayAdvertisedRouteRequest) ProtoReflect
func (x *GetGatewayAdvertisedRouteRequest) ProtoReflect() protoreflect.Messagefunc (*GetGatewayAdvertisedRouteRequest) Reset
func (x *GetGatewayAdvertisedRouteRequest) Reset()func (*GetGatewayAdvertisedRouteRequest) String
func (x *GetGatewayAdvertisedRouteRequest) String() stringGetGroupRequest
type GetGroupRequest struct {
// Required. The name of the route table resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request for [HubService.GetGroup][google.cloud.networkconnectivity.v1beta.HubService.GetGroup].
func (*GetGroupRequest) Descriptor
func (*GetGroupRequest) Descriptor() ([]byte, []int)Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead.
func (*GetGroupRequest) GetName
func (x *GetGroupRequest) GetName() stringfunc (*GetGroupRequest) ProtoMessage
func (*GetGroupRequest) ProtoMessage()func (*GetGroupRequest) ProtoReflect
func (x *GetGroupRequest) ProtoReflect() protoreflect.Messagefunc (*GetGroupRequest) Reset
func (x *GetGroupRequest) Reset()func (*GetGroupRequest) String
func (x *GetGroupRequest) String() stringGetHubRequest
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.v1beta.HubService.GetHub] method.
func (*GetHubRequest) Descriptor
func (*GetHubRequest) Descriptor() ([]byte, []int)Deprecated: Use GetHubRequest.ProtoReflect.Descriptor instead.
func (*GetHubRequest) GetName
func (x *GetHubRequest) GetName() stringfunc (*GetHubRequest) ProtoMessage
func (*GetHubRequest) ProtoMessage()func (*GetHubRequest) ProtoReflect
func (x *GetHubRequest) ProtoReflect() protoreflect.Messagefunc (*GetHubRequest) Reset
func (x *GetHubRequest) Reset()func (*GetHubRequest) String
func (x *GetHubRequest) String() stringGetMulticloudDataTransferConfigRequest
type GetMulticloudDataTransferConfigRequest struct {
// Required. The name of the `MulticloudDataTransferConfig` resource to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message to get the details of a MulticloudDataTransferConfig
resource.
func (*GetMulticloudDataTransferConfigRequest) Descriptor
func (*GetMulticloudDataTransferConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use GetMulticloudDataTransferConfigRequest.ProtoReflect.Descriptor instead.
func (*GetMulticloudDataTransferConfigRequest) GetName
func (x *GetMulticloudDataTransferConfigRequest) GetName() stringfunc (*GetMulticloudDataTransferConfigRequest) ProtoMessage
func (*GetMulticloudDataTransferConfigRequest) ProtoMessage()func (*GetMulticloudDataTransferConfigRequest) ProtoReflect
func (x *GetMulticloudDataTransferConfigRequest) ProtoReflect() protoreflect.Messagefunc (*GetMulticloudDataTransferConfigRequest) Reset
func (x *GetMulticloudDataTransferConfigRequest) Reset()func (*GetMulticloudDataTransferConfigRequest) String
func (x *GetMulticloudDataTransferConfigRequest) String() stringGetMulticloudDataTransferSupportedServiceRequest
type GetMulticloudDataTransferSupportedServiceRequest struct {
// Required. The name of the service.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message to check if a service in your project in a region is eligible for Data Transfer Essentials configuration.
func (*GetMulticloudDataTransferSupportedServiceRequest) Descriptor
func (*GetMulticloudDataTransferSupportedServiceRequest) Descriptor() ([]byte, []int)Deprecated: Use GetMulticloudDataTransferSupportedServiceRequest.ProtoReflect.Descriptor instead.
func (*GetMulticloudDataTransferSupportedServiceRequest) GetName
func (x *GetMulticloudDataTransferSupportedServiceRequest) GetName() stringfunc (*GetMulticloudDataTransferSupportedServiceRequest) ProtoMessage
func (*GetMulticloudDataTransferSupportedServiceRequest) ProtoMessage()func (*GetMulticloudDataTransferSupportedServiceRequest) ProtoReflect
func (x *GetMulticloudDataTransferSupportedServiceRequest) ProtoReflect() protoreflect.Messagefunc (*GetMulticloudDataTransferSupportedServiceRequest) Reset
func (x *GetMulticloudDataTransferSupportedServiceRequest) Reset()func (*GetMulticloudDataTransferSupportedServiceRequest) String
func (x *GetMulticloudDataTransferSupportedServiceRequest) String() stringGetPolicyBasedRouteRequest
type GetPolicyBasedRouteRequest struct {
// Required. Name of the PolicyBasedRoute resource to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request for [PolicyBasedRoutingService.GetPolicyBasedRoute][google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService.GetPolicyBasedRoute] method.
func (*GetPolicyBasedRouteRequest) Descriptor
func (*GetPolicyBasedRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use GetPolicyBasedRouteRequest.ProtoReflect.Descriptor instead.
func (*GetPolicyBasedRouteRequest) GetName
func (x *GetPolicyBasedRouteRequest) GetName() stringfunc (*GetPolicyBasedRouteRequest) ProtoMessage
func (*GetPolicyBasedRouteRequest) ProtoMessage()func (*GetPolicyBasedRouteRequest) ProtoReflect
func (x *GetPolicyBasedRouteRequest) ProtoReflect() protoreflect.Messagefunc (*GetPolicyBasedRouteRequest) Reset
func (x *GetPolicyBasedRouteRequest) Reset()func (*GetPolicyBasedRouteRequest) String
func (x *GetPolicyBasedRouteRequest) String() stringGetRemoteTransportProfileRequest
type GetRemoteTransportProfileRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a RemoteTransportProfile.
func (*GetRemoteTransportProfileRequest) Descriptor
func (*GetRemoteTransportProfileRequest) Descriptor() ([]byte, []int)Deprecated: Use GetRemoteTransportProfileRequest.ProtoReflect.Descriptor instead.
func (*GetRemoteTransportProfileRequest) GetName
func (x *GetRemoteTransportProfileRequest) GetName() stringfunc (*GetRemoteTransportProfileRequest) ProtoMessage
func (*GetRemoteTransportProfileRequest) ProtoMessage()func (*GetRemoteTransportProfileRequest) ProtoReflect
func (x *GetRemoteTransportProfileRequest) ProtoReflect() protoreflect.Messagefunc (*GetRemoteTransportProfileRequest) Reset
func (x *GetRemoteTransportProfileRequest) Reset()func (*GetRemoteTransportProfileRequest) String
func (x *GetRemoteTransportProfileRequest) String() stringGetRouteRequest
type GetRouteRequest struct {
// Required. The name of the route resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request for [HubService.GetRoute][google.cloud.networkconnectivity.v1beta.HubService.GetRoute].
func (*GetRouteRequest) Descriptor
func (*GetRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use GetRouteRequest.ProtoReflect.Descriptor instead.
func (*GetRouteRequest) GetName
func (x *GetRouteRequest) GetName() stringfunc (*GetRouteRequest) ProtoMessage
func (*GetRouteRequest) ProtoMessage()func (*GetRouteRequest) ProtoReflect
func (x *GetRouteRequest) ProtoReflect() protoreflect.Messagefunc (*GetRouteRequest) Reset
func (x *GetRouteRequest) Reset()func (*GetRouteRequest) String
func (x *GetRouteRequest) String() stringGetRouteTableRequest
type GetRouteTableRequest struct {
// Required. The name of the route table resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request for [HubService.GetRouteTable][google.cloud.networkconnectivity.v1beta.HubService.GetRouteTable].
func (*GetRouteTableRequest) Descriptor
func (*GetRouteTableRequest) Descriptor() ([]byte, []int)Deprecated: Use GetRouteTableRequest.ProtoReflect.Descriptor instead.
func (*GetRouteTableRequest) GetName
func (x *GetRouteTableRequest) GetName() stringfunc (*GetRouteTableRequest) ProtoMessage
func (*GetRouteTableRequest) ProtoMessage()func (*GetRouteTableRequest) ProtoReflect
func (x *GetRouteTableRequest) ProtoReflect() protoreflect.Messagefunc (*GetRouteTableRequest) Reset
func (x *GetRouteTableRequest) Reset()func (*GetRouteTableRequest) String
func (x *GetRouteTableRequest) String() stringGetSpokeRequest
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.v1beta.HubService.GetSpoke].
func (*GetSpokeRequest) Descriptor
func (*GetSpokeRequest) Descriptor() ([]byte, []int)Deprecated: Use GetSpokeRequest.ProtoReflect.Descriptor instead.
func (*GetSpokeRequest) GetName
func (x *GetSpokeRequest) GetName() stringfunc (*GetSpokeRequest) ProtoMessage
func (*GetSpokeRequest) ProtoMessage()func (*GetSpokeRequest) ProtoReflect
func (x *GetSpokeRequest) ProtoReflect() protoreflect.Messagefunc (*GetSpokeRequest) Reset
func (x *GetSpokeRequest) Reset()func (*GetSpokeRequest) String
func (x *GetSpokeRequest) String() stringGetStatusRequest
type GetStatusRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. If set to true, the response will bypass any caches and return
// the freshest possible data.
SkipCache bool `protobuf:"varint,2,opt,name=skip_cache,json=skipCache,proto3" json:"skip_cache,omitempty"`
// contains filtered or unexported fields
}Message for getting a Transport's operational status.
func (*GetStatusRequest) Descriptor
func (*GetStatusRequest) Descriptor() ([]byte, []int)Deprecated: Use GetStatusRequest.ProtoReflect.Descriptor instead.
func (*GetStatusRequest) GetName
func (x *GetStatusRequest) GetName() stringfunc (*GetStatusRequest) GetSkipCache
func (x *GetStatusRequest) GetSkipCache() boolfunc (*GetStatusRequest) ProtoMessage
func (*GetStatusRequest) ProtoMessage()func (*GetStatusRequest) ProtoReflect
func (x *GetStatusRequest) ProtoReflect() protoreflect.Messagefunc (*GetStatusRequest) Reset
func (x *GetStatusRequest) Reset()func (*GetStatusRequest) String
func (x *GetStatusRequest) String() stringGetStatusResponse
type GetStatusResponse struct {
// The overall status of the Transport. This field will always output the most
// critical status of the Transport. For example, if the connectivity is
// DISCONNECTED, and the underlying networking components are DOWN, then
// the overall status will be DOWN.
OverallStatus GetStatusResponse_OverallStatus `protobuf:"varint,1,opt,name=overall_status,json=overallStatus,proto3,enum=google.cloud.networkconnectivity.v1beta.GetStatusResponse_OverallStatus" json:"overall_status,omitempty"`
// The operational status of the underlying networking components.
OperationalStatus GetStatusResponse_OperationalStatus `protobuf:"varint,2,opt,name=operational_status,json=operationalStatus,proto3,enum=google.cloud.networkconnectivity.v1beta.GetStatusResponse_OperationalStatus" json:"operational_status,omitempty"`
// Current status of connectivity to the local GCP resource. This reflects
// whether the VPC Peering or NCC Hub appears correctly configured.
ConnectivityStatus GetStatusResponse_ConnectivityStatus `protobuf:"varint,3,opt,name=connectivity_status,json=connectivityStatus,proto3,enum=google.cloud.networkconnectivity.v1beta.GetStatusResponse_ConnectivityStatus" json:"connectivity_status,omitempty"`
// Current status of MACSec on the underlying network connectivity between GC
// and the partner.
MacSecStatus GetStatusResponse_MacSecStatus `protobuf:"varint,4,opt,name=mac_sec_status,json=macSecStatus,proto3,enum=google.cloud.networkconnectivity.v1beta.GetStatusResponse_MacSecStatus" json:"mac_sec_status,omitempty"`
// contains filtered or unexported fields
}Message for the response to getting a Transport's operational status.
func (*GetStatusResponse) Descriptor
func (*GetStatusResponse) Descriptor() ([]byte, []int)Deprecated: Use GetStatusResponse.ProtoReflect.Descriptor instead.
func (*GetStatusResponse) GetConnectivityStatus
func (x *GetStatusResponse) GetConnectivityStatus() GetStatusResponse_ConnectivityStatusfunc (*GetStatusResponse) GetMacSecStatus
func (x *GetStatusResponse) GetMacSecStatus() GetStatusResponse_MacSecStatusfunc (*GetStatusResponse) GetOperationalStatus
func (x *GetStatusResponse) GetOperationalStatus() GetStatusResponse_OperationalStatusfunc (*GetStatusResponse) GetOverallStatus
func (x *GetStatusResponse) GetOverallStatus() GetStatusResponse_OverallStatusfunc (*GetStatusResponse) ProtoMessage
func (*GetStatusResponse) ProtoMessage()func (*GetStatusResponse) ProtoReflect
func (x *GetStatusResponse) ProtoReflect() protoreflect.Messagefunc (*GetStatusResponse) Reset
func (x *GetStatusResponse) Reset()func (*GetStatusResponse) String
func (x *GetStatusResponse) String() stringGetStatusResponse_ConnectivityStatus
type GetStatusResponse_ConnectivityStatus int32Current status of connectivity to the local GCP resource. This reflects whether the VPC Peering or NCC Hub appears correctly configured.
GetStatusResponse_CONNECTIVITY_STATUS_UNSPECIFIED, GetStatusResponse_CONNECTIVITY_STATUS_CONNECTED, GetStatusResponse_CONNECTIVITY_STATUS_DISCONNECTED
const (
// Unspecified status.
GetStatusResponse_CONNECTIVITY_STATUS_UNSPECIFIED GetStatusResponse_ConnectivityStatus = 0
// VPC Peering or the NCC Hub appear to be correctly established.
GetStatusResponse_CONNECTIVITY_STATUS_CONNECTED GetStatusResponse_ConnectivityStatus = 1
// VPC Peering has been taken down, or the NCC Spoke has been rejected.
GetStatusResponse_CONNECTIVITY_STATUS_DISCONNECTED GetStatusResponse_ConnectivityStatus = 2
)func (GetStatusResponse_ConnectivityStatus) Descriptor
func (GetStatusResponse_ConnectivityStatus) Descriptor() protoreflect.EnumDescriptorfunc (GetStatusResponse_ConnectivityStatus) Enum
func (x GetStatusResponse_ConnectivityStatus) Enum() *GetStatusResponse_ConnectivityStatusfunc (GetStatusResponse_ConnectivityStatus) EnumDescriptor
func (GetStatusResponse_ConnectivityStatus) EnumDescriptor() ([]byte, []int)Deprecated: Use GetStatusResponse_ConnectivityStatus.Descriptor instead.
func (GetStatusResponse_ConnectivityStatus) Number
func (x GetStatusResponse_ConnectivityStatus) Number() protoreflect.EnumNumberfunc (GetStatusResponse_ConnectivityStatus) String
func (x GetStatusResponse_ConnectivityStatus) String() stringfunc (GetStatusResponse_ConnectivityStatus) Type
func (GetStatusResponse_ConnectivityStatus) Type() protoreflect.EnumTypeGetStatusResponse_MacSecStatus
type GetStatusResponse_MacSecStatus int32Current status of MACSec on the underlying network connectivity between GC and the partner.
GetStatusResponse_MAC_SEC_STATUS_UNSPECIFIED, GetStatusResponse_MAC_SEC_STATUS_ACTIVE_FAIL_CLOSED, GetStatusResponse_MAC_SEC_STATUS_ACTIVE_FAIL_OPEN, GetStatusResponse_MAC_SEC_STATUS_NOT_CONFIGURED
const (
// Unspecified status.
GetStatusResponse_MAC_SEC_STATUS_UNSPECIFIED GetStatusResponse_MacSecStatus = 0
// MACSec is protecting the links and configured in fail closed.
GetStatusResponse_MAC_SEC_STATUS_ACTIVE_FAIL_CLOSED GetStatusResponse_MacSecStatus = 1
// MACSec is protecting the links and configured to fail open on at least
// one of the redundant links.
GetStatusResponse_MAC_SEC_STATUS_ACTIVE_FAIL_OPEN GetStatusResponse_MacSecStatus = 2
// MACSec is not configured on at least one of the underlying links.
GetStatusResponse_MAC_SEC_STATUS_NOT_CONFIGURED GetStatusResponse_MacSecStatus = 3
)func (GetStatusResponse_MacSecStatus) Descriptor
func (GetStatusResponse_MacSecStatus) Descriptor() protoreflect.EnumDescriptorfunc (GetStatusResponse_MacSecStatus) Enum
func (x GetStatusResponse_MacSecStatus) Enum() *GetStatusResponse_MacSecStatusfunc (GetStatusResponse_MacSecStatus) EnumDescriptor
func (GetStatusResponse_MacSecStatus) EnumDescriptor() ([]byte, []int)Deprecated: Use GetStatusResponse_MacSecStatus.Descriptor instead.
func (GetStatusResponse_MacSecStatus) Number
func (x GetStatusResponse_MacSecStatus) Number() protoreflect.EnumNumberfunc (GetStatusResponse_MacSecStatus) String
func (x GetStatusResponse_MacSecStatus) String() stringfunc (GetStatusResponse_MacSecStatus) Type
func (GetStatusResponse_MacSecStatus) Type() protoreflect.EnumTypeGetStatusResponse_OperationalStatus
type GetStatusResponse_OperationalStatus int32The operational status of the underlying networking components.
GetStatusResponse_OPERATIONAL_STATUS_UNSPECIFIED, GetStatusResponse_OPERATIONAL_STATUS_ACTIVE, GetStatusResponse_OPERATIONAL_STATUS_DOWN
const (
// Unspecified status.
GetStatusResponse_OPERATIONAL_STATUS_UNSPECIFIED GetStatusResponse_OperationalStatus = 0
// Protected capacity is available and networking components show as up.
GetStatusResponse_OPERATIONAL_STATUS_ACTIVE GetStatusResponse_OperationalStatus = 1
// Protected capacity is showing as operationally down.
GetStatusResponse_OPERATIONAL_STATUS_DOWN GetStatusResponse_OperationalStatus = 2
)func (GetStatusResponse_OperationalStatus) Descriptor
func (GetStatusResponse_OperationalStatus) Descriptor() protoreflect.EnumDescriptorfunc (GetStatusResponse_OperationalStatus) Enum
func (x GetStatusResponse_OperationalStatus) Enum() *GetStatusResponse_OperationalStatusfunc (GetStatusResponse_OperationalStatus) EnumDescriptor
func (GetStatusResponse_OperationalStatus) EnumDescriptor() ([]byte, []int)Deprecated: Use GetStatusResponse_OperationalStatus.Descriptor instead.
func (GetStatusResponse_OperationalStatus) Number
func (x GetStatusResponse_OperationalStatus) Number() protoreflect.EnumNumberfunc (GetStatusResponse_OperationalStatus) String
func (x GetStatusResponse_OperationalStatus) String() stringfunc (GetStatusResponse_OperationalStatus) Type
func (GetStatusResponse_OperationalStatus) Type() protoreflect.EnumTypeGetStatusResponse_OverallStatus
type GetStatusResponse_OverallStatus int32The overall status of the Transport.
GetStatusResponse_OVERALL_STATUS_UNSPECIFIED, GetStatusResponse_ACTIVE, GetStatusResponse_PENDING_KEY, GetStatusResponse_CONFIGURING, GetStatusResponse_DISCONNECTED, GetStatusResponse_DOWN
const (
// Unspecified status.
GetStatusResponse_OVERALL_STATUS_UNSPECIFIED GetStatusResponse_OverallStatus = 0
// Resource is active and operational.
GetStatusResponse_ACTIVE GetStatusResponse_OverallStatus = 1
// Resource is waiting for an activation key to be exchanged.
GetStatusResponse_PENDING_KEY GetStatusResponse_OverallStatus = 2
// Activation keys have been exchanged and connectivity is being
// established.
GetStatusResponse_CONFIGURING GetStatusResponse_OverallStatus = 3
// VPC Peering has been taken down, or the NCC Spoke has been rejected.
GetStatusResponse_DISCONNECTED GetStatusResponse_OverallStatus = 4
// User configuration is correct, but the configured capacity is
// operationally down.
GetStatusResponse_DOWN GetStatusResponse_OverallStatus = 5
)func (GetStatusResponse_OverallStatus) Descriptor
func (GetStatusResponse_OverallStatus) Descriptor() protoreflect.EnumDescriptorfunc (GetStatusResponse_OverallStatus) Enum
func (x GetStatusResponse_OverallStatus) Enum() *GetStatusResponse_OverallStatusfunc (GetStatusResponse_OverallStatus) EnumDescriptor
func (GetStatusResponse_OverallStatus) EnumDescriptor() ([]byte, []int)Deprecated: Use GetStatusResponse_OverallStatus.Descriptor instead.
func (GetStatusResponse_OverallStatus) Number
func (x GetStatusResponse_OverallStatus) Number() protoreflect.EnumNumberfunc (GetStatusResponse_OverallStatus) String
func (x GetStatusResponse_OverallStatus) String() stringfunc (GetStatusResponse_OverallStatus) Type
func (GetStatusResponse_OverallStatus) Type() protoreflect.EnumTypeGetTransportRequest
type GetTransportRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a Transport.
func (*GetTransportRequest) Descriptor
func (*GetTransportRequest) Descriptor() ([]byte, []int)Deprecated: Use GetTransportRequest.ProtoReflect.Descriptor instead.
func (*GetTransportRequest) GetName
func (x *GetTransportRequest) GetName() stringfunc (*GetTransportRequest) ProtoMessage
func (*GetTransportRequest) ProtoMessage()func (*GetTransportRequest) ProtoReflect
func (x *GetTransportRequest) ProtoReflect() protoreflect.Messagefunc (*GetTransportRequest) Reset
func (x *GetTransportRequest) Reset()func (*GetTransportRequest) String
func (x *GetTransportRequest) String() stringGroup
type Group struct {
// Immutable. The name of the group. Group names must be unique. They
// use the following form:
//
// `projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time the group was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the group 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 pair 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 `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. The description of the group.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The Google-generated UUID for the group. This value is unique
// across all group resources. If a group is deleted and
// another with the same name is created, the new route table is assigned
// a different unique_id.
Uid string `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. The current lifecycle state of this group.
State State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1beta.State" json:"state,omitempty"`
// Optional. The auto-accept setting for this group.
AutoAccept *AutoAccept `protobuf:"bytes,8,opt,name=auto_accept,json=autoAccept,proto3" json:"auto_accept,omitempty"`
// Output only. The name of the route table that corresponds to this group.
// They use the following form:
// `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}`
RouteTable string `protobuf:"bytes,9,opt,name=route_table,json=routeTable,proto3" json:"route_table,omitempty"`
// contains filtered or unexported fields
}A group represents a subset of spokes attached to a hub.
func (*Group) Descriptor
Deprecated: Use Group.ProtoReflect.Descriptor instead.
func (*Group) GetAutoAccept
func (x *Group) GetAutoAccept() *AutoAcceptfunc (*Group) GetCreateTime
func (x *Group) GetCreateTime() *timestamppb.Timestampfunc (*Group) GetDescription
func (*Group) GetLabels
func (*Group) GetName
func (*Group) GetRouteTable
func (*Group) GetState
func (*Group) GetUid
func (*Group) GetUpdateTime
func (x *Group) GetUpdateTime() *timestamppb.Timestampfunc (*Group) ProtoMessage
func (*Group) ProtoMessage()func (*Group) ProtoReflect
func (x *Group) ProtoReflect() protoreflect.Messagefunc (*Group) Reset
func (x *Group) Reset()func (*Group) String
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 pair 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 `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. 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.v1beta.State" json:"state,omitempty"`
// Output only. 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"`
// Output only. The route tables that belong to this hub. They use the
// following form:
//
// `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}`
//
// This field is read-only. Network Connectivity Center automatically
// populates it based on the route tables nested under the hub.
RouteTables []string `protobuf:"bytes,11,rep,name=route_tables,json=routeTables,proto3" json:"route_tables,omitempty"`
// Output only. A summary of the spokes associated with a hub. The
// summary includes a count of spokes according to type
// and according to state. If any spokes are inactive,
// the summary also lists the reasons they are inactive,
// including a count for each reason.
SpokeSummary *SpokeSummary `protobuf:"bytes,12,opt,name=spoke_summary,json=spokeSummary,proto3" json:"spoke_summary,omitempty"`
// Optional. The policy mode of this hub. This field can be either
// PRESET or CUSTOM. If unspecified, the
// policy_mode defaults to PRESET.
PolicyMode PolicyMode `protobuf:"varint,13,opt,name=policy_mode,json=policyMode,proto3,enum=google.cloud.networkconnectivity.v1beta.PolicyMode" json:"policy_mode,omitempty"`
// Optional. The topology implemented in this hub. Currently, this field is
// only used when policy_mode = PRESET. The available preset topologies are
// MESH and STAR. If preset_topology is unspecified and policy_mode = PRESET,
// the preset_topology defaults to MESH. When policy_mode = CUSTOM,
// the preset_topology is set to PRESET_TOPOLOGY_UNSPECIFIED.
PresetTopology PresetTopology `protobuf:"varint,14,opt,name=preset_topology,json=presetTopology,proto3,enum=google.cloud.networkconnectivity.v1beta.PresetTopology" json:"preset_topology,omitempty"`
// Optional. Whether Private Service Connect connection propagation is enabled
// for the hub. If true, Private Service Connect endpoints in VPC spokes
// attached to the hub are made accessible to other VPC spokes attached to the
// hub. The default value is false.
ExportPsc *bool `protobuf:"varint,15,opt,name=export_psc,json=exportPsc,proto3,oneof" json:"export_psc,omitempty"`
// Optional. Config for more granular control of Private Service Connect
// transitivity.
ExportPscConfig *Hub_ExportPscConfig `protobuf:"bytes,17,opt,name=export_psc_config,json=exportPscConfig,proto3" json:"export_psc_config,omitempty"`
// contains filtered or unexported fields
}A Network Connectivity Center hub is a global management resource to which you attach spokes. A single hub can contain spokes from multiple regions. However, if any of a hub's spokes use the site-to-site data transfer feature, the resources associated with those spokes must all be in the same VPC network. Spokes that do not use site-to-site data transfer can be associated with any VPC network in your project.
func (*Hub) Descriptor
Deprecated: Use Hub.ProtoReflect.Descriptor instead.
func (*Hub) GetCreateTime
func (x *Hub) GetCreateTime() *timestamppb.Timestampfunc (*Hub) GetDescription
func (*Hub) GetExportPsc
func (*Hub) GetExportPscConfig
func (x *Hub) GetExportPscConfig() *Hub_ExportPscConfigfunc (*Hub) GetLabels
func (*Hub) GetName
func (*Hub) GetPolicyMode
func (x *Hub) GetPolicyMode() PolicyModefunc (*Hub) GetPresetTopology
func (x *Hub) GetPresetTopology() PresetTopologyfunc (*Hub) GetRouteTables
func (*Hub) GetRoutingVpcs
func (x *Hub) GetRoutingVpcs() []*RoutingVPCfunc (*Hub) GetSpokeSummary
func (x *Hub) GetSpokeSummary() *SpokeSummaryfunc (*Hub) GetState
func (*Hub) GetUniqueId
func (*Hub) GetUpdateTime
func (x *Hub) GetUpdateTime() *timestamppb.Timestampfunc (*Hub) ProtoMessage
func (*Hub) ProtoMessage()func (*Hub) ProtoReflect
func (x *Hub) ProtoReflect() protoreflect.Messagefunc (*Hub) Reset
func (x *Hub) Reset()func (*Hub) String
HubServiceClient
type HubServiceClient interface {
// Lists the Network Connectivity Center hubs associated with a given project.
ListHubs(ctx context.Context, in *ListHubsRequest, opts ...grpc.CallOption) (*ListHubsResponse, error)
// Gets details about a Network Connectivity Center hub.
GetHub(ctx context.Context, in *GetHubRequest, opts ...grpc.CallOption) (*Hub, error)
// Creates a new Network Connectivity Center hub in the specified project.
CreateHub(ctx context.Context, in *CreateHubRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the description and/or labels of a Network Connectivity Center
// hub.
UpdateHub(ctx context.Context, in *UpdateHubRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a Network Connectivity Center hub.
DeleteHub(ctx context.Context, in *DeleteHubRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// 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.
ListHubSpokes(ctx context.Context, in *ListHubSpokesRequest, opts ...grpc.CallOption) (*ListHubSpokesResponse, error)
// Query the Private Service Connect propagation status of a Network
// Connectivity Center hub.
QueryHubStatus(ctx context.Context, in *QueryHubStatusRequest, opts ...grpc.CallOption) (*QueryHubStatusResponse, error)
// Lists the Network Connectivity Center spokes in a specified project and
// location.
ListSpokes(ctx context.Context, in *ListSpokesRequest, opts ...grpc.CallOption) (*ListSpokesResponse, error)
// Gets details about a Network Connectivity Center spoke.
GetSpoke(ctx context.Context, in *GetSpokeRequest, opts ...grpc.CallOption) (*Spoke, error)
// Creates a Network Connectivity Center spoke.
CreateSpoke(ctx context.Context, in *CreateSpokeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a Network Connectivity Center spoke.
UpdateSpoke(ctx context.Context, in *UpdateSpokeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Rejects a Network Connectivity Center spoke from being attached to a hub.
// If the spoke was previously in the `ACTIVE` state, it
// transitions to the `INACTIVE` state and is no longer able to
// connect to other spokes that are attached to the hub.
RejectHubSpoke(ctx context.Context, in *RejectHubSpokeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Accepts a proposal to attach a Network Connectivity Center spoke
// to a hub.
AcceptHubSpoke(ctx context.Context, in *AcceptHubSpokeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Accepts a proposal to update a Network Connectivity Center spoke in a hub.
AcceptSpokeUpdate(ctx context.Context, in *AcceptSpokeUpdateRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Rejects a proposal to update a Network Connectivity Center spoke in a hub.
RejectSpokeUpdate(ctx context.Context, in *RejectSpokeUpdateRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a Network Connectivity Center spoke.
DeleteSpoke(ctx context.Context, in *DeleteSpokeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets details about a Network Connectivity Center route table.
GetRouteTable(ctx context.Context, in *GetRouteTableRequest, opts ...grpc.CallOption) (*RouteTable, error)
// Gets details about the specified route.
GetRoute(ctx context.Context, in *GetRouteRequest, opts ...grpc.CallOption) (*Route, error)
// Lists routes in a given route table.
ListRoutes(ctx context.Context, in *ListRoutesRequest, opts ...grpc.CallOption) (*ListRoutesResponse, error)
// Lists route tables in a given hub.
ListRouteTables(ctx context.Context, in *ListRouteTablesRequest, opts ...grpc.CallOption) (*ListRouteTablesResponse, error)
// Gets details about a Network Connectivity Center group.
GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*Group, error)
// Lists groups in a given hub.
ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...grpc.CallOption) (*ListGroupsResponse, error)
// Updates the parameters of a Network Connectivity Center group.
UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Create a GatewayAdvertisedRoute
CreateGatewayAdvertisedRoute(ctx context.Context, in *CreateGatewayAdvertisedRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Get a GatewayAdvertisedRoute
GetGatewayAdvertisedRoute(ctx context.Context, in *GetGatewayAdvertisedRouteRequest, opts ...grpc.CallOption) (*GatewayAdvertisedRoute, error)
// List GatewayAdvertisedRoutes
ListGatewayAdvertisedRoutes(ctx context.Context, in *ListGatewayAdvertisedRoutesRequest, opts ...grpc.CallOption) (*ListGatewayAdvertisedRoutesResponse, error)
// Update a GatewayAdvertisedRoute
UpdateGatewayAdvertisedRoute(ctx context.Context, in *UpdateGatewayAdvertisedRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Delete a GatewayAdvertisedRoute
DeleteGatewayAdvertisedRoute(ctx context.Context, in *DeleteGatewayAdvertisedRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}HubServiceClient is the client API for HubService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewHubServiceClient
func NewHubServiceClient(cc grpc.ClientConnInterface) HubServiceClientHubServiceServer
type HubServiceServer interface {
// Lists the Network Connectivity Center hubs associated with a given project.
ListHubs(context.Context, *ListHubsRequest) (*ListHubsResponse, error)
// Gets details about a Network Connectivity Center hub.
GetHub(context.Context, *GetHubRequest) (*Hub, error)
// Creates a new Network Connectivity Center hub in the specified project.
CreateHub(context.Context, *CreateHubRequest) (*longrunningpb.Operation, error)
// Updates the description and/or labels of a Network Connectivity Center
// hub.
UpdateHub(context.Context, *UpdateHubRequest) (*longrunningpb.Operation, error)
// Deletes a Network Connectivity Center hub.
DeleteHub(context.Context, *DeleteHubRequest) (*longrunningpb.Operation, error)
// 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.
ListHubSpokes(context.Context, *ListHubSpokesRequest) (*ListHubSpokesResponse, error)
// Query the Private Service Connect propagation status of a Network
// Connectivity Center hub.
QueryHubStatus(context.Context, *QueryHubStatusRequest) (*QueryHubStatusResponse, error)
// Lists the Network Connectivity Center spokes in a specified project and
// location.
ListSpokes(context.Context, *ListSpokesRequest) (*ListSpokesResponse, error)
// Gets details about a Network Connectivity Center spoke.
GetSpoke(context.Context, *GetSpokeRequest) (*Spoke, error)
// Creates a Network Connectivity Center spoke.
CreateSpoke(context.Context, *CreateSpokeRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a Network Connectivity Center spoke.
UpdateSpoke(context.Context, *UpdateSpokeRequest) (*longrunningpb.Operation, error)
// Rejects a Network Connectivity Center spoke from being attached to a hub.
// If the spoke was previously in the `ACTIVE` state, it
// transitions to the `INACTIVE` state and is no longer able to
// connect to other spokes that are attached to the hub.
RejectHubSpoke(context.Context, *RejectHubSpokeRequest) (*longrunningpb.Operation, error)
// Accepts a proposal to attach a Network Connectivity Center spoke
// to a hub.
AcceptHubSpoke(context.Context, *AcceptHubSpokeRequest) (*longrunningpb.Operation, error)
// Accepts a proposal to update a Network Connectivity Center spoke in a hub.
AcceptSpokeUpdate(context.Context, *AcceptSpokeUpdateRequest) (*longrunningpb.Operation, error)
// Rejects a proposal to update a Network Connectivity Center spoke in a hub.
RejectSpokeUpdate(context.Context, *RejectSpokeUpdateRequest) (*longrunningpb.Operation, error)
// Deletes a Network Connectivity Center spoke.
DeleteSpoke(context.Context, *DeleteSpokeRequest) (*longrunningpb.Operation, error)
// Gets details about a Network Connectivity Center route table.
GetRouteTable(context.Context, *GetRouteTableRequest) (*RouteTable, error)
// Gets details about the specified route.
GetRoute(context.Context, *GetRouteRequest) (*Route, error)
// Lists routes in a given route table.
ListRoutes(context.Context, *ListRoutesRequest) (*ListRoutesResponse, error)
// Lists route tables in a given hub.
ListRouteTables(context.Context, *ListRouteTablesRequest) (*ListRouteTablesResponse, error)
// Gets details about a Network Connectivity Center group.
GetGroup(context.Context, *GetGroupRequest) (*Group, error)
// Lists groups in a given hub.
ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error)
// Updates the parameters of a Network Connectivity Center group.
UpdateGroup(context.Context, *UpdateGroupRequest) (*longrunningpb.Operation, error)
// Create a GatewayAdvertisedRoute
CreateGatewayAdvertisedRoute(context.Context, *CreateGatewayAdvertisedRouteRequest) (*longrunningpb.Operation, error)
// Get a GatewayAdvertisedRoute
GetGatewayAdvertisedRoute(context.Context, *GetGatewayAdvertisedRouteRequest) (*GatewayAdvertisedRoute, error)
// List GatewayAdvertisedRoutes
ListGatewayAdvertisedRoutes(context.Context, *ListGatewayAdvertisedRoutesRequest) (*ListGatewayAdvertisedRoutesResponse, error)
// Update a GatewayAdvertisedRoute
UpdateGatewayAdvertisedRoute(context.Context, *UpdateGatewayAdvertisedRouteRequest) (*longrunningpb.Operation, error)
// Delete a GatewayAdvertisedRoute
DeleteGatewayAdvertisedRoute(context.Context, *DeleteGatewayAdvertisedRouteRequest) (*longrunningpb.Operation, error)
}HubServiceServer is the server API for HubService service. All implementations should embed UnimplementedHubServiceServer for forward compatibility
HubStatusEntry
type HubStatusEntry struct {
// The number of propagated Private Service Connect connections with this
// status. If the `group_by` field was not set in the request message, the
// value of this field is 1.
Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
// The fields that this entry is grouped by. This has the same value as the
// `group_by` field in the request message.
GroupBy string `protobuf:"bytes,2,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`
// The Private Service Connect propagation status.
PscPropagationStatus *PscPropagationStatus `protobuf:"bytes,3,opt,name=psc_propagation_status,json=pscPropagationStatus,proto3" json:"psc_propagation_status,omitempty"`
// contains filtered or unexported fields
}A hub status entry represents the status of a set of propagated Private Service Connect connections grouped by certain fields.
func (*HubStatusEntry) Descriptor
func (*HubStatusEntry) Descriptor() ([]byte, []int)Deprecated: Use HubStatusEntry.ProtoReflect.Descriptor instead.
func (*HubStatusEntry) GetCount
func (x *HubStatusEntry) GetCount() int32func (*HubStatusEntry) GetGroupBy
func (x *HubStatusEntry) GetGroupBy() stringfunc (*HubStatusEntry) GetPscPropagationStatus
func (x *HubStatusEntry) GetPscPropagationStatus() *PscPropagationStatusfunc (*HubStatusEntry) ProtoMessage
func (*HubStatusEntry) ProtoMessage()func (*HubStatusEntry) ProtoReflect
func (x *HubStatusEntry) ProtoReflect() protoreflect.Messagefunc (*HubStatusEntry) Reset
func (x *HubStatusEntry) Reset()func (*HubStatusEntry) String
func (x *HubStatusEntry) String() stringHub_ExportPscConfig
type Hub_ExportPscConfig struct {
// Optional. Controls whether Private Service Connect endpoints for regional
// ILBs and regional Google APIs should be propagated. Default value is true
// if export_psc is true. Otherwise, the default value is false.
PublishedServicesAndRegionalGoogleApis *bool `protobuf:"varint,1,opt,name=published_services_and_regional_google_apis,json=publishedServicesAndRegionalGoogleApis,proto3,oneof" json:"published_services_and_regional_google_apis,omitempty"`
// Optional. Controls whether Private Service Connect endpoints for global
// Google APIs should be propagated. The default value is false.
GlobalGoogleApis *bool `protobuf:"varint,2,opt,name=global_google_apis,json=globalGoogleApis,proto3,oneof" json:"global_google_apis,omitempty"`
// contains filtered or unexported fields
}Configuration for more granular control of Private Service Connect connection propagation. This allows enabling or disabling connection propagation for specific types of Private Service Connect endpoints.
func (*Hub_ExportPscConfig) Descriptor
func (*Hub_ExportPscConfig) Descriptor() ([]byte, []int)Deprecated: Use Hub_ExportPscConfig.ProtoReflect.Descriptor instead.
func (*Hub_ExportPscConfig) GetGlobalGoogleApis
func (x *Hub_ExportPscConfig) GetGlobalGoogleApis() boolfunc (*Hub_ExportPscConfig) GetPublishedServicesAndRegionalGoogleApis
func (x *Hub_ExportPscConfig) GetPublishedServicesAndRegionalGoogleApis() boolfunc (*Hub_ExportPscConfig) ProtoMessage
func (*Hub_ExportPscConfig) ProtoMessage()func (*Hub_ExportPscConfig) ProtoReflect
func (x *Hub_ExportPscConfig) ProtoReflect() protoreflect.Messagefunc (*Hub_ExportPscConfig) Reset
func (x *Hub_ExportPscConfig) Reset()func (*Hub_ExportPscConfig) String
func (x *Hub_ExportPscConfig) String() stringLinkedInterconnectAttachments
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 `protobuf:"varint,2,opt,name=site_to_site_data_transfer,json=siteToSiteDataTransfer,proto3" json:"site_to_site_data_transfer,omitempty"`
// Output only. The VPC network where these VLAN attachments are located.
VpcNetwork string `protobuf:"bytes,3,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`
// Optional. Hub routes fully encompassed by include import ranges are
// included during import from hub.
IncludeImportRanges []string `protobuf:"bytes,5,rep,name=include_import_ranges,json=includeImportRanges,proto3" json:"include_import_ranges,omitempty"`
// Optional. Hub routes overlapped/encompassed by exclude import ranges are
// excluded during import from hub.
ExcludeImportRanges []string `protobuf:"bytes,6,rep,name=exclude_import_ranges,json=excludeImportRanges,proto3" json:"exclude_import_ranges,omitempty"`
// Optional. Dynamic routes fully encompassed by include export ranges are
// included during export to hub.
IncludeExportRanges []string `protobuf:"bytes,7,rep,name=include_export_ranges,json=includeExportRanges,proto3" json:"include_export_ranges,omitempty"`
// Optional. Dynamic routes overlapped/encompassed by exclude export ranges
// are excluded during export to hub.
ExcludeExportRanges []string `protobuf:"bytes,8,rep,name=exclude_export_ranges,json=excludeExportRanges,proto3" json:"exclude_export_ranges,omitempty"`
// 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
func (*LinkedInterconnectAttachments) Descriptor() ([]byte, []int)Deprecated: Use LinkedInterconnectAttachments.ProtoReflect.Descriptor instead.
func (*LinkedInterconnectAttachments) GetExcludeExportRanges
func (x *LinkedInterconnectAttachments) GetExcludeExportRanges() []stringfunc (*LinkedInterconnectAttachments) GetExcludeImportRanges
func (x *LinkedInterconnectAttachments) GetExcludeImportRanges() []stringfunc (*LinkedInterconnectAttachments) GetIncludeExportRanges
func (x *LinkedInterconnectAttachments) GetIncludeExportRanges() []stringfunc (*LinkedInterconnectAttachments) GetIncludeImportRanges
func (x *LinkedInterconnectAttachments) GetIncludeImportRanges() []stringfunc (*LinkedInterconnectAttachments) GetSiteToSiteDataTransfer
func (x *LinkedInterconnectAttachments) GetSiteToSiteDataTransfer() boolfunc (*LinkedInterconnectAttachments) GetUris
func (x *LinkedInterconnectAttachments) GetUris() []stringfunc (*LinkedInterconnectAttachments) GetVpcNetwork
func (x *LinkedInterconnectAttachments) GetVpcNetwork() stringfunc (*LinkedInterconnectAttachments) ProtoMessage
func (*LinkedInterconnectAttachments) ProtoMessage()func (*LinkedInterconnectAttachments) ProtoReflect
func (x *LinkedInterconnectAttachments) ProtoReflect() protoreflect.Messagefunc (*LinkedInterconnectAttachments) Reset
func (x *LinkedInterconnectAttachments) Reset()func (*LinkedInterconnectAttachments) String
func (x *LinkedInterconnectAttachments) String() stringLinkedProducerVpcNetwork
type LinkedProducerVpcNetwork struct {
// Immutable. The URI of the Service Consumer VPC that the Producer VPC is
// peered with.
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
// Output only. The Service Consumer Network spoke.
ServiceConsumerVpcSpoke string `protobuf:"bytes,6,opt,name=service_consumer_vpc_spoke,json=serviceConsumerVpcSpoke,proto3" json:"service_consumer_vpc_spoke,omitempty"`
// Immutable. The name of the VPC peering between the Service Consumer VPC and
// the Producer VPC (defined in the Tenant project) which is added to the NCC
// hub. This peering must be in ACTIVE state.
Peering string `protobuf:"bytes,2,opt,name=peering,proto3" json:"peering,omitempty"`
// Output only. The URI of the Producer VPC.
ProducerNetwork string `protobuf:"bytes,5,opt,name=producer_network,json=producerNetwork,proto3" json:"producer_network,omitempty"`
// Optional. IP ranges encompassing the subnets to be excluded from peering.
ExcludeExportRanges []string `protobuf:"bytes,3,rep,name=exclude_export_ranges,json=excludeExportRanges,proto3" json:"exclude_export_ranges,omitempty"`
// Optional. IP ranges allowed to be included from peering.
IncludeExportRanges []string `protobuf:"bytes,4,rep,name=include_export_ranges,json=includeExportRanges,proto3" json:"include_export_ranges,omitempty"`
// Output only. The proposed include export IP ranges waiting for hub
// administrator's approval.
ProposedIncludeExportRanges []string `protobuf:"bytes,7,rep,name=proposed_include_export_ranges,json=proposedIncludeExportRanges,proto3" json:"proposed_include_export_ranges,omitempty"`
// Output only. The proposed exclude export IP ranges waiting for hub
// administrator's approval.
ProposedExcludeExportRanges []string `protobuf:"bytes,8,rep,name=proposed_exclude_export_ranges,json=proposedExcludeExportRanges,proto3" json:"proposed_exclude_export_ranges,omitempty"`
// contains filtered or unexported fields
}func (*LinkedProducerVpcNetwork) Descriptor
func (*LinkedProducerVpcNetwork) Descriptor() ([]byte, []int)Deprecated: Use LinkedProducerVpcNetwork.ProtoReflect.Descriptor instead.
func (*LinkedProducerVpcNetwork) GetExcludeExportRanges
func (x *LinkedProducerVpcNetwork) GetExcludeExportRanges() []stringfunc (*LinkedProducerVpcNetwork) GetIncludeExportRanges
func (x *LinkedProducerVpcNetwork) GetIncludeExportRanges() []stringfunc (*LinkedProducerVpcNetwork) GetNetwork
func (x *LinkedProducerVpcNetwork) GetNetwork() stringfunc (*LinkedProducerVpcNetwork) GetPeering
func (x *LinkedProducerVpcNetwork) GetPeering() stringfunc (*LinkedProducerVpcNetwork) GetProducerNetwork
func (x *LinkedProducerVpcNetwork) GetProducerNetwork() stringfunc (*LinkedProducerVpcNetwork) GetProposedExcludeExportRanges
func (x *LinkedProducerVpcNetwork) GetProposedExcludeExportRanges() []stringfunc (*LinkedProducerVpcNetwork) GetProposedIncludeExportRanges
func (x *LinkedProducerVpcNetwork) GetProposedIncludeExportRanges() []stringfunc (*LinkedProducerVpcNetwork) GetServiceConsumerVpcSpoke
func (x *LinkedProducerVpcNetwork) GetServiceConsumerVpcSpoke() stringfunc (*LinkedProducerVpcNetwork) ProtoMessage
func (*LinkedProducerVpcNetwork) ProtoMessage()func (*LinkedProducerVpcNetwork) ProtoReflect
func (x *LinkedProducerVpcNetwork) ProtoReflect() protoreflect.Messagefunc (*LinkedProducerVpcNetwork) Reset
func (x *LinkedProducerVpcNetwork) Reset()func (*LinkedProducerVpcNetwork) String
func (x *LinkedProducerVpcNetwork) String() stringLinkedRouterApplianceInstances
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 `protobuf:"varint,2,opt,name=site_to_site_data_transfer,json=siteToSiteDataTransfer,proto3" json:"site_to_site_data_transfer,omitempty"`
// Output only. The VPC network where these router appliance instances are
// located.
VpcNetwork string `protobuf:"bytes,3,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`
// Optional. Hub routes fully encompassed by include import ranges are
// included during import from hub.
IncludeImportRanges []string `protobuf:"bytes,5,rep,name=include_import_ranges,json=includeImportRanges,proto3" json:"include_import_ranges,omitempty"`
// Optional. Hub routes overlapped/encompassed by exclude import ranges are
// excluded during import from hub.
ExcludeImportRanges []string `protobuf:"bytes,6,rep,name=exclude_import_ranges,json=excludeImportRanges,proto3" json:"exclude_import_ranges,omitempty"`
// Optional. Dynamic routes fully encompassed by include export ranges are
// included during export to hub.
IncludeExportRanges []string `protobuf:"bytes,7,rep,name=include_export_ranges,json=includeExportRanges,proto3" json:"include_export_ranges,omitempty"`
// Optional. Dynamic routes overlapped/encompassed by exclude export ranges
// are excluded during export to hub.
ExcludeExportRanges []string `protobuf:"bytes,8,rep,name=exclude_export_ranges,json=excludeExportRanges,proto3" json:"exclude_export_ranges,omitempty"`
// 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
func (*LinkedRouterApplianceInstances) Descriptor() ([]byte, []int)Deprecated: Use LinkedRouterApplianceInstances.ProtoReflect.Descriptor instead.
func (*LinkedRouterApplianceInstances) GetExcludeExportRanges
func (x *LinkedRouterApplianceInstances) GetExcludeExportRanges() []stringfunc (*LinkedRouterApplianceInstances) GetExcludeImportRanges
func (x *LinkedRouterApplianceInstances) GetExcludeImportRanges() []stringfunc (*LinkedRouterApplianceInstances) GetIncludeExportRanges
func (x *LinkedRouterApplianceInstances) GetIncludeExportRanges() []stringfunc (*LinkedRouterApplianceInstances) GetIncludeImportRanges
func (x *LinkedRouterApplianceInstances) GetIncludeImportRanges() []stringfunc (*LinkedRouterApplianceInstances) GetInstances
func (x *LinkedRouterApplianceInstances) GetInstances() []*RouterApplianceInstancefunc (*LinkedRouterApplianceInstances) GetSiteToSiteDataTransfer
func (x *LinkedRouterApplianceInstances) GetSiteToSiteDataTransfer() boolfunc (*LinkedRouterApplianceInstances) GetVpcNetwork
func (x *LinkedRouterApplianceInstances) GetVpcNetwork() stringfunc (*LinkedRouterApplianceInstances) ProtoMessage
func (*LinkedRouterApplianceInstances) ProtoMessage()func (*LinkedRouterApplianceInstances) ProtoReflect
func (x *LinkedRouterApplianceInstances) ProtoReflect() protoreflect.Messagefunc (*LinkedRouterApplianceInstances) Reset
func (x *LinkedRouterApplianceInstances) Reset()func (*LinkedRouterApplianceInstances) String
func (x *LinkedRouterApplianceInstances) String() stringLinkedVpcNetwork
type LinkedVpcNetwork struct {
// Required. The URI of the VPC network resource.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// Optional. IP ranges encompassing the subnets to be excluded from peering.
ExcludeExportRanges []string `protobuf:"bytes,2,rep,name=exclude_export_ranges,json=excludeExportRanges,proto3" json:"exclude_export_ranges,omitempty"`
// Optional. IP ranges allowed to be included from peering.
IncludeExportRanges []string `protobuf:"bytes,3,rep,name=include_export_ranges,json=includeExportRanges,proto3" json:"include_export_ranges,omitempty"`
// Output only. The proposed include export IP ranges waiting for hub
// administrator's approval.
ProposedIncludeExportRanges []string `protobuf:"bytes,5,rep,name=proposed_include_export_ranges,json=proposedIncludeExportRanges,proto3" json:"proposed_include_export_ranges,omitempty"`
// Output only. The proposed exclude export IP ranges waiting for hub
// administrator's approval.
ProposedExcludeExportRanges []string `protobuf:"bytes,6,rep,name=proposed_exclude_export_ranges,json=proposedExcludeExportRanges,proto3" json:"proposed_exclude_export_ranges,omitempty"`
// Output only. The list of Producer VPC spokes that this VPC spoke is a
// service consumer VPC spoke for. These producer VPCs are connected through
// VPC peering to this spoke's backing VPC network. Because they are directly
// connected through VPC peering, NCC export filters do not apply between the
// service consumer VPC spoke and any of its producer VPC spokes. This VPC
// spoke cannot be deleted as long as any of these producer VPC spokes are
// connected to the NCC Hub.
ProducerVpcSpokes []string `protobuf:"bytes,4,rep,name=producer_vpc_spokes,json=producerVpcSpokes,proto3" json:"producer_vpc_spokes,omitempty"`
// contains filtered or unexported fields
}An existing VPC network.
func (*LinkedVpcNetwork) Descriptor
func (*LinkedVpcNetwork) Descriptor() ([]byte, []int)Deprecated: Use LinkedVpcNetwork.ProtoReflect.Descriptor instead.
func (*LinkedVpcNetwork) GetExcludeExportRanges
func (x *LinkedVpcNetwork) GetExcludeExportRanges() []stringfunc (*LinkedVpcNetwork) GetIncludeExportRanges
func (x *LinkedVpcNetwork) GetIncludeExportRanges() []stringfunc (*LinkedVpcNetwork) GetProducerVpcSpokes
func (x *LinkedVpcNetwork) GetProducerVpcSpokes() []stringfunc (*LinkedVpcNetwork) GetProposedExcludeExportRanges
func (x *LinkedVpcNetwork) GetProposedExcludeExportRanges() []stringfunc (*LinkedVpcNetwork) GetProposedIncludeExportRanges
func (x *LinkedVpcNetwork) GetProposedIncludeExportRanges() []stringfunc (*LinkedVpcNetwork) GetUri
func (x *LinkedVpcNetwork) GetUri() stringfunc (*LinkedVpcNetwork) ProtoMessage
func (*LinkedVpcNetwork) ProtoMessage()func (*LinkedVpcNetwork) ProtoReflect
func (x *LinkedVpcNetwork) ProtoReflect() protoreflect.Messagefunc (*LinkedVpcNetwork) Reset
func (x *LinkedVpcNetwork) Reset()func (*LinkedVpcNetwork) String
func (x *LinkedVpcNetwork) String() stringLinkedVpnTunnels
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 `protobuf:"varint,2,opt,name=site_to_site_data_transfer,json=siteToSiteDataTransfer,proto3" json:"site_to_site_data_transfer,omitempty"`
// Output only. The VPC network where these VPN tunnels are located.
VpcNetwork string `protobuf:"bytes,3,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`
// Optional. Hub routes fully encompassed by include import ranges are
// included during import from hub.
IncludeImportRanges []string `protobuf:"bytes,5,rep,name=include_import_ranges,json=includeImportRanges,proto3" json:"include_import_ranges,omitempty"`
// Optional. Hub routes overlapped/encompassed by exclude import ranges are
// excluded during import from hub.
ExcludeImportRanges []string `protobuf:"bytes,6,rep,name=exclude_import_ranges,json=excludeImportRanges,proto3" json:"exclude_import_ranges,omitempty"`
// Optional. Dynamic routes fully encompassed by include export ranges are
// included during export to hub.
IncludeExportRanges []string `protobuf:"bytes,7,rep,name=include_export_ranges,json=includeExportRanges,proto3" json:"include_export_ranges,omitempty"`
// Optional. Dynamic routes overlapped/encompassed by exclude export ranges
// are excluded during export to hub.
ExcludeExportRanges []string `protobuf:"bytes,8,rep,name=exclude_export_ranges,json=excludeExportRanges,proto3" json:"exclude_export_ranges,omitempty"`
// 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
func (*LinkedVpnTunnels) Descriptor() ([]byte, []int)Deprecated: Use LinkedVpnTunnels.ProtoReflect.Descriptor instead.
func (*LinkedVpnTunnels) GetExcludeExportRanges
func (x *LinkedVpnTunnels) GetExcludeExportRanges() []stringfunc (*LinkedVpnTunnels) GetExcludeImportRanges
func (x *LinkedVpnTunnels) GetExcludeImportRanges() []stringfunc (*LinkedVpnTunnels) GetIncludeExportRanges
func (x *LinkedVpnTunnels) GetIncludeExportRanges() []stringfunc (*LinkedVpnTunnels) GetIncludeImportRanges
func (x *LinkedVpnTunnels) GetIncludeImportRanges() []stringfunc (*LinkedVpnTunnels) GetSiteToSiteDataTransfer
func (x *LinkedVpnTunnels) GetSiteToSiteDataTransfer() boolfunc (*LinkedVpnTunnels) GetUris
func (x *LinkedVpnTunnels) GetUris() []stringfunc (*LinkedVpnTunnels) GetVpcNetwork
func (x *LinkedVpnTunnels) GetVpcNetwork() stringfunc (*LinkedVpnTunnels) ProtoMessage
func (*LinkedVpnTunnels) ProtoMessage()func (*LinkedVpnTunnels) ProtoReflect
func (x *LinkedVpnTunnels) ProtoReflect() protoreflect.Messagefunc (*LinkedVpnTunnels) Reset
func (x *LinkedVpnTunnels) Reset()func (*LinkedVpnTunnels) String
func (x *LinkedVpnTunnels) String() stringListDestinationsRequest
type ListDestinationsRequest struct {
// Required. The name of the parent resource.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of results listed per page.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. An expression that filters the results listed in the response.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. The sort order of the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// Optional. If `true`, allow partial responses for multi-regional aggregated
// list requests.
ReturnPartialSuccess bool `protobuf:"varint,6,opt,name=return_partial_success,json=returnPartialSuccess,proto3" json:"return_partial_success,omitempty"`
// contains filtered or unexported fields
}Request message to list Destination resources.
func (*ListDestinationsRequest) Descriptor
func (*ListDestinationsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListDestinationsRequest.ProtoReflect.Descriptor instead.
func (*ListDestinationsRequest) GetFilter
func (x *ListDestinationsRequest) GetFilter() stringfunc (*ListDestinationsRequest) GetOrderBy
func (x *ListDestinationsRequest) GetOrderBy() stringfunc (*ListDestinationsRequest) GetPageSize
func (x *ListDestinationsRequest) GetPageSize() int32func (*ListDestinationsRequest) GetPageToken
func (x *ListDestinationsRequest) GetPageToken() stringfunc (*ListDestinationsRequest) GetParent
func (x *ListDestinationsRequest) GetParent() stringfunc (*ListDestinationsRequest) GetReturnPartialSuccess
func (x *ListDestinationsRequest) GetReturnPartialSuccess() boolfunc (*ListDestinationsRequest) ProtoMessage
func (*ListDestinationsRequest) ProtoMessage()func (*ListDestinationsRequest) ProtoReflect
func (x *ListDestinationsRequest) ProtoReflect() protoreflect.Messagefunc (*ListDestinationsRequest) Reset
func (x *ListDestinationsRequest) Reset()func (*ListDestinationsRequest) String
func (x *ListDestinationsRequest) String() stringListDestinationsResponse
type ListDestinationsResponse struct {
// The list of `Destination` resources to be listed.
Destinations []*Destination `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"`
// The next page token.
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 message to list Destination resources.
func (*ListDestinationsResponse) Descriptor
func (*ListDestinationsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListDestinationsResponse.ProtoReflect.Descriptor instead.
func (*ListDestinationsResponse) GetDestinations
func (x *ListDestinationsResponse) GetDestinations() []*Destinationfunc (*ListDestinationsResponse) GetNextPageToken
func (x *ListDestinationsResponse) GetNextPageToken() stringfunc (*ListDestinationsResponse) GetUnreachable
func (x *ListDestinationsResponse) GetUnreachable() []stringfunc (*ListDestinationsResponse) ProtoMessage
func (*ListDestinationsResponse) ProtoMessage()func (*ListDestinationsResponse) ProtoReflect
func (x *ListDestinationsResponse) ProtoReflect() protoreflect.Messagefunc (*ListDestinationsResponse) Reset
func (x *ListDestinationsResponse) Reset()func (*ListDestinationsResponse) String
func (x *ListDestinationsResponse) String() stringListGatewayAdvertisedRoutesRequest
type ListGatewayAdvertisedRoutesRequest struct {
// Required. The parent resource's name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. 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"`
// Optional. A page token, received from a previous
// `ListGatewayAdvertisedRoutes` call. Provide this to retrieve the subsequent
// page.
//
// When paginating, all other parameters provided to
// `ListGatewayAdvertisedRoutes` must match the call that provided the page
// token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// An expression that filters the list of results.
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.ListGatewayAdvertisedRoutes][google.cloud.networkconnectivity.v1beta.HubService.ListGatewayAdvertisedRoutes].
func (*ListGatewayAdvertisedRoutesRequest) Descriptor
func (*ListGatewayAdvertisedRoutesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListGatewayAdvertisedRoutesRequest.ProtoReflect.Descriptor instead.
func (*ListGatewayAdvertisedRoutesRequest) GetFilter
func (x *ListGatewayAdvertisedRoutesRequest) GetFilter() stringfunc (*ListGatewayAdvertisedRoutesRequest) GetOrderBy
func (x *ListGatewayAdvertisedRoutesRequest) GetOrderBy() stringfunc (*ListGatewayAdvertisedRoutesRequest) GetPageSize
func (x *ListGatewayAdvertisedRoutesRequest) GetPageSize() int32func (*ListGatewayAdvertisedRoutesRequest) GetPageToken
func (x *ListGatewayAdvertisedRoutesRequest) GetPageToken() stringfunc (*ListGatewayAdvertisedRoutesRequest) GetParent
func (x *ListGatewayAdvertisedRoutesRequest) GetParent() stringfunc (*ListGatewayAdvertisedRoutesRequest) ProtoMessage
func (*ListGatewayAdvertisedRoutesRequest) ProtoMessage()func (*ListGatewayAdvertisedRoutesRequest) ProtoReflect
func (x *ListGatewayAdvertisedRoutesRequest) ProtoReflect() protoreflect.Messagefunc (*ListGatewayAdvertisedRoutesRequest) Reset
func (x *ListGatewayAdvertisedRoutesRequest) Reset()func (*ListGatewayAdvertisedRoutesRequest) String
func (x *ListGatewayAdvertisedRoutesRequest) String() stringListGatewayAdvertisedRoutesResponse
type ListGatewayAdvertisedRoutesResponse struct {
// The requested gateway advertised routes.
GatewayAdvertisedRoutes []*GatewayAdvertisedRoute `protobuf:"bytes,1,rep,name=gateway_advertised_routes,json=gatewayAdvertisedRoutes,proto3" json:"gateway_advertised_routes,omitempty"`
// The token for the next page of the response. To see more results,
// use this value as the page_token for your next request. If this value
// is empty, there are no more results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Hubs 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.ListGatewayAdvertisedRoutes][google.cloud.networkconnectivity.v1beta.HubService.ListGatewayAdvertisedRoutes] method.
func (*ListGatewayAdvertisedRoutesResponse) Descriptor
func (*ListGatewayAdvertisedRoutesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListGatewayAdvertisedRoutesResponse.ProtoReflect.Descriptor instead.
func (*ListGatewayAdvertisedRoutesResponse) GetGatewayAdvertisedRoutes
func (x *ListGatewayAdvertisedRoutesResponse) GetGatewayAdvertisedRoutes() []*GatewayAdvertisedRoutefunc (*ListGatewayAdvertisedRoutesResponse) GetNextPageToken
func (x *ListGatewayAdvertisedRoutesResponse) GetNextPageToken() stringfunc (*ListGatewayAdvertisedRoutesResponse) GetUnreachable
func (x *ListGatewayAdvertisedRoutesResponse) GetUnreachable() []stringfunc (*ListGatewayAdvertisedRoutesResponse) ProtoMessage
func (*ListGatewayAdvertisedRoutesResponse) ProtoMessage()func (*ListGatewayAdvertisedRoutesResponse) ProtoReflect
func (x *ListGatewayAdvertisedRoutesResponse) ProtoReflect() protoreflect.Messagefunc (*ListGatewayAdvertisedRoutesResponse) Reset
func (x *ListGatewayAdvertisedRoutesResponse) Reset()func (*ListGatewayAdvertisedRoutesResponse) String
func (x *ListGatewayAdvertisedRoutesResponse) String() stringListGroupsRequest
type ListGroupsRequest struct {
// Required. The parent resource's name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of results to return per page.
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 list of results.
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.ListGroups][google.cloud.networkconnectivity.v1beta.HubService.ListGroups] method.
func (*ListGroupsRequest) Descriptor
func (*ListGroupsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListGroupsRequest.ProtoReflect.Descriptor instead.
func (*ListGroupsRequest) GetFilter
func (x *ListGroupsRequest) GetFilter() stringfunc (*ListGroupsRequest) GetOrderBy
func (x *ListGroupsRequest) GetOrderBy() stringfunc (*ListGroupsRequest) GetPageSize
func (x *ListGroupsRequest) GetPageSize() int32func (*ListGroupsRequest) GetPageToken
func (x *ListGroupsRequest) GetPageToken() stringfunc (*ListGroupsRequest) GetParent
func (x *ListGroupsRequest) GetParent() stringfunc (*ListGroupsRequest) ProtoMessage
func (*ListGroupsRequest) ProtoMessage()func (*ListGroupsRequest) ProtoReflect
func (x *ListGroupsRequest) ProtoReflect() protoreflect.Messagefunc (*ListGroupsRequest) Reset
func (x *ListGroupsRequest) Reset()func (*ListGroupsRequest) String
func (x *ListGroupsRequest) String() stringListGroupsResponse
type ListGroupsResponse struct {
// The requested groups.
Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
// The token for the next page of the response. To see more results,
// use this value as the page_token for your next request. If this value
// is empty, there are no more results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Hubs 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.ListGroups][google.cloud.networkconnectivity.v1beta.HubService.ListGroups] method.
func (*ListGroupsResponse) Descriptor
func (*ListGroupsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListGroupsResponse.ProtoReflect.Descriptor instead.
func (*ListGroupsResponse) GetGroups
func (x *ListGroupsResponse) GetGroups() []*Groupfunc (*ListGroupsResponse) GetNextPageToken
func (x *ListGroupsResponse) GetNextPageToken() stringfunc (*ListGroupsResponse) GetUnreachable
func (x *ListGroupsResponse) GetUnreachable() []stringfunc (*ListGroupsResponse) ProtoMessage
func (*ListGroupsResponse) ProtoMessage()func (*ListGroupsResponse) ProtoReflect
func (x *ListGroupsResponse) ProtoReflect() protoreflect.Messagefunc (*ListGroupsResponse) Reset
func (x *ListGroupsResponse) Reset()func (*ListGroupsResponse) String
func (x *ListGroupsResponse) String() stringListHubSpokesRequest
type ListHubSpokesRequest struct {
// Required. The name of the hub.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// 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.
SpokeLocations []string `protobuf:"bytes,2,rep,name=spoke_locations,json=spokeLocations,proto3" json:"spoke_locations,omitempty"`
// The maximum number of results to return per page.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The page token.
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// An expression that filters the list of results.
Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
// Sort the results by name or create_time.
OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// The view of the spoke to return.
// The view that you use determines which spoke fields are included in the
// response.
View ListHubSpokesRequest_SpokeView `protobuf:"varint,7,opt,name=view,proto3,enum=google.cloud.networkconnectivity.v1beta.ListHubSpokesRequest_SpokeView" json:"view,omitempty"`
// contains filtered or unexported fields
}The request for [HubService.ListHubSpokes][google.cloud.networkconnectivity.v1beta.HubService.ListHubSpokes].
func (*ListHubSpokesRequest) Descriptor
func (*ListHubSpokesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListHubSpokesRequest.ProtoReflect.Descriptor instead.
func (*ListHubSpokesRequest) GetFilter
func (x *ListHubSpokesRequest) GetFilter() stringfunc (*ListHubSpokesRequest) GetName
func (x *ListHubSpokesRequest) GetName() stringfunc (*ListHubSpokesRequest) GetOrderBy
func (x *ListHubSpokesRequest) GetOrderBy() stringfunc (*ListHubSpokesRequest) GetPageSize
func (x *ListHubSpokesRequest) GetPageSize() int32func (*ListHubSpokesRequest) GetPageToken
func (x *ListHubSpokesRequest) GetPageToken() stringfunc (*ListHubSpokesRequest) GetSpokeLocations
func (x *ListHubSpokesRequest) GetSpokeLocations() []stringfunc (*ListHubSpokesRequest) GetView
func (x *ListHubSpokesRequest) GetView() ListHubSpokesRequest_SpokeViewfunc (*ListHubSpokesRequest) ProtoMessage
func (*ListHubSpokesRequest) ProtoMessage()func (*ListHubSpokesRequest) ProtoReflect
func (x *ListHubSpokesRequest) ProtoReflect() protoreflect.Messagefunc (*ListHubSpokesRequest) Reset
func (x *ListHubSpokesRequest) Reset()func (*ListHubSpokesRequest) String
func (x *ListHubSpokesRequest) String() stringListHubSpokesRequest_SpokeView
type ListHubSpokesRequest_SpokeView int32Enum that controls which spoke fields are included in the response.
ListHubSpokesRequest_SPOKE_VIEW_UNSPECIFIED, ListHubSpokesRequest_BASIC, ListHubSpokesRequest_DETAILED
const (
// The spoke view is unspecified. When the spoke view is unspecified, the
// API returns the same fields as the `BASIC` view.
ListHubSpokesRequest_SPOKE_VIEW_UNSPECIFIED ListHubSpokesRequest_SpokeView = 0
// Includes `name`, `create_time`, `hub`, `unique_id`, `state`, `reasons`,
// and `spoke_type`. This is the default value.
ListHubSpokesRequest_BASIC ListHubSpokesRequest_SpokeView = 1
// Includes all spoke fields except `labels`.
// You can use the `DETAILED` view only when you set the `spoke_locations`
// field to `[global]`.
ListHubSpokesRequest_DETAILED ListHubSpokesRequest_SpokeView = 2
)func (ListHubSpokesRequest_SpokeView) Descriptor
func (ListHubSpokesRequest_SpokeView) Descriptor() protoreflect.EnumDescriptorfunc (ListHubSpokesRequest_SpokeView) Enum
func (x ListHubSpokesRequest_SpokeView) Enum() *ListHubSpokesRequest_SpokeViewfunc (ListHubSpokesRequest_SpokeView) EnumDescriptor
func (ListHubSpokesRequest_SpokeView) EnumDescriptor() ([]byte, []int)Deprecated: Use ListHubSpokesRequest_SpokeView.Descriptor instead.
func (ListHubSpokesRequest_SpokeView) Number
func (x ListHubSpokesRequest_SpokeView) Number() protoreflect.EnumNumberfunc (ListHubSpokesRequest_SpokeView) String
func (x ListHubSpokesRequest_SpokeView) String() stringfunc (ListHubSpokesRequest_SpokeView) Type
func (ListHubSpokesRequest_SpokeView) Type() protoreflect.EnumTypeListHubSpokesResponse
type ListHubSpokesResponse struct {
// The requested spokes.
// The spoke fields can be partially populated based on the `view` field in
// the request message.
Spokes []*Spoke `protobuf:"bytes,1,rep,name=spokes,proto3" json:"spokes,omitempty"`
// The token for the next page of the response. To see more results,
// use this value as the page_token for your next request. If this value
// is empty, there are no more results.
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.ListHubSpokes][google.cloud.networkconnectivity.v1beta.HubService.ListHubSpokes].
func (*ListHubSpokesResponse) Descriptor
func (*ListHubSpokesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListHubSpokesResponse.ProtoReflect.Descriptor instead.
func (*ListHubSpokesResponse) GetNextPageToken
func (x *ListHubSpokesResponse) GetNextPageToken() stringfunc (*ListHubSpokesResponse) GetSpokes
func (x *ListHubSpokesResponse) GetSpokes() []*Spokefunc (*ListHubSpokesResponse) GetUnreachable
func (x *ListHubSpokesResponse) GetUnreachable() []stringfunc (*ListHubSpokesResponse) ProtoMessage
func (*ListHubSpokesResponse) ProtoMessage()func (*ListHubSpokesResponse) ProtoReflect
func (x *ListHubSpokesResponse) ProtoReflect() protoreflect.Messagefunc (*ListHubSpokesResponse) Reset
func (x *ListHubSpokesResponse) Reset()func (*ListHubSpokesResponse) String
func (x *ListHubSpokesResponse) String() stringListHubsRequest
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 to return.
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 list of results.
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.v1beta.HubService.ListHubs] method.
func (*ListHubsRequest) Descriptor
func (*ListHubsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListHubsRequest.ProtoReflect.Descriptor instead.
func (*ListHubsRequest) GetFilter
func (x *ListHubsRequest) GetFilter() stringfunc (*ListHubsRequest) GetOrderBy
func (x *ListHubsRequest) GetOrderBy() stringfunc (*ListHubsRequest) GetPageSize
func (x *ListHubsRequest) GetPageSize() int32func (*ListHubsRequest) GetPageToken
func (x *ListHubsRequest) GetPageToken() stringfunc (*ListHubsRequest) GetParent
func (x *ListHubsRequest) GetParent() stringfunc (*ListHubsRequest) ProtoMessage
func (*ListHubsRequest) ProtoMessage()func (*ListHubsRequest) ProtoReflect
func (x *ListHubsRequest) ProtoReflect() protoreflect.Messagefunc (*ListHubsRequest) Reset
func (x *ListHubsRequest) Reset()func (*ListHubsRequest) String
func (x *ListHubsRequest) String() stringListHubsResponse
type ListHubsResponse struct {
// The requested hubs.
Hubs []*Hub `protobuf:"bytes,1,rep,name=hubs,proto3" json:"hubs,omitempty"`
// The token for the next page of the response. To see more results,
// use this value as the page_token for your next request. If this value
// is empty, there are no more results.
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.v1beta.HubService.ListHubs] method.
func (*ListHubsResponse) Descriptor
func (*ListHubsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListHubsResponse.ProtoReflect.Descriptor instead.
func (*ListHubsResponse) GetHubs
func (x *ListHubsResponse) GetHubs() []*Hubfunc (*ListHubsResponse) GetNextPageToken
func (x *ListHubsResponse) GetNextPageToken() stringfunc (*ListHubsResponse) GetUnreachable
func (x *ListHubsResponse) GetUnreachable() []stringfunc (*ListHubsResponse) ProtoMessage
func (*ListHubsResponse) ProtoMessage()func (*ListHubsResponse) ProtoReflect
func (x *ListHubsResponse) ProtoReflect() protoreflect.Messagefunc (*ListHubsResponse) Reset
func (x *ListHubsResponse) Reset()func (*ListHubsResponse) String
func (x *ListHubsResponse) String() stringListMulticloudDataTransferConfigsRequest
type ListMulticloudDataTransferConfigsRequest struct {
// Required. The name of the parent resource.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of results listed per page.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. An expression that filters the results listed in the response.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. The sort order of the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// Optional. If `true`, allows partial responses for multi-regional aggregated
// list requests.
ReturnPartialSuccess bool `protobuf:"varint,6,opt,name=return_partial_success,json=returnPartialSuccess,proto3" json:"return_partial_success,omitempty"`
// contains filtered or unexported fields
}Request message to list MulticloudDataTransferConfig resources.
func (*ListMulticloudDataTransferConfigsRequest) Descriptor
func (*ListMulticloudDataTransferConfigsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListMulticloudDataTransferConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListMulticloudDataTransferConfigsRequest) GetFilter
func (x *ListMulticloudDataTransferConfigsRequest) GetFilter() stringfunc (*ListMulticloudDataTransferConfigsRequest) GetOrderBy
func (x *ListMulticloudDataTransferConfigsRequest) GetOrderBy() stringfunc (*ListMulticloudDataTransferConfigsRequest) GetPageSize
func (x *ListMulticloudDataTransferConfigsRequest) GetPageSize() int32func (*ListMulticloudDataTransferConfigsRequest) GetPageToken
func (x *ListMulticloudDataTransferConfigsRequest) GetPageToken() stringfunc (*ListMulticloudDataTransferConfigsRequest) GetParent
func (x *ListMulticloudDataTransferConfigsRequest) GetParent() stringfunc (*ListMulticloudDataTransferConfigsRequest) GetReturnPartialSuccess
func (x *ListMulticloudDataTransferConfigsRequest) GetReturnPartialSuccess() boolfunc (*ListMulticloudDataTransferConfigsRequest) ProtoMessage
func (*ListMulticloudDataTransferConfigsRequest) ProtoMessage()func (*ListMulticloudDataTransferConfigsRequest) ProtoReflect
func (x *ListMulticloudDataTransferConfigsRequest) ProtoReflect() protoreflect.Messagefunc (*ListMulticloudDataTransferConfigsRequest) Reset
func (x *ListMulticloudDataTransferConfigsRequest) Reset()func (*ListMulticloudDataTransferConfigsRequest) String
func (x *ListMulticloudDataTransferConfigsRequest) String() stringListMulticloudDataTransferConfigsResponse
type ListMulticloudDataTransferConfigsResponse struct {
// The list of `MulticloudDataTransferConfig` resources to be listed.
MulticloudDataTransferConfigs []*MulticloudDataTransferConfig `protobuf:"bytes,1,rep,name=multicloud_data_transfer_configs,json=multicloudDataTransferConfigs,proto3" json:"multicloud_data_transfer_configs,omitempty"`
// The next page token.
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 message to list MulticloudDataTransferConfig resources.
func (*ListMulticloudDataTransferConfigsResponse) Descriptor
func (*ListMulticloudDataTransferConfigsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListMulticloudDataTransferConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListMulticloudDataTransferConfigsResponse) GetMulticloudDataTransferConfigs
func (x *ListMulticloudDataTransferConfigsResponse) GetMulticloudDataTransferConfigs() []*MulticloudDataTransferConfigfunc (*ListMulticloudDataTransferConfigsResponse) GetNextPageToken
func (x *ListMulticloudDataTransferConfigsResponse) GetNextPageToken() stringfunc (*ListMulticloudDataTransferConfigsResponse) GetUnreachable
func (x *ListMulticloudDataTransferConfigsResponse) GetUnreachable() []stringfunc (*ListMulticloudDataTransferConfigsResponse) ProtoMessage
func (*ListMulticloudDataTransferConfigsResponse) ProtoMessage()func (*ListMulticloudDataTransferConfigsResponse) ProtoReflect
func (x *ListMulticloudDataTransferConfigsResponse) ProtoReflect() protoreflect.Messagefunc (*ListMulticloudDataTransferConfigsResponse) Reset
func (x *ListMulticloudDataTransferConfigsResponse) Reset()func (*ListMulticloudDataTransferConfigsResponse) String
func (x *ListMulticloudDataTransferConfigsResponse) String() stringListMulticloudDataTransferSupportedServicesRequest
type ListMulticloudDataTransferSupportedServicesRequest struct {
// Required. The name of the parent resource.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of results listed per page.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Request message to list the services in your project that are eligible for Data Transfer Essentials configuration.
func (*ListMulticloudDataTransferSupportedServicesRequest) Descriptor
func (*ListMulticloudDataTransferSupportedServicesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListMulticloudDataTransferSupportedServicesRequest.ProtoReflect.Descriptor instead.
func (*ListMulticloudDataTransferSupportedServicesRequest) GetPageSize
func (x *ListMulticloudDataTransferSupportedServicesRequest) GetPageSize() int32func (*ListMulticloudDataTransferSupportedServicesRequest) GetPageToken
func (x *ListMulticloudDataTransferSupportedServicesRequest) GetPageToken() stringfunc (*ListMulticloudDataTransferSupportedServicesRequest) GetParent
func (x *ListMulticloudDataTransferSupportedServicesRequest) GetParent() stringfunc (*ListMulticloudDataTransferSupportedServicesRequest) ProtoMessage
func (*ListMulticloudDataTransferSupportedServicesRequest) ProtoMessage()func (*ListMulticloudDataTransferSupportedServicesRequest) ProtoReflect
func (x *ListMulticloudDataTransferSupportedServicesRequest) ProtoReflect() protoreflect.Messagefunc (*ListMulticloudDataTransferSupportedServicesRequest) Reset
func (x *ListMulticloudDataTransferSupportedServicesRequest) Reset()func (*ListMulticloudDataTransferSupportedServicesRequest) String
func (x *ListMulticloudDataTransferSupportedServicesRequest) String() stringListMulticloudDataTransferSupportedServicesResponse
type ListMulticloudDataTransferSupportedServicesResponse struct {
// The list of supported services.
MulticloudDataTransferSupportedServices []*MulticloudDataTransferSupportedService `protobuf:"bytes,1,rep,name=multicloud_data_transfer_supported_services,json=multicloudDataTransferSupportedServices,proto3" json:"multicloud_data_transfer_supported_services,omitempty"`
// The next page token.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message to list the services in your project in regions that are eligible for Data Transfer Essentials configuration.
func (*ListMulticloudDataTransferSupportedServicesResponse) Descriptor
func (*ListMulticloudDataTransferSupportedServicesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListMulticloudDataTransferSupportedServicesResponse.ProtoReflect.Descriptor instead.
func (*ListMulticloudDataTransferSupportedServicesResponse) GetMulticloudDataTransferSupportedServices
func (x *ListMulticloudDataTransferSupportedServicesResponse) GetMulticloudDataTransferSupportedServices() []*MulticloudDataTransferSupportedServicefunc (*ListMulticloudDataTransferSupportedServicesResponse) GetNextPageToken
func (x *ListMulticloudDataTransferSupportedServicesResponse) GetNextPageToken() stringfunc (*ListMulticloudDataTransferSupportedServicesResponse) ProtoMessage
func (*ListMulticloudDataTransferSupportedServicesResponse) ProtoMessage()func (*ListMulticloudDataTransferSupportedServicesResponse) ProtoReflect
func (x *ListMulticloudDataTransferSupportedServicesResponse) ProtoReflect() protoreflect.Messagefunc (*ListMulticloudDataTransferSupportedServicesResponse) Reset
func (x *ListMulticloudDataTransferSupportedServicesResponse) Reset()func (*ListMulticloudDataTransferSupportedServicesResponse) String
func (x *ListMulticloudDataTransferSupportedServicesResponse) String() stringListPolicyBasedRoutesRequest
type ListPolicyBasedRoutesRequest 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"`
// A filter 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 [PolicyBasedRoutingService.ListPolicyBasedRoutes][google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService.ListPolicyBasedRoutes] method.
func (*ListPolicyBasedRoutesRequest) Descriptor
func (*ListPolicyBasedRoutesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListPolicyBasedRoutesRequest.ProtoReflect.Descriptor instead.
func (*ListPolicyBasedRoutesRequest) GetFilter
func (x *ListPolicyBasedRoutesRequest) GetFilter() stringfunc (*ListPolicyBasedRoutesRequest) GetOrderBy
func (x *ListPolicyBasedRoutesRequest) GetOrderBy() stringfunc (*ListPolicyBasedRoutesRequest) GetPageSize
func (x *ListPolicyBasedRoutesRequest) GetPageSize() int32func (*ListPolicyBasedRoutesRequest) GetPageToken
func (x *ListPolicyBasedRoutesRequest) GetPageToken() stringfunc (*ListPolicyBasedRoutesRequest) GetParent
func (x *ListPolicyBasedRoutesRequest) GetParent() stringfunc (*ListPolicyBasedRoutesRequest) ProtoMessage
func (*ListPolicyBasedRoutesRequest) ProtoMessage()func (*ListPolicyBasedRoutesRequest) ProtoReflect
func (x *ListPolicyBasedRoutesRequest) ProtoReflect() protoreflect.Messagefunc (*ListPolicyBasedRoutesRequest) Reset
func (x *ListPolicyBasedRoutesRequest) Reset()func (*ListPolicyBasedRoutesRequest) String
func (x *ListPolicyBasedRoutesRequest) String() stringListPolicyBasedRoutesResponse
type ListPolicyBasedRoutesResponse struct {
// Policy-based routes to be returned.
PolicyBasedRoutes []*PolicyBasedRoute `protobuf:"bytes,1,rep,name=policy_based_routes,json=policyBasedRoutes,proto3" json:"policy_based_routes,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 [PolicyBasedRoutingService.ListPolicyBasedRoutes][google.cloud.networkconnectivity.v1beta.PolicyBasedRoutingService.ListPolicyBasedRoutes] method.
func (*ListPolicyBasedRoutesResponse) Descriptor
func (*ListPolicyBasedRoutesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListPolicyBasedRoutesResponse.ProtoReflect.Descriptor instead.
func (*ListPolicyBasedRoutesResponse) GetNextPageToken
func (x *ListPolicyBasedRoutesResponse) GetNextPageToken() stringfunc (*ListPolicyBasedRoutesResponse) GetPolicyBasedRoutes
func (x *ListPolicyBasedRoutesResponse) GetPolicyBasedRoutes() []*PolicyBasedRoutefunc (*ListPolicyBasedRoutesResponse) GetUnreachable
func (x *ListPolicyBasedRoutesResponse) GetUnreachable() []stringfunc (*ListPolicyBasedRoutesResponse) ProtoMessage
func (*ListPolicyBasedRoutesResponse) ProtoMessage()func (*ListPolicyBasedRoutesResponse) ProtoReflect
func (x *ListPolicyBasedRoutesResponse) ProtoReflect() protoreflect.Messagefunc (*ListPolicyBasedRoutesResponse) Reset
func (x *ListPolicyBasedRoutesResponse) Reset()func (*ListPolicyBasedRoutesResponse) String
func (x *ListPolicyBasedRoutesResponse) String() stringListRemoteTransportProfilesRequest
type ListRemoteTransportProfilesRequest struct {
// Required. Parent value for ListRemoteTransportProfilesRequest.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Message for requesting list of RemoteTransportProfiles.
func (*ListRemoteTransportProfilesRequest) Descriptor
func (*ListRemoteTransportProfilesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListRemoteTransportProfilesRequest.ProtoReflect.Descriptor instead.
func (*ListRemoteTransportProfilesRequest) GetFilter
func (x *ListRemoteTransportProfilesRequest) GetFilter() stringfunc (*ListRemoteTransportProfilesRequest) GetOrderBy
func (x *ListRemoteTransportProfilesRequest) GetOrderBy() stringfunc (*ListRemoteTransportProfilesRequest) GetPageSize
func (x *ListRemoteTransportProfilesRequest) GetPageSize() int32func (*ListRemoteTransportProfilesRequest) GetPageToken
func (x *ListRemoteTransportProfilesRequest) GetPageToken() stringfunc (*ListRemoteTransportProfilesRequest) GetParent
func (x *ListRemoteTransportProfilesRequest) GetParent() stringfunc (*ListRemoteTransportProfilesRequest) ProtoMessage
func (*ListRemoteTransportProfilesRequest) ProtoMessage()func (*ListRemoteTransportProfilesRequest) ProtoReflect
func (x *ListRemoteTransportProfilesRequest) ProtoReflect() protoreflect.Messagefunc (*ListRemoteTransportProfilesRequest) Reset
func (x *ListRemoteTransportProfilesRequest) Reset()func (*ListRemoteTransportProfilesRequest) String
func (x *ListRemoteTransportProfilesRequest) String() stringListRemoteTransportProfilesResponse
type ListRemoteTransportProfilesResponse struct {
// The list of RemoteTransportProfiles.
RemoteTransportProfiles []*RemoteTransportProfile `protobuf:"bytes,1,rep,name=remote_transport_profiles,json=remoteTransportProfiles,proto3" json:"remote_transport_profiles,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Unordered list. Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Message for response to listing RemoteTransportProfiles
func (*ListRemoteTransportProfilesResponse) Descriptor
func (*ListRemoteTransportProfilesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListRemoteTransportProfilesResponse.ProtoReflect.Descriptor instead.
func (*ListRemoteTransportProfilesResponse) GetNextPageToken
func (x *ListRemoteTransportProfilesResponse) GetNextPageToken() stringfunc (*ListRemoteTransportProfilesResponse) GetRemoteTransportProfiles
func (x *ListRemoteTransportProfilesResponse) GetRemoteTransportProfiles() []*RemoteTransportProfilefunc (*ListRemoteTransportProfilesResponse) GetUnreachable
func (x *ListRemoteTransportProfilesResponse) GetUnreachable() []stringfunc (*ListRemoteTransportProfilesResponse) ProtoMessage
func (*ListRemoteTransportProfilesResponse) ProtoMessage()func (*ListRemoteTransportProfilesResponse) ProtoReflect
func (x *ListRemoteTransportProfilesResponse) ProtoReflect() protoreflect.Messagefunc (*ListRemoteTransportProfilesResponse) Reset
func (x *ListRemoteTransportProfilesResponse) Reset()func (*ListRemoteTransportProfilesResponse) String
func (x *ListRemoteTransportProfilesResponse) String() stringListRouteTablesRequest
type ListRouteTablesRequest struct {
// Required. The parent resource's name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of results to return per page.
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 list of results.
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.ListRouteTables][google.cloud.networkconnectivity.v1beta.HubService.ListRouteTables] method.
func (*ListRouteTablesRequest) Descriptor
func (*ListRouteTablesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListRouteTablesRequest.ProtoReflect.Descriptor instead.
func (*ListRouteTablesRequest) GetFilter
func (x *ListRouteTablesRequest) GetFilter() stringfunc (*ListRouteTablesRequest) GetOrderBy
func (x *ListRouteTablesRequest) GetOrderBy() stringfunc (*ListRouteTablesRequest) GetPageSize
func (x *ListRouteTablesRequest) GetPageSize() int32func (*ListRouteTablesRequest) GetPageToken
func (x *ListRouteTablesRequest) GetPageToken() stringfunc (*ListRouteTablesRequest) GetParent
func (x *ListRouteTablesRequest) GetParent() stringfunc (*ListRouteTablesRequest) ProtoMessage
func (*ListRouteTablesRequest) ProtoMessage()func (*ListRouteTablesRequest) ProtoReflect
func (x *ListRouteTablesRequest) ProtoReflect() protoreflect.Messagefunc (*ListRouteTablesRequest) Reset
func (x *ListRouteTablesRequest) Reset()func (*ListRouteTablesRequest) String
func (x *ListRouteTablesRequest) String() stringListRouteTablesResponse
type ListRouteTablesResponse struct {
// The requested route tables.
RouteTables []*RouteTable `protobuf:"bytes,1,rep,name=route_tables,json=routeTables,proto3" json:"route_tables,omitempty"`
// The token for the next page of the response. To see more results,
// use this value as the page_token for your next request. If this value
// is empty, there are no more results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Hubs 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.ListRouteTables][google.cloud.networkconnectivity.v1beta.HubService.ListRouteTables] method.
func (*ListRouteTablesResponse) Descriptor
func (*ListRouteTablesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListRouteTablesResponse.ProtoReflect.Descriptor instead.
func (*ListRouteTablesResponse) GetNextPageToken
func (x *ListRouteTablesResponse) GetNextPageToken() stringfunc (*ListRouteTablesResponse) GetRouteTables
func (x *ListRouteTablesResponse) GetRouteTables() []*RouteTablefunc (*ListRouteTablesResponse) GetUnreachable
func (x *ListRouteTablesResponse) GetUnreachable() []stringfunc (*ListRouteTablesResponse) ProtoMessage
func (*ListRouteTablesResponse) ProtoMessage()func (*ListRouteTablesResponse) ProtoReflect
func (x *ListRouteTablesResponse) ProtoReflect() protoreflect.Messagefunc (*ListRouteTablesResponse) Reset
func (x *ListRouteTablesResponse) Reset()func (*ListRouteTablesResponse) String
func (x *ListRouteTablesResponse) String() stringListRoutesRequest
type ListRoutesRequest struct {
// Required. The parent resource's name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of results to return per page.
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 list of results.
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.ListRoutes][google.cloud.networkconnectivity.v1beta.HubService.ListRoutes] method.
func (*ListRoutesRequest) Descriptor
func (*ListRoutesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListRoutesRequest.ProtoReflect.Descriptor instead.
func (*ListRoutesRequest) GetFilter
func (x *ListRoutesRequest) GetFilter() stringfunc (*ListRoutesRequest) GetOrderBy
func (x *ListRoutesRequest) GetOrderBy() stringfunc (*ListRoutesRequest) GetPageSize
func (x *ListRoutesRequest) GetPageSize() int32func (*ListRoutesRequest) GetPageToken
func (x *ListRoutesRequest) GetPageToken() stringfunc (*ListRoutesRequest) GetParent
func (x *ListRoutesRequest) GetParent() stringfunc (*ListRoutesRequest) ProtoMessage
func (*ListRoutesRequest) ProtoMessage()func (*ListRoutesRequest) ProtoReflect
func (x *ListRoutesRequest) ProtoReflect() protoreflect.Messagefunc (*ListRoutesRequest) Reset
func (x *ListRoutesRequest) Reset()func (*ListRoutesRequest) String
func (x *ListRoutesRequest) String() stringListRoutesResponse
type ListRoutesResponse struct {
// The requested routes.
Routes []*Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
// The token for the next page of the response. To see more results,
// use this value as the page_token for your next request. If this value
// is empty, there are no more results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// RouteTables 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.ListRoutes][google.cloud.networkconnectivity.v1beta.HubService.ListRoutes] method.
func (*ListRoutesResponse) Descriptor
func (*ListRoutesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListRoutesResponse.ProtoReflect.Descriptor instead.
func (*ListRoutesResponse) GetNextPageToken
func (x *ListRoutesResponse) GetNextPageToken() stringfunc (*ListRoutesResponse) GetRoutes
func (x *ListRoutesResponse) GetRoutes() []*Routefunc (*ListRoutesResponse) GetUnreachable
func (x *ListRoutesResponse) GetUnreachable() []stringfunc (*ListRoutesResponse) ProtoMessage
func (*ListRoutesResponse) ProtoMessage()func (*ListRoutesResponse) ProtoReflect
func (x *ListRoutesResponse) ProtoReflect() protoreflect.Messagefunc (*ListRoutesResponse) Reset
func (x *ListRoutesResponse) Reset()func (*ListRoutesResponse) String
func (x *ListRoutesResponse) String() stringListSpokesRequest
type ListSpokesRequest struct {
// Required. The parent resource.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of results to return per page.
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 list of results.
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.v1beta.HubService.ListSpokes].
func (*ListSpokesRequest) Descriptor
func (*ListSpokesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListSpokesRequest.ProtoReflect.Descriptor instead.
func (*ListSpokesRequest) GetFilter
func (x *ListSpokesRequest) GetFilter() stringfunc (*ListSpokesRequest) GetOrderBy
func (x *ListSpokesRequest) GetOrderBy() stringfunc (*ListSpokesRequest) GetPageSize
func (x *ListSpokesRequest) GetPageSize() int32func (*ListSpokesRequest) GetPageToken
func (x *ListSpokesRequest) GetPageToken() stringfunc (*ListSpokesRequest) GetParent
func (x *ListSpokesRequest) GetParent() stringfunc (*ListSpokesRequest) ProtoMessage
func (*ListSpokesRequest) ProtoMessage()func (*ListSpokesRequest) ProtoReflect
func (x *ListSpokesRequest) ProtoReflect() protoreflect.Messagefunc (*ListSpokesRequest) Reset
func (x *ListSpokesRequest) Reset()func (*ListSpokesRequest) String
func (x *ListSpokesRequest) String() stringListSpokesResponse
type ListSpokesResponse struct {
// The requested spokes.
Spokes []*Spoke `protobuf:"bytes,1,rep,name=spokes,proto3" json:"spokes,omitempty"`
// The token for the next page of the response. To see more results,
// use this value as the page_token for your next request. If this value
// is empty, there are no more results.
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.v1beta.HubService.ListSpokes].
func (*ListSpokesResponse) Descriptor
func (*ListSpokesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListSpokesResponse.ProtoReflect.Descriptor instead.
func (*ListSpokesResponse) GetNextPageToken
func (x *ListSpokesResponse) GetNextPageToken() stringfunc (*ListSpokesResponse) GetSpokes
func (x *ListSpokesResponse) GetSpokes() []*Spokefunc (*ListSpokesResponse) GetUnreachable
func (x *ListSpokesResponse) GetUnreachable() []stringfunc (*ListSpokesResponse) ProtoMessage
func (*ListSpokesResponse) ProtoMessage()func (*ListSpokesResponse) ProtoReflect
func (x *ListSpokesResponse) ProtoReflect() protoreflect.Messagefunc (*ListSpokesResponse) Reset
func (x *ListSpokesResponse) Reset()func (*ListSpokesResponse) String
func (x *ListSpokesResponse) String() stringListTransportsRequest
type ListTransportsRequest struct {
// Required. Parent value for ListTransportsRequest.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Hint for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}Message for requesting list of Transports.
func (*ListTransportsRequest) Descriptor
func (*ListTransportsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListTransportsRequest.ProtoReflect.Descriptor instead.
func (*ListTransportsRequest) GetFilter
func (x *ListTransportsRequest) GetFilter() stringfunc (*ListTransportsRequest) GetOrderBy
func (x *ListTransportsRequest) GetOrderBy() stringfunc (*ListTransportsRequest) GetPageSize
func (x *ListTransportsRequest) GetPageSize() int32func (*ListTransportsRequest) GetPageToken
func (x *ListTransportsRequest) GetPageToken() stringfunc (*ListTransportsRequest) GetParent
func (x *ListTransportsRequest) GetParent() stringfunc (*ListTransportsRequest) ProtoMessage
func (*ListTransportsRequest) ProtoMessage()func (*ListTransportsRequest) ProtoReflect
func (x *ListTransportsRequest) ProtoReflect() protoreflect.Messagefunc (*ListTransportsRequest) Reset
func (x *ListTransportsRequest) Reset()func (*ListTransportsRequest) String
func (x *ListTransportsRequest) String() stringListTransportsResponse
type ListTransportsResponse struct {
// The list of Transport.
Transports []*Transport `protobuf:"bytes,1,rep,name=transports,proto3" json:"transports,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Unordered list. Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Message for response to listing Transports.
func (*ListTransportsResponse) Descriptor
func (*ListTransportsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListTransportsResponse.ProtoReflect.Descriptor instead.
func (*ListTransportsResponse) GetNextPageToken
func (x *ListTransportsResponse) GetNextPageToken() stringfunc (*ListTransportsResponse) GetTransports
func (x *ListTransportsResponse) GetTransports() []*Transportfunc (*ListTransportsResponse) GetUnreachable
func (x *ListTransportsResponse) GetUnreachable() []stringfunc (*ListTransportsResponse) ProtoMessage
func (*ListTransportsResponse) ProtoMessage()func (*ListTransportsResponse) ProtoReflect
func (x *ListTransportsResponse) ProtoReflect() protoreflect.Messagefunc (*ListTransportsResponse) Reset
func (x *ListTransportsResponse) Reset()func (*ListTransportsResponse) String
func (x *ListTransportsResponse) String() stringLocationFeature
type LocationFeature int32Supported features for a location
LocationFeature_LOCATION_FEATURE_UNSPECIFIED, LocationFeature_SITE_TO_CLOUD_SPOKES, LocationFeature_SITE_TO_SITE_SPOKES, LocationFeature_GATEWAY_SPOKES, LocationFeature_TRANSPORTS
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
// Gateway spokes are supported in this location.
LocationFeature_GATEWAY_SPOKES LocationFeature = 3
// Supports transports in this location.
LocationFeature_TRANSPORTS LocationFeature = 4
)func (LocationFeature) Descriptor
func (LocationFeature) Descriptor() protoreflect.EnumDescriptorfunc (LocationFeature) Enum
func (x LocationFeature) Enum() *LocationFeaturefunc (LocationFeature) EnumDescriptor
func (LocationFeature) EnumDescriptor() ([]byte, []int)Deprecated: Use LocationFeature.Descriptor instead.
func (LocationFeature) Number
func (x LocationFeature) Number() protoreflect.EnumNumberfunc (LocationFeature) String
func (x LocationFeature) String() stringfunc (LocationFeature) Type
func (LocationFeature) Type() protoreflect.EnumTypeLocationMetadata
type LocationMetadata struct {
// List of supported features
LocationFeatures []LocationFeature `protobuf:"varint,1,rep,packed,name=location_features,json=locationFeatures,proto3,enum=google.cloud.networkconnectivity.v1beta.LocationFeature" json:"location_features,omitempty"`
// contains filtered or unexported fields
}Metadata about locations
func (*LocationMetadata) Descriptor
func (*LocationMetadata) Descriptor() ([]byte, []int)Deprecated: Use LocationMetadata.ProtoReflect.Descriptor instead.
func (*LocationMetadata) GetLocationFeatures
func (x *LocationMetadata) GetLocationFeatures() []LocationFeaturefunc (*LocationMetadata) ProtoMessage
func (*LocationMetadata) ProtoMessage()func (*LocationMetadata) ProtoReflect
func (x *LocationMetadata) ProtoReflect() protoreflect.Messagefunc (*LocationMetadata) Reset
func (x *LocationMetadata) Reset()func (*LocationMetadata) String
func (x *LocationMetadata) String() stringMulticloudDataTransferConfig
type MulticloudDataTransferConfig struct {
// Identifier. The name of the `MulticloudDataTransferConfig` resource.
// Format:
// `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Time when the `MulticloudDataTransferConfig` resource was
// created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when the `MulticloudDataTransferConfig` resource was
// updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. User-defined labels.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// The etag is computed by the server, and might be sent with update and
// delete requests so that the client has an up-to-date value before
// proceeding.
Etag string `protobuf:"bytes,5,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. A description of this resource.
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The number of `Destination` resources configured for the
// `MulticloudDataTransferConfig` resource.
DestinationsCount int32 `protobuf:"varint,7,opt,name=destinations_count,json=destinationsCount,proto3" json:"destinations_count,omitempty"`
// Output only. The number of `Destination` resources in use with the
// `MulticloudDataTransferConfig` resource.
DestinationsActiveCount int32 `protobuf:"varint,8,opt,name=destinations_active_count,json=destinationsActiveCount,proto3" json:"destinations_active_count,omitempty"`
// Optional. Maps services to their current or planned states. Service names
// are keys, and the associated values describe the state of the service. If a
// state change is expected, the value is either `ADDING` or `DELETING`,
// depending on the actions taken.
//
// Sample output:
//
// "services": {
// "big-query": {
// "states": [
// {
// "effectiveTime": "2024-12-12T08:00:00Z"
// "state": "ADDING",
// },
// ]
// },
// "cloud-storage": {
// "states": [
// {
// "state": "ACTIVE",
// }
// ]
// }
// }
Services map[string]*StateTimeline `protobuf:"bytes,9,rep,name=services,proto3" json:"services,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. The Google-generated unique ID for the
// `MulticloudDataTransferConfig` resource. This value is unique across all
// `MulticloudDataTransferConfig` resources. If a resource is deleted and
// another with the same name is created, the new resource is assigned a
// different and unique ID.
Uid string `protobuf:"bytes,10,opt,name=uid,proto3" json:"uid,omitempty"`
// contains filtered or unexported fields
}The MulticloudDataTransferConfig resource. It lists the services that you
configure for Data Transfer Essentials billing and metering.
func (*MulticloudDataTransferConfig) Descriptor
func (*MulticloudDataTransferConfig) Descriptor() ([]byte, []int)Deprecated: Use MulticloudDataTransferConfig.ProtoReflect.Descriptor instead.
func (*MulticloudDataTransferConfig) GetCreateTime
func (x *MulticloudDataTransferConfig) GetCreateTime() *timestamppb.Timestampfunc (*MulticloudDataTransferConfig) GetDescription
func (x *MulticloudDataTransferConfig) GetDescription() stringfunc (*MulticloudDataTransferConfig) GetDestinationsActiveCount
func (x *MulticloudDataTransferConfig) GetDestinationsActiveCount() int32func (*MulticloudDataTransferConfig) GetDestinationsCount
func (x *MulticloudDataTransferConfig) GetDestinationsCount() int32func (*MulticloudDataTransferConfig) GetEtag
func (x *MulticloudDataTransferConfig) GetEtag() stringfunc (*MulticloudDataTransferConfig) GetLabels
func (x *MulticloudDataTransferConfig) GetLabels() map[string]stringfunc (*MulticloudDataTransferConfig) GetName
func (x *MulticloudDataTransferConfig) GetName() stringfunc (*MulticloudDataTransferConfig) GetServices
func (x *MulticloudDataTransferConfig) GetServices() map[string]*StateTimelinefunc (*MulticloudDataTransferConfig) GetUid
func (x *MulticloudDataTransferConfig) GetUid() stringfunc (*MulticloudDataTransferConfig) GetUpdateTime
func (x *MulticloudDataTransferConfig) GetUpdateTime() *timestamppb.Timestampfunc (*MulticloudDataTransferConfig) ProtoMessage
func (*MulticloudDataTransferConfig) ProtoMessage()func (*MulticloudDataTransferConfig) ProtoReflect
func (x *MulticloudDataTransferConfig) ProtoReflect() protoreflect.Messagefunc (*MulticloudDataTransferConfig) Reset
func (x *MulticloudDataTransferConfig) Reset()func (*MulticloudDataTransferConfig) String
func (x *MulticloudDataTransferConfig) String() stringMulticloudDataTransferSupportedService
type MulticloudDataTransferSupportedService struct {
// Identifier. The name of the service.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The network service tier or regional endpoint supported for
// the service.
ServiceConfigs []*ServiceConfig `protobuf:"bytes,2,rep,name=service_configs,json=serviceConfigs,proto3" json:"service_configs,omitempty"`
// contains filtered or unexported fields
}A service in your project in a region that is eligible for Data Transfer Essentials configuration.
func (*MulticloudDataTransferSupportedService) Descriptor
func (*MulticloudDataTransferSupportedService) Descriptor() ([]byte, []int)Deprecated: Use MulticloudDataTransferSupportedService.ProtoReflect.Descriptor instead.
func (*MulticloudDataTransferSupportedService) GetName
func (x *MulticloudDataTransferSupportedService) GetName() stringfunc (*MulticloudDataTransferSupportedService) GetServiceConfigs
func (x *MulticloudDataTransferSupportedService) GetServiceConfigs() []*ServiceConfigfunc (*MulticloudDataTransferSupportedService) ProtoMessage
func (*MulticloudDataTransferSupportedService) ProtoMessage()func (*MulticloudDataTransferSupportedService) ProtoReflect
func (x *MulticloudDataTransferSupportedService) ProtoReflect() protoreflect.Messagefunc (*MulticloudDataTransferSupportedService) Reset
func (x *MulticloudDataTransferSupportedService) Reset()func (*MulticloudDataTransferSupportedService) String
func (x *MulticloudDataTransferSupportedService) String() stringNextHopInterconnectAttachment
type NextHopInterconnectAttachment struct {
// The URI of the interconnect attachment resource.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// The VPC network where this interconnect attachment is located.
VpcNetwork string `protobuf:"bytes,2,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`
// Indicates whether site-to-site data transfer is allowed for this
// interconnect attachment resource. Data transfer is available only in
// [supported
// locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
SiteToSiteDataTransfer bool `protobuf:"varint,3,opt,name=site_to_site_data_transfer,json=siteToSiteDataTransfer,proto3" json:"site_to_site_data_transfer,omitempty"`
// contains filtered or unexported fields
}A route next hop that leads to an interconnect attachment resource.
func (*NextHopInterconnectAttachment) Descriptor
func (*NextHopInterconnectAttachment) Descriptor() ([]byte, []int)Deprecated: Use NextHopInterconnectAttachment.ProtoReflect.Descriptor instead.
func (*NextHopInterconnectAttachment) GetSiteToSiteDataTransfer
func (x *NextHopInterconnectAttachment) GetSiteToSiteDataTransfer() boolfunc (*NextHopInterconnectAttachment) GetUri
func (x *NextHopInterconnectAttachment) GetUri() stringfunc (*NextHopInterconnectAttachment) GetVpcNetwork
func (x *NextHopInterconnectAttachment) GetVpcNetwork() stringfunc (*NextHopInterconnectAttachment) ProtoMessage
func (*NextHopInterconnectAttachment) ProtoMessage()func (*NextHopInterconnectAttachment) ProtoReflect
func (x *NextHopInterconnectAttachment) ProtoReflect() protoreflect.Messagefunc (*NextHopInterconnectAttachment) Reset
func (x *NextHopInterconnectAttachment) Reset()func (*NextHopInterconnectAttachment) String
func (x *NextHopInterconnectAttachment) String() stringNextHopRouterApplianceInstance
type NextHopRouterApplianceInstance struct {
// The URI of the Router appliance instance.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// The VPC network where this VM is located.
VpcNetwork string `protobuf:"bytes,2,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`
// Indicates whether site-to-site data transfer is allowed for this Router
// appliance instance resource. Data transfer is available only in [supported
// locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
SiteToSiteDataTransfer bool `protobuf:"varint,3,opt,name=site_to_site_data_transfer,json=siteToSiteDataTransfer,proto3" json:"site_to_site_data_transfer,omitempty"`
// contains filtered or unexported fields
}A route next hop that leads to a Router appliance instance.
func (*NextHopRouterApplianceInstance) Descriptor
func (*NextHopRouterApplianceInstance) Descriptor() ([]byte, []int)Deprecated: Use NextHopRouterApplianceInstance.ProtoReflect.Descriptor instead.
func (*NextHopRouterApplianceInstance) GetSiteToSiteDataTransfer
func (x *NextHopRouterApplianceInstance) GetSiteToSiteDataTransfer() boolfunc (*NextHopRouterApplianceInstance) GetUri
func (x *NextHopRouterApplianceInstance) GetUri() stringfunc (*NextHopRouterApplianceInstance) GetVpcNetwork
func (x *NextHopRouterApplianceInstance) GetVpcNetwork() stringfunc (*NextHopRouterApplianceInstance) ProtoMessage
func (*NextHopRouterApplianceInstance) ProtoMessage()func (*NextHopRouterApplianceInstance) ProtoReflect
func (x *NextHopRouterApplianceInstance) ProtoReflect() protoreflect.Messagefunc (*NextHopRouterApplianceInstance) Reset
func (x *NextHopRouterApplianceInstance) Reset()func (*NextHopRouterApplianceInstance) String
func (x *NextHopRouterApplianceInstance) String() stringNextHopSpoke
type NextHopSpoke struct {
// The URI of the spoke resource.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// Indicates whether site-to-site data transfer is allowed for this
// spoke resource. Data transfer is available only in
// [supported
// locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
// Whether this route is accessible to other hybrid spokes with site-to-site
// data transfer enabled. If this is false, the route is only accessible to
// VPC spokes of the connected Hub.
SiteToSiteDataTransfer bool `protobuf:"varint,2,opt,name=site_to_site_data_transfer,json=siteToSiteDataTransfer,proto3" json:"site_to_site_data_transfer,omitempty"`
// contains filtered or unexported fields
}A route next hop that leads to a spoke resource.
func (*NextHopSpoke) Descriptor
func (*NextHopSpoke) Descriptor() ([]byte, []int)Deprecated: Use NextHopSpoke.ProtoReflect.Descriptor instead.
func (*NextHopSpoke) GetSiteToSiteDataTransfer
func (x *NextHopSpoke) GetSiteToSiteDataTransfer() boolfunc (*NextHopSpoke) GetUri
func (x *NextHopSpoke) GetUri() stringfunc (*NextHopSpoke) ProtoMessage
func (*NextHopSpoke) ProtoMessage()func (*NextHopSpoke) ProtoReflect
func (x *NextHopSpoke) ProtoReflect() protoreflect.Messagefunc (*NextHopSpoke) Reset
func (x *NextHopSpoke) Reset()func (*NextHopSpoke) String
func (x *NextHopSpoke) String() stringNextHopVPNTunnel
type NextHopVPNTunnel struct {
// The URI of the VPN tunnel resource.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// The VPC network where this VPN tunnel is located.
VpcNetwork string `protobuf:"bytes,2,opt,name=vpc_network,json=vpcNetwork,proto3" json:"vpc_network,omitempty"`
// Indicates whether site-to-site data transfer is allowed for this VPN tunnel
// resource. Data transfer is available only in [supported
// locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
SiteToSiteDataTransfer bool `protobuf:"varint,3,opt,name=site_to_site_data_transfer,json=siteToSiteDataTransfer,proto3" json:"site_to_site_data_transfer,omitempty"`
// contains filtered or unexported fields
}A route next hop that leads to a VPN tunnel resource.
func (*NextHopVPNTunnel) Descriptor
func (*NextHopVPNTunnel) Descriptor() ([]byte, []int)Deprecated: Use NextHopVPNTunnel.ProtoReflect.Descriptor instead.
func (*NextHopVPNTunnel) GetSiteToSiteDataTransfer
func (x *NextHopVPNTunnel) GetSiteToSiteDataTransfer() boolfunc (*NextHopVPNTunnel) GetUri
func (x *NextHopVPNTunnel) GetUri() stringfunc (*NextHopVPNTunnel) GetVpcNetwork
func (x *NextHopVPNTunnel) GetVpcNetwork() stringfunc (*NextHopVPNTunnel) ProtoMessage
func (*NextHopVPNTunnel) ProtoMessage()func (*NextHopVPNTunnel) ProtoReflect
func (x *NextHopVPNTunnel) ProtoReflect() protoreflect.Messagefunc (*NextHopVPNTunnel) Reset
func (x *NextHopVPNTunnel) Reset()func (*NextHopVPNTunnel) String
func (x *NextHopVPNTunnel) String() stringNextHopVpcNetwork
type NextHopVpcNetwork struct {
// The URI of the VPC network resource
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}func (*NextHopVpcNetwork) Descriptor
func (*NextHopVpcNetwork) Descriptor() ([]byte, []int)Deprecated: Use NextHopVpcNetwork.ProtoReflect.Descriptor instead.
func (*NextHopVpcNetwork) GetUri
func (x *NextHopVpcNetwork) GetUri() stringfunc (*NextHopVpcNetwork) ProtoMessage
func (*NextHopVpcNetwork) ProtoMessage()func (*NextHopVpcNetwork) ProtoReflect
func (x *NextHopVpcNetwork) ProtoReflect() protoreflect.Messagefunc (*NextHopVpcNetwork) Reset
func (x *NextHopVpcNetwork) Reset()func (*NextHopVpcNetwork) String
func (x *NextHopVpcNetwork) String() stringOperationMetadata
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
// [google.longrunning.Operation.error][google.longrunning.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
func (*OperationMetadata) Descriptor() ([]byte, []int)Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion
func (x *OperationMetadata) GetApiVersion() stringfunc (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestampfunc (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestampfunc (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() boolfunc (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() stringfunc (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() stringfunc (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() stringfunc (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Messagefunc (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()func (*OperationMetadata) String
func (x *OperationMetadata) String() stringParseFromActivationKeyRequest
type ParseFromActivationKeyRequest struct {
// Required. Parent value for ParseFromActivationKeyRequest.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The activation key to get the RemoteTransportProfile for.
ActivationKey string `protobuf:"bytes,2,opt,name=activation_key,json=activationKey,proto3" json:"activation_key,omitempty"`
// contains filtered or unexported fields
}Message for getting a RemoteTransportProfile from an activation key.
func (*ParseFromActivationKeyRequest) Descriptor
func (*ParseFromActivationKeyRequest) Descriptor() ([]byte, []int)Deprecated: Use ParseFromActivationKeyRequest.ProtoReflect.Descriptor instead.
func (*ParseFromActivationKeyRequest) GetActivationKey
func (x *ParseFromActivationKeyRequest) GetActivationKey() stringfunc (*ParseFromActivationKeyRequest) GetParent
func (x *ParseFromActivationKeyRequest) GetParent() stringfunc (*ParseFromActivationKeyRequest) ProtoMessage
func (*ParseFromActivationKeyRequest) ProtoMessage()func (*ParseFromActivationKeyRequest) ProtoReflect
func (x *ParseFromActivationKeyRequest) ProtoReflect() protoreflect.Messagefunc (*ParseFromActivationKeyRequest) Reset
func (x *ParseFromActivationKeyRequest) Reset()func (*ParseFromActivationKeyRequest) String
func (x *ParseFromActivationKeyRequest) String() stringParseFromActivationKeyResponse
type ParseFromActivationKeyResponse struct {
// The RemoteTransportProfile that was parsed from the activation key.
RemoteTransportProfile *RemoteTransportProfile `protobuf:"bytes,1,opt,name=remote_transport_profile,json=remoteTransportProfile,proto3" json:"remote_transport_profile,omitempty"`
// contains filtered or unexported fields
}Message for response to getting a RemoteTransportProfile from an activation key.
func (*ParseFromActivationKeyResponse) Descriptor
func (*ParseFromActivationKeyResponse) Descriptor() ([]byte, []int)Deprecated: Use ParseFromActivationKeyResponse.ProtoReflect.Descriptor instead.
func (*ParseFromActivationKeyResponse) GetRemoteTransportProfile
func (x *ParseFromActivationKeyResponse) GetRemoteTransportProfile() *RemoteTransportProfilefunc (*ParseFromActivationKeyResponse) ProtoMessage
func (*ParseFromActivationKeyResponse) ProtoMessage()func (*ParseFromActivationKeyResponse) ProtoReflect
func (x *ParseFromActivationKeyResponse) ProtoReflect() protoreflect.Messagefunc (*ParseFromActivationKeyResponse) Reset
func (x *ParseFromActivationKeyResponse) Reset()func (*ParseFromActivationKeyResponse) String
func (x *ParseFromActivationKeyResponse) String() stringPolicyBasedRoute
type PolicyBasedRoute struct {
// Target specifies network endpoints that this policy-based route applies to.
// If no target is specified, the PBR will be installed on all network
// endpoints (e.g. VMs, VPNs, and Interconnects) in the VPC.
//
// Types that are valid to be assigned to Target:
//
// *PolicyBasedRoute_VirtualMachine_
// *PolicyBasedRoute_InterconnectAttachment_
Target isPolicyBasedRoute_Target `protobuf_oneof:"target"`
// Types that are valid to be assigned to NextHop:
//
// *PolicyBasedRoute_NextHopIlbIp
// *PolicyBasedRoute_NextHopOtherRoutes
NextHop isPolicyBasedRoute_NextHop `protobuf_oneof:"next_hop"`
// Immutable. Identifier. A unique name of the resource in the form of
// `projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Time when the policy-based route was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when the policy-based route was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// User-defined labels.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. An optional description of this resource. Provide this field when
// you create the resource.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Required. Fully-qualified URL of the network that this route applies to,
// for example: projects/my-project/global/networks/my-network.
Network string `protobuf:"bytes,6,opt,name=network,proto3" json:"network,omitempty"`
// Required. The filter to match L4 traffic.
Filter *PolicyBasedRoute_Filter `protobuf:"bytes,10,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. The priority of this policy-based route. Priority is used to
// break ties in cases where there are more than one matching policy-based
// routes found. In cases where multiple policy-based routes are matched, the
// one with the lowest-numbered priority value wins. The default value is
// 1000. The priority value must be from 1 to 65535, inclusive.
Priority int32 `protobuf:"varint,11,opt,name=priority,proto3" json:"priority,omitempty"`
// Output only. If potential misconfigurations are detected for this route,
// this field will be populated with warning messages.
Warnings []*PolicyBasedRoute_Warnings `protobuf:"bytes,14,rep,name=warnings,proto3" json:"warnings,omitempty"`
// Output only. Server-defined fully-qualified URL for this resource.
SelfLink string `protobuf:"bytes,15,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
// Output only. Type of this resource. Always
// networkconnectivity#policyBasedRoute for policy-based Route resources.
Kind string `protobuf:"bytes,16,opt,name=kind,proto3" json:"kind,omitempty"`
// contains filtered or unexported fields
}Policy-based routes route L4 network traffic based on not just destination IP address, but also source IP address, protocol, and more. If a policy-based route conflicts with other types of routes, the policy-based route always takes precedence.
func (*PolicyBasedRoute) Descriptor
func (*PolicyBasedRoute) Descriptor() ([]byte, []int)Deprecated: Use PolicyBasedRoute.ProtoReflect.Descriptor instead.
func (*PolicyBasedRoute) GetCreateTime
func (x *PolicyBasedRoute) GetCreateTime() *timestamppb.Timestampfunc (*PolicyBasedRoute) GetDescription
func (x *PolicyBasedRoute) GetDescription() stringfunc (*PolicyBasedRoute) GetFilter
func (x *PolicyBasedRoute) GetFilter() *PolicyBasedRoute_Filterfunc (*PolicyBasedRoute) GetInterconnectAttachment
func (x *PolicyBasedRoute) GetInterconnectAttachment() *PolicyBasedRoute_InterconnectAttachmentfunc (*PolicyBasedRoute) GetKind
func (x *PolicyBasedRoute) GetKind() stringfunc (*PolicyBasedRoute) GetLabels
func (x *PolicyBasedRoute) GetLabels() map[string]stringfunc (*PolicyBasedRoute) GetName
func (x *PolicyBasedRoute) GetName() stringfunc (*PolicyBasedRoute) GetNetwork
func (x *PolicyBasedRoute) GetNetwork() stringfunc (*PolicyBasedRoute) GetNextHop
func (x *PolicyBasedRoute) GetNextHop() isPolicyBasedRoute_NextHopfunc (*PolicyBasedRoute) GetNextHopIlbIp
func (x *PolicyBasedRoute) GetNextHopIlbIp() stringfunc (*PolicyBasedRoute) GetNextHopOtherRoutes
func (x *PolicyBasedRoute) GetNextHopOtherRoutes() PolicyBasedRoute_OtherRoutesfunc (*PolicyBasedRoute) GetPriority
func (x *PolicyBasedRoute) GetPriority() int32func (*PolicyBasedRoute) GetSelfLink
func (x *PolicyBasedRoute) GetSelfLink() stringfunc (*PolicyBasedRoute) GetTarget
func (x *PolicyBasedRoute) GetTarget() isPolicyBasedRoute_Targetfunc (*PolicyBasedRoute) GetUpdateTime
func (x *PolicyBasedRoute) GetUpdateTime() *timestamppb.Timestampfunc (*PolicyBasedRoute) GetVirtualMachine
func (x *PolicyBasedRoute) GetVirtualMachine() *PolicyBasedRoute_VirtualMachinefunc (*PolicyBasedRoute) GetWarnings
func (x *PolicyBasedRoute) GetWarnings() []*PolicyBasedRoute_Warningsfunc (*PolicyBasedRoute) ProtoMessage
func (*PolicyBasedRoute) ProtoMessage()func (*PolicyBasedRoute) ProtoReflect
func (x *PolicyBasedRoute) ProtoReflect() protoreflect.Messagefunc (*PolicyBasedRoute) Reset
func (x *PolicyBasedRoute) Reset()func (*PolicyBasedRoute) String
func (x *PolicyBasedRoute) String() stringPolicyBasedRoute_Filter
type PolicyBasedRoute_Filter struct {
// Optional. The IP protocol that this policy-based route applies to. Valid
// values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
IpProtocol string `protobuf:"bytes,1,opt,name=ip_protocol,json=ipProtocol,proto3" json:"ip_protocol,omitempty"`
// Optional. The source IP range of outgoing packets that this policy-based
// route applies to. Default is "0.0.0.0/0" if protocol version is IPv4 and
// "::/0" if protocol version is IPv6.
SrcRange string `protobuf:"bytes,2,opt,name=src_range,json=srcRange,proto3" json:"src_range,omitempty"`
// Optional. The destination IP range of outgoing packets that this
// policy-based route applies to. Default is "0.0.0.0/0" if protocol version
// is IPv4 and "::/0" if protocol version is IPv6.
DestRange string `protobuf:"bytes,3,opt,name=dest_range,json=destRange,proto3" json:"dest_range,omitempty"`
// Required. Internet protocol versions this policy-based route applies to.
// IPV4 and IPV6 is supported.
ProtocolVersion PolicyBasedRoute_Filter_ProtocolVersion `protobuf:"varint,6,opt,name=protocol_version,json=protocolVersion,proto3,enum=google.cloud.networkconnectivity.v1beta.PolicyBasedRoute_Filter_ProtocolVersion" json:"protocol_version,omitempty"`
// contains filtered or unexported fields
}Filter matches L4 traffic.
func (*PolicyBasedRoute_Filter) Descriptor
func (*PolicyBasedRoute_Filter) Descriptor() ([]byte, []int)Deprecated: Use PolicyBasedRoute_Filter.ProtoReflect.Descriptor instead.
func (*PolicyBasedRoute_Filter) GetDestRange
func (x *PolicyBasedRoute_Filter) GetDestRange() stringfunc (*PolicyBasedRoute_Filter) GetIpProtocol
func (x *PolicyBasedRoute_Filter) GetIpProtocol() stringfunc (*PolicyBasedRoute_Filter) GetProtocolVersion
func (x *PolicyBasedRoute_Filter) GetProtocolVersion() PolicyBasedRoute_Filter_ProtocolVersionfunc (*PolicyBasedRoute_Filter) GetSrcRange
func (x *PolicyBasedRoute_Filter) GetSrcRange() stringfunc (*PolicyBasedRoute_Filter) ProtoMessage
func (*PolicyBasedRoute_Filter) ProtoMessage()func (*PolicyBasedRoute_Filter) ProtoReflect
func (x *PolicyBasedRoute_Filter) ProtoReflect() protoreflect.Messagefunc (*PolicyBasedRoute_Filter) Reset
func (x *PolicyBasedRoute_Filter) Reset()func (*PolicyBasedRoute_Filter) String
func (x *PolicyBasedRoute_Filter) String() stringPolicyBasedRoute_Filter_ProtocolVersion
type PolicyBasedRoute_Filter_ProtocolVersion int32The internet protocol version.
PolicyBasedRoute_Filter_PROTOCOL_VERSION_UNSPECIFIED, PolicyBasedRoute_Filter_IPV4, PolicyBasedRoute_Filter_IPV6
const (
// Default value.
PolicyBasedRoute_Filter_PROTOCOL_VERSION_UNSPECIFIED PolicyBasedRoute_Filter_ProtocolVersion = 0
// The PBR is for IPv4 internet protocol traffic.
PolicyBasedRoute_Filter_IPV4 PolicyBasedRoute_Filter_ProtocolVersion = 1
// The PBR is for IPv6 internet protocol traffic.
PolicyBasedRoute_Filter_IPV6 PolicyBasedRoute_Filter_ProtocolVersion = 2
)func (PolicyBasedRoute_Filter_ProtocolVersion) Descriptor
func (PolicyBasedRoute_Filter_ProtocolVersion) Descriptor() protoreflect.EnumDescriptorfunc (PolicyBasedRoute_Filter_ProtocolVersion) Enum
func (PolicyBasedRoute_Filter_ProtocolVersion) EnumDescriptor
func (PolicyBasedRoute_Filter_ProtocolVersion) EnumDescriptor() ([]byte, []int)Deprecated: Use PolicyBasedRoute_Filter_ProtocolVersion.Descriptor instead.
func (PolicyBasedRoute_Filter_ProtocolVersion) Number
func (x PolicyBasedRoute_Filter_ProtocolVersion) Number() protoreflect.EnumNumberfunc (PolicyBasedRoute_Filter_ProtocolVersion) String
func (x PolicyBasedRoute_Filter_ProtocolVersion) String() stringfunc (PolicyBasedRoute_Filter_ProtocolVersion) Type
func (PolicyBasedRoute_Filter_ProtocolVersion) Type() protoreflect.EnumTypePolicyBasedRoute_InterconnectAttachment
type PolicyBasedRoute_InterconnectAttachment struct {
// Optional. Cloud region to install this policy-based route on interconnect
// attachment. Use `all` to install it on all interconnect attachments.
Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
// contains filtered or unexported fields
}InterconnectAttachment that this route applies to.
func (*PolicyBasedRoute_InterconnectAttachment) Descriptor
func (*PolicyBasedRoute_InterconnectAttachment) Descriptor() ([]byte, []int)Deprecated: Use PolicyBasedRoute_InterconnectAttachment.ProtoReflect.Descriptor instead.
func (*PolicyBasedRoute_InterconnectAttachment) GetRegion
func (x *PolicyBasedRoute_InterconnectAttachment) GetRegion() stringfunc (*PolicyBasedRoute_InterconnectAttachment) ProtoMessage
func (*PolicyBasedRoute_InterconnectAttachment) ProtoMessage()func (*PolicyBasedRoute_InterconnectAttachment) ProtoReflect
func (x *PolicyBasedRoute_InterconnectAttachment) ProtoReflect() protoreflect.Messagefunc (*PolicyBasedRoute_InterconnectAttachment) Reset
func (x *PolicyBasedRoute_InterconnectAttachment) Reset()func (*PolicyBasedRoute_InterconnectAttachment) String
func (x *PolicyBasedRoute_InterconnectAttachment) String() stringPolicyBasedRoute_InterconnectAttachment_
type PolicyBasedRoute_InterconnectAttachment_ struct {
// Optional. The interconnect attachments that this policy-based route
// applies to.
InterconnectAttachment *PolicyBasedRoute_InterconnectAttachment `protobuf:"bytes,9,opt,name=interconnect_attachment,json=interconnectAttachment,proto3,oneof"`
}PolicyBasedRoute_NextHopIlbIp
type PolicyBasedRoute_NextHopIlbIp struct {
// Optional. The IP address of a global-access-enabled L4 ILB that is the
// next hop for matching packets. For this version, only nextHopIlbIp is
// supported.
NextHopIlbIp string `protobuf:"bytes,12,opt,name=next_hop_ilb_ip,json=nextHopIlbIp,proto3,oneof"`
}PolicyBasedRoute_NextHopOtherRoutes
type PolicyBasedRoute_NextHopOtherRoutes struct {
// Optional. Other routes that will be referenced to determine the next hop
// of the packet.
NextHopOtherRoutes PolicyBasedRoute_OtherRoutes `protobuf:"varint,21,opt,name=next_hop_other_routes,json=nextHopOtherRoutes,proto3,enum=google.cloud.networkconnectivity.v1beta.PolicyBasedRoute_OtherRoutes,oneof"`
}PolicyBasedRoute_OtherRoutes
type PolicyBasedRoute_OtherRoutes int32The other routing cases.
PolicyBasedRoute_OTHER_ROUTES_UNSPECIFIED, PolicyBasedRoute_DEFAULT_ROUTING
const (
// Default value.
PolicyBasedRoute_OTHER_ROUTES_UNSPECIFIED PolicyBasedRoute_OtherRoutes = 0
// Use the routes from the default routing tables (system-generated routes,
// custom routes, peering route) to determine the next hop. This effectively
// excludes matching packets being applied on other PBRs with a lower
// priority.
PolicyBasedRoute_DEFAULT_ROUTING PolicyBasedRoute_OtherRoutes = 1
)func (PolicyBasedRoute_OtherRoutes) Descriptor
func (PolicyBasedRoute_OtherRoutes) Descriptor() protoreflect.EnumDescriptorfunc (PolicyBasedRoute_OtherRoutes) Enum
func (x PolicyBasedRoute_OtherRoutes) Enum() *PolicyBasedRoute_OtherRoutesfunc (PolicyBasedRoute_OtherRoutes) EnumDescriptor
func (PolicyBasedRoute_OtherRoutes) EnumDescriptor() ([]byte, []int)Deprecated: Use PolicyBasedRoute_OtherRoutes.Descriptor instead.
func (PolicyBasedRoute_OtherRoutes) Number
func (x PolicyBasedRoute_OtherRoutes) Number() protoreflect.EnumNumberfunc (PolicyBasedRoute_OtherRoutes) String
func (x PolicyBasedRoute_OtherRoutes) String() stringfunc (PolicyBasedRoute_OtherRoutes) Type
func (PolicyBasedRoute_OtherRoutes) Type() protoreflect.EnumTypePolicyBasedRoute_VirtualMachine
type PolicyBasedRoute_VirtualMachine struct {
// Optional. A list of VM instance tags that this policy-based route applies
// to. VM instances that have ANY of tags specified here installs this PBR.
Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
// contains filtered or unexported fields
}VM instances that this policy-based route applies to.
func (*PolicyBasedRoute_VirtualMachine) Descriptor
func (*PolicyBasedRoute_VirtualMachine) Descriptor() ([]byte, []int)Deprecated: Use PolicyBasedRoute_VirtualMachine.ProtoReflect.Descriptor instead.
func (*PolicyBasedRoute_VirtualMachine) GetTags
func (x *PolicyBasedRoute_VirtualMachine) GetTags() []stringfunc (*PolicyBasedRoute_VirtualMachine) ProtoMessage
func (*PolicyBasedRoute_VirtualMachine) ProtoMessage()func (*PolicyBasedRoute_VirtualMachine) ProtoReflect
func (x *PolicyBasedRoute_VirtualMachine) ProtoReflect() protoreflect.Messagefunc (*PolicyBasedRoute_VirtualMachine) Reset
func (x *PolicyBasedRoute_VirtualMachine) Reset()func (*PolicyBasedRoute_VirtualMachine) String
func (x *PolicyBasedRoute_VirtualMachine) String() stringPolicyBasedRoute_VirtualMachine_
type PolicyBasedRoute_VirtualMachine_ struct {
// Optional. VM instances that this policy-based route applies to.
VirtualMachine *PolicyBasedRoute_VirtualMachine `protobuf:"bytes,18,opt,name=virtual_machine,json=virtualMachine,proto3,oneof"`
}PolicyBasedRoute_Warnings
type PolicyBasedRoute_Warnings struct {
// Output only. A warning code, if applicable.
Code PolicyBasedRoute_Warnings_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.cloud.networkconnectivity.v1beta.PolicyBasedRoute_Warnings_Code" json:"code,omitempty"`
// Output only. Metadata about this warning in key: value format. The key
// should provides more detail on the warning being returned. For example,
// for warnings where there are no results in a list request for a
// particular zone, this key might be scope and the key value might be the
// zone name. Other examples might be a key indicating a deprecated resource
// and a suggested replacement.
Data map[string]string `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. A human-readable description of the warning code.
WarningMessage string `protobuf:"bytes,3,opt,name=warning_message,json=warningMessage,proto3" json:"warning_message,omitempty"`
// contains filtered or unexported fields
}Informational warning message.
func (*PolicyBasedRoute_Warnings) Descriptor
func (*PolicyBasedRoute_Warnings) Descriptor() ([]byte, []int)Deprecated: Use PolicyBasedRoute_Warnings.ProtoReflect.Descriptor instead.
func (*PolicyBasedRoute_Warnings) GetCode
func (x *PolicyBasedRoute_Warnings) GetCode() PolicyBasedRoute_Warnings_Codefunc (*PolicyBasedRoute_Warnings) GetData
func (x *PolicyBasedRoute_Warnings) GetData() map[string]stringfunc (*PolicyBasedRoute_Warnings) GetWarningMessage
func (x *PolicyBasedRoute_Warnings) GetWarningMessage() stringfunc (*PolicyBasedRoute_Warnings) ProtoMessage
func (*PolicyBasedRoute_Warnings) ProtoMessage()func (*PolicyBasedRoute_Warnings) ProtoReflect
func (x *PolicyBasedRoute_Warnings) ProtoReflect() protoreflect.Messagefunc (*PolicyBasedRoute_Warnings) Reset
func (x *PolicyBasedRoute_Warnings) Reset()func (*PolicyBasedRoute_Warnings) String
func (x *PolicyBasedRoute_Warnings) String() stringPolicyBasedRoute_Warnings_Code
type PolicyBasedRoute_Warnings_Code int32Warning code for policy-based routing. Expect to add values in the future.
PolicyBasedRoute_Warnings_WARNING_UNSPECIFIED, PolicyBasedRoute_Warnings_RESOURCE_NOT_ACTIVE, PolicyBasedRoute_Warnings_RESOURCE_BEING_MODIFIED
const (
// Default value.
PolicyBasedRoute_Warnings_WARNING_UNSPECIFIED PolicyBasedRoute_Warnings_Code = 0
// The policy-based route is not active and functioning. Common causes are
// that the dependent network was deleted or the resource project was
// turned off.
PolicyBasedRoute_Warnings_RESOURCE_NOT_ACTIVE PolicyBasedRoute_Warnings_Code = 1
// The policy-based route is being modified (e.g. created/deleted) at this
// time.
PolicyBasedRoute_Warnings_RESOURCE_BEING_MODIFIED PolicyBasedRoute_Warnings_Code = 2
)func (PolicyBasedRoute_Warnings_Code) Descriptor
func (PolicyBasedRoute_Warnings_Code) Descriptor() protoreflect.EnumDescriptorfunc (PolicyBasedRoute_Warnings_Code) Enum
func (x PolicyBasedRoute_Warnings_Code) Enum() *PolicyBasedRoute_Warnings_Codefunc (PolicyBasedRoute_Warnings_Code) EnumDescriptor
func (PolicyBasedRoute_Warnings_Code) EnumDescriptor() ([]byte, []int)Deprecated: Use PolicyBasedRoute_Warnings_Code.Descriptor instead.
func (PolicyBasedRoute_Warnings_Code) Number
func (x PolicyBasedRoute_Warnings_Code) Number() protoreflect.EnumNumberfunc (PolicyBasedRoute_Warnings_Code) String
func (x PolicyBasedRoute_Warnings_Code) String() stringfunc (PolicyBasedRoute_Warnings_Code) Type
func (PolicyBasedRoute_Warnings_Code) Type() protoreflect.EnumTypePolicyBasedRoutingServiceClient
type PolicyBasedRoutingServiceClient interface {
// Lists policy-based routes in a given project and location.
ListPolicyBasedRoutes(ctx context.Context, in *ListPolicyBasedRoutesRequest, opts ...grpc.CallOption) (*ListPolicyBasedRoutesResponse, error)
// Gets details of a single policy-based route.
GetPolicyBasedRoute(ctx context.Context, in *GetPolicyBasedRouteRequest, opts ...grpc.CallOption) (*PolicyBasedRoute, error)
// Creates a new policy-based route in a given project and location.
CreatePolicyBasedRoute(ctx context.Context, in *CreatePolicyBasedRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single policy-based route.
DeletePolicyBasedRoute(ctx context.Context, in *DeletePolicyBasedRouteRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}PolicyBasedRoutingServiceClient is the client API for PolicyBasedRoutingService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPolicyBasedRoutingServiceClient
func NewPolicyBasedRoutingServiceClient(cc grpc.ClientConnInterface) PolicyBasedRoutingServiceClientPolicyBasedRoutingServiceServer
type PolicyBasedRoutingServiceServer interface {
// Lists policy-based routes in a given project and location.
ListPolicyBasedRoutes(context.Context, *ListPolicyBasedRoutesRequest) (*ListPolicyBasedRoutesResponse, error)
// Gets details of a single policy-based route.
GetPolicyBasedRoute(context.Context, *GetPolicyBasedRouteRequest) (*PolicyBasedRoute, error)
// Creates a new policy-based route in a given project and location.
CreatePolicyBasedRoute(context.Context, *CreatePolicyBasedRouteRequest) (*longrunningpb.Operation, error)
// Deletes a single policy-based route.
DeletePolicyBasedRoute(context.Context, *DeletePolicyBasedRouteRequest) (*longrunningpb.Operation, error)
}PolicyBasedRoutingServiceServer is the server API for PolicyBasedRoutingService service. All implementations should embed UnimplementedPolicyBasedRoutingServiceServer for forward compatibility
PolicyMode
type PolicyMode int32This enum controls the policy mode used in a hub.
PolicyMode_POLICY_MODE_UNSPECIFIED, PolicyMode_PRESET
const (
// Policy mode is unspecified. It defaults to PRESET
// with preset_topology = MESH.
PolicyMode_POLICY_MODE_UNSPECIFIED PolicyMode = 0
// Hub uses one of the preset topologies.
PolicyMode_PRESET PolicyMode = 1
)func (PolicyMode) Descriptor
func (PolicyMode) Descriptor() protoreflect.EnumDescriptorfunc (PolicyMode) Enum
func (x PolicyMode) Enum() *PolicyModefunc (PolicyMode) EnumDescriptor
func (PolicyMode) EnumDescriptor() ([]byte, []int)Deprecated: Use PolicyMode.Descriptor instead.
func (PolicyMode) Number
func (x PolicyMode) Number() protoreflect.EnumNumberfunc (PolicyMode) String
func (x PolicyMode) String() stringfunc (PolicyMode) Type
func (PolicyMode) Type() protoreflect.EnumTypePresetTopology
type PresetTopology int32The list of available preset topologies.
PresetTopology_PRESET_TOPOLOGY_UNSPECIFIED, PresetTopology_MESH, PresetTopology_STAR, PresetTopology_HYBRID_INSPECTION
const (
// Preset topology is unspecified. When policy_mode = PRESET,
// it defaults to MESH.
PresetTopology_PRESET_TOPOLOGY_UNSPECIFIED PresetTopology = 0
// Mesh topology is implemented. Group `default` is automatically created.
// All spokes in the hub are added to group `default`.
PresetTopology_MESH PresetTopology = 2
// Star topology is implemented. Two groups, `center` and `edge`, are
// automatically created along with hub creation. Spokes have to join one of
// the groups during creation.
PresetTopology_STAR PresetTopology = 3
// Hybrid inspection has 4 groups ('non-prod', 'prod', 'services', and
// 'untrusted') that are automatically created along with hub creation.
PresetTopology_HYBRID_INSPECTION PresetTopology = 4
)func (PresetTopology) Descriptor
func (PresetTopology) Descriptor() protoreflect.EnumDescriptorfunc (PresetTopology) Enum
func (x PresetTopology) Enum() *PresetTopologyfunc (PresetTopology) EnumDescriptor
func (PresetTopology) EnumDescriptor() ([]byte, []int)Deprecated: Use PresetTopology.Descriptor instead.
func (PresetTopology) Number
func (x PresetTopology) Number() protoreflect.EnumNumberfunc (PresetTopology) String
func (x PresetTopology) String() stringfunc (PresetTopology) Type
func (PresetTopology) Type() protoreflect.EnumTypePscPropagationStatus
type PscPropagationStatus struct {
// The name of the spoke that the source forwarding rule belongs to.
SourceSpoke string `protobuf:"bytes,1,opt,name=source_spoke,json=sourceSpoke,proto3" json:"source_spoke,omitempty"`
// The name of the group that the source spoke belongs to.
SourceGroup string `protobuf:"bytes,2,opt,name=source_group,json=sourceGroup,proto3" json:"source_group,omitempty"`
// The name of the forwarding rule exported to the hub.
SourceForwardingRule string `protobuf:"bytes,3,opt,name=source_forwarding_rule,json=sourceForwardingRule,proto3" json:"source_forwarding_rule,omitempty"`
// The name of the spoke that the source forwarding rule propagates to.
TargetSpoke string `protobuf:"bytes,4,opt,name=target_spoke,json=targetSpoke,proto3" json:"target_spoke,omitempty"`
// The name of the group that the target spoke belongs to.
TargetGroup string `protobuf:"bytes,5,opt,name=target_group,json=targetGroup,proto3" json:"target_group,omitempty"`
// The propagation status.
Code PscPropagationStatus_Code `protobuf:"varint,6,opt,name=code,proto3,enum=google.cloud.networkconnectivity.v1beta.PscPropagationStatus_Code" json:"code,omitempty"`
// The human-readable summary of the Private Service Connect connection
// propagation status.
Message string `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}The status of one or more propagated Private Service Connect connections in a hub.
func (*PscPropagationStatus) Descriptor
func (*PscPropagationStatus) Descriptor() ([]byte, []int)Deprecated: Use PscPropagationStatus.ProtoReflect.Descriptor instead.
func (*PscPropagationStatus) GetCode
func (x *PscPropagationStatus) GetCode() PscPropagationStatus_Codefunc (*PscPropagationStatus) GetMessage
func (x *PscPropagationStatus) GetMessage() stringfunc (*PscPropagationStatus) GetSourceForwardingRule
func (x *PscPropagationStatus) GetSourceForwardingRule() stringfunc (*PscPropagationStatus) GetSourceGroup
func (x *PscPropagationStatus) GetSourceGroup() stringfunc (*PscPropagationStatus) GetSourceSpoke
func (x *PscPropagationStatus) GetSourceSpoke() stringfunc (*PscPropagationStatus) GetTargetGroup
func (x *PscPropagationStatus) GetTargetGroup() stringfunc (*PscPropagationStatus) GetTargetSpoke
func (x *PscPropagationStatus) GetTargetSpoke() stringfunc (*PscPropagationStatus) ProtoMessage
func (*PscPropagationStatus) ProtoMessage()func (*PscPropagationStatus) ProtoReflect
func (x *PscPropagationStatus) ProtoReflect() protoreflect.Messagefunc (*PscPropagationStatus) Reset
func (x *PscPropagationStatus) Reset()func (*PscPropagationStatus) String
func (x *PscPropagationStatus) String() stringPscPropagationStatus_Code
type PscPropagationStatus_Code int32The Code enum represents the state of the Private Service Connect propagation.
PscPropagationStatus_CODE_UNSPECIFIED, PscPropagationStatus_READY, PscPropagationStatus_PROPAGATING, PscPropagationStatus_ERROR_PRODUCER_PROPAGATED_CONNECTION_LIMIT_EXCEEDED, PscPropagationStatus_ERROR_PRODUCER_NAT_IP_SPACE_EXHAUSTED, PscPropagationStatus_ERROR_PRODUCER_QUOTA_EXCEEDED, PscPropagationStatus_ERROR_CONSUMER_QUOTA_EXCEEDED
const (
// The code is unspecified.
PscPropagationStatus_CODE_UNSPECIFIED PscPropagationStatus_Code = 0
// The propagated Private Service Connect connection is ready.
PscPropagationStatus_READY PscPropagationStatus_Code = 1
// The Private Service Connect connection is propagating. This is a
// transient state.
PscPropagationStatus_PROPAGATING PscPropagationStatus_Code = 2
// The Private Service Connect connection propagation failed because the VPC
// network or the project of the target spoke has exceeded the connection
// limit set by the producer.
PscPropagationStatus_ERROR_PRODUCER_PROPAGATED_CONNECTION_LIMIT_EXCEEDED PscPropagationStatus_Code = 3
// The Private Service Connect connection propagation failed because the NAT
// IP subnet space has been exhausted. It is equivalent to the `Needs
// attention` status of the Private Service Connect connection. See
// https://cloud.google.com/vpc/docs/about-accessing-vpc-hosted-services-endpoints#connection-statuses.
PscPropagationStatus_ERROR_PRODUCER_NAT_IP_SPACE_EXHAUSTED PscPropagationStatus_Code = 4
// The Private Service Connect connection propagation failed because the
// `PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK` quota in the
// producer VPC network has been exceeded.
PscPropagationStatus_ERROR_PRODUCER_QUOTA_EXCEEDED PscPropagationStatus_Code = 5
// The Private Service Connect connection propagation failed because the
// `PSC_PROPAGATED_CONNECTIONS_PER_VPC_NETWORK` quota in the consumer
// VPC network has been exceeded.
PscPropagationStatus_ERROR_CONSUMER_QUOTA_EXCEEDED PscPropagationStatus_Code = 6
)func (PscPropagationStatus_Code) Descriptor
func (PscPropagationStatus_Code) Descriptor() protoreflect.EnumDescriptorfunc (PscPropagationStatus_Code) Enum
func (x PscPropagationStatus_Code) Enum() *PscPropagationStatus_Codefunc (PscPropagationStatus_Code) EnumDescriptor
func (PscPropagationStatus_Code) EnumDescriptor() ([]byte, []int)Deprecated: Use PscPropagationStatus_Code.Descriptor instead.
func (PscPropagationStatus_Code) Number
func (x PscPropagationStatus_Code) Number() protoreflect.EnumNumberfunc (PscPropagationStatus_Code) String
func (x PscPropagationStatus_Code) String() stringfunc (PscPropagationStatus_Code) Type
func (PscPropagationStatus_Code) Type() protoreflect.EnumTypeQueryHubStatusRequest
type QueryHubStatusRequest struct {
// Required. The name of the hub.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The maximum number of results to return per page.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. An expression that filters the list of results.
// The filter can be used to filter the results by the following fields:
// - `psc_propagation_status.source_spoke`
// - `psc_propagation_status.source_group`
// - `psc_propagation_status.source_forwarding_rule`
// - `psc_propagation_status.target_spoke`
// - `psc_propagation_status.target_group`
// - `psc_propagation_status.code`
// - `psc_propagation_status.message`
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Sort the results in ascending order by the specified fields.
// A comma-separated list of any of these fields:
// - `psc_propagation_status.source_spoke`
// - `psc_propagation_status.source_group`
// - `psc_propagation_status.source_forwarding_rule`
// - `psc_propagation_status.target_spoke`
// - `psc_propagation_status.target_group`
// - `psc_propagation_status.code`
//
// If `group_by` is set, the value of the `order_by` field must be the
// same as or a subset of the `group_by` field.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// Optional. Aggregate the results by the specified fields.
// A comma-separated list of any of these fields:
// - `psc_propagation_status.source_spoke`
// - `psc_propagation_status.source_group`
// - `psc_propagation_status.source_forwarding_rule`
// - `psc_propagation_status.target_spoke`
// - `psc_propagation_status.target_group`
// - `psc_propagation_status.code`
GroupBy string `protobuf:"bytes,6,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`
// contains filtered or unexported fields
}The request for [HubService.QueryHubStatus][google.cloud.networkconnectivity.v1beta.HubService.QueryHubStatus].
func (*QueryHubStatusRequest) Descriptor
func (*QueryHubStatusRequest) Descriptor() ([]byte, []int)Deprecated: Use QueryHubStatusRequest.ProtoReflect.Descriptor instead.
func (*QueryHubStatusRequest) GetFilter
func (x *QueryHubStatusRequest) GetFilter() stringfunc (*QueryHubStatusRequest) GetGroupBy
func (x *QueryHubStatusRequest) GetGroupBy() stringfunc (*QueryHubStatusRequest) GetName
func (x *QueryHubStatusRequest) GetName() stringfunc (*QueryHubStatusRequest) GetOrderBy
func (x *QueryHubStatusRequest) GetOrderBy() stringfunc (*QueryHubStatusRequest) GetPageSize
func (x *QueryHubStatusRequest) GetPageSize() int32func (*QueryHubStatusRequest) GetPageToken
func (x *QueryHubStatusRequest) GetPageToken() stringfunc (*QueryHubStatusRequest) ProtoMessage
func (*QueryHubStatusRequest) ProtoMessage()func (*QueryHubStatusRequest) ProtoReflect
func (x *QueryHubStatusRequest) ProtoReflect() protoreflect.Messagefunc (*QueryHubStatusRequest) Reset
func (x *QueryHubStatusRequest) Reset()func (*QueryHubStatusRequest) String
func (x *QueryHubStatusRequest) String() stringQueryHubStatusResponse
type QueryHubStatusResponse struct {
// The list of hub status.
HubStatusEntries []*HubStatusEntry `protobuf:"bytes,1,rep,name=hub_status_entries,json=hubStatusEntries,proto3" json:"hub_status_entries,omitempty"`
// The token for the next page of the response. To see more results,
// use this value as the page_token for your next request. If this value
// is empty, there are no more results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response for [HubService.QueryHubStatus][google.cloud.networkconnectivity.v1beta.HubService.QueryHubStatus].
func (*QueryHubStatusResponse) Descriptor
func (*QueryHubStatusResponse) Descriptor() ([]byte, []int)Deprecated: Use QueryHubStatusResponse.ProtoReflect.Descriptor instead.
func (*QueryHubStatusResponse) GetHubStatusEntries
func (x *QueryHubStatusResponse) GetHubStatusEntries() []*HubStatusEntryfunc (*QueryHubStatusResponse) GetNextPageToken
func (x *QueryHubStatusResponse) GetNextPageToken() stringfunc (*QueryHubStatusResponse) ProtoMessage
func (*QueryHubStatusResponse) ProtoMessage()func (*QueryHubStatusResponse) ProtoReflect
func (x *QueryHubStatusResponse) ProtoReflect() protoreflect.Messagefunc (*QueryHubStatusResponse) Reset
func (x *QueryHubStatusResponse) Reset()func (*QueryHubStatusResponse) String
func (x *QueryHubStatusResponse) String() stringRejectHubSpokeRequest
type RejectHubSpokeRequest struct {
// Required. The name of the hub from which to reject the spoke.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The URI of the spoke to reject from the hub.
SpokeUri string `protobuf:"bytes,2,opt,name=spoke_uri,json=spokeUri,proto3" json:"spoke_uri,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID so
// that if you must retry your request, the server knows to ignore the request
// if it has already been completed. The server guarantees that a request
// doesn't result in creation of duplicate commitments for at least 60
// minutes.
//
// 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"`
// Optional. Additional information provided by the hub administrator.
Details string `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"`
// contains filtered or unexported fields
}The request for [HubService.RejectHubSpoke][google.cloud.networkconnectivity.v1beta.HubService.RejectHubSpoke].
func (*RejectHubSpokeRequest) Descriptor
func (*RejectHubSpokeRequest) Descriptor() ([]byte, []int)Deprecated: Use RejectHubSpokeRequest.ProtoReflect.Descriptor instead.
func (*RejectHubSpokeRequest) GetDetails
func (x *RejectHubSpokeRequest) GetDetails() stringfunc (*RejectHubSpokeRequest) GetName
func (x *RejectHubSpokeRequest) GetName() stringfunc (*RejectHubSpokeRequest) GetRequestId
func (x *RejectHubSpokeRequest) GetRequestId() stringfunc (*RejectHubSpokeRequest) GetSpokeUri
func (x *RejectHubSpokeRequest) GetSpokeUri() stringfunc (*RejectHubSpokeRequest) ProtoMessage
func (*RejectHubSpokeRequest) ProtoMessage()func (*RejectHubSpokeRequest) ProtoReflect
func (x *RejectHubSpokeRequest) ProtoReflect() protoreflect.Messagefunc (*RejectHubSpokeRequest) Reset
func (x *RejectHubSpokeRequest) Reset()func (*RejectHubSpokeRequest) String
func (x *RejectHubSpokeRequest) String() stringRejectHubSpokeResponse
type RejectHubSpokeResponse struct {
// The spoke that was operated on.
Spoke *Spoke `protobuf:"bytes,1,opt,name=spoke,proto3" json:"spoke,omitempty"`
// contains filtered or unexported fields
}The response for [HubService.RejectHubSpoke][google.cloud.networkconnectivity.v1beta.HubService.RejectHubSpoke].
func (*RejectHubSpokeResponse) Descriptor
func (*RejectHubSpokeResponse) Descriptor() ([]byte, []int)Deprecated: Use RejectHubSpokeResponse.ProtoReflect.Descriptor instead.
func (*RejectHubSpokeResponse) GetSpoke
func (x *RejectHubSpokeResponse) GetSpoke() *Spokefunc (*RejectHubSpokeResponse) ProtoMessage
func (*RejectHubSpokeResponse) ProtoMessage()func (*RejectHubSpokeResponse) ProtoReflect
func (x *RejectHubSpokeResponse) ProtoReflect() protoreflect.Messagefunc (*RejectHubSpokeResponse) Reset
func (x *RejectHubSpokeResponse) Reset()func (*RejectHubSpokeResponse) String
func (x *RejectHubSpokeResponse) String() stringRejectSpokeUpdateRequest
type RejectSpokeUpdateRequest struct {
// Required. The name of the hub to reject spoke update.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The URI of the spoke to reject update.
SpokeUri string `protobuf:"bytes,2,opt,name=spoke_uri,json=spokeUri,proto3" json:"spoke_uri,omitempty"`
// Required. The etag of the spoke to reject update.
SpokeEtag string `protobuf:"bytes,3,opt,name=spoke_etag,json=spokeEtag,proto3" json:"spoke_etag,omitempty"`
// Optional. Additional information provided by the hub administrator.
Details string `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID so
// that if you must retry your request, the server knows to ignore the request
// if it has already been completed. The server guarantees that a request
// doesn't result in creation of duplicate commitments for at least 60
// minutes.
//
// 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,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}The request for [HubService.RejectSpokeUpdate][google.cloud.networkconnectivity.v1beta.HubService.RejectSpokeUpdate].
func (*RejectSpokeUpdateRequest) Descriptor
func (*RejectSpokeUpdateRequest) Descriptor() ([]byte, []int)Deprecated: Use RejectSpokeUpdateRequest.ProtoReflect.Descriptor instead.
func (*RejectSpokeUpdateRequest) GetDetails
func (x *RejectSpokeUpdateRequest) GetDetails() stringfunc (*RejectSpokeUpdateRequest) GetName
func (x *RejectSpokeUpdateRequest) GetName() stringfunc (*RejectSpokeUpdateRequest) GetRequestId
func (x *RejectSpokeUpdateRequest) GetRequestId() stringfunc (*RejectSpokeUpdateRequest) GetSpokeEtag
func (x *RejectSpokeUpdateRequest) GetSpokeEtag() stringfunc (*RejectSpokeUpdateRequest) GetSpokeUri
func (x *RejectSpokeUpdateRequest) GetSpokeUri() stringfunc (*RejectSpokeUpdateRequest) ProtoMessage
func (*RejectSpokeUpdateRequest) ProtoMessage()func (*RejectSpokeUpdateRequest) ProtoReflect
func (x *RejectSpokeUpdateRequest) ProtoReflect() protoreflect.Messagefunc (*RejectSpokeUpdateRequest) Reset
func (x *RejectSpokeUpdateRequest) Reset()func (*RejectSpokeUpdateRequest) String
func (x *RejectSpokeUpdateRequest) String() stringRejectSpokeUpdateResponse
type RejectSpokeUpdateResponse struct {
// The spoke that was operated on.
Spoke *Spoke `protobuf:"bytes,1,opt,name=spoke,proto3" json:"spoke,omitempty"`
// contains filtered or unexported fields
}The response for [HubService.RejectSpokeUpdate][google.cloud.networkconnectivity.v1beta.HubService.RejectSpokeUpdate].
func (*RejectSpokeUpdateResponse) Descriptor
func (*RejectSpokeUpdateResponse) Descriptor() ([]byte, []int)Deprecated: Use RejectSpokeUpdateResponse.ProtoReflect.Descriptor instead.
func (*RejectSpokeUpdateResponse) GetSpoke
func (x *RejectSpokeUpdateResponse) GetSpoke() *Spokefunc (*RejectSpokeUpdateResponse) ProtoMessage
func (*RejectSpokeUpdateResponse) ProtoMessage()func (*RejectSpokeUpdateResponse) ProtoReflect
func (x *RejectSpokeUpdateResponse) ProtoReflect() protoreflect.Messagefunc (*RejectSpokeUpdateResponse) Reset
func (x *RejectSpokeUpdateResponse) Reset()func (*RejectSpokeUpdateResponse) String
func (x *RejectSpokeUpdateResponse) String() stringRemoteTransportProfile
type RemoteTransportProfile struct {
// Identifier. Name of the resource in the format of $provider-$site.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Labels as key value pairs.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. Description of the profile.
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
// Output only. Name of the provider on the other end of this profile. E.g.
// “Amazon Web Services” or “Microsoft Azure”.
Provider string `protobuf:"bytes,7,opt,name=provider,proto3" json:"provider,omitempty"`
// Output only. If the profile is a Cloud Service Provider with compute
// resources, this is populated with the region where connectivity is being
// established. If the profile provides facility-level selection, this is an
// identity of the facility any connections on this profile are going through.
ProviderSite string `protobuf:"bytes,8,opt,name=provider_site,json=providerSite,proto3" json:"provider_site,omitempty"`
// Output only. List of bandwidth enum values that are supported by this
// profile.
SupportedBandwidths []RemoteTransportProfile_Bandwidth `protobuf:"varint,9,rep,packed,name=supported_bandwidths,json=supportedBandwidths,proto3,enum=google.cloud.networkconnectivity.v1beta.RemoteTransportProfile_Bandwidth" json:"supported_bandwidths,omitempty"`
// Output only. Availability class that will be configured for this
// particular RemoteTransportProfile.
Sla RemoteTransportProfile_ServiceLevelAvailability `protobuf:"varint,10,opt,name=sla,proto3,enum=google.cloud.networkconnectivity.v1beta.RemoteTransportProfile_ServiceLevelAvailability" json:"sla,omitempty"`
// Output only. Type of provisioning flows supported by this profile.
Flow RemoteTransportProfile_KeyProvisioningFlow `protobuf:"varint,11,opt,name=flow,proto3,enum=google.cloud.networkconnectivity.v1beta.RemoteTransportProfile_KeyProvisioningFlow" json:"flow,omitempty"`
// Output only. Order state for this profile.
OrderState RemoteTransportProfile_State `protobuf:"varint,12,opt,name=order_state,json=orderState,proto3,enum=google.cloud.networkconnectivity.v1beta.RemoteTransportProfile_State" json:"order_state,omitempty"`
// Output only. Human readable name of this profile, used to identify this
// profile in the UI.
DisplayName string `protobuf:"bytes,13,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. Provider type for this profile.
ProviderType RemoteTransportProfile_ProviderType `protobuf:"varint,14,opt,name=provider_type,json=providerType,proto3,enum=google.cloud.networkconnectivity.v1beta.RemoteTransportProfile_ProviderType" json:"provider_type,omitempty"`
// contains filtered or unexported fields
}Message describing RemoteTransportProfile object.
func (*RemoteTransportProfile) Descriptor
func (*RemoteTransportProfile) Descriptor() ([]byte, []int)Deprecated: Use RemoteTransportProfile.ProtoReflect.Descriptor instead.
func (*RemoteTransportProfile) GetDescription
func (x *RemoteTransportProfile) GetDescription() stringfunc (*RemoteTransportProfile) GetDisplayName
func (x *RemoteTransportProfile) GetDisplayName() stringfunc (*RemoteTransportProfile) GetFlow
func (x *RemoteTransportProfile) GetFlow() RemoteTransportProfile_KeyProvisioningFlowfunc (*RemoteTransportProfile) GetLabels
func (x *RemoteTransportProfile) GetLabels() map[string]stringfunc (*RemoteTransportProfile) GetName
func (x *RemoteTransportProfile) GetName() stringfunc (*RemoteTransportProfile) GetOrderState
func (x *RemoteTransportProfile) GetOrderState() RemoteTransportProfile_Statefunc (*RemoteTransportProfile) GetProvider
func (x *RemoteTransportProfile) GetProvider() stringfunc (*RemoteTransportProfile) GetProviderSite
func (x *RemoteTransportProfile) GetProviderSite() stringfunc (*RemoteTransportProfile) GetProviderType
func (x *RemoteTransportProfile) GetProviderType() RemoteTransportProfile_ProviderTypefunc (*RemoteTransportProfile) GetSla
func (x *RemoteTransportProfile) GetSla() RemoteTransportProfile_ServiceLevelAvailabilityfunc (*RemoteTransportProfile) GetSupportedBandwidths
func (x *RemoteTransportProfile) GetSupportedBandwidths() []RemoteTransportProfile_Bandwidthfunc (*RemoteTransportProfile) ProtoMessage
func (*RemoteTransportProfile) ProtoMessage()func (*RemoteTransportProfile) ProtoReflect
func (x *RemoteTransportProfile) ProtoReflect() protoreflect.Messagefunc (*RemoteTransportProfile) Reset
func (x *RemoteTransportProfile) Reset()func (*RemoteTransportProfile) String
func (x *RemoteTransportProfile) String() stringRemoteTransportProfile_Bandwidth
type RemoteTransportProfile_Bandwidth int32Bandwidth values that may be supported for a specific profile.
RemoteTransportProfile_BANDWIDTH_UNSPECIFIED, RemoteTransportProfile_BPS_50M, RemoteTransportProfile_BPS_100M, RemoteTransportProfile_BPS_200M, RemoteTransportProfile_BPS_300M, RemoteTransportProfile_BPS_400M, RemoteTransportProfile_BPS_500M, RemoteTransportProfile_BPS_1G, RemoteTransportProfile_BPS_2G, RemoteTransportProfile_BPS_5G, RemoteTransportProfile_BPS_10G, RemoteTransportProfile_BPS_20G, RemoteTransportProfile_BPS_50G, RemoteTransportProfile_BPS_100G
const (
// Unspecified bandwidth.
RemoteTransportProfile_BANDWIDTH_UNSPECIFIED RemoteTransportProfile_Bandwidth = 0
// 50 Megabits per second.
RemoteTransportProfile_BPS_50M RemoteTransportProfile_Bandwidth = 1
// 100 Megabits per second.
RemoteTransportProfile_BPS_100M RemoteTransportProfile_Bandwidth = 2
// 200 Megabits per second.
RemoteTransportProfile_BPS_200M RemoteTransportProfile_Bandwidth = 3
// 300 Megabits per second.
RemoteTransportProfile_BPS_300M RemoteTransportProfile_Bandwidth = 4
// 400 Megabits per second.
RemoteTransportProfile_BPS_400M RemoteTransportProfile_Bandwidth = 5
// 500 Megabits per second.
RemoteTransportProfile_BPS_500M RemoteTransportProfile_Bandwidth = 6
// 1 Gigabit per second.
RemoteTransportProfile_BPS_1G RemoteTransportProfile_Bandwidth = 7
// 2 Gigabits per second.
RemoteTransportProfile_BPS_2G RemoteTransportProfile_Bandwidth = 8
// 5 Gigabits per second.
RemoteTransportProfile_BPS_5G RemoteTransportProfile_Bandwidth = 9
// 10 Gigabits per second.
RemoteTransportProfile_BPS_10G RemoteTransportProfile_Bandwidth = 10
// 20 Gigabits per second.
RemoteTransportProfile_BPS_20G RemoteTransportProfile_Bandwidth = 11
// 50 Gigabits per second.
RemoteTransportProfile_BPS_50G RemoteTransportProfile_Bandwidth = 12
// 100 Gigabits per second.
RemoteTransportProfile_BPS_100G RemoteTransportProfile_Bandwidth = 13
)func (RemoteTransportProfile_Bandwidth) Descriptor
func (RemoteTransportProfile_Bandwidth) Descriptor() protoreflect.EnumDescriptorfunc (RemoteTransportProfile_Bandwidth) Enum
func (x RemoteTransportProfile_Bandwidth) Enum() *RemoteTransportProfile_Bandwidthfunc (RemoteTransportProfile_Bandwidth) EnumDescriptor
func (RemoteTransportProfile_Bandwidth) EnumDescriptor() ([]byte, []int)Deprecated: Use RemoteTransportProfile_Bandwidth.Descriptor instead.
func (RemoteTransportProfile_Bandwidth) Number
func (x RemoteTransportProfile_Bandwidth) Number() protoreflect.EnumNumberfunc (RemoteTransportProfile_Bandwidth) String
func (x RemoteTransportProfile_Bandwidth) String() stringfunc (RemoteTransportProfile_Bandwidth) Type
func (RemoteTransportProfile_Bandwidth) Type() protoreflect.EnumTypeRemoteTransportProfile_KeyProvisioningFlow
type RemoteTransportProfile_KeyProvisioningFlow int32Type of provisioning flows supported.
RemoteTransportProfile_KEY_PROVISIONING_FLOW_UNSPECIFIED, RemoteTransportProfile_INPUT_ONLY, RemoteTransportProfile_OUTPUT_ONLY, RemoteTransportProfile_INPUT_OR_OUTPUT
const (
// Unspecified key provisioning flow.
RemoteTransportProfile_KEY_PROVISIONING_FLOW_UNSPECIFIED RemoteTransportProfile_KeyProvisioningFlow = 0
// The activationKey field on the Transport must be included in a create or
// patch request to establish connectivity.
RemoteTransportProfile_INPUT_ONLY RemoteTransportProfile_KeyProvisioningFlow = 1
// The generatedActivationKey field is populated and must be read from the
// resource and passed into the other provider.
RemoteTransportProfile_OUTPUT_ONLY RemoteTransportProfile_KeyProvisioningFlow = 2
// Both activation key fields are allowed for establishing connectivity. If
// a key is input, the generated key is still present after provisioning is
// finished.
RemoteTransportProfile_INPUT_OR_OUTPUT RemoteTransportProfile_KeyProvisioningFlow = 3
)func (RemoteTransportProfile_KeyProvisioningFlow) Descriptor
func (RemoteTransportProfile_KeyProvisioningFlow) Descriptor() protoreflect.EnumDescriptorfunc (RemoteTransportProfile_KeyProvisioningFlow) Enum
func (x RemoteTransportProfile_KeyProvisioningFlow) Enum() *RemoteTransportProfile_KeyProvisioningFlowfunc (RemoteTransportProfile_KeyProvisioningFlow) EnumDescriptor
func (RemoteTransportProfile_KeyProvisioningFlow) EnumDescriptor() ([]byte, []int)Deprecated: Use RemoteTransportProfile_KeyProvisioningFlow.Descriptor instead.
func (RemoteTransportProfile_KeyProvisioningFlow) Number
func (x RemoteTransportProfile_KeyProvisioningFlow) Number() protoreflect.EnumNumberfunc (RemoteTransportProfile_KeyProvisioningFlow) String
func (x RemoteTransportProfile_KeyProvisioningFlow) String() stringfunc (RemoteTransportProfile_KeyProvisioningFlow) Type
func (RemoteTransportProfile_KeyProvisioningFlow) Type() protoreflect.EnumTypeRemoteTransportProfile_ProviderType
type RemoteTransportProfile_ProviderType int32Provider type for this profile.
RemoteTransportProfile_PROVIDER_TYPE_UNSPECIFIED, RemoteTransportProfile_CLOUD, RemoteTransportProfile_NETWORK
const (
// Unspecified provider type.
RemoteTransportProfile_PROVIDER_TYPE_UNSPECIFIED RemoteTransportProfile_ProviderType = 0
// Represents a Cloud service provider.
RemoteTransportProfile_CLOUD RemoteTransportProfile_ProviderType = 1
// Represents a Network service provider.
RemoteTransportProfile_NETWORK RemoteTransportProfile_ProviderType = 2
)func (RemoteTransportProfile_ProviderType) Descriptor
func (RemoteTransportProfile_ProviderType) Descriptor() protoreflect.EnumDescriptorfunc (RemoteTransportProfile_ProviderType) Enum
func (x RemoteTransportProfile_ProviderType) Enum() *RemoteTransportProfile_ProviderTypefunc (RemoteTransportProfile_ProviderType) EnumDescriptor
func (RemoteTransportProfile_ProviderType) EnumDescriptor() ([]byte, []int)Deprecated: Use RemoteTransportProfile_ProviderType.Descriptor instead.
func (RemoteTransportProfile_ProviderType) Number
func (x RemoteTransportProfile_ProviderType) Number() protoreflect.EnumNumberfunc (RemoteTransportProfile_ProviderType) String
func (x RemoteTransportProfile_ProviderType) String() stringfunc (RemoteTransportProfile_ProviderType) Type
func (RemoteTransportProfile_ProviderType) Type() protoreflect.EnumTypeRemoteTransportProfile_ServiceLevelAvailability
type RemoteTransportProfile_ServiceLevelAvailability int32Availability class options.
RemoteTransportProfile_SERVICE_LEVEL_AVAILABILITY_UNSPECIFIED, RemoteTransportProfile_HIGH, RemoteTransportProfile_MAXIMUM
const (
// Unspecified service level availability.
RemoteTransportProfile_SERVICE_LEVEL_AVAILABILITY_UNSPECIFIED RemoteTransportProfile_ServiceLevelAvailability = 0
// This represents a 99.9% service level on the availability of the
// configured connectivity.
RemoteTransportProfile_HIGH RemoteTransportProfile_ServiceLevelAvailability = 1
// This represents a 99.99% service level on the availability of the
// configured connectivity.
RemoteTransportProfile_MAXIMUM RemoteTransportProfile_ServiceLevelAvailability = 2
)func (RemoteTransportProfile_ServiceLevelAvailability) Descriptor
func (RemoteTransportProfile_ServiceLevelAvailability) Descriptor() protoreflect.EnumDescriptorfunc (RemoteTransportProfile_ServiceLevelAvailability) Enum
func (x RemoteTransportProfile_ServiceLevelAvailability) Enum() *RemoteTransportProfile_ServiceLevelAvailabilityfunc (RemoteTransportProfile_ServiceLevelAvailability) EnumDescriptor
func (RemoteTransportProfile_ServiceLevelAvailability) EnumDescriptor() ([]byte, []int)Deprecated: Use RemoteTransportProfile_ServiceLevelAvailability.Descriptor instead.
func (RemoteTransportProfile_ServiceLevelAvailability) Number
func (x RemoteTransportProfile_ServiceLevelAvailability) Number() protoreflect.EnumNumberfunc (RemoteTransportProfile_ServiceLevelAvailability) String
func (x RemoteTransportProfile_ServiceLevelAvailability) String() stringfunc (RemoteTransportProfile_ServiceLevelAvailability) Type
RemoteTransportProfile_State
type RemoteTransportProfile_State int32State of the RemoteTransportProfile.
RemoteTransportProfile_STATE_UNSPECIFIED, RemoteTransportProfile_CLOSED, RemoteTransportProfile_OPEN
const (
// Unspecified state.
RemoteTransportProfile_STATE_UNSPECIFIED RemoteTransportProfile_State = 0
// Not enough capacity for customers to order.
RemoteTransportProfile_CLOSED RemoteTransportProfile_State = 1
// Enough capacity to fulfill an order.
RemoteTransportProfile_OPEN RemoteTransportProfile_State = 2
)func (RemoteTransportProfile_State) Descriptor
func (RemoteTransportProfile_State) Descriptor() protoreflect.EnumDescriptorfunc (RemoteTransportProfile_State) Enum
func (x RemoteTransportProfile_State) Enum() *RemoteTransportProfile_Statefunc (RemoteTransportProfile_State) EnumDescriptor
func (RemoteTransportProfile_State) EnumDescriptor() ([]byte, []int)Deprecated: Use RemoteTransportProfile_State.Descriptor instead.
func (RemoteTransportProfile_State) Number
func (x RemoteTransportProfile_State) Number() protoreflect.EnumNumberfunc (RemoteTransportProfile_State) String
func (x RemoteTransportProfile_State) String() stringfunc (RemoteTransportProfile_State) Type
func (RemoteTransportProfile_State) Type() protoreflect.EnumTypeRoute
type Route struct {
// Immutable. The name of the route. Route names must be unique. Route names
// use the following form:
//
// `projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}/routes/{route_id}`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time the route was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the route was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// The destination IP address range.
IpCidrRange string `protobuf:"bytes,1,opt,name=ip_cidr_range,json=ipCidrRange,proto3" json:"ip_cidr_range,omitempty"`
// Output only. The route's type. Its type is determined by the properties of
// its IP address range.
Type RouteType `protobuf:"varint,10,opt,name=type,proto3,enum=google.cloud.networkconnectivity.v1beta.RouteType" json:"type,omitempty"`
// Immutable. The destination VPC network for packets on this route.
NextHopVpcNetwork *NextHopVpcNetwork `protobuf:"bytes,2,opt,name=next_hop_vpc_network,json=nextHopVpcNetwork,proto3" json:"next_hop_vpc_network,omitempty"`
// Optional labels in key-value pair 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 `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// An optional description of the route.
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The Google-generated UUID for the route. This value is unique
// across all Network Connectivity Center route resources. If a
// route is deleted and another with the same name is created,
// the new route is assigned a different `uid`.
Uid string `protobuf:"bytes,8,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. The current lifecycle state of the route.
State State `protobuf:"varint,9,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1beta.State" json:"state,omitempty"`
// Immutable. The spoke that this route leads to.
// Example: projects/12345/locations/global/spokes/SPOKE
Spoke string `protobuf:"bytes,11,opt,name=spoke,proto3" json:"spoke,omitempty"`
// Output only. The origin location of the route.
// Uses the following form: "projects/{project}/locations/{location}"
// Example: projects/1234/locations/us-central1
Location string `protobuf:"bytes,12,opt,name=location,proto3" json:"location,omitempty"`
// Output only. The priority of this route. Priority is used to break ties in
// cases where a destination matches more than one route. In these cases the
// route with the lowest-numbered priority value wins.
Priority int64 `protobuf:"varint,13,opt,name=priority,proto3" json:"priority,omitempty"`
// Immutable. The next-hop VPN tunnel for packets on this route.
NextHopVpnTunnel *NextHopVPNTunnel `protobuf:"bytes,14,opt,name=next_hop_vpn_tunnel,json=nextHopVpnTunnel,proto3" json:"next_hop_vpn_tunnel,omitempty"`
// Immutable. The next-hop Router appliance instance for packets on this
// route.
NextHopRouterApplianceInstance *NextHopRouterApplianceInstance `protobuf:"bytes,15,opt,name=next_hop_router_appliance_instance,json=nextHopRouterApplianceInstance,proto3" json:"next_hop_router_appliance_instance,omitempty"`
// Immutable. The next-hop VLAN attachment for packets on this route.
NextHopInterconnectAttachment *NextHopInterconnectAttachment `protobuf:"bytes,16,opt,name=next_hop_interconnect_attachment,json=nextHopInterconnectAttachment,proto3" json:"next_hop_interconnect_attachment,omitempty"`
// Immutable. The next-hop spoke for packets on this route.
NextHopSpoke *NextHopSpoke `protobuf:"bytes,18,opt,name=next_hop_spoke,json=nextHopSpoke,proto3" json:"next_hop_spoke,omitempty"`
// contains filtered or unexported fields
}A route defines a path from VM instances within a spoke to a specific destination resource. Only VPC spokes have routes.
func (*Route) Descriptor
Deprecated: Use Route.ProtoReflect.Descriptor instead.
func (*Route) GetCreateTime
func (x *Route) GetCreateTime() *timestamppb.Timestampfunc (*Route) GetDescription
func (*Route) GetIpCidrRange
func (*Route) GetLabels
func (*Route) GetLocation
func (*Route) GetName
func (*Route) GetNextHopInterconnectAttachment
func (x *Route) GetNextHopInterconnectAttachment() *NextHopInterconnectAttachmentfunc (*Route) GetNextHopRouterApplianceInstance
func (x *Route) GetNextHopRouterApplianceInstance() *NextHopRouterApplianceInstancefunc (*Route) GetNextHopSpoke
func (x *Route) GetNextHopSpoke() *NextHopSpokefunc (*Route) GetNextHopVpcNetwork
func (x *Route) GetNextHopVpcNetwork() *NextHopVpcNetworkfunc (*Route) GetNextHopVpnTunnel
func (x *Route) GetNextHopVpnTunnel() *NextHopVPNTunnelfunc (*Route) GetPriority
func (*Route) GetSpoke
func (*Route) GetState
func (*Route) GetType
func (*Route) GetUid
func (*Route) GetUpdateTime
func (x *Route) GetUpdateTime() *timestamppb.Timestampfunc (*Route) ProtoMessage
func (*Route) ProtoMessage()func (*Route) ProtoReflect
func (x *Route) ProtoReflect() protoreflect.Messagefunc (*Route) Reset
func (x *Route) Reset()func (*Route) String
RouteTable
type RouteTable struct {
// Immutable. The name of the route table. Route table names must be unique.
// They use the following form:
//
// `projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time the route table was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the route table 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 pair 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 `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// An optional description of the route table.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The Google-generated UUID for the route table. This value is
// unique across all route table resources. If a route table is deleted and
// another with the same name is created, the new route table is assigned
// a different `uid`.
Uid string `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. The current lifecycle state of this route table.
State State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1beta.State" json:"state,omitempty"`
// contains filtered or unexported fields
}func (*RouteTable) Descriptor
func (*RouteTable) Descriptor() ([]byte, []int)Deprecated: Use RouteTable.ProtoReflect.Descriptor instead.
func (*RouteTable) GetCreateTime
func (x *RouteTable) GetCreateTime() *timestamppb.Timestampfunc (*RouteTable) GetDescription
func (x *RouteTable) GetDescription() stringfunc (*RouteTable) GetLabels
func (x *RouteTable) GetLabels() map[string]stringfunc (*RouteTable) GetName
func (x *RouteTable) GetName() stringfunc (*RouteTable) GetState
func (x *RouteTable) GetState() Statefunc (*RouteTable) GetUid
func (x *RouteTable) GetUid() stringfunc (*RouteTable) GetUpdateTime
func (x *RouteTable) GetUpdateTime() *timestamppb.Timestampfunc (*RouteTable) ProtoMessage
func (*RouteTable) ProtoMessage()func (*RouteTable) ProtoReflect
func (x *RouteTable) ProtoReflect() protoreflect.Messagefunc (*RouteTable) Reset
func (x *RouteTable) Reset()func (*RouteTable) String
func (x *RouteTable) String() stringRouteType
type RouteType int32The route's type
RouteType_ROUTE_TYPE_UNSPECIFIED, RouteType_VPC_PRIMARY_SUBNET, RouteType_VPC_SECONDARY_SUBNET, RouteType_DYNAMIC_ROUTE, RouteType_PSC_GLOBAL_GAPI
const (
// No route type information specified
RouteType_ROUTE_TYPE_UNSPECIFIED RouteType = 0
// The route leads to a destination within the primary address range of the
// VPC network's subnet.
RouteType_VPC_PRIMARY_SUBNET RouteType = 1
// The route leads to a destination within the secondary address range of the
// VPC network's subnet.
RouteType_VPC_SECONDARY_SUBNET RouteType = 2
// The route leads to a destination in a dynamic route. Dynamic routes are
// derived from Border Gateway Protocol (BGP) advertisements received from an
// NCC hybrid spoke.
RouteType_DYNAMIC_ROUTE RouteType = 3
// The route leads to a destination within the Private Service Connect
// Global Google API range of the VPC network.
RouteType_PSC_GLOBAL_GAPI RouteType = 4
)func (RouteType) Descriptor
func (RouteType) Descriptor() protoreflect.EnumDescriptorfunc (RouteType) Enum
func (RouteType) EnumDescriptor
Deprecated: Use RouteType.Descriptor instead.
func (RouteType) Number
func (x RouteType) Number() protoreflect.EnumNumberfunc (RouteType) String
func (RouteType) Type
func (RouteType) Type() protoreflect.EnumTypeRouterApplianceInstance
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
func (*RouterApplianceInstance) Descriptor() ([]byte, []int)Deprecated: Use RouterApplianceInstance.ProtoReflect.Descriptor instead.
func (*RouterApplianceInstance) GetIpAddress
func (x *RouterApplianceInstance) GetIpAddress() stringfunc (*RouterApplianceInstance) GetVirtualMachine
func (x *RouterApplianceInstance) GetVirtualMachine() stringfunc (*RouterApplianceInstance) ProtoMessage
func (*RouterApplianceInstance) ProtoMessage()func (*RouterApplianceInstance) ProtoReflect
func (x *RouterApplianceInstance) ProtoReflect() protoreflect.Messagefunc (*RouterApplianceInstance) Reset
func (x *RouterApplianceInstance) Reset()func (*RouterApplianceInstance) String
func (x *RouterApplianceInstance) String() stringRoutingVPC
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 `protobuf:"varint,2,opt,name=required_for_new_site_to_site_data_transfer_spokes,json=requiredForNewSiteToSiteDataTransferSpokes,proto3" json:"required_for_new_site_to_site_data_transfer_spokes,omitempty"`
// contains filtered or unexported fields
}RoutingVPC contains information about the VPC networks associated with the spokes of a Network Connectivity Center hub.
func (*RoutingVPC) Descriptor
func (*RoutingVPC) Descriptor() ([]byte, []int)Deprecated: Use RoutingVPC.ProtoReflect.Descriptor instead.
func (*RoutingVPC) GetRequiredForNewSiteToSiteDataTransferSpokes
func (x *RoutingVPC) GetRequiredForNewSiteToSiteDataTransferSpokes() boolfunc (*RoutingVPC) GetUri
func (x *RoutingVPC) GetUri() stringfunc (*RoutingVPC) ProtoMessage
func (*RoutingVPC) ProtoMessage()func (*RoutingVPC) ProtoReflect
func (x *RoutingVPC) ProtoReflect() protoreflect.Messagefunc (*RoutingVPC) Reset
func (x *RoutingVPC) Reset()func (*RoutingVPC) String
func (x *RoutingVPC) String() stringServiceConfig
type ServiceConfig struct {
// Output only. The eligibility criteria for the service.
EligibilityCriteria ServiceConfig_EligibilityCriteria `protobuf:"varint,1,opt,name=eligibility_criteria,json=eligibilityCriteria,proto3,enum=google.cloud.networkconnectivity.v1beta.ServiceConfig_EligibilityCriteria" json:"eligibility_criteria,omitempty"`
// Output only. The end time for eligibility criteria support. If not
// specified, no planned end time is set.
SupportEndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=support_end_time,json=supportEndTime,proto3" json:"support_end_time,omitempty"`
// contains filtered or unexported fields
}Specifies eligibility information for the service.
func (*ServiceConfig) Descriptor
func (*ServiceConfig) Descriptor() ([]byte, []int)Deprecated: Use ServiceConfig.ProtoReflect.Descriptor instead.
func (*ServiceConfig) GetEligibilityCriteria
func (x *ServiceConfig) GetEligibilityCriteria() ServiceConfig_EligibilityCriteriafunc (*ServiceConfig) GetSupportEndTime
func (x *ServiceConfig) GetSupportEndTime() *timestamppb.Timestampfunc (*ServiceConfig) ProtoMessage
func (*ServiceConfig) ProtoMessage()func (*ServiceConfig) ProtoReflect
func (x *ServiceConfig) ProtoReflect() protoreflect.Messagefunc (*ServiceConfig) Reset
func (x *ServiceConfig) Reset()func (*ServiceConfig) String
func (x *ServiceConfig) String() stringServiceConfig_EligibilityCriteria
type ServiceConfig_EligibilityCriteria int32The eligibility information for the service.
ServiceConfig_ELIGIBILITY_CRITERIA_UNSPECIFIED, ServiceConfig_NETWORK_SERVICE_TIER_PREMIUM_ONLY, ServiceConfig_NETWORK_SERVICE_TIER_STANDARD_ONLY, ServiceConfig_REQUEST_ENDPOINT_REGIONAL_ENDPOINT_ONLY
const (
// The service is not eligible for Data Transfer Essentials configuration.
// This is the default case.
ServiceConfig_ELIGIBILITY_CRITERIA_UNSPECIFIED ServiceConfig_EligibilityCriteria = 0
// The service is eligible for Data Transfer Essentials configuration only
// for Premium Tier.
ServiceConfig_NETWORK_SERVICE_TIER_PREMIUM_ONLY ServiceConfig_EligibilityCriteria = 1
// The service is eligible for Data Transfer Essentials configuration only
// for Standard Tier.
ServiceConfig_NETWORK_SERVICE_TIER_STANDARD_ONLY ServiceConfig_EligibilityCriteria = 2
// The service is eligible for Data Transfer Essentials configuration only
// for the regional endpoint.
ServiceConfig_REQUEST_ENDPOINT_REGIONAL_ENDPOINT_ONLY ServiceConfig_EligibilityCriteria = 3
)func (ServiceConfig_EligibilityCriteria) Descriptor
func (ServiceConfig_EligibilityCriteria) Descriptor() protoreflect.EnumDescriptorfunc (ServiceConfig_EligibilityCriteria) Enum
func (x ServiceConfig_EligibilityCriteria) Enum() *ServiceConfig_EligibilityCriteriafunc (ServiceConfig_EligibilityCriteria) EnumDescriptor
func (ServiceConfig_EligibilityCriteria) EnumDescriptor() ([]byte, []int)Deprecated: Use ServiceConfig_EligibilityCriteria.Descriptor instead.
func (ServiceConfig_EligibilityCriteria) Number
func (x ServiceConfig_EligibilityCriteria) Number() protoreflect.EnumNumberfunc (ServiceConfig_EligibilityCriteria) String
func (x ServiceConfig_EligibilityCriteria) String() stringfunc (ServiceConfig_EligibilityCriteria) Type
func (ServiceConfig_EligibilityCriteria) Type() protoreflect.EnumTypeSpoke
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 pair 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 `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. 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"`
// Optional. The name of the group that this spoke is associated with.
Group string `protobuf:"bytes,23,opt,name=group,proto3" json:"group,omitempty"`
// Optional. 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"`
// Optional. VLAN attachments that are associated with the spoke.
LinkedInterconnectAttachments *LinkedInterconnectAttachments `protobuf:"bytes,18,opt,name=linked_interconnect_attachments,json=linkedInterconnectAttachments,proto3" json:"linked_interconnect_attachments,omitempty"`
// Optional. Router appliance instances that are associated with the spoke.
LinkedRouterApplianceInstances *LinkedRouterApplianceInstances `protobuf:"bytes,19,opt,name=linked_router_appliance_instances,json=linkedRouterApplianceInstances,proto3" json:"linked_router_appliance_instances,omitempty"`
// Optional. VPC network that is associated with the spoke.
LinkedVpcNetwork *LinkedVpcNetwork `protobuf:"bytes,20,opt,name=linked_vpc_network,json=linkedVpcNetwork,proto3" json:"linked_vpc_network,omitempty"`
// Optional. This is a gateway that can apply specialized processing to
// traffic going through it.
Gateway *Gateway `protobuf:"bytes,24,opt,name=gateway,proto3" json:"gateway,omitempty"`
// Optional. The linked producer VPC that is associated with the spoke.
LinkedProducerVpcNetwork *LinkedProducerVpcNetwork `protobuf:"bytes,26,opt,name=linked_producer_vpc_network,json=linkedProducerVpcNetwork,proto3" json:"linked_producer_vpc_network,omitempty"`
// 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.v1beta.State" json:"state,omitempty"`
// Output only. The reasons for current state of the spoke.
Reasons []*Spoke_StateReason `protobuf:"bytes,21,rep,name=reasons,proto3" json:"reasons,omitempty"`
// Output only. The type of resource associated with the spoke.
SpokeType SpokeType `protobuf:"varint,22,opt,name=spoke_type,json=spokeType,proto3,enum=google.cloud.networkconnectivity.v1beta.SpokeType" json:"spoke_type,omitempty"`
// Optional. This checksum is computed by the server based on the value of
// other fields, and may be sent on update and delete requests to ensure the
// client has an up-to-date value before proceeding.
Etag string `protobuf:"bytes,27,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. The list of fields waiting for hub administrator's approval.
FieldPathsPendingUpdate []string `protobuf:"bytes,28,rep,name=field_paths_pending_update,json=fieldPathsPendingUpdate,proto3" json:"field_paths_pending_update,omitempty"`
// contains filtered or unexported fields
}A Network Connectivity Center spoke represents one or more network connectivity resources.
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
- linked_vpc_network
func (*Spoke) Descriptor
Deprecated: Use Spoke.ProtoReflect.Descriptor instead.
func (*Spoke) GetCreateTime
func (x *Spoke) GetCreateTime() *timestamppb.Timestampfunc (*Spoke) GetDescription
func (*Spoke) GetEtag
func (*Spoke) GetFieldPathsPendingUpdate
func (*Spoke) GetGateway
func (*Spoke) GetGroup
func (*Spoke) GetHub
func (*Spoke) GetLabels
func (*Spoke) GetLinkedInterconnectAttachments
func (x *Spoke) GetLinkedInterconnectAttachments() *LinkedInterconnectAttachmentsfunc (*Spoke) GetLinkedProducerVpcNetwork
func (x *Spoke) GetLinkedProducerVpcNetwork() *LinkedProducerVpcNetworkfunc (*Spoke) GetLinkedRouterApplianceInstances
func (x *Spoke) GetLinkedRouterApplianceInstances() *LinkedRouterApplianceInstancesfunc (*Spoke) GetLinkedVpcNetwork
func (x *Spoke) GetLinkedVpcNetwork() *LinkedVpcNetworkfunc (*Spoke) GetLinkedVpnTunnels
func (x *Spoke) GetLinkedVpnTunnels() *LinkedVpnTunnelsfunc (*Spoke) GetName
func (*Spoke) GetReasons
func (x *Spoke) GetReasons() []*Spoke_StateReasonfunc (*Spoke) GetSpokeType
func (*Spoke) GetState
func (*Spoke) GetUniqueId
func (*Spoke) GetUpdateTime
func (x *Spoke) GetUpdateTime() *timestamppb.Timestampfunc (*Spoke) ProtoMessage
func (*Spoke) ProtoMessage()func (*Spoke) ProtoReflect
func (x *Spoke) ProtoReflect() protoreflect.Messagefunc (*Spoke) Reset
func (x *Spoke) Reset()func (*Spoke) String
SpokeSummary
type SpokeSummary struct {
// Output only. Counts the number of spokes of each type that are
// associated with a specific hub.
SpokeTypeCounts []*SpokeSummary_SpokeTypeCount `protobuf:"bytes,1,rep,name=spoke_type_counts,json=spokeTypeCounts,proto3" json:"spoke_type_counts,omitempty"`
// Output only. Counts the number of spokes that are in each state
// and associated with a given hub.
SpokeStateCounts []*SpokeSummary_SpokeStateCount `protobuf:"bytes,2,rep,name=spoke_state_counts,json=spokeStateCounts,proto3" json:"spoke_state_counts,omitempty"`
// Output only. Counts the number of spokes that are inactive for each
// possible reason and associated with a given hub.
SpokeStateReasonCounts []*SpokeSummary_SpokeStateReasonCount `protobuf:"bytes,3,rep,name=spoke_state_reason_counts,json=spokeStateReasonCounts,proto3" json:"spoke_state_reason_counts,omitempty"`
// contains filtered or unexported fields
}Summarizes information about the spokes associated with a hub. The summary includes a count of spokes according to type and according to state. If any spokes are inactive, the summary also lists the reasons they are inactive, including a count for each reason.
func (*SpokeSummary) Descriptor
func (*SpokeSummary) Descriptor() ([]byte, []int)Deprecated: Use SpokeSummary.ProtoReflect.Descriptor instead.
func (*SpokeSummary) GetSpokeStateCounts
func (x *SpokeSummary) GetSpokeStateCounts() []*SpokeSummary_SpokeStateCountfunc (*SpokeSummary) GetSpokeStateReasonCounts
func (x *SpokeSummary) GetSpokeStateReasonCounts() []*SpokeSummary_SpokeStateReasonCountfunc (*SpokeSummary) GetSpokeTypeCounts
func (x *SpokeSummary) GetSpokeTypeCounts() []*SpokeSummary_SpokeTypeCountfunc (*SpokeSummary) ProtoMessage
func (*SpokeSummary) ProtoMessage()func (*SpokeSummary) ProtoReflect
func (x *SpokeSummary) ProtoReflect() protoreflect.Messagefunc (*SpokeSummary) Reset
func (x *SpokeSummary) Reset()func (*SpokeSummary) String
func (x *SpokeSummary) String() stringSpokeSummary_SpokeStateCount
type SpokeSummary_SpokeStateCount struct {
// Output only. The state of the spokes.
State State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1beta.State" json:"state,omitempty"`
// Output only. The total number of spokes that are in this state
// and associated with a given hub.
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}The number of spokes that are in a particular state and associated with a given hub.
func (*SpokeSummary_SpokeStateCount) Descriptor
func (*SpokeSummary_SpokeStateCount) Descriptor() ([]byte, []int)Deprecated: Use SpokeSummary_SpokeStateCount.ProtoReflect.Descriptor instead.
func (*SpokeSummary_SpokeStateCount) GetCount
func (x *SpokeSummary_SpokeStateCount) GetCount() int64func (*SpokeSummary_SpokeStateCount) GetState
func (x *SpokeSummary_SpokeStateCount) GetState() Statefunc (*SpokeSummary_SpokeStateCount) ProtoMessage
func (*SpokeSummary_SpokeStateCount) ProtoMessage()func (*SpokeSummary_SpokeStateCount) ProtoReflect
func (x *SpokeSummary_SpokeStateCount) ProtoReflect() protoreflect.Messagefunc (*SpokeSummary_SpokeStateCount) Reset
func (x *SpokeSummary_SpokeStateCount) Reset()func (*SpokeSummary_SpokeStateCount) String
func (x *SpokeSummary_SpokeStateCount) String() stringSpokeSummary_SpokeStateReasonCount
type SpokeSummary_SpokeStateReasonCount struct {
// Output only. The reason that a spoke is inactive.
StateReasonCode Spoke_StateReason_Code `protobuf:"varint,1,opt,name=state_reason_code,json=stateReasonCode,proto3,enum=google.cloud.networkconnectivity.v1beta.Spoke_StateReason_Code" json:"state_reason_code,omitempty"`
// Output only. The total number of spokes that are inactive for a
// particular reason and associated with a given hub.
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}The number of spokes in the hub that are inactive for this reason.
func (*SpokeSummary_SpokeStateReasonCount) Descriptor
func (*SpokeSummary_SpokeStateReasonCount) Descriptor() ([]byte, []int)Deprecated: Use SpokeSummary_SpokeStateReasonCount.ProtoReflect.Descriptor instead.
func (*SpokeSummary_SpokeStateReasonCount) GetCount
func (x *SpokeSummary_SpokeStateReasonCount) GetCount() int64func (*SpokeSummary_SpokeStateReasonCount) GetStateReasonCode
func (x *SpokeSummary_SpokeStateReasonCount) GetStateReasonCode() Spoke_StateReason_Codefunc (*SpokeSummary_SpokeStateReasonCount) ProtoMessage
func (*SpokeSummary_SpokeStateReasonCount) ProtoMessage()func (*SpokeSummary_SpokeStateReasonCount) ProtoReflect
func (x *SpokeSummary_SpokeStateReasonCount) ProtoReflect() protoreflect.Messagefunc (*SpokeSummary_SpokeStateReasonCount) Reset
func (x *SpokeSummary_SpokeStateReasonCount) Reset()func (*SpokeSummary_SpokeStateReasonCount) String
func (x *SpokeSummary_SpokeStateReasonCount) String() stringSpokeSummary_SpokeTypeCount
type SpokeSummary_SpokeTypeCount struct {
// Output only. The type of the spokes.
SpokeType SpokeType `protobuf:"varint,1,opt,name=spoke_type,json=spokeType,proto3,enum=google.cloud.networkconnectivity.v1beta.SpokeType" json:"spoke_type,omitempty"`
// Output only. The total number of spokes of this type that are
// associated with the hub.
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}The number of spokes of a given type that are associated with a specific hub. The type indicates what kind of resource is associated with the spoke.
func (*SpokeSummary_SpokeTypeCount) Descriptor
func (*SpokeSummary_SpokeTypeCount) Descriptor() ([]byte, []int)Deprecated: Use SpokeSummary_SpokeTypeCount.ProtoReflect.Descriptor instead.
func (*SpokeSummary_SpokeTypeCount) GetCount
func (x *SpokeSummary_SpokeTypeCount) GetCount() int64func (*SpokeSummary_SpokeTypeCount) GetSpokeType
func (x *SpokeSummary_SpokeTypeCount) GetSpokeType() SpokeTypefunc (*SpokeSummary_SpokeTypeCount) ProtoMessage
func (*SpokeSummary_SpokeTypeCount) ProtoMessage()func (*SpokeSummary_SpokeTypeCount) ProtoReflect
func (x *SpokeSummary_SpokeTypeCount) ProtoReflect() protoreflect.Messagefunc (*SpokeSummary_SpokeTypeCount) Reset
func (x *SpokeSummary_SpokeTypeCount) Reset()func (*SpokeSummary_SpokeTypeCount) String
func (x *SpokeSummary_SpokeTypeCount) String() stringSpokeType
type SpokeType int32The SpokeType enum represents the type of spoke. The type reflects the kind of resource that a spoke is associated with.
SpokeType_SPOKE_TYPE_UNSPECIFIED, SpokeType_VPN_TUNNEL, SpokeType_INTERCONNECT_ATTACHMENT, SpokeType_ROUTER_APPLIANCE, SpokeType_VPC_NETWORK, SpokeType_GATEWAY, SpokeType_PRODUCER_VPC_NETWORK
const (
// Unspecified spoke type.
SpokeType_SPOKE_TYPE_UNSPECIFIED SpokeType = 0
// Spokes associated with VPN tunnels.
SpokeType_VPN_TUNNEL SpokeType = 1
// Spokes associated with VLAN attachments.
SpokeType_INTERCONNECT_ATTACHMENT SpokeType = 2
// Spokes associated with router appliance instances.
SpokeType_ROUTER_APPLIANCE SpokeType = 3
// Spokes associated with VPC networks.
SpokeType_VPC_NETWORK SpokeType = 4
// Spokes that are NCC gateways.
SpokeType_GATEWAY SpokeType = 5
// Spokes that are backed by a producer VPC network.
SpokeType_PRODUCER_VPC_NETWORK SpokeType = 7
)func (SpokeType) Descriptor
func (SpokeType) Descriptor() protoreflect.EnumDescriptorfunc (SpokeType) Enum
func (SpokeType) EnumDescriptor
Deprecated: Use SpokeType.Descriptor instead.
func (SpokeType) Number
func (x SpokeType) Number() protoreflect.EnumNumberfunc (SpokeType) String
func (SpokeType) Type
func (SpokeType) Type() protoreflect.EnumTypeSpoke_StateReason
type Spoke_StateReason struct {
// The code associated with this reason.
Code Spoke_StateReason_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.cloud.networkconnectivity.v1beta.Spoke_StateReason_Code" json:"code,omitempty"`
// Human-readable details about this reason.
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// Additional information provided by the user in the RejectSpoke call.
UserDetails string `protobuf:"bytes,3,opt,name=user_details,json=userDetails,proto3" json:"user_details,omitempty"`
// contains filtered or unexported fields
}The reason for the current state of the spoke.
func (*Spoke_StateReason) Descriptor
func (*Spoke_StateReason) Descriptor() ([]byte, []int)Deprecated: Use Spoke_StateReason.ProtoReflect.Descriptor instead.
func (*Spoke_StateReason) GetCode
func (x *Spoke_StateReason) GetCode() Spoke_StateReason_Codefunc (*Spoke_StateReason) GetMessage
func (x *Spoke_StateReason) GetMessage() stringfunc (*Spoke_StateReason) GetUserDetails
func (x *Spoke_StateReason) GetUserDetails() stringfunc (*Spoke_StateReason) ProtoMessage
func (*Spoke_StateReason) ProtoMessage()func (*Spoke_StateReason) ProtoReflect
func (x *Spoke_StateReason) ProtoReflect() protoreflect.Messagefunc (*Spoke_StateReason) Reset
func (x *Spoke_StateReason) Reset()func (*Spoke_StateReason) String
func (x *Spoke_StateReason) String() stringSpoke_StateReason_Code
type Spoke_StateReason_Code int32The Code enum represents the various reasons for the state of the spoke.
Spoke_StateReason_CODE_UNSPECIFIED, Spoke_StateReason_PENDING_REVIEW, Spoke_StateReason_REJECTED, Spoke_StateReason_PAUSED, Spoke_StateReason_FAILED, Spoke_StateReason_UPDATE_PENDING_REVIEW, Spoke_StateReason_UPDATE_REJECTED, Spoke_StateReason_UPDATE_FAILED
const (
// No information available.
Spoke_StateReason_CODE_UNSPECIFIED Spoke_StateReason_Code = 0
// The proposed spoke is pending review.
Spoke_StateReason_PENDING_REVIEW Spoke_StateReason_Code = 1
// The proposed spoke has been rejected by the hub administrator.
Spoke_StateReason_REJECTED Spoke_StateReason_Code = 2
// The spoke has been deactivated internally.
Spoke_StateReason_PAUSED Spoke_StateReason_Code = 3
// Network Connectivity Center encountered errors while accepting
// the spoke.
Spoke_StateReason_FAILED Spoke_StateReason_Code = 4
// The proposed spoke update is pending review.
Spoke_StateReason_UPDATE_PENDING_REVIEW Spoke_StateReason_Code = 5
// The proposed spoke update has been rejected by the hub administrator.
Spoke_StateReason_UPDATE_REJECTED Spoke_StateReason_Code = 6
// Network Connectivity Center encountered errors while accepting
// the spoke update.
Spoke_StateReason_UPDATE_FAILED Spoke_StateReason_Code = 7
)func (Spoke_StateReason_Code) Descriptor
func (Spoke_StateReason_Code) Descriptor() protoreflect.EnumDescriptorfunc (Spoke_StateReason_Code) Enum
func (x Spoke_StateReason_Code) Enum() *Spoke_StateReason_Codefunc (Spoke_StateReason_Code) EnumDescriptor
func (Spoke_StateReason_Code) EnumDescriptor() ([]byte, []int)Deprecated: Use Spoke_StateReason_Code.Descriptor instead.
func (Spoke_StateReason_Code) Number
func (x Spoke_StateReason_Code) Number() protoreflect.EnumNumberfunc (Spoke_StateReason_Code) String
func (x Spoke_StateReason_Code) String() stringfunc (Spoke_StateReason_Code) Type
func (Spoke_StateReason_Code) Type() protoreflect.EnumTypeState
type State int32The State enum represents the lifecycle stage of a Network Connectivity Center resource.
State_STATE_UNSPECIFIED, State_CREATING, State_ACTIVE, State_DELETING, State_ACCEPTING, State_REJECTING, State_UPDATING, State_INACTIVE, State_OBSOLETE, State_FAILED
const (
// No state information available
State_STATE_UNSPECIFIED State = 0
// The resource's create operation is in progress.
State_CREATING State = 1
// The resource is active
State_ACTIVE State = 2
// The resource's delete operation is in progress.
State_DELETING State = 3
// The resource's accept operation is in progress.
State_ACCEPTING State = 8
// The resource's reject operation is in progress.
State_REJECTING State = 9
// The resource's update operation is in progress.
State_UPDATING State = 6
// The resource is inactive.
State_INACTIVE State = 7
// The hub associated with this spoke resource has been deleted.
// This state applies to spoke resources only.
State_OBSOLETE State = 10
// The resource is in an undefined state due to resource creation or deletion
// failure. You can try to delete the resource later or contact support for
// help.
State_FAILED State = 11
)func (State) Descriptor
func (State) Descriptor() protoreflect.EnumDescriptorfunc (State) Enum
func (State) EnumDescriptor
Deprecated: Use State.Descriptor instead.
func (State) Number
func (x State) Number() protoreflect.EnumNumberfunc (State) String
func (State) Type
func (State) Type() protoreflect.EnumTypeStateTimeline
type StateTimeline struct {
// Output only. The state and activation time details of the resource state.
States []*StateTimeline_StateMetadata `protobuf:"bytes,1,rep,name=states,proto3" json:"states,omitempty"`
// contains filtered or unexported fields
}The timeline of the pending states for a resource.
func (*StateTimeline) Descriptor
func (*StateTimeline) Descriptor() ([]byte, []int)Deprecated: Use StateTimeline.ProtoReflect.Descriptor instead.
func (*StateTimeline) GetStates
func (x *StateTimeline) GetStates() []*StateTimeline_StateMetadatafunc (*StateTimeline) ProtoMessage
func (*StateTimeline) ProtoMessage()func (*StateTimeline) ProtoReflect
func (x *StateTimeline) ProtoReflect() protoreflect.Messagefunc (*StateTimeline) Reset
func (x *StateTimeline) Reset()func (*StateTimeline) String
func (x *StateTimeline) String() stringStateTimeline_StateMetadata
type StateTimeline_StateMetadata struct {
// Output only. The state of the resource.
State StateTimeline_StateMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1beta.StateTimeline_StateMetadata_State" json:"state,omitempty"`
// Output only. Accompanies only the transient states, which include
// `ADDING`, `DELETING`, and `SUSPENDING`, to denote the time until which
// the transient state of the resource will be effective. For instance, if
// the state is `ADDING`, this field shows the time when the resource state
// transitions to `ACTIVE`.
EffectiveTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=effective_time,json=effectiveTime,proto3" json:"effective_time,omitempty"`
// contains filtered or unexported fields
}The state and activation time details of the resource state.
func (*StateTimeline_StateMetadata) Descriptor
func (*StateTimeline_StateMetadata) Descriptor() ([]byte, []int)Deprecated: Use StateTimeline_StateMetadata.ProtoReflect.Descriptor instead.
func (*StateTimeline_StateMetadata) GetEffectiveTime
func (x *StateTimeline_StateMetadata) GetEffectiveTime() *timestamppb.Timestampfunc (*StateTimeline_StateMetadata) GetState
func (x *StateTimeline_StateMetadata) GetState() StateTimeline_StateMetadata_Statefunc (*StateTimeline_StateMetadata) ProtoMessage
func (*StateTimeline_StateMetadata) ProtoMessage()func (*StateTimeline_StateMetadata) ProtoReflect
func (x *StateTimeline_StateMetadata) ProtoReflect() protoreflect.Messagefunc (*StateTimeline_StateMetadata) Reset
func (x *StateTimeline_StateMetadata) Reset()func (*StateTimeline_StateMetadata) String
func (x *StateTimeline_StateMetadata) String() stringStateTimeline_StateMetadata_State
type StateTimeline_StateMetadata_State int32The state of the resource.
StateTimeline_StateMetadata_STATE_UNSPECIFIED, StateTimeline_StateMetadata_ADDING, StateTimeline_StateMetadata_ACTIVE, StateTimeline_StateMetadata_DELETING, StateTimeline_StateMetadata_SUSPENDING, StateTimeline_StateMetadata_SUSPENDED
const (
// An invalid state, which is the default case.
StateTimeline_StateMetadata_STATE_UNSPECIFIED StateTimeline_StateMetadata_State = 0
// The resource is being added.
StateTimeline_StateMetadata_ADDING StateTimeline_StateMetadata_State = 1
// The resource is in use.
StateTimeline_StateMetadata_ACTIVE StateTimeline_StateMetadata_State = 2
// The resource is being deleted.
StateTimeline_StateMetadata_DELETING StateTimeline_StateMetadata_State = 3
// The resource is being suspended.
StateTimeline_StateMetadata_SUSPENDING StateTimeline_StateMetadata_State = 4
// The resource is suspended and not in use.
StateTimeline_StateMetadata_SUSPENDED StateTimeline_StateMetadata_State = 5
)func (StateTimeline_StateMetadata_State) Descriptor
func (StateTimeline_StateMetadata_State) Descriptor() protoreflect.EnumDescriptorfunc (StateTimeline_StateMetadata_State) Enum
func (x StateTimeline_StateMetadata_State) Enum() *StateTimeline_StateMetadata_Statefunc (StateTimeline_StateMetadata_State) EnumDescriptor
func (StateTimeline_StateMetadata_State) EnumDescriptor() ([]byte, []int)Deprecated: Use StateTimeline_StateMetadata_State.Descriptor instead.
func (StateTimeline_StateMetadata_State) Number
func (x StateTimeline_StateMetadata_State) Number() protoreflect.EnumNumberfunc (StateTimeline_StateMetadata_State) String
func (x StateTimeline_StateMetadata_State) String() stringfunc (StateTimeline_StateMetadata_State) Type
func (StateTimeline_StateMetadata_State) Type() protoreflect.EnumTypeTransport
type Transport struct {
// Identifier. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Create time stamp.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Update time stamp.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. Labels as key value pairs.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. Description of the Transport.
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Immutable. Name of the remoteTransportProfile that this Transport
// is connecting to.
RemoteProfile string `protobuf:"bytes,7,opt,name=remote_profile,json=remoteProfile,proto3" json:"remote_profile,omitempty"`
// Optional. Immutable. Key used for establishing a connection with the remote
// transport. This key can only be provided if the profile supports an INPUT
// key flow and the resource is in the PENDING_KEY state.
ProvidedActivationKey string `protobuf:"bytes,8,opt,name=provided_activation_key,json=providedActivationKey,proto3" json:"provided_activation_key,omitempty"`
// Output only. Google-generated activation key. This is only output if the
// selected profile supports an OUTPUT key flow. Inputting this to the
// provider is only valid while the resource is in a PENDING_KEY state. Once
// the provider has accepted the key, the resource will move to the
// CONFIGURING state.
GeneratedActivationKey string `protobuf:"bytes,9,opt,name=generated_activation_key,json=generatedActivationKey,proto3" json:"generated_activation_key,omitempty"`
// Optional. Bandwidth of the Transport. This must be one of the supported
// bandwidths for the remote profile, and must be set when no activation key
// is being provided.
Bandwidth Transport_Bandwidth `protobuf:"varint,10,opt,name=bandwidth,proto3,enum=google.cloud.networkconnectivity.v1beta.Transport_Bandwidth" json:"bandwidth,omitempty"`
// Optional. IP version stack for the established connectivity.
StackType Transport_StackType `protobuf:"varint,11,opt,name=stack_type,json=stackType,proto3,enum=google.cloud.networkconnectivity.v1beta.Transport_StackType" json:"stack_type,omitempty"`
// Output only. State of the underlying connectivity.
State Transport_State `protobuf:"varint,12,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1beta.Transport_State" json:"state,omitempty"`
// Output only. The maximum transmission unit (MTU) of a packet that can be
// sent over this transport.
MtuLimit int32 `protobuf:"varint,13,opt,name=mtu_limit,json=mtuLimit,proto3" json:"mtu_limit,omitempty"`
// Optional. Administrative state of the underlying connectivity. If set to
// true (default), connectivity should be available between your environments.
// If set to false, the connectivity over these links is disabled. Disabling
// your Transport does not affect billing, and retains the underlying network
// bandwidth associated with the connectivity.
AdminEnabled bool `protobuf:"varint,14,opt,name=admin_enabled,json=adminEnabled,proto3" json:"admin_enabled,omitempty"`
// Optional. Immutable. Resource URI of the Network that will be peered with
// this Transport. This field must be provided during resource creation and
// cannot be changed.
Network string `protobuf:"bytes,15,opt,name=network,proto3" json:"network,omitempty"`
// Optional. List of IP Prefixes that will be advertised to the remote
// provider. Both IPv4 and IPv6 addresses are supported.
AdvertisedRoutes []string `protobuf:"bytes,16,rep,name=advertised_routes,json=advertisedRoutes,proto3" json:"advertised_routes,omitempty"`
// Optional. Immutable. The user supplied account id for the CSP associated
// with the remote profile.
RemoteAccountId string `protobuf:"bytes,17,opt,name=remote_account_id,json=remoteAccountId,proto3" json:"remote_account_id,omitempty"`
// Output only. VPC Network URI that was created for the VPC Peering
// connection to the provided `network`. If VPC Peering is disconnected, this
// can be used to re-establish.
PeeringNetwork string `protobuf:"bytes,18,opt,name=peering_network,json=peeringNetwork,proto3" json:"peering_network,omitempty"`
// Optional. Immutable. The NCC Hub that the Transport should attach to. The
// hub must be in the same project as the Transport. Format:
// `{hub}` or `projects/{project}/locations/global/hubs/{hub}`
Hub string `protobuf:"bytes,19,opt,name=hub,proto3" json:"hub,omitempty"`
// Optional. Immutable. Controls whether a Routing VPC Spoke should be created
// and attached to the NCC Hub. This will provide Private Service Connect
// (PSC) connectivity through NCC. This can only be set when the Transport is
// first created.
PscRoutingEnabled bool `protobuf:"varint,20,opt,name=psc_routing_enabled,json=pscRoutingEnabled,proto3" json:"psc_routing_enabled,omitempty"`
// Optional. Immutable. Controls whether resources proposed by the Transport
// are automatically accepted on behalf of the user. List of actions that can
// be automatically accepted are:
// 1. VPC Peering creation
// 2. Routing VPC Spoke creation
// 3. Hybrid Spoke creation
AutoAccept bool `protobuf:"varint,21,opt,name=auto_accept,json=autoAccept,proto3" json:"auto_accept,omitempty"`
// contains filtered or unexported fields
}Message describing Transport object.
func (*Transport) Descriptor
Deprecated: Use Transport.ProtoReflect.Descriptor instead.
func (*Transport) GetAdminEnabled
func (*Transport) GetAdvertisedRoutes
func (*Transport) GetAutoAccept
func (*Transport) GetBandwidth
func (x *Transport) GetBandwidth() Transport_Bandwidthfunc (*Transport) GetCreateTime
func (x *Transport) GetCreateTime() *timestamppb.Timestampfunc (*Transport) GetDescription
func (*Transport) GetGeneratedActivationKey
func (*Transport) GetHub
func (*Transport) GetLabels
func (*Transport) GetMtuLimit
func (*Transport) GetName
func (*Transport) GetNetwork
func (*Transport) GetPeeringNetwork
func (*Transport) GetProvidedActivationKey
func (*Transport) GetPscRoutingEnabled
func (*Transport) GetRemoteAccountId
func (*Transport) GetRemoteProfile
func (*Transport) GetStackType
func (x *Transport) GetStackType() Transport_StackTypefunc (*Transport) GetState
func (x *Transport) GetState() Transport_Statefunc (*Transport) GetUpdateTime
func (x *Transport) GetUpdateTime() *timestamppb.Timestampfunc (*Transport) ProtoMessage
func (*Transport) ProtoMessage()func (*Transport) ProtoReflect
func (x *Transport) ProtoReflect() protoreflect.Messagefunc (*Transport) Reset
func (x *Transport) Reset()func (*Transport) String
TransportManagerClient
type TransportManagerClient interface {
// Lists RemoteTransportProfiles in a given project and location.
ListRemoteTransportProfiles(ctx context.Context, in *ListRemoteTransportProfilesRequest, opts ...grpc.CallOption) (*ListRemoteTransportProfilesResponse, error)
// Gets details of a single RemoteTransportProfile.
GetRemoteTransportProfile(ctx context.Context, in *GetRemoteTransportProfileRequest, opts ...grpc.CallOption) (*RemoteTransportProfile, error)
// Gets details of a single RemoteTransportProfile given an activation key.
ParseFromActivationKey(ctx context.Context, in *ParseFromActivationKeyRequest, opts ...grpc.CallOption) (*ParseFromActivationKeyResponse, error)
// Lists Transports in a given project and location.
ListTransports(ctx context.Context, in *ListTransportsRequest, opts ...grpc.CallOption) (*ListTransportsResponse, error)
// Gets details of a single Transport.
GetTransport(ctx context.Context, in *GetTransportRequest, opts ...grpc.CallOption) (*Transport, error)
// Gets the operational status of a single Transport.
GetStatus(ctx context.Context, in *GetStatusRequest, opts ...grpc.CallOption) (*GetStatusResponse, error)
// Creates a new Transport in a given project and location.
CreateTransport(ctx context.Context, in *CreateTransportRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Transport.
UpdateTransport(ctx context.Context, in *UpdateTransportRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Transport.
DeleteTransport(ctx context.Context, in *DeleteTransportRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}TransportManagerClient is the client API for TransportManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTransportManagerClient
func NewTransportManagerClient(cc grpc.ClientConnInterface) TransportManagerClientTransportManagerServer
type TransportManagerServer interface {
// Lists RemoteTransportProfiles in a given project and location.
ListRemoteTransportProfiles(context.Context, *ListRemoteTransportProfilesRequest) (*ListRemoteTransportProfilesResponse, error)
// Gets details of a single RemoteTransportProfile.
GetRemoteTransportProfile(context.Context, *GetRemoteTransportProfileRequest) (*RemoteTransportProfile, error)
// Gets details of a single RemoteTransportProfile given an activation key.
ParseFromActivationKey(context.Context, *ParseFromActivationKeyRequest) (*ParseFromActivationKeyResponse, error)
// Lists Transports in a given project and location.
ListTransports(context.Context, *ListTransportsRequest) (*ListTransportsResponse, error)
// Gets details of a single Transport.
GetTransport(context.Context, *GetTransportRequest) (*Transport, error)
// Gets the operational status of a single Transport.
GetStatus(context.Context, *GetStatusRequest) (*GetStatusResponse, error)
// Creates a new Transport in a given project and location.
CreateTransport(context.Context, *CreateTransportRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Transport.
UpdateTransport(context.Context, *UpdateTransportRequest) (*longrunningpb.Operation, error)
// Deletes a single Transport.
DeleteTransport(context.Context, *DeleteTransportRequest) (*longrunningpb.Operation, error)
}TransportManagerServer is the server API for TransportManager service. All implementations should embed UnimplementedTransportManagerServer for forward compatibility
Transport_Bandwidth
type Transport_Bandwidth int32Supported bandwidth options.
Transport_BANDWIDTH_UNSPECIFIED, Transport_BPS_50M, Transport_BPS_100M, Transport_BPS_200M, Transport_BPS_300M, Transport_BPS_400M, Transport_BPS_500M, Transport_BPS_1G, Transport_BPS_2G, Transport_BPS_5G, Transport_BPS_10G, Transport_BPS_20G, Transport_BPS_50G, Transport_BPS_100G
const (
// Unspecified bandwidth.
Transport_BANDWIDTH_UNSPECIFIED Transport_Bandwidth = 0
// 50 Megabits per second.
Transport_BPS_50M Transport_Bandwidth = 1
// 100 Megabits per second.
Transport_BPS_100M Transport_Bandwidth = 2
// 200 Megabits per second.
Transport_BPS_200M Transport_Bandwidth = 3
// 300 Megabits per second.
Transport_BPS_300M Transport_Bandwidth = 4
// 400 Megabits per second.
Transport_BPS_400M Transport_Bandwidth = 5
// 500 Megabits per second.
Transport_BPS_500M Transport_Bandwidth = 6
// 1 Gigabit per second.
Transport_BPS_1G Transport_Bandwidth = 7
// 2 Gigabits per second.
Transport_BPS_2G Transport_Bandwidth = 8
// 5 Gigabits per second.
Transport_BPS_5G Transport_Bandwidth = 9
// 10 Gigabits per second.
Transport_BPS_10G Transport_Bandwidth = 10
// 20 Gigabits per second.
Transport_BPS_20G Transport_Bandwidth = 11
// 50 Gigabits per second.
Transport_BPS_50G Transport_Bandwidth = 12
// 100 Gigabits per second.
Transport_BPS_100G Transport_Bandwidth = 13
)func (Transport_Bandwidth) Descriptor
func (Transport_Bandwidth) Descriptor() protoreflect.EnumDescriptorfunc (Transport_Bandwidth) Enum
func (x Transport_Bandwidth) Enum() *Transport_Bandwidthfunc (Transport_Bandwidth) EnumDescriptor
func (Transport_Bandwidth) EnumDescriptor() ([]byte, []int)Deprecated: Use Transport_Bandwidth.Descriptor instead.
func (Transport_Bandwidth) Number
func (x Transport_Bandwidth) Number() protoreflect.EnumNumberfunc (Transport_Bandwidth) String
func (x Transport_Bandwidth) String() stringfunc (Transport_Bandwidth) Type
func (Transport_Bandwidth) Type() protoreflect.EnumTypeTransport_StackType
type Transport_StackType int32IP version stack for the established connectivity.
Transport_STACK_TYPE_UNSPECIFIED, Transport_IPV4_ONLY, Transport_IPV4_IPV6
const (
// Unspecified stack type.
Transport_STACK_TYPE_UNSPECIFIED Transport_StackType = 0
// Only IPv4 is supported. (default)
Transport_IPV4_ONLY Transport_StackType = 1
// Both IPv4 and IPv6 are supported.
Transport_IPV4_IPV6 Transport_StackType = 2
)func (Transport_StackType) Descriptor
func (Transport_StackType) Descriptor() protoreflect.EnumDescriptorfunc (Transport_StackType) Enum
func (x Transport_StackType) Enum() *Transport_StackTypefunc (Transport_StackType) EnumDescriptor
func (Transport_StackType) EnumDescriptor() ([]byte, []int)Deprecated: Use Transport_StackType.Descriptor instead.
func (Transport_StackType) Number
func (x Transport_StackType) Number() protoreflect.EnumNumberfunc (Transport_StackType) String
func (x Transport_StackType) String() stringfunc (Transport_StackType) Type
func (Transport_StackType) Type() protoreflect.EnumTypeTransport_State
type Transport_State int32Represents the status of the underlying connectivity. One of the following states, depending on who has initiated the Transport request.
Transport_STATE_UNSPECIFIED, Transport_CREATING, Transport_PENDING_CONFIG, Transport_PENDING_KEY, Transport_ACTIVE, Transport_DELETING, Transport_DEPROVISIONED
const (
// Unspecified state.
Transport_STATE_UNSPECIFIED Transport_State = 0
// The resource exists locally and is being created / associated with the
// resource on the remote provider’s end of the underlying connectivity.
Transport_CREATING Transport_State = 1
// The Transport exists on both sides of the connection, and is waiting for
// configuration to finalize and be verified as operational.
Transport_PENDING_CONFIG Transport_State = 2
// The Transport was created in GCP. Depending on the profile’s key
// provisioning flow, this is either waiting for an activation key to be
// input (the key will be validated that it uses remote resources that match
// the Transport), or for the generated key to be input to the provider for
// finalizing. The configured bandwidth is not yet guaranteed.
Transport_PENDING_KEY Transport_State = 3
// The Transport is configured and the underlying connectivity is considered
// operational.
Transport_ACTIVE Transport_State = 4
// The Transport is being deleted from GCP. The underlying connectivity is
// no longer operational.
Transport_DELETING Transport_State = 5
// The Transport was deleted on the remote provider's end and is no longer
// operational. GCP has insufficient information to move the resource back
// to PENDING_KEY state.
Transport_DEPROVISIONED Transport_State = 6
)func (Transport_State) Descriptor
func (Transport_State) Descriptor() protoreflect.EnumDescriptorfunc (Transport_State) Enum
func (x Transport_State) Enum() *Transport_Statefunc (Transport_State) EnumDescriptor
func (Transport_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Transport_State.Descriptor instead.
func (Transport_State) Number
func (x Transport_State) Number() protoreflect.EnumNumberfunc (Transport_State) String
func (x Transport_State) String() stringfunc (Transport_State) Type
func (Transport_State) Type() protoreflect.EnumTypeUnimplementedDataTransferServiceServer
type UnimplementedDataTransferServiceServer struct {
}UnimplementedDataTransferServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedDataTransferServiceServer) CreateDestination
func (UnimplementedDataTransferServiceServer) CreateDestination(context.Context, *CreateDestinationRequest) (*longrunningpb.Operation, error)func (UnimplementedDataTransferServiceServer) CreateMulticloudDataTransferConfig
func (UnimplementedDataTransferServiceServer) CreateMulticloudDataTransferConfig(context.Context, *CreateMulticloudDataTransferConfigRequest) (*longrunningpb.Operation, error)func (UnimplementedDataTransferServiceServer) DeleteDestination
func (UnimplementedDataTransferServiceServer) DeleteDestination(context.Context, *DeleteDestinationRequest) (*longrunningpb.Operation, error)func (UnimplementedDataTransferServiceServer) DeleteMulticloudDataTransferConfig
func (UnimplementedDataTransferServiceServer) DeleteMulticloudDataTransferConfig(context.Context, *DeleteMulticloudDataTransferConfigRequest) (*longrunningpb.Operation, error)func (UnimplementedDataTransferServiceServer) GetDestination
func (UnimplementedDataTransferServiceServer) GetDestination(context.Context, *GetDestinationRequest) (*Destination, error)func (UnimplementedDataTransferServiceServer) GetMulticloudDataTransferConfig
func (UnimplementedDataTransferServiceServer) GetMulticloudDataTransferConfig(context.Context, *GetMulticloudDataTransferConfigRequest) (*MulticloudDataTransferConfig, error)func (UnimplementedDataTransferServiceServer) GetMulticloudDataTransferSupportedService
func (UnimplementedDataTransferServiceServer) GetMulticloudDataTransferSupportedService(context.Context, *GetMulticloudDataTransferSupportedServiceRequest) (*MulticloudDataTransferSupportedService, error)func (UnimplementedDataTransferServiceServer) ListDestinations
func (UnimplementedDataTransferServiceServer) ListDestinations(context.Context, *ListDestinationsRequest) (*ListDestinationsResponse, error)func (UnimplementedDataTransferServiceServer) ListMulticloudDataTransferConfigs
func (UnimplementedDataTransferServiceServer) ListMulticloudDataTransferConfigs(context.Context, *ListMulticloudDataTransferConfigsRequest) (*ListMulticloudDataTransferConfigsResponse, error)func (UnimplementedDataTransferServiceServer) ListMulticloudDataTransferSupportedServices
func (UnimplementedDataTransferServiceServer) ListMulticloudDataTransferSupportedServices(context.Context, *ListMulticloudDataTransferSupportedServicesRequest) (*ListMulticloudDataTransferSupportedServicesResponse, error)func (UnimplementedDataTransferServiceServer) UpdateDestination
func (UnimplementedDataTransferServiceServer) UpdateDestination(context.Context, *UpdateDestinationRequest) (*longrunningpb.Operation, error)func (UnimplementedDataTransferServiceServer) UpdateMulticloudDataTransferConfig
func (UnimplementedDataTransferServiceServer) UpdateMulticloudDataTransferConfig(context.Context, *UpdateMulticloudDataTransferConfigRequest) (*longrunningpb.Operation, error)UnimplementedHubServiceServer
type UnimplementedHubServiceServer struct {
}UnimplementedHubServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedHubServiceServer) AcceptHubSpoke
func (UnimplementedHubServiceServer) AcceptHubSpoke(context.Context, *AcceptHubSpokeRequest) (*longrunningpb.Operation, error)func (UnimplementedHubServiceServer) AcceptSpokeUpdate
func (UnimplementedHubServiceServer) AcceptSpokeUpdate(context.Context, *AcceptSpokeUpdateRequest) (*longrunningpb.Operation, error)func (UnimplementedHubServiceServer) CreateGatewayAdvertisedRoute
func (UnimplementedHubServiceServer) CreateGatewayAdvertisedRoute(context.Context, *CreateGatewayAdvertisedRouteRequest) (*longrunningpb.Operation, error)func (UnimplementedHubServiceServer) CreateHub
func (UnimplementedHubServiceServer) CreateHub(context.Context, *CreateHubRequest) (*longrunningpb.Operation, error)func (UnimplementedHubServiceServer) CreateSpoke
func (UnimplementedHubServiceServer) CreateSpoke(context.Context, *CreateSpokeRequest) (*longrunningpb.Operation, error)func (UnimplementedHubServiceServer) DeleteGatewayAdvertisedRoute
func (UnimplementedHubServiceServer) DeleteGatewayAdvertisedRoute(context.Context, *DeleteGatewayAdvertisedRouteRequest) (*longrunningpb.Operation, error)func (UnimplementedHubServiceServer) DeleteHub
func (UnimplementedHubServiceServer) DeleteHub(context.Context, *DeleteHubRequest) (*longrunningpb.Operation, error)func (UnimplementedHubServiceServer) DeleteSpoke
func (UnimplementedHubServiceServer) DeleteSpoke(context.Context, *DeleteSpokeRequest) (*longrunningpb.Operation, error)func (UnimplementedHubServiceServer) GetGatewayAdvertisedRoute
func (UnimplementedHubServiceServer) GetGatewayAdvertisedRoute(context.Context, *GetGatewayAdvertisedRouteRequest) (*GatewayAdvertisedRoute, error)func (UnimplementedHubServiceServer) GetGroup
func (UnimplementedHubServiceServer) GetGroup(context.Context, *GetGroupRequest) (*Group, error)func (UnimplementedHubServiceServer) GetHub
func (UnimplementedHubServiceServer) GetHub(context.Context, *GetHubRequest) (*Hub, error)func (UnimplementedHubServiceServer) GetRoute
func (UnimplementedHubServiceServer) GetRoute(context.Context, *GetRouteRequest) (*Route, error)func (UnimplementedHubServiceServer) GetRouteTable
func (UnimplementedHubServiceServer) GetRouteTable(context.Context, *GetRouteTableRequest) (*RouteTable, error)func (UnimplementedHubServiceServer) GetSpoke
func (UnimplementedHubServiceServer) GetSpoke(context.Context, *GetSpokeRequest) (*Spoke, error)func (UnimplementedHubServiceServer) ListGatewayAdvertisedRoutes
func (UnimplementedHubServiceServer) ListGatewayAdvertisedRoutes(context.Context, *ListGatewayAdvertisedRoutesRequest) (*ListGatewayAdvertisedRoutesResponse, error)func (UnimplementedHubServiceServer) ListGroups
func (UnimplementedHubServiceServer) ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error)func (UnimplementedHubServiceServer) ListHubSpokes
func (UnimplementedHubServiceServer) ListHubSpokes(context.Context, *ListHubSpokesRequest) (*ListHubSpokesResponse, error)func (UnimplementedHubServiceServer) ListHubs
func (UnimplementedHubServiceServer) ListHubs(context.Context, *ListHubsRequest) (*ListHubsResponse, error)func (UnimplementedHubServiceServer) ListRouteTables
func (UnimplementedHubServiceServer) ListRouteTables(context.Context, *ListRouteTablesRequest) (*ListRouteTablesResponse, error)func (UnimplementedHubServiceServer) ListRoutes
func (UnimplementedHubServiceServer) ListRoutes(context.Context, *ListRoutesRequest) (*ListRoutesResponse, error)func (UnimplementedHubServiceServer) ListSpokes
func (UnimplementedHubServiceServer) ListSpokes(context.Context, *ListSpokesRequest) (*ListSpokesResponse, error)func (UnimplementedHubServiceServer) QueryHubStatus
func (UnimplementedHubServiceServer) QueryHubStatus(context.Context, *QueryHubStatusRequest) (*QueryHubStatusResponse, error)func (UnimplementedHubServiceServer) RejectHubSpoke
func (UnimplementedHubServiceServer) RejectHubSpoke(context.Context, *RejectHubSpokeRequest) (*longrunningpb.Operation, error)func (UnimplementedHubServiceServer) RejectSpokeUpdate
func (UnimplementedHubServiceServer) RejectSpokeUpdate(context.Context, *RejectSpokeUpdateRequest) (*longrunningpb.Operation, error)func (UnimplementedHubServiceServer) UpdateGatewayAdvertisedRoute
func (UnimplementedHubServiceServer) UpdateGatewayAdvertisedRoute(context.Context, *UpdateGatewayAdvertisedRouteRequest) (*longrunningpb.Operation, error)func (UnimplementedHubServiceServer) UpdateGroup
func (UnimplementedHubServiceServer) UpdateGroup(context.Context, *UpdateGroupRequest) (*longrunningpb.Operation, error)func (UnimplementedHubServiceServer) UpdateHub
func (UnimplementedHubServiceServer) UpdateHub(context.Context, *UpdateHubRequest) (*longrunningpb.Operation, error)func (UnimplementedHubServiceServer) UpdateSpoke
func (UnimplementedHubServiceServer) UpdateSpoke(context.Context, *UpdateSpokeRequest) (*longrunningpb.Operation, error)UnimplementedPolicyBasedRoutingServiceServer
type UnimplementedPolicyBasedRoutingServiceServer struct {
}UnimplementedPolicyBasedRoutingServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedPolicyBasedRoutingServiceServer) CreatePolicyBasedRoute
func (UnimplementedPolicyBasedRoutingServiceServer) CreatePolicyBasedRoute(context.Context, *CreatePolicyBasedRouteRequest) (*longrunningpb.Operation, error)func (UnimplementedPolicyBasedRoutingServiceServer) DeletePolicyBasedRoute
func (UnimplementedPolicyBasedRoutingServiceServer) DeletePolicyBasedRoute(context.Context, *DeletePolicyBasedRouteRequest) (*longrunningpb.Operation, error)func (UnimplementedPolicyBasedRoutingServiceServer) GetPolicyBasedRoute
func (UnimplementedPolicyBasedRoutingServiceServer) GetPolicyBasedRoute(context.Context, *GetPolicyBasedRouteRequest) (*PolicyBasedRoute, error)func (UnimplementedPolicyBasedRoutingServiceServer) ListPolicyBasedRoutes
func (UnimplementedPolicyBasedRoutingServiceServer) ListPolicyBasedRoutes(context.Context, *ListPolicyBasedRoutesRequest) (*ListPolicyBasedRoutesResponse, error)UnimplementedTransportManagerServer
type UnimplementedTransportManagerServer struct {
}UnimplementedTransportManagerServer should be embedded to have forward compatible implementations.
func (UnimplementedTransportManagerServer) CreateTransport
func (UnimplementedTransportManagerServer) CreateTransport(context.Context, *CreateTransportRequest) (*longrunningpb.Operation, error)func (UnimplementedTransportManagerServer) DeleteTransport
func (UnimplementedTransportManagerServer) DeleteTransport(context.Context, *DeleteTransportRequest) (*longrunningpb.Operation, error)func (UnimplementedTransportManagerServer) GetRemoteTransportProfile
func (UnimplementedTransportManagerServer) GetRemoteTransportProfile(context.Context, *GetRemoteTransportProfileRequest) (*RemoteTransportProfile, error)func (UnimplementedTransportManagerServer) GetStatus
func (UnimplementedTransportManagerServer) GetStatus(context.Context, *GetStatusRequest) (*GetStatusResponse, error)func (UnimplementedTransportManagerServer) GetTransport
func (UnimplementedTransportManagerServer) GetTransport(context.Context, *GetTransportRequest) (*Transport, error)func (UnimplementedTransportManagerServer) ListRemoteTransportProfiles
func (UnimplementedTransportManagerServer) ListRemoteTransportProfiles(context.Context, *ListRemoteTransportProfilesRequest) (*ListRemoteTransportProfilesResponse, error)func (UnimplementedTransportManagerServer) ListTransports
func (UnimplementedTransportManagerServer) ListTransports(context.Context, *ListTransportsRequest) (*ListTransportsResponse, error)func (UnimplementedTransportManagerServer) ParseFromActivationKey
func (UnimplementedTransportManagerServer) ParseFromActivationKey(context.Context, *ParseFromActivationKeyRequest) (*ParseFromActivationKeyResponse, error)func (UnimplementedTransportManagerServer) UpdateTransport
func (UnimplementedTransportManagerServer) UpdateTransport(context.Context, *UpdateTransportRequest) (*longrunningpb.Operation, error)UnsafeDataTransferServiceServer
type UnsafeDataTransferServiceServer interface {
// contains filtered or unexported methods
}UnsafeDataTransferServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DataTransferServiceServer will result in compilation errors.
UnsafeHubServiceServer
type UnsafeHubServiceServer interface {
// contains filtered or unexported methods
}UnsafeHubServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HubServiceServer will result in compilation errors.
UnsafePolicyBasedRoutingServiceServer
type UnsafePolicyBasedRoutingServiceServer interface {
// contains filtered or unexported methods
}UnsafePolicyBasedRoutingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PolicyBasedRoutingServiceServer will result in compilation errors.
UnsafeTransportManagerServer
type UnsafeTransportManagerServer interface {
// contains filtered or unexported methods
}UnsafeTransportManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TransportManagerServer will result in compilation errors.
UpdateDestinationRequest
type UpdateDestinationRequest struct {
// Optional. `FieldMask is used to specify the fields to be overwritten in the
// `Destination` resource by the update.
// The fields specified in `update_mask` are relative to the resource, not
// the full request. A field is overwritten if it is in the mask. If you
// don't specify a mask, all fields are overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The `Destination` resource to update.
Destination *Destination `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server can ignore
// the request if it has already been completed. The server waits
// for at least 60 minutes since 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 if original operation with the same request ID
// was received, and if so, can ignore the second request.
//
// The request ID must be a valid UUID with the exception that zero UUID
// (00000000-0000-0000-0000-000000000000) isn't supported.
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message to update a Destination resource.
func (*UpdateDestinationRequest) Descriptor
func (*UpdateDestinationRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateDestinationRequest.ProtoReflect.Descriptor instead.
func (*UpdateDestinationRequest) GetDestination
func (x *UpdateDestinationRequest) GetDestination() *Destinationfunc (*UpdateDestinationRequest) GetRequestId
func (x *UpdateDestinationRequest) GetRequestId() stringfunc (*UpdateDestinationRequest) GetUpdateMask
func (x *UpdateDestinationRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateDestinationRequest) ProtoMessage
func (*UpdateDestinationRequest) ProtoMessage()func (*UpdateDestinationRequest) ProtoReflect
func (x *UpdateDestinationRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateDestinationRequest) Reset
func (x *UpdateDestinationRequest) Reset()func (*UpdateDestinationRequest) String
func (x *UpdateDestinationRequest) String() stringUpdateGatewayAdvertisedRouteRequest
type UpdateGatewayAdvertisedRouteRequest struct {
// Optional. In the case of an update to an existing group, 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 gateway advertised route to update.
//
// The gateway advertised route's `name` field is used to identify the gateway
// advertised route to update. Format:
// `projects/{project}/locations/{location}/spokes/{spoke}/gatewayAdvertisedRoutes/{gatewayAdvertisedRoute}`
GatewayAdvertisedRoute *GatewayAdvertisedRoute `protobuf:"bytes,2,opt,name=gateway_advertised_route,json=gatewayAdvertisedRoute,proto3" json:"gateway_advertised_route,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID so
// that if you must retry your request, the server knows to ignore the request
// if it has already been completed. The server guarantees that a request
// doesn't result in creation of duplicate commitments for at least 60
// minutes.
//
// 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
}The request for [HubService.UpdateGatewayAdvertisedRoute][google.cloud.networkconnectivity.v1beta.HubService.UpdateGatewayAdvertisedRoute].
func (*UpdateGatewayAdvertisedRouteRequest) Descriptor
func (*UpdateGatewayAdvertisedRouteRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateGatewayAdvertisedRouteRequest.ProtoReflect.Descriptor instead.
func (*UpdateGatewayAdvertisedRouteRequest) GetGatewayAdvertisedRoute
func (x *UpdateGatewayAdvertisedRouteRequest) GetGatewayAdvertisedRoute() *GatewayAdvertisedRoutefunc (*UpdateGatewayAdvertisedRouteRequest) GetRequestId
func (x *UpdateGatewayAdvertisedRouteRequest) GetRequestId() stringfunc (*UpdateGatewayAdvertisedRouteRequest) GetUpdateMask
func (x *UpdateGatewayAdvertisedRouteRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateGatewayAdvertisedRouteRequest) ProtoMessage
func (*UpdateGatewayAdvertisedRouteRequest) ProtoMessage()func (*UpdateGatewayAdvertisedRouteRequest) ProtoReflect
func (x *UpdateGatewayAdvertisedRouteRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateGatewayAdvertisedRouteRequest) Reset
func (x *UpdateGatewayAdvertisedRouteRequest) Reset()func (*UpdateGatewayAdvertisedRouteRequest) String
func (x *UpdateGatewayAdvertisedRouteRequest) String() stringUpdateGroupRequest
type UpdateGroupRequest struct {
// Optional. In the case of an update to an existing group, 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 group should be in after the update.
Group *Group `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID so
// that if you must retry your request, the server knows to ignore the request
// if it has already been completed. The server guarantees that a request
// doesn't result in creation of duplicate commitments for at least 60
// minutes.
//
// 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.UpdateGroup][google.cloud.networkconnectivity.v1beta.HubService.UpdateGroup] method.
func (*UpdateGroupRequest) Descriptor
func (*UpdateGroupRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead.
func (*UpdateGroupRequest) GetGroup
func (x *UpdateGroupRequest) GetGroup() *Groupfunc (*UpdateGroupRequest) GetRequestId
func (x *UpdateGroupRequest) GetRequestId() stringfunc (*UpdateGroupRequest) GetUpdateMask
func (x *UpdateGroupRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateGroupRequest) ProtoMessage
func (*UpdateGroupRequest) ProtoMessage()func (*UpdateGroupRequest) ProtoReflect
func (x *UpdateGroupRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateGroupRequest) Reset
func (x *UpdateGroupRequest) Reset()func (*UpdateGroupRequest) String
func (x *UpdateGroupRequest) String() stringUpdateHubRequest
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 request ID to identify requests. Specify a unique request ID so
// that if you must retry your request, the server knows to ignore the request
// if it has already been completed. The server guarantees that a request
// doesn't result in creation of duplicate commitments for at least 60
// minutes.
//
// 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.v1beta.HubService.UpdateHub] method.
func (*UpdateHubRequest) Descriptor
func (*UpdateHubRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateHubRequest.ProtoReflect.Descriptor instead.
func (*UpdateHubRequest) GetHub
func (x *UpdateHubRequest) GetHub() *Hubfunc (*UpdateHubRequest) GetRequestId
func (x *UpdateHubRequest) GetRequestId() stringfunc (*UpdateHubRequest) GetUpdateMask
func (x *UpdateHubRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateHubRequest) ProtoMessage
func (*UpdateHubRequest) ProtoMessage()func (*UpdateHubRequest) ProtoReflect
func (x *UpdateHubRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateHubRequest) Reset
func (x *UpdateHubRequest) Reset()func (*UpdateHubRequest) String
func (x *UpdateHubRequest) String() stringUpdateMulticloudDataTransferConfigRequest
type UpdateMulticloudDataTransferConfigRequest struct {
// Optional. `FieldMask` is used to specify the fields in the
// `MulticloudDataTransferConfig` resource to be overwritten by the update.
// The fields specified in `update_mask` are relative to the resource, not
// the full request. A field is overwritten if it is in the mask. If you
// don't specify a mask, all fields are overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The `MulticloudDataTransferConfig` resource to update.
MulticloudDataTransferConfig *MulticloudDataTransferConfig `protobuf:"bytes,2,opt,name=multicloud_data_transfer_config,json=multicloudDataTransferConfig,proto3" json:"multicloud_data_transfer_config,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server can ignore
// the request if it has already been completed. The server waits
// for at least 60 minutes since 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 if original operation with the same request ID
// was received, and if so, can ignore the second request. This prevents
// clients from accidentally creating duplicate `MulticloudDataTransferConfig`
// resources.
//
// The request ID must be a valid UUID with the exception that zero UUID
// (00000000-0000-0000-0000-000000000000) isn't supported.
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message to update a MulticloudDataTransferConfig resource.
func (*UpdateMulticloudDataTransferConfigRequest) Descriptor
func (*UpdateMulticloudDataTransferConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateMulticloudDataTransferConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateMulticloudDataTransferConfigRequest) GetMulticloudDataTransferConfig
func (x *UpdateMulticloudDataTransferConfigRequest) GetMulticloudDataTransferConfig() *MulticloudDataTransferConfigfunc (*UpdateMulticloudDataTransferConfigRequest) GetRequestId
func (x *UpdateMulticloudDataTransferConfigRequest) GetRequestId() stringfunc (*UpdateMulticloudDataTransferConfigRequest) GetUpdateMask
func (x *UpdateMulticloudDataTransferConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateMulticloudDataTransferConfigRequest) ProtoMessage
func (*UpdateMulticloudDataTransferConfigRequest) ProtoMessage()func (*UpdateMulticloudDataTransferConfigRequest) ProtoReflect
func (x *UpdateMulticloudDataTransferConfigRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateMulticloudDataTransferConfigRequest) Reset
func (x *UpdateMulticloudDataTransferConfigRequest) Reset()func (*UpdateMulticloudDataTransferConfigRequest) String
func (x *UpdateMulticloudDataTransferConfigRequest) String() stringUpdateSpokeRequest
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 request ID to identify requests. Specify a unique request ID so
// that if you must retry your request, the server knows to ignore the request
// if it has already been completed. The server guarantees that a request
// doesn't result in creation of duplicate commitments for at least 60
// minutes.
//
// 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.v1beta.HubService.UpdateSpoke] method.
func (*UpdateSpokeRequest) Descriptor
func (*UpdateSpokeRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateSpokeRequest.ProtoReflect.Descriptor instead.
func (*UpdateSpokeRequest) GetRequestId
func (x *UpdateSpokeRequest) GetRequestId() stringfunc (*UpdateSpokeRequest) GetSpoke
func (x *UpdateSpokeRequest) GetSpoke() *Spokefunc (*UpdateSpokeRequest) GetUpdateMask
func (x *UpdateSpokeRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateSpokeRequest) ProtoMessage
func (*UpdateSpokeRequest) ProtoMessage()func (*UpdateSpokeRequest) ProtoReflect
func (x *UpdateSpokeRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateSpokeRequest) Reset
func (x *UpdateSpokeRequest) Reset()func (*UpdateSpokeRequest) String
func (x *UpdateSpokeRequest) String() stringUpdateTransportRequest
type UpdateTransportRequest struct {
// Optional. Field mask is used to specify the fields to be overwritten in the
// Transport resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields present in the request will be
// overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated.
Transport *Transport `protobuf:"bytes,2,opt,name=transport,proto3" json:"transport,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since 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 if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally 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
}Message for updating a Transport.
func (*UpdateTransportRequest) Descriptor
func (*UpdateTransportRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateTransportRequest.ProtoReflect.Descriptor instead.
func (*UpdateTransportRequest) GetRequestId
func (x *UpdateTransportRequest) GetRequestId() stringfunc (*UpdateTransportRequest) GetTransport
func (x *UpdateTransportRequest) GetTransport() *Transportfunc (*UpdateTransportRequest) GetUpdateMask
func (x *UpdateTransportRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateTransportRequest) ProtoMessage
func (*UpdateTransportRequest) ProtoMessage()func (*UpdateTransportRequest) ProtoReflect
func (x *UpdateTransportRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateTransportRequest) Reset
func (x *UpdateTransportRequest) Reset()func (*UpdateTransportRequest) String
func (x *UpdateTransportRequest) String() string