Constants
CrossNetworkAutomationService_ListServiceConnectionMaps_FullMethodName, CrossNetworkAutomationService_GetServiceConnectionMap_FullMethodName, CrossNetworkAutomationService_CreateServiceConnectionMap_FullMethodName, CrossNetworkAutomationService_UpdateServiceConnectionMap_FullMethodName, CrossNetworkAutomationService_DeleteServiceConnectionMap_FullMethodName, CrossNetworkAutomationService_ListServiceConnectionPolicies_FullMethodName, CrossNetworkAutomationService_GetServiceConnectionPolicy_FullMethodName, CrossNetworkAutomationService_CreateServiceConnectionPolicy_FullMethodName, CrossNetworkAutomationService_UpdateServiceConnectionPolicy_FullMethodName, CrossNetworkAutomationService_DeleteServiceConnectionPolicy_FullMethodName, CrossNetworkAutomationService_ListServiceClasses_FullMethodName, CrossNetworkAutomationService_GetServiceClass_FullMethodName, CrossNetworkAutomationService_UpdateServiceClass_FullMethodName, CrossNetworkAutomationService_DeleteServiceClass_FullMethodName, CrossNetworkAutomationService_GetServiceConnectionToken_FullMethodName, CrossNetworkAutomationService_ListServiceConnectionTokens_FullMethodName, CrossNetworkAutomationService_CreateServiceConnectionToken_FullMethodName, CrossNetworkAutomationService_DeleteServiceConnectionToken_FullMethodName
const (
CrossNetworkAutomationService_ListServiceConnectionMaps_FullMethodName = "/google.cloud.networkconnectivity.v1.CrossNetworkAutomationService/ListServiceConnectionMaps"
CrossNetworkAutomationService_GetServiceConnectionMap_FullMethodName = "/google.cloud.networkconnectivity.v1.CrossNetworkAutomationService/GetServiceConnectionMap"
CrossNetworkAutomationService_CreateServiceConnectionMap_FullMethodName = "/google.cloud.networkconnectivity.v1.CrossNetworkAutomationService/CreateServiceConnectionMap"
CrossNetworkAutomationService_UpdateServiceConnectionMap_FullMethodName = "/google.cloud.networkconnectivity.v1.CrossNetworkAutomationService/UpdateServiceConnectionMap"
CrossNetworkAutomationService_DeleteServiceConnectionMap_FullMethodName = "/google.cloud.networkconnectivity.v1.CrossNetworkAutomationService/DeleteServiceConnectionMap"
CrossNetworkAutomationService_ListServiceConnectionPolicies_FullMethodName = "/google.cloud.networkconnectivity.v1.CrossNetworkAutomationService/ListServiceConnectionPolicies"
CrossNetworkAutomationService_GetServiceConnectionPolicy_FullMethodName = "/google.cloud.networkconnectivity.v1.CrossNetworkAutomationService/GetServiceConnectionPolicy"
CrossNetworkAutomationService_CreateServiceConnectionPolicy_FullMethodName = "/google.cloud.networkconnectivity.v1.CrossNetworkAutomationService/CreateServiceConnectionPolicy"
CrossNetworkAutomationService_UpdateServiceConnectionPolicy_FullMethodName = "/google.cloud.networkconnectivity.v1.CrossNetworkAutomationService/UpdateServiceConnectionPolicy"
CrossNetworkAutomationService_DeleteServiceConnectionPolicy_FullMethodName = "/google.cloud.networkconnectivity.v1.CrossNetworkAutomationService/DeleteServiceConnectionPolicy"
CrossNetworkAutomationService_ListServiceClasses_FullMethodName = "/google.cloud.networkconnectivity.v1.CrossNetworkAutomationService/ListServiceClasses"
CrossNetworkAutomationService_GetServiceClass_FullMethodName = "/google.cloud.networkconnectivity.v1.CrossNetworkAutomationService/GetServiceClass"
CrossNetworkAutomationService_UpdateServiceClass_FullMethodName = "/google.cloud.networkconnectivity.v1.CrossNetworkAutomationService/UpdateServiceClass"
CrossNetworkAutomationService_DeleteServiceClass_FullMethodName = "/google.cloud.networkconnectivity.v1.CrossNetworkAutomationService/DeleteServiceClass"
CrossNetworkAutomationService_GetServiceConnectionToken_FullMethodName = "/google.cloud.networkconnectivity.v1.CrossNetworkAutomationService/GetServiceConnectionToken"
CrossNetworkAutomationService_ListServiceConnectionTokens_FullMethodName = "/google.cloud.networkconnectivity.v1.CrossNetworkAutomationService/ListServiceConnectionTokens"
CrossNetworkAutomationService_CreateServiceConnectionToken_FullMethodName = "/google.cloud.networkconnectivity.v1.CrossNetworkAutomationService/CreateServiceConnectionToken"
CrossNetworkAutomationService_DeleteServiceConnectionToken_FullMethodName = "/google.cloud.networkconnectivity.v1.CrossNetworkAutomationService/DeleteServiceConnectionToken"
)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.v1.DataTransferService/ListMulticloudDataTransferConfigs"
DataTransferService_GetMulticloudDataTransferConfig_FullMethodName = "/google.cloud.networkconnectivity.v1.DataTransferService/GetMulticloudDataTransferConfig"
DataTransferService_CreateMulticloudDataTransferConfig_FullMethodName = "/google.cloud.networkconnectivity.v1.DataTransferService/CreateMulticloudDataTransferConfig"
DataTransferService_UpdateMulticloudDataTransferConfig_FullMethodName = "/google.cloud.networkconnectivity.v1.DataTransferService/UpdateMulticloudDataTransferConfig"
DataTransferService_DeleteMulticloudDataTransferConfig_FullMethodName = "/google.cloud.networkconnectivity.v1.DataTransferService/DeleteMulticloudDataTransferConfig"
DataTransferService_ListDestinations_FullMethodName = "/google.cloud.networkconnectivity.v1.DataTransferService/ListDestinations"
DataTransferService_GetDestination_FullMethodName = "/google.cloud.networkconnectivity.v1.DataTransferService/GetDestination"
DataTransferService_CreateDestination_FullMethodName = "/google.cloud.networkconnectivity.v1.DataTransferService/CreateDestination"
DataTransferService_UpdateDestination_FullMethodName = "/google.cloud.networkconnectivity.v1.DataTransferService/UpdateDestination"
DataTransferService_DeleteDestination_FullMethodName = "/google.cloud.networkconnectivity.v1.DataTransferService/DeleteDestination"
DataTransferService_GetMulticloudDataTransferSupportedService_FullMethodName = "/google.cloud.networkconnectivity.v1.DataTransferService/GetMulticloudDataTransferSupportedService"
DataTransferService_ListMulticloudDataTransferSupportedServices_FullMethodName = "/google.cloud.networkconnectivity.v1.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
const (
HubService_ListHubs_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/ListHubs"
HubService_GetHub_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/GetHub"
HubService_CreateHub_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/CreateHub"
HubService_UpdateHub_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/UpdateHub"
HubService_DeleteHub_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/DeleteHub"
HubService_ListHubSpokes_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/ListHubSpokes"
HubService_QueryHubStatus_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/QueryHubStatus"
HubService_ListSpokes_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/ListSpokes"
HubService_GetSpoke_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/GetSpoke"
HubService_CreateSpoke_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/CreateSpoke"
HubService_UpdateSpoke_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/UpdateSpoke"
HubService_RejectHubSpoke_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/RejectHubSpoke"
HubService_AcceptHubSpoke_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/AcceptHubSpoke"
HubService_AcceptSpokeUpdate_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/AcceptSpokeUpdate"
HubService_RejectSpokeUpdate_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/RejectSpokeUpdate"
HubService_DeleteSpoke_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/DeleteSpoke"
HubService_GetRouteTable_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/GetRouteTable"
HubService_GetRoute_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/GetRoute"
HubService_ListRoutes_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/ListRoutes"
HubService_ListRouteTables_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/ListRouteTables"
HubService_GetGroup_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/GetGroup"
HubService_ListGroups_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/ListGroups"
HubService_UpdateGroup_FullMethodName = "/google.cloud.networkconnectivity.v1.HubService/UpdateGroup"
)InternalRangeService_ListInternalRanges_FullMethodName, InternalRangeService_GetInternalRange_FullMethodName, InternalRangeService_CreateInternalRange_FullMethodName, InternalRangeService_UpdateInternalRange_FullMethodName, InternalRangeService_DeleteInternalRange_FullMethodName
const (
InternalRangeService_ListInternalRanges_FullMethodName = "/google.cloud.networkconnectivity.v1.InternalRangeService/ListInternalRanges"
InternalRangeService_GetInternalRange_FullMethodName = "/google.cloud.networkconnectivity.v1.InternalRangeService/GetInternalRange"
InternalRangeService_CreateInternalRange_FullMethodName = "/google.cloud.networkconnectivity.v1.InternalRangeService/CreateInternalRange"
InternalRangeService_UpdateInternalRange_FullMethodName = "/google.cloud.networkconnectivity.v1.InternalRangeService/UpdateInternalRange"
InternalRangeService_DeleteInternalRange_FullMethodName = "/google.cloud.networkconnectivity.v1.InternalRangeService/DeleteInternalRange"
)PolicyBasedRoutingService_ListPolicyBasedRoutes_FullMethodName, PolicyBasedRoutingService_GetPolicyBasedRoute_FullMethodName, PolicyBasedRoutingService_CreatePolicyBasedRoute_FullMethodName, PolicyBasedRoutingService_DeletePolicyBasedRoute_FullMethodName
const (
PolicyBasedRoutingService_ListPolicyBasedRoutes_FullMethodName = "/google.cloud.networkconnectivity.v1.PolicyBasedRoutingService/ListPolicyBasedRoutes"
PolicyBasedRoutingService_GetPolicyBasedRoute_FullMethodName = "/google.cloud.networkconnectivity.v1.PolicyBasedRoutingService/GetPolicyBasedRoute"
PolicyBasedRoutingService_CreatePolicyBasedRoute_FullMethodName = "/google.cloud.networkconnectivity.v1.PolicyBasedRoutingService/CreatePolicyBasedRoute"
PolicyBasedRoutingService_DeletePolicyBasedRoute_FullMethodName = "/google.cloud.networkconnectivity.v1.PolicyBasedRoutingService/DeletePolicyBasedRoute"
)Variables
Infrastructure_name, Infrastructure_value
var (
Infrastructure_name = map[int32]string{
0: "INFRASTRUCTURE_UNSPECIFIED",
1: "PSC",
}
Infrastructure_value = map[string]int32{
"INFRASTRUCTURE_UNSPECIFIED": 0,
"PSC": 1,
}
)Enum value maps for Infrastructure.
ConnectionErrorType_name, ConnectionErrorType_value
var (
ConnectionErrorType_name = map[int32]string{
0: "CONNECTION_ERROR_TYPE_UNSPECIFIED",
1: "ERROR_INTERNAL",
2: "ERROR_CONSUMER_SIDE",
3: "ERROR_PRODUCER_SIDE",
}
ConnectionErrorType_value = map[string]int32{
"CONNECTION_ERROR_TYPE_UNSPECIFIED": 0,
"ERROR_INTERNAL": 1,
"ERROR_CONSUMER_SIDE": 2,
"ERROR_PRODUCER_SIDE": 3,
}
)Enum value maps for ConnectionErrorType.
IPVersion_name, IPVersion_value
var (
IPVersion_name = map[int32]string{
0: "IP_VERSION_UNSPECIFIED",
1: "IPV4",
2: "IPV6",
}
IPVersion_value = map[string]int32{
"IP_VERSION_UNSPECIFIED": 0,
"IPV4": 1,
"IPV6": 2,
}
)Enum value maps for IPVersion.
ServiceConnectionMap_ConsumerPscConfig_State_name, ServiceConnectionMap_ConsumerPscConfig_State_value
var (
ServiceConnectionMap_ConsumerPscConfig_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "VALID",
2: "CONNECTION_POLICY_MISSING",
3: "POLICY_LIMIT_REACHED",
4: "CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED",
}
ServiceConnectionMap_ConsumerPscConfig_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"VALID": 1,
"CONNECTION_POLICY_MISSING": 2,
"POLICY_LIMIT_REACHED": 3,
"CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED": 4,
}
)Enum value maps for ServiceConnectionMap_ConsumerPscConfig_State.
ServiceConnectionMap_ConsumerPscConnection_State_name, ServiceConnectionMap_ConsumerPscConnection_State_value
var (
ServiceConnectionMap_ConsumerPscConnection_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "ACTIVE",
2: "FAILED",
3: "CREATING",
4: "DELETING",
5: "CREATE_REPAIRING",
6: "DELETE_REPAIRING",
}
ServiceConnectionMap_ConsumerPscConnection_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"ACTIVE": 1,
"FAILED": 2,
"CREATING": 3,
"DELETING": 4,
"CREATE_REPAIRING": 5,
"DELETE_REPAIRING": 6,
}
)Enum value maps for ServiceConnectionMap_ConsumerPscConnection_State.
ServiceConnectionPolicy_State_name, ServiceConnectionPolicy_State_value
var (
ServiceConnectionPolicy_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "ACTIVE",
2: "FAILED",
3: "CREATING",
4: "DELETING",
5: "CREATE_REPAIRING",
6: "DELETE_REPAIRING",
}
ServiceConnectionPolicy_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"ACTIVE": 1,
"FAILED": 2,
"CREATING": 3,
"DELETING": 4,
"CREATE_REPAIRING": 5,
"DELETE_REPAIRING": 6,
}
)Enum value maps for ServiceConnectionPolicy_State.
ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation_name, ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation_value
var (
ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation_name = map[int32]string{
0: "PRODUCER_INSTANCE_LOCATION_UNSPECIFIED",
1: "CUSTOM_RESOURCE_HIERARCHY_LEVELS",
}
ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation_value = map[string]int32{
"PRODUCER_INSTANCE_LOCATION_UNSPECIFIED": 0,
"CUSTOM_RESOURCE_HIERARCHY_LEVELS": 1,
}
)Enum value maps for ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation.
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.
LocationFeature_name, LocationFeature_value
var (
LocationFeature_name = map[int32]string{
0: "LOCATION_FEATURE_UNSPECIFIED",
1: "SITE_TO_CLOUD_SPOKES",
2: "SITE_TO_SITE_SPOKES",
}
LocationFeature_value = map[string]int32{
"LOCATION_FEATURE_UNSPECIFIED": 0,
"SITE_TO_CLOUD_SPOKES": 1,
"SITE_TO_SITE_SPOKES": 2,
}
)Enum value maps for LocationFeature.
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",
}
RouteType_value = map[string]int32{
"ROUTE_TYPE_UNSPECIFIED": 0,
"VPC_PRIMARY_SUBNET": 1,
"VPC_SECONDARY_SUBNET": 2,
"DYNAMIC_ROUTE": 3,
}
)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",
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,
"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",
}
PresetTopology_value = map[string]int32{
"PRESET_TOPOLOGY_UNSPECIFIED": 0,
"MESH": 2,
"STAR": 3,
}
)Enum value maps for PresetTopology.
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.
InternalRange_Usage_name, InternalRange_Usage_value
var (
InternalRange_Usage_name = map[int32]string{
0: "USAGE_UNSPECIFIED",
1: "FOR_VPC",
2: "EXTERNAL_TO_VPC",
3: "FOR_MIGRATION",
}
InternalRange_Usage_value = map[string]int32{
"USAGE_UNSPECIFIED": 0,
"FOR_VPC": 1,
"EXTERNAL_TO_VPC": 2,
"FOR_MIGRATION": 3,
}
)Enum value maps for InternalRange_Usage.
InternalRange_Peering_name, InternalRange_Peering_value
var (
InternalRange_Peering_name = map[int32]string{
0: "PEERING_UNSPECIFIED",
1: "FOR_SELF",
2: "FOR_PEER",
3: "NOT_SHARED",
}
InternalRange_Peering_value = map[string]int32{
"PEERING_UNSPECIFIED": 0,
"FOR_SELF": 1,
"FOR_PEER": 2,
"NOT_SHARED": 3,
}
)Enum value maps for InternalRange_Peering.
InternalRange_Overlap_name, InternalRange_Overlap_value
var (
InternalRange_Overlap_name = map[int32]string{
0: "OVERLAP_UNSPECIFIED",
1: "OVERLAP_ROUTE_RANGE",
2: "OVERLAP_EXISTING_SUBNET_RANGE",
}
InternalRange_Overlap_value = map[string]int32{
"OVERLAP_UNSPECIFIED": 0,
"OVERLAP_ROUTE_RANGE": 1,
"OVERLAP_EXISTING_SUBNET_RANGE": 2,
}
)Enum value maps for InternalRange_Overlap.
InternalRange_AllocationStrategy_name, InternalRange_AllocationStrategy_value
var (
InternalRange_AllocationStrategy_name = map[int32]string{
0: "ALLOCATION_STRATEGY_UNSPECIFIED",
1: "RANDOM",
2: "FIRST_AVAILABLE",
3: "RANDOM_FIRST_N_AVAILABLE",
4: "FIRST_SMALLEST_FITTING",
}
InternalRange_AllocationStrategy_value = map[string]int32{
"ALLOCATION_STRATEGY_UNSPECIFIED": 0,
"RANDOM": 1,
"FIRST_AVAILABLE": 2,
"RANDOM_FIRST_N_AVAILABLE": 3,
"FIRST_SMALLEST_FITTING": 4,
}
)Enum value maps for InternalRange_AllocationStrategy.
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",
}
PolicyBasedRoute_Filter_ProtocolVersion_value = map[string]int32{
"PROTOCOL_VERSION_UNSPECIFIED": 0,
"IPV4": 1,
}
)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.
CrossNetworkAutomationService_ServiceDesc
var CrossNetworkAutomationService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.networkconnectivity.v1.CrossNetworkAutomationService",
HandlerType: (*CrossNetworkAutomationServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListServiceConnectionMaps",
Handler: _CrossNetworkAutomationService_ListServiceConnectionMaps_Handler,
},
{
MethodName: "GetServiceConnectionMap",
Handler: _CrossNetworkAutomationService_GetServiceConnectionMap_Handler,
},
{
MethodName: "CreateServiceConnectionMap",
Handler: _CrossNetworkAutomationService_CreateServiceConnectionMap_Handler,
},
{
MethodName: "UpdateServiceConnectionMap",
Handler: _CrossNetworkAutomationService_UpdateServiceConnectionMap_Handler,
},
{
MethodName: "DeleteServiceConnectionMap",
Handler: _CrossNetworkAutomationService_DeleteServiceConnectionMap_Handler,
},
{
MethodName: "ListServiceConnectionPolicies",
Handler: _CrossNetworkAutomationService_ListServiceConnectionPolicies_Handler,
},
{
MethodName: "GetServiceConnectionPolicy",
Handler: _CrossNetworkAutomationService_GetServiceConnectionPolicy_Handler,
},
{
MethodName: "CreateServiceConnectionPolicy",
Handler: _CrossNetworkAutomationService_CreateServiceConnectionPolicy_Handler,
},
{
MethodName: "UpdateServiceConnectionPolicy",
Handler: _CrossNetworkAutomationService_UpdateServiceConnectionPolicy_Handler,
},
{
MethodName: "DeleteServiceConnectionPolicy",
Handler: _CrossNetworkAutomationService_DeleteServiceConnectionPolicy_Handler,
},
{
MethodName: "ListServiceClasses",
Handler: _CrossNetworkAutomationService_ListServiceClasses_Handler,
},
{
MethodName: "GetServiceClass",
Handler: _CrossNetworkAutomationService_GetServiceClass_Handler,
},
{
MethodName: "UpdateServiceClass",
Handler: _CrossNetworkAutomationService_UpdateServiceClass_Handler,
},
{
MethodName: "DeleteServiceClass",
Handler: _CrossNetworkAutomationService_DeleteServiceClass_Handler,
},
{
MethodName: "GetServiceConnectionToken",
Handler: _CrossNetworkAutomationService_GetServiceConnectionToken_Handler,
},
{
MethodName: "ListServiceConnectionTokens",
Handler: _CrossNetworkAutomationService_ListServiceConnectionTokens_Handler,
},
{
MethodName: "CreateServiceConnectionToken",
Handler: _CrossNetworkAutomationService_CreateServiceConnectionToken_Handler,
},
{
MethodName: "DeleteServiceConnectionToken",
Handler: _CrossNetworkAutomationService_DeleteServiceConnectionToken_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/networkconnectivity/v1/cross_network_automation.proto",
}CrossNetworkAutomationService_ServiceDesc is the grpc.ServiceDesc for CrossNetworkAutomationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
DataTransferService_ServiceDesc
var DataTransferService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.networkconnectivity.v1.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/v1/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_v1_common_proto
var File_google_cloud_networkconnectivity_v1_common_proto protoreflect.FileDescriptorFile_google_cloud_networkconnectivity_v1_cross_network_automation_proto
var File_google_cloud_networkconnectivity_v1_cross_network_automation_proto protoreflect.FileDescriptorFile_google_cloud_networkconnectivity_v1_data_transfer_proto
var File_google_cloud_networkconnectivity_v1_data_transfer_proto protoreflect.FileDescriptorFile_google_cloud_networkconnectivity_v1_hub_proto
var File_google_cloud_networkconnectivity_v1_hub_proto protoreflect.FileDescriptorFile_google_cloud_networkconnectivity_v1_internal_range_proto
var File_google_cloud_networkconnectivity_v1_internal_range_proto protoreflect.FileDescriptorFile_google_cloud_networkconnectivity_v1_policy_based_routing_proto
var File_google_cloud_networkconnectivity_v1_policy_based_routing_proto protoreflect.FileDescriptorHubService_ServiceDesc
var HubService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.networkconnectivity.v1.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,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/networkconnectivity/v1/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)
InternalRangeService_ServiceDesc
var InternalRangeService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.networkconnectivity.v1.InternalRangeService",
HandlerType: (*InternalRangeServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListInternalRanges",
Handler: _InternalRangeService_ListInternalRanges_Handler,
},
{
MethodName: "GetInternalRange",
Handler: _InternalRangeService_GetInternalRange_Handler,
},
{
MethodName: "CreateInternalRange",
Handler: _InternalRangeService_CreateInternalRange_Handler,
},
{
MethodName: "UpdateInternalRange",
Handler: _InternalRangeService_UpdateInternalRange_Handler,
},
{
MethodName: "DeleteInternalRange",
Handler: _InternalRangeService_DeleteInternalRange_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/networkconnectivity/v1/internal_range.proto",
}InternalRangeService_ServiceDesc is the grpc.ServiceDesc for InternalRangeService 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.v1.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/v1/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)
Functions
func RegisterCrossNetworkAutomationServiceServer
func RegisterCrossNetworkAutomationServiceServer(s grpc.ServiceRegistrar, srv CrossNetworkAutomationServiceServer)func RegisterDataTransferServiceServer
func RegisterDataTransferServiceServer(s grpc.ServiceRegistrar, srv DataTransferServiceServer)func RegisterHubServiceServer
func RegisterHubServiceServer(s grpc.ServiceRegistrar, srv HubServiceServer)func RegisterInternalRangeServiceServer
func RegisterInternalRangeServiceServer(s grpc.ServiceRegistrar, srv InternalRangeServiceServer)func RegisterPolicyBasedRoutingServiceServer
func RegisterPolicyBasedRoutingServiceServer(s grpc.ServiceRegistrar, srv PolicyBasedRoutingServiceServer)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.v1.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.v1.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.v1.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.v1.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() stringConnectionErrorType
type ConnectionErrorType int32The error type indicates whether a connection error is consumer facing, producer facing or system internal.
ConnectionErrorType_CONNECTION_ERROR_TYPE_UNSPECIFIED, ConnectionErrorType_ERROR_INTERNAL, ConnectionErrorType_ERROR_CONSUMER_SIDE, ConnectionErrorType_ERROR_PRODUCER_SIDE
const (
// An invalid error type as the default case.
ConnectionErrorType_CONNECTION_ERROR_TYPE_UNSPECIFIED ConnectionErrorType = 0
// The error is due to Service Automation system internal.
ConnectionErrorType_ERROR_INTERNAL ConnectionErrorType = 1
// The error is due to the setup on consumer side.
ConnectionErrorType_ERROR_CONSUMER_SIDE ConnectionErrorType = 2
// The error is due to the setup on producer side.
ConnectionErrorType_ERROR_PRODUCER_SIDE ConnectionErrorType = 3
)func (ConnectionErrorType) Descriptor
func (ConnectionErrorType) Descriptor() protoreflect.EnumDescriptorfunc (ConnectionErrorType) Enum
func (x ConnectionErrorType) Enum() *ConnectionErrorTypefunc (ConnectionErrorType) EnumDescriptor
func (ConnectionErrorType) EnumDescriptor() ([]byte, []int)Deprecated: Use ConnectionErrorType.Descriptor instead.
func (ConnectionErrorType) Number
func (x ConnectionErrorType) Number() protoreflect.EnumNumberfunc (ConnectionErrorType) String
func (x ConnectionErrorType) String() stringfunc (ConnectionErrorType) Type
func (ConnectionErrorType) Type() protoreflect.EnumTypeCreateDestinationRequest
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() 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.v1.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() stringCreateInternalRangeRequest
type CreateInternalRangeRequest struct {
// Required. The parent resource's name of the internal range.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Resource ID
// (i.e. 'foo' in '[...]/projects/p/locations/l/internalRanges/foo')
// See https://google.aip.dev/122#resource-id-segments
// Unique per location.
InternalRangeId string `protobuf:"bytes,2,opt,name=internal_range_id,json=internalRangeId,proto3" json:"internal_range_id,omitempty"`
// Required. Initial values for a new internal range
InternalRange *InternalRange `protobuf:"bytes,3,opt,name=internal_range,json=internalRange,proto3" json:"internal_range,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
}Request for InternalRangeService.CreateInternalRange
func (*CreateInternalRangeRequest) Descriptor
func (*CreateInternalRangeRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateInternalRangeRequest.ProtoReflect.Descriptor instead.
func (*CreateInternalRangeRequest) GetInternalRange
func (x *CreateInternalRangeRequest) GetInternalRange() *InternalRangefunc (*CreateInternalRangeRequest) GetInternalRangeId
func (x *CreateInternalRangeRequest) GetInternalRangeId() stringfunc (*CreateInternalRangeRequest) GetParent
func (x *CreateInternalRangeRequest) GetParent() stringfunc (*CreateInternalRangeRequest) GetRequestId
func (x *CreateInternalRangeRequest) GetRequestId() stringfunc (*CreateInternalRangeRequest) ProtoMessage
func (*CreateInternalRangeRequest) ProtoMessage()func (*CreateInternalRangeRequest) ProtoReflect
func (x *CreateInternalRangeRequest) ProtoReflect() protoreflect.Messagefunc (*CreateInternalRangeRequest) Reset
func (x *CreateInternalRangeRequest) Reset()func (*CreateInternalRangeRequest) String
func (x *CreateInternalRangeRequest) 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.v1.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() stringCreateServiceConnectionMapRequest
type CreateServiceConnectionMapRequest struct {
// Required. The parent resource's name of the ServiceConnectionMap. ex.
// projects/123/locations/us-east1
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Resource ID
// (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionMaps/foo')
// See https://google.aip.dev/122#resource-id-segments
// Unique per location.
// If one is not provided, one will be generated.
ServiceConnectionMapId string `protobuf:"bytes,2,opt,name=service_connection_map_id,json=serviceConnectionMapId,proto3" json:"service_connection_map_id,omitempty"`
// Required. Initial values for a new ServiceConnectionMaps
ServiceConnectionMap *ServiceConnectionMap `protobuf:"bytes,3,opt,name=service_connection_map,json=serviceConnectionMap,proto3" json:"service_connection_map,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
}Request for CreateServiceConnectionMap.
func (*CreateServiceConnectionMapRequest) Descriptor
func (*CreateServiceConnectionMapRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateServiceConnectionMapRequest.ProtoReflect.Descriptor instead.
func (*CreateServiceConnectionMapRequest) GetParent
func (x *CreateServiceConnectionMapRequest) GetParent() stringfunc (*CreateServiceConnectionMapRequest) GetRequestId
func (x *CreateServiceConnectionMapRequest) GetRequestId() stringfunc (*CreateServiceConnectionMapRequest) GetServiceConnectionMap
func (x *CreateServiceConnectionMapRequest) GetServiceConnectionMap() *ServiceConnectionMapfunc (*CreateServiceConnectionMapRequest) GetServiceConnectionMapId
func (x *CreateServiceConnectionMapRequest) GetServiceConnectionMapId() stringfunc (*CreateServiceConnectionMapRequest) ProtoMessage
func (*CreateServiceConnectionMapRequest) ProtoMessage()func (*CreateServiceConnectionMapRequest) ProtoReflect
func (x *CreateServiceConnectionMapRequest) ProtoReflect() protoreflect.Messagefunc (*CreateServiceConnectionMapRequest) Reset
func (x *CreateServiceConnectionMapRequest) Reset()func (*CreateServiceConnectionMapRequest) String
func (x *CreateServiceConnectionMapRequest) String() stringCreateServiceConnectionPolicyRequest
type CreateServiceConnectionPolicyRequest struct {
// Required. The parent resource's name of the ServiceConnectionPolicy. ex.
// projects/123/locations/us-east1
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Resource ID
// (i.e. 'foo' in
// '[...]/projects/p/locations/l/serviceConnectionPolicies/foo') See
// https://google.aip.dev/122#resource-id-segments Unique per location.
ServiceConnectionPolicyId string `protobuf:"bytes,2,opt,name=service_connection_policy_id,json=serviceConnectionPolicyId,proto3" json:"service_connection_policy_id,omitempty"`
// Required. Initial values for a new ServiceConnectionPolicies
ServiceConnectionPolicy *ServiceConnectionPolicy `protobuf:"bytes,3,opt,name=service_connection_policy,json=serviceConnectionPolicy,proto3" json:"service_connection_policy,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
}Request for CreateServiceConnectionPolicy.
func (*CreateServiceConnectionPolicyRequest) Descriptor
func (*CreateServiceConnectionPolicyRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateServiceConnectionPolicyRequest.ProtoReflect.Descriptor instead.
func (*CreateServiceConnectionPolicyRequest) GetParent
func (x *CreateServiceConnectionPolicyRequest) GetParent() stringfunc (*CreateServiceConnectionPolicyRequest) GetRequestId
func (x *CreateServiceConnectionPolicyRequest) GetRequestId() stringfunc (*CreateServiceConnectionPolicyRequest) GetServiceConnectionPolicy
func (x *CreateServiceConnectionPolicyRequest) GetServiceConnectionPolicy() *ServiceConnectionPolicyfunc (*CreateServiceConnectionPolicyRequest) GetServiceConnectionPolicyId
func (x *CreateServiceConnectionPolicyRequest) GetServiceConnectionPolicyId() stringfunc (*CreateServiceConnectionPolicyRequest) ProtoMessage
func (*CreateServiceConnectionPolicyRequest) ProtoMessage()func (*CreateServiceConnectionPolicyRequest) ProtoReflect
func (x *CreateServiceConnectionPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*CreateServiceConnectionPolicyRequest) Reset
func (x *CreateServiceConnectionPolicyRequest) Reset()func (*CreateServiceConnectionPolicyRequest) String
func (x *CreateServiceConnectionPolicyRequest) String() stringCreateServiceConnectionTokenRequest
type CreateServiceConnectionTokenRequest struct {
// Required. The parent resource's name of the ServiceConnectionToken. ex.
// projects/123/locations/us-east1
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Resource ID
// (i.e. 'foo' in '[...]/projects/p/locations/l/ServiceConnectionTokens/foo')
// See https://google.aip.dev/122#resource-id-segments
// Unique per location.
// If one is not provided, one will be generated.
ServiceConnectionTokenId string `protobuf:"bytes,2,opt,name=service_connection_token_id,json=serviceConnectionTokenId,proto3" json:"service_connection_token_id,omitempty"`
// Required. Initial values for a new ServiceConnectionTokens
ServiceConnectionToken *ServiceConnectionToken `protobuf:"bytes,3,opt,name=service_connection_token,json=serviceConnectionToken,proto3" json:"service_connection_token,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
}Request for CreateServiceConnectionToken.
func (*CreateServiceConnectionTokenRequest) Descriptor
func (*CreateServiceConnectionTokenRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateServiceConnectionTokenRequest.ProtoReflect.Descriptor instead.
func (*CreateServiceConnectionTokenRequest) GetParent
func (x *CreateServiceConnectionTokenRequest) GetParent() stringfunc (*CreateServiceConnectionTokenRequest) GetRequestId
func (x *CreateServiceConnectionTokenRequest) GetRequestId() stringfunc (*CreateServiceConnectionTokenRequest) GetServiceConnectionToken
func (x *CreateServiceConnectionTokenRequest) GetServiceConnectionToken() *ServiceConnectionTokenfunc (*CreateServiceConnectionTokenRequest) GetServiceConnectionTokenId
func (x *CreateServiceConnectionTokenRequest) GetServiceConnectionTokenId() stringfunc (*CreateServiceConnectionTokenRequest) ProtoMessage
func (*CreateServiceConnectionTokenRequest) ProtoMessage()func (*CreateServiceConnectionTokenRequest) ProtoReflect
func (x *CreateServiceConnectionTokenRequest) ProtoReflect() protoreflect.Messagefunc (*CreateServiceConnectionTokenRequest) Reset
func (x *CreateServiceConnectionTokenRequest) Reset()func (*CreateServiceConnectionTokenRequest) String
func (x *CreateServiceConnectionTokenRequest) 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.v1.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() stringCrossNetworkAutomationServiceClient
type CrossNetworkAutomationServiceClient interface {
// Lists ServiceConnectionMaps in a given project and location.
ListServiceConnectionMaps(ctx context.Context, in *ListServiceConnectionMapsRequest, opts ...grpc.CallOption) (*ListServiceConnectionMapsResponse, error)
// Gets details of a single ServiceConnectionMap.
GetServiceConnectionMap(ctx context.Context, in *GetServiceConnectionMapRequest, opts ...grpc.CallOption) (*ServiceConnectionMap, error)
// Creates a new ServiceConnectionMap in a given project and location.
CreateServiceConnectionMap(ctx context.Context, in *CreateServiceConnectionMapRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single ServiceConnectionMap.
UpdateServiceConnectionMap(ctx context.Context, in *UpdateServiceConnectionMapRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single ServiceConnectionMap.
DeleteServiceConnectionMap(ctx context.Context, in *DeleteServiceConnectionMapRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists ServiceConnectionPolicies in a given project and location.
ListServiceConnectionPolicies(ctx context.Context, in *ListServiceConnectionPoliciesRequest, opts ...grpc.CallOption) (*ListServiceConnectionPoliciesResponse, error)
// Gets details of a single ServiceConnectionPolicy.
GetServiceConnectionPolicy(ctx context.Context, in *GetServiceConnectionPolicyRequest, opts ...grpc.CallOption) (*ServiceConnectionPolicy, error)
// Creates a new ServiceConnectionPolicy in a given project and location.
CreateServiceConnectionPolicy(ctx context.Context, in *CreateServiceConnectionPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single ServiceConnectionPolicy.
UpdateServiceConnectionPolicy(ctx context.Context, in *UpdateServiceConnectionPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single ServiceConnectionPolicy.
DeleteServiceConnectionPolicy(ctx context.Context, in *DeleteServiceConnectionPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists ServiceClasses in a given project and location.
ListServiceClasses(ctx context.Context, in *ListServiceClassesRequest, opts ...grpc.CallOption) (*ListServiceClassesResponse, error)
// Gets details of a single ServiceClass.
GetServiceClass(ctx context.Context, in *GetServiceClassRequest, opts ...grpc.CallOption) (*ServiceClass, error)
// Updates the parameters of a single ServiceClass.
UpdateServiceClass(ctx context.Context, in *UpdateServiceClassRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single ServiceClass.
DeleteServiceClass(ctx context.Context, in *DeleteServiceClassRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets details of a single ServiceConnectionToken.
GetServiceConnectionToken(ctx context.Context, in *GetServiceConnectionTokenRequest, opts ...grpc.CallOption) (*ServiceConnectionToken, error)
// Lists ServiceConnectionTokens in a given project and location.
ListServiceConnectionTokens(ctx context.Context, in *ListServiceConnectionTokensRequest, opts ...grpc.CallOption) (*ListServiceConnectionTokensResponse, error)
// Creates a new ServiceConnectionToken in a given project and location.
CreateServiceConnectionToken(ctx context.Context, in *CreateServiceConnectionTokenRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single ServiceConnectionToken.
DeleteServiceConnectionToken(ctx context.Context, in *DeleteServiceConnectionTokenRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}CrossNetworkAutomationServiceClient is the client API for CrossNetworkAutomationService 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 NewCrossNetworkAutomationServiceClient
func NewCrossNetworkAutomationServiceClient(cc grpc.ClientConnInterface) CrossNetworkAutomationServiceClientCrossNetworkAutomationServiceServer
type CrossNetworkAutomationServiceServer interface {
// Lists ServiceConnectionMaps in a given project and location.
ListServiceConnectionMaps(context.Context, *ListServiceConnectionMapsRequest) (*ListServiceConnectionMapsResponse, error)
// Gets details of a single ServiceConnectionMap.
GetServiceConnectionMap(context.Context, *GetServiceConnectionMapRequest) (*ServiceConnectionMap, error)
// Creates a new ServiceConnectionMap in a given project and location.
CreateServiceConnectionMap(context.Context, *CreateServiceConnectionMapRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single ServiceConnectionMap.
UpdateServiceConnectionMap(context.Context, *UpdateServiceConnectionMapRequest) (*longrunningpb.Operation, error)
// Deletes a single ServiceConnectionMap.
DeleteServiceConnectionMap(context.Context, *DeleteServiceConnectionMapRequest) (*longrunningpb.Operation, error)
// Lists ServiceConnectionPolicies in a given project and location.
ListServiceConnectionPolicies(context.Context, *ListServiceConnectionPoliciesRequest) (*ListServiceConnectionPoliciesResponse, error)
// Gets details of a single ServiceConnectionPolicy.
GetServiceConnectionPolicy(context.Context, *GetServiceConnectionPolicyRequest) (*ServiceConnectionPolicy, error)
// Creates a new ServiceConnectionPolicy in a given project and location.
CreateServiceConnectionPolicy(context.Context, *CreateServiceConnectionPolicyRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single ServiceConnectionPolicy.
UpdateServiceConnectionPolicy(context.Context, *UpdateServiceConnectionPolicyRequest) (*longrunningpb.Operation, error)
// Deletes a single ServiceConnectionPolicy.
DeleteServiceConnectionPolicy(context.Context, *DeleteServiceConnectionPolicyRequest) (*longrunningpb.Operation, error)
// Lists ServiceClasses in a given project and location.
ListServiceClasses(context.Context, *ListServiceClassesRequest) (*ListServiceClassesResponse, error)
// Gets details of a single ServiceClass.
GetServiceClass(context.Context, *GetServiceClassRequest) (*ServiceClass, error)
// Updates the parameters of a single ServiceClass.
UpdateServiceClass(context.Context, *UpdateServiceClassRequest) (*longrunningpb.Operation, error)
// Deletes a single ServiceClass.
DeleteServiceClass(context.Context, *DeleteServiceClassRequest) (*longrunningpb.Operation, error)
// Gets details of a single ServiceConnectionToken.
GetServiceConnectionToken(context.Context, *GetServiceConnectionTokenRequest) (*ServiceConnectionToken, error)
// Lists ServiceConnectionTokens in a given project and location.
ListServiceConnectionTokens(context.Context, *ListServiceConnectionTokensRequest) (*ListServiceConnectionTokensResponse, error)
// Creates a new ServiceConnectionToken in a given project and location.
CreateServiceConnectionToken(context.Context, *CreateServiceConnectionTokenRequest) (*longrunningpb.Operation, error)
// Deletes a single ServiceConnectionToken.
DeleteServiceConnectionToken(context.Context, *DeleteServiceConnectionTokenRequest) (*longrunningpb.Operation, error)
}CrossNetworkAutomationServiceServer is the server API for CrossNetworkAutomationService service. All implementations should embed UnimplementedCrossNetworkAutomationServiceServer for forward compatibility
DataTransferServiceClient
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() 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.v1.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() stringDeleteInternalRangeRequest
type DeleteInternalRangeRequest struct {
// Required. The name of the internal range 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 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
}Request for InternalRangeService.DeleteInternalRange
func (*DeleteInternalRangeRequest) Descriptor
func (*DeleteInternalRangeRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteInternalRangeRequest.ProtoReflect.Descriptor instead.
func (*DeleteInternalRangeRequest) GetName
func (x *DeleteInternalRangeRequest) GetName() stringfunc (*DeleteInternalRangeRequest) GetRequestId
func (x *DeleteInternalRangeRequest) GetRequestId() stringfunc (*DeleteInternalRangeRequest) ProtoMessage
func (*DeleteInternalRangeRequest) ProtoMessage()func (*DeleteInternalRangeRequest) ProtoReflect
func (x *DeleteInternalRangeRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteInternalRangeRequest) Reset
func (x *DeleteInternalRangeRequest) Reset()func (*DeleteInternalRangeRequest) String
func (x *DeleteInternalRangeRequest) 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.v1.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() stringDeleteServiceClassRequest
type DeleteServiceClassRequest struct {
// Required. The name of the ServiceClass 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 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"`
// Optional. The etag is computed by the server, 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,3,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
// contains filtered or unexported fields
}Request for DeleteServiceClass.
func (*DeleteServiceClassRequest) Descriptor
func (*DeleteServiceClassRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteServiceClassRequest.ProtoReflect.Descriptor instead.
func (*DeleteServiceClassRequest) GetEtag
func (x *DeleteServiceClassRequest) GetEtag() stringfunc (*DeleteServiceClassRequest) GetName
func (x *DeleteServiceClassRequest) GetName() stringfunc (*DeleteServiceClassRequest) GetRequestId
func (x *DeleteServiceClassRequest) GetRequestId() stringfunc (*DeleteServiceClassRequest) ProtoMessage
func (*DeleteServiceClassRequest) ProtoMessage()func (*DeleteServiceClassRequest) ProtoReflect
func (x *DeleteServiceClassRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteServiceClassRequest) Reset
func (x *DeleteServiceClassRequest) Reset()func (*DeleteServiceClassRequest) String
func (x *DeleteServiceClassRequest) String() stringDeleteServiceConnectionMapRequest
type DeleteServiceConnectionMapRequest struct {
// Required. The name of the ServiceConnectionMap 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 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"`
// Optional. The etag is computed by the server, 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,3,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
// contains filtered or unexported fields
}Request for DeleteServiceConnectionMap.
func (*DeleteServiceConnectionMapRequest) Descriptor
func (*DeleteServiceConnectionMapRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteServiceConnectionMapRequest.ProtoReflect.Descriptor instead.
func (*DeleteServiceConnectionMapRequest) GetEtag
func (x *DeleteServiceConnectionMapRequest) GetEtag() stringfunc (*DeleteServiceConnectionMapRequest) GetName
func (x *DeleteServiceConnectionMapRequest) GetName() stringfunc (*DeleteServiceConnectionMapRequest) GetRequestId
func (x *DeleteServiceConnectionMapRequest) GetRequestId() stringfunc (*DeleteServiceConnectionMapRequest) ProtoMessage
func (*DeleteServiceConnectionMapRequest) ProtoMessage()func (*DeleteServiceConnectionMapRequest) ProtoReflect
func (x *DeleteServiceConnectionMapRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteServiceConnectionMapRequest) Reset
func (x *DeleteServiceConnectionMapRequest) Reset()func (*DeleteServiceConnectionMapRequest) String
func (x *DeleteServiceConnectionMapRequest) String() stringDeleteServiceConnectionPolicyRequest
type DeleteServiceConnectionPolicyRequest struct {
// Required. The name of the ServiceConnectionPolicy 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 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"`
// Optional. The etag is computed by the server, 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,3,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
// contains filtered or unexported fields
}Request for DeleteServiceConnectionPolicy.
func (*DeleteServiceConnectionPolicyRequest) Descriptor
func (*DeleteServiceConnectionPolicyRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteServiceConnectionPolicyRequest.ProtoReflect.Descriptor instead.
func (*DeleteServiceConnectionPolicyRequest) GetEtag
func (x *DeleteServiceConnectionPolicyRequest) GetEtag() stringfunc (*DeleteServiceConnectionPolicyRequest) GetName
func (x *DeleteServiceConnectionPolicyRequest) GetName() stringfunc (*DeleteServiceConnectionPolicyRequest) GetRequestId
func (x *DeleteServiceConnectionPolicyRequest) GetRequestId() stringfunc (*DeleteServiceConnectionPolicyRequest) ProtoMessage
func (*DeleteServiceConnectionPolicyRequest) ProtoMessage()func (*DeleteServiceConnectionPolicyRequest) ProtoReflect
func (x *DeleteServiceConnectionPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteServiceConnectionPolicyRequest) Reset
func (x *DeleteServiceConnectionPolicyRequest) Reset()func (*DeleteServiceConnectionPolicyRequest) String
func (x *DeleteServiceConnectionPolicyRequest) String() stringDeleteServiceConnectionTokenRequest
type DeleteServiceConnectionTokenRequest struct {
// Required. The name of the ServiceConnectionToken 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 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"`
// Optional. The etag is computed by the server, 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,3,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
// contains filtered or unexported fields
}Request for DeleteServiceConnectionToken.
func (*DeleteServiceConnectionTokenRequest) Descriptor
func (*DeleteServiceConnectionTokenRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteServiceConnectionTokenRequest.ProtoReflect.Descriptor instead.
func (*DeleteServiceConnectionTokenRequest) GetEtag
func (x *DeleteServiceConnectionTokenRequest) GetEtag() stringfunc (*DeleteServiceConnectionTokenRequest) GetName
func (x *DeleteServiceConnectionTokenRequest) GetName() stringfunc (*DeleteServiceConnectionTokenRequest) GetRequestId
func (x *DeleteServiceConnectionTokenRequest) GetRequestId() stringfunc (*DeleteServiceConnectionTokenRequest) ProtoMessage
func (*DeleteServiceConnectionTokenRequest) ProtoMessage()func (*DeleteServiceConnectionTokenRequest) ProtoReflect
func (x *DeleteServiceConnectionTokenRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteServiceConnectionTokenRequest) Reset
func (x *DeleteServiceConnectionTokenRequest) Reset()func (*DeleteServiceConnectionTokenRequest) String
func (x *DeleteServiceConnectionTokenRequest) 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.v1.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() 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.v1.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.EnumTypeGetDestinationRequest
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() 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.v1.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.v1.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() stringGetInternalRangeRequest
type GetInternalRangeRequest struct {
// Required. Name of the InternalRange to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request for InternalRangeService.GetInternalRange
func (*GetInternalRangeRequest) Descriptor
func (*GetInternalRangeRequest) Descriptor() ([]byte, []int)Deprecated: Use GetInternalRangeRequest.ProtoReflect.Descriptor instead.
func (*GetInternalRangeRequest) GetName
func (x *GetInternalRangeRequest) GetName() stringfunc (*GetInternalRangeRequest) ProtoMessage
func (*GetInternalRangeRequest) ProtoMessage()func (*GetInternalRangeRequest) ProtoReflect
func (x *GetInternalRangeRequest) ProtoReflect() protoreflect.Messagefunc (*GetInternalRangeRequest) Reset
func (x *GetInternalRangeRequest) Reset()func (*GetInternalRangeRequest) String
func (x *GetInternalRangeRequest) 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.v1.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() 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.v1.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.v1.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() stringGetServiceClassRequest
type GetServiceClassRequest struct {
// Required. Name of the ServiceClass to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request for GetServiceClass.
func (*GetServiceClassRequest) Descriptor
func (*GetServiceClassRequest) Descriptor() ([]byte, []int)Deprecated: Use GetServiceClassRequest.ProtoReflect.Descriptor instead.
func (*GetServiceClassRequest) GetName
func (x *GetServiceClassRequest) GetName() stringfunc (*GetServiceClassRequest) ProtoMessage
func (*GetServiceClassRequest) ProtoMessage()func (*GetServiceClassRequest) ProtoReflect
func (x *GetServiceClassRequest) ProtoReflect() protoreflect.Messagefunc (*GetServiceClassRequest) Reset
func (x *GetServiceClassRequest) Reset()func (*GetServiceClassRequest) String
func (x *GetServiceClassRequest) String() stringGetServiceConnectionMapRequest
type GetServiceConnectionMapRequest struct {
// Required. Name of the ServiceConnectionMap to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request for GetServiceConnectionMap.
func (*GetServiceConnectionMapRequest) Descriptor
func (*GetServiceConnectionMapRequest) Descriptor() ([]byte, []int)Deprecated: Use GetServiceConnectionMapRequest.ProtoReflect.Descriptor instead.
func (*GetServiceConnectionMapRequest) GetName
func (x *GetServiceConnectionMapRequest) GetName() stringfunc (*GetServiceConnectionMapRequest) ProtoMessage
func (*GetServiceConnectionMapRequest) ProtoMessage()func (*GetServiceConnectionMapRequest) ProtoReflect
func (x *GetServiceConnectionMapRequest) ProtoReflect() protoreflect.Messagefunc (*GetServiceConnectionMapRequest) Reset
func (x *GetServiceConnectionMapRequest) Reset()func (*GetServiceConnectionMapRequest) String
func (x *GetServiceConnectionMapRequest) String() stringGetServiceConnectionPolicyRequest
type GetServiceConnectionPolicyRequest struct {
// Required. Name of the ServiceConnectionPolicy to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request for GetServiceConnectionPolicy.
func (*GetServiceConnectionPolicyRequest) Descriptor
func (*GetServiceConnectionPolicyRequest) Descriptor() ([]byte, []int)Deprecated: Use GetServiceConnectionPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetServiceConnectionPolicyRequest) GetName
func (x *GetServiceConnectionPolicyRequest) GetName() stringfunc (*GetServiceConnectionPolicyRequest) ProtoMessage
func (*GetServiceConnectionPolicyRequest) ProtoMessage()func (*GetServiceConnectionPolicyRequest) ProtoReflect
func (x *GetServiceConnectionPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*GetServiceConnectionPolicyRequest) Reset
func (x *GetServiceConnectionPolicyRequest) Reset()func (*GetServiceConnectionPolicyRequest) String
func (x *GetServiceConnectionPolicyRequest) String() stringGetServiceConnectionTokenRequest
type GetServiceConnectionTokenRequest struct {
// Required. Name of the ServiceConnectionToken to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request for GetServiceConnectionToken.
func (*GetServiceConnectionTokenRequest) Descriptor
func (*GetServiceConnectionTokenRequest) Descriptor() ([]byte, []int)Deprecated: Use GetServiceConnectionTokenRequest.ProtoReflect.Descriptor instead.
func (*GetServiceConnectionTokenRequest) GetName
func (x *GetServiceConnectionTokenRequest) GetName() stringfunc (*GetServiceConnectionTokenRequest) ProtoMessage
func (*GetServiceConnectionTokenRequest) ProtoMessage()func (*GetServiceConnectionTokenRequest) ProtoReflect
func (x *GetServiceConnectionTokenRequest) ProtoReflect() protoreflect.Messagefunc (*GetServiceConnectionTokenRequest) Reset
func (x *GetServiceConnectionTokenRequest) Reset()func (*GetServiceConnectionTokenRequest) String
func (x *GetServiceConnectionTokenRequest) 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.v1.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() 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.v1.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.v1.State" json:"state,omitempty"`
// The VPC networks associated with this hub's spokes.
//
// This field is read-only. Network Connectivity Center automatically
// populates it based on the set of spokes attached to the hub.
RoutingVpcs []*RoutingVPC `protobuf:"bytes,10,rep,name=routing_vpcs,json=routingVpcs,proto3" json:"routing_vpcs,omitempty"`
// 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.v1.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.v1.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"`
// 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) 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)
}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)
}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() stringIPVersion
type IPVersion int32The requested IP version for the PSC connection.
IPVersion_IP_VERSION_UNSPECIFIED, IPVersion_IPV4, IPVersion_IPV6
const (
// Default value. We will use IPv4 or IPv6 depending on the IP version of
// first available subnetwork.
IPVersion_IP_VERSION_UNSPECIFIED IPVersion = 0
// Will use IPv4 only.
IPVersion_IPV4 IPVersion = 1
// Will use IPv6 only.
IPVersion_IPV6 IPVersion = 2
)func (IPVersion) Descriptor
func (IPVersion) Descriptor() protoreflect.EnumDescriptorfunc (IPVersion) Enum
func (IPVersion) EnumDescriptor
Deprecated: Use IPVersion.Descriptor instead.
func (IPVersion) Number
func (x IPVersion) Number() protoreflect.EnumNumberfunc (IPVersion) String
func (IPVersion) Type
func (IPVersion) Type() protoreflect.EnumTypeInfrastructure
type Infrastructure int32The infrastructure used for connections between consumers/producers.
Infrastructure_INFRASTRUCTURE_UNSPECIFIED, Infrastructure_PSC
const (
// An invalid infrastructure as the default case.
Infrastructure_INFRASTRUCTURE_UNSPECIFIED Infrastructure = 0
// Private Service Connect is used for connections.
Infrastructure_PSC Infrastructure = 1
)func (Infrastructure) Descriptor
func (Infrastructure) Descriptor() protoreflect.EnumDescriptorfunc (Infrastructure) Enum
func (x Infrastructure) Enum() *Infrastructurefunc (Infrastructure) EnumDescriptor
func (Infrastructure) EnumDescriptor() ([]byte, []int)Deprecated: Use Infrastructure.Descriptor instead.
func (Infrastructure) Number
func (x Infrastructure) Number() protoreflect.EnumNumberfunc (Infrastructure) String
func (x Infrastructure) String() stringfunc (Infrastructure) Type
func (Infrastructure) Type() protoreflect.EnumTypeInternalRange
type InternalRange struct {
// Identifier. The name of an internal range.
// Format:
// projects/{project}/locations/{location}/internalRanges/{internal_range}
// See: https://google.aip.dev/122#fields-representing-resource-names
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Time when the internal range was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when the internal range 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. A description of this resource.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Optional. The IP range that this internal range defines.
// NOTE: IPv6 ranges are limited to usage=EXTERNAL_TO_VPC and
// peering=FOR_SELF.
// NOTE: For IPv6 Ranges this field is compulsory, i.e. the address range must
// be specified explicitly.
IpCidrRange string `protobuf:"bytes,6,opt,name=ip_cidr_range,json=ipCidrRange,proto3" json:"ip_cidr_range,omitempty"`
// Immutable. The URL or resource ID of the network in which to reserve the
// internal range. The network cannot be deleted if there are any reserved
// internal ranges referring to it. Legacy networks are not supported. For
// example:
//
// https://www.googleapis.com/compute/v1/projects/{project}/locations/global/networks/{network}
// projects/{project}/locations/global/networks/{network}
// {network}
Network string `protobuf:"bytes,7,opt,name=network,proto3" json:"network,omitempty"`
// Optional. The type of usage set for this InternalRange.
Usage InternalRange_Usage `protobuf:"varint,8,opt,name=usage,proto3,enum=google.cloud.networkconnectivity.v1.InternalRange_Usage" json:"usage,omitempty"`
// Optional. The type of peering set for this internal range.
Peering InternalRange_Peering `protobuf:"varint,9,opt,name=peering,proto3,enum=google.cloud.networkconnectivity.v1.InternalRange_Peering" json:"peering,omitempty"`
// Optional. An alternate to ip_cidr_range. Can be set when trying to create
// an IPv4 reservation that automatically finds a free range of the given
// size. If both ip_cidr_range and prefix_length are set, there is an error if
// the range sizes do not match. Can also be used during updates to change the
// range size.
// NOTE: For IPv6 this field only works if ip_cidr_range is set as well, and
// both fields must match. In other words, with IPv6 this field only works as
// a redundant parameter.
PrefixLength int32 `protobuf:"varint,10,opt,name=prefix_length,json=prefixLength,proto3" json:"prefix_length,omitempty"`
// Optional. Can be set to narrow down or pick a different address space while
// searching for a free range. If not set, defaults to the ["10.0.0.0/8",
// "172.16.0.0/12", "192.168.0.0/16"] address space (for auto-mode networks,
// the "10.0.0.0/9" range is used instead of "10.0.0.0/8"). This can be used
// to target the search in other rfc-1918 address spaces like "172.16.0.0/12"
// and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.
TargetCidrRange []string `protobuf:"bytes,11,rep,name=target_cidr_range,json=targetCidrRange,proto3" json:"target_cidr_range,omitempty"`
// Output only. The list of resources that refer to this internal range.
// Resources that use the internal range for their range allocation
// are referred to as users of the range. Other resources mark themselves
// as users while doing so by creating a reference to this internal range.
// Having a user, based on this reference, prevents deletion of the
// internal range referred to. Can be empty.
Users []string `protobuf:"bytes,12,rep,name=users,proto3" json:"users,omitempty"`
// Optional. Types of resources that are allowed to overlap with the current
// internal range.
Overlaps []InternalRange_Overlap `protobuf:"varint,13,rep,packed,name=overlaps,proto3,enum=google.cloud.networkconnectivity.v1.InternalRange_Overlap" json:"overlaps,omitempty"`
// Optional. Must be present if usage is set to FOR_MIGRATION.
Migration *InternalRange_Migration `protobuf:"bytes,14,opt,name=migration,proto3" json:"migration,omitempty"`
// Optional. Immutable ranges cannot have their fields modified, except for
// labels and description.
Immutable bool `protobuf:"varint,15,opt,name=immutable,proto3" json:"immutable,omitempty"`
// Optional. Range auto-allocation options, may be set only when
// auto-allocation is selected by not setting ip_cidr_range (and setting
// prefix_length).
AllocationOptions *InternalRange_AllocationOptions `protobuf:"bytes,16,opt,name=allocation_options,json=allocationOptions,proto3" json:"allocation_options,omitempty"`
// Optional. ExcludeCidrRanges flag. Specifies a set of CIDR blocks that
// allows exclusion of particular CIDR ranges from the auto-allocation
// process, without having to reserve these blocks
ExcludeCidrRanges []string `protobuf:"bytes,17,rep,name=exclude_cidr_ranges,json=excludeCidrRanges,proto3" json:"exclude_cidr_ranges,omitempty"`
// contains filtered or unexported fields
}The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characteristics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.
func (*InternalRange) Descriptor
func (*InternalRange) Descriptor() ([]byte, []int)Deprecated: Use InternalRange.ProtoReflect.Descriptor instead.
func (*InternalRange) GetAllocationOptions
func (x *InternalRange) GetAllocationOptions() *InternalRange_AllocationOptionsfunc (*InternalRange) GetCreateTime
func (x *InternalRange) GetCreateTime() *timestamppb.Timestampfunc (*InternalRange) GetDescription
func (x *InternalRange) GetDescription() stringfunc (*InternalRange) GetExcludeCidrRanges
func (x *InternalRange) GetExcludeCidrRanges() []stringfunc (*InternalRange) GetImmutable
func (x *InternalRange) GetImmutable() boolfunc (*InternalRange) GetIpCidrRange
func (x *InternalRange) GetIpCidrRange() stringfunc (*InternalRange) GetLabels
func (x *InternalRange) GetLabels() map[string]stringfunc (*InternalRange) GetMigration
func (x *InternalRange) GetMigration() *InternalRange_Migrationfunc (*InternalRange) GetName
func (x *InternalRange) GetName() stringfunc (*InternalRange) GetNetwork
func (x *InternalRange) GetNetwork() stringfunc (*InternalRange) GetOverlaps
func (x *InternalRange) GetOverlaps() []InternalRange_Overlapfunc (*InternalRange) GetPeering
func (x *InternalRange) GetPeering() InternalRange_Peeringfunc (*InternalRange) GetPrefixLength
func (x *InternalRange) GetPrefixLength() int32func (*InternalRange) GetTargetCidrRange
func (x *InternalRange) GetTargetCidrRange() []stringfunc (*InternalRange) GetUpdateTime
func (x *InternalRange) GetUpdateTime() *timestamppb.Timestampfunc (*InternalRange) GetUsage
func (x *InternalRange) GetUsage() InternalRange_Usagefunc (*InternalRange) GetUsers
func (x *InternalRange) GetUsers() []stringfunc (*InternalRange) ProtoMessage
func (*InternalRange) ProtoMessage()func (*InternalRange) ProtoReflect
func (x *InternalRange) ProtoReflect() protoreflect.Messagefunc (*InternalRange) Reset
func (x *InternalRange) Reset()func (*InternalRange) String
func (x *InternalRange) String() stringInternalRangeServiceClient
type InternalRangeServiceClient interface {
// Lists internal ranges in a given project and location.
ListInternalRanges(ctx context.Context, in *ListInternalRangesRequest, opts ...grpc.CallOption) (*ListInternalRangesResponse, error)
// Gets details of a single internal range.
GetInternalRange(ctx context.Context, in *GetInternalRangeRequest, opts ...grpc.CallOption) (*InternalRange, error)
// Creates a new internal range in a given project and location.
CreateInternalRange(ctx context.Context, in *CreateInternalRangeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single internal range.
UpdateInternalRange(ctx context.Context, in *UpdateInternalRangeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single internal range.
DeleteInternalRange(ctx context.Context, in *DeleteInternalRangeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}InternalRangeServiceClient is the client API for InternalRangeService 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 NewInternalRangeServiceClient
func NewInternalRangeServiceClient(cc grpc.ClientConnInterface) InternalRangeServiceClientInternalRangeServiceServer
type InternalRangeServiceServer interface {
// Lists internal ranges in a given project and location.
ListInternalRanges(context.Context, *ListInternalRangesRequest) (*ListInternalRangesResponse, error)
// Gets details of a single internal range.
GetInternalRange(context.Context, *GetInternalRangeRequest) (*InternalRange, error)
// Creates a new internal range in a given project and location.
CreateInternalRange(context.Context, *CreateInternalRangeRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single internal range.
UpdateInternalRange(context.Context, *UpdateInternalRangeRequest) (*longrunningpb.Operation, error)
// Deletes a single internal range.
DeleteInternalRange(context.Context, *DeleteInternalRangeRequest) (*longrunningpb.Operation, error)
}InternalRangeServiceServer is the server API for InternalRangeService service. All implementations should embed UnimplementedInternalRangeServiceServer for forward compatibility
InternalRange_AllocationOptions
type InternalRange_AllocationOptions struct {
// Optional. Allocation strategy Not setting this field when the allocation
// is requested means an implementation defined strategy is used.
AllocationStrategy InternalRange_AllocationStrategy `protobuf:"varint,1,opt,name=allocation_strategy,json=allocationStrategy,proto3,enum=google.cloud.networkconnectivity.v1.InternalRange_AllocationStrategy" json:"allocation_strategy,omitempty"`
// Optional. This field must be set only when allocation_strategy is set to
// RANDOM_FIRST_N_AVAILABLE.
// The value should be the maximum expected parallelism of range creation
// requests issued to the same space of peered netwroks.
FirstAvailableRangesLookupSize int32 `protobuf:"varint,2,opt,name=first_available_ranges_lookup_size,json=firstAvailableRangesLookupSize,proto3" json:"first_available_ranges_lookup_size,omitempty"`
// contains filtered or unexported fields
}Range auto-allocation options, to be optionally used when CIDR block is not explicitly set.
func (*InternalRange_AllocationOptions) Descriptor
func (*InternalRange_AllocationOptions) Descriptor() ([]byte, []int)Deprecated: Use InternalRange_AllocationOptions.ProtoReflect.Descriptor instead.
func (*InternalRange_AllocationOptions) GetAllocationStrategy
func (x *InternalRange_AllocationOptions) GetAllocationStrategy() InternalRange_AllocationStrategyfunc (*InternalRange_AllocationOptions) GetFirstAvailableRangesLookupSize
func (x *InternalRange_AllocationOptions) GetFirstAvailableRangesLookupSize() int32func (*InternalRange_AllocationOptions) ProtoMessage
func (*InternalRange_AllocationOptions) ProtoMessage()func (*InternalRange_AllocationOptions) ProtoReflect
func (x *InternalRange_AllocationOptions) ProtoReflect() protoreflect.Messagefunc (*InternalRange_AllocationOptions) Reset
func (x *InternalRange_AllocationOptions) Reset()func (*InternalRange_AllocationOptions) String
func (x *InternalRange_AllocationOptions) String() stringInternalRange_AllocationStrategy
type InternalRange_AllocationStrategy int32Enumeration of range auto-allocation strategies
InternalRange_ALLOCATION_STRATEGY_UNSPECIFIED, InternalRange_RANDOM, InternalRange_FIRST_AVAILABLE, InternalRange_RANDOM_FIRST_N_AVAILABLE, InternalRange_FIRST_SMALLEST_FITTING
const (
// Unspecified is the only valid option when the range is specified
// explicitly by ip_cidr_range field. Otherwise unspefified means using the
// default strategy.
InternalRange_ALLOCATION_STRATEGY_UNSPECIFIED InternalRange_AllocationStrategy = 0
// Random strategy, the legacy algorithm, used for backwards compatibility.
// This allocation strategy remains efficient in the case of concurrent
// allocation requests in the same peered network space and doesn't require
// providing the level of concurrency in an explicit parameter, but it is
// prone to fragmenting available address space.
InternalRange_RANDOM InternalRange_AllocationStrategy = 1
// Pick the first available address range. This strategy is deterministic
// and the result is easy to predict.
InternalRange_FIRST_AVAILABLE InternalRange_AllocationStrategy = 2
// Pick an arbitrary range out of the first N available ones. The N will be
// set in the first_available_ranges_lookup_size field. This strategy should
// be used when concurrent allocation requests are made in the same space of
// peered networks while the fragmentation of the addrress space is reduced.
InternalRange_RANDOM_FIRST_N_AVAILABLE InternalRange_AllocationStrategy = 3
// Pick the smallest but fitting available range. This deterministic
// strategy minimizes fragmentation of the address space.
InternalRange_FIRST_SMALLEST_FITTING InternalRange_AllocationStrategy = 4
)func (InternalRange_AllocationStrategy) Descriptor
func (InternalRange_AllocationStrategy) Descriptor() protoreflect.EnumDescriptorfunc (InternalRange_AllocationStrategy) Enum
func (x InternalRange_AllocationStrategy) Enum() *InternalRange_AllocationStrategyfunc (InternalRange_AllocationStrategy) EnumDescriptor
func (InternalRange_AllocationStrategy) EnumDescriptor() ([]byte, []int)Deprecated: Use InternalRange_AllocationStrategy.Descriptor instead.
func (InternalRange_AllocationStrategy) Number
func (x InternalRange_AllocationStrategy) Number() protoreflect.EnumNumberfunc (InternalRange_AllocationStrategy) String
func (x InternalRange_AllocationStrategy) String() stringfunc (InternalRange_AllocationStrategy) Type
func (InternalRange_AllocationStrategy) Type() protoreflect.EnumTypeInternalRange_Migration
type InternalRange_Migration struct {
// Immutable. Resource path as an URI of the source resource, for example a
// subnet. The project for the source resource should match the project for
// the InternalRange. An example:
//
// /projects/{project}/regions/{region}/subnetworks/{subnet}
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
// Immutable. Resource path of the target resource. The target project can
// be different, as in the cases when migrating to peer networks. For
// example:
//
// /projects/{project}/regions/{region}/subnetworks/{subnet}
Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
// contains filtered or unexported fields
}Specification for migration with source and target resource names.
func (*InternalRange_Migration) Descriptor
func (*InternalRange_Migration) Descriptor() ([]byte, []int)Deprecated: Use InternalRange_Migration.ProtoReflect.Descriptor instead.
func (*InternalRange_Migration) GetSource
func (x *InternalRange_Migration) GetSource() stringfunc (*InternalRange_Migration) GetTarget
func (x *InternalRange_Migration) GetTarget() stringfunc (*InternalRange_Migration) ProtoMessage
func (*InternalRange_Migration) ProtoMessage()func (*InternalRange_Migration) ProtoReflect
func (x *InternalRange_Migration) ProtoReflect() protoreflect.Messagefunc (*InternalRange_Migration) Reset
func (x *InternalRange_Migration) Reset()func (*InternalRange_Migration) String
func (x *InternalRange_Migration) String() stringInternalRange_Overlap
type InternalRange_Overlap int32Overlap specifications.
InternalRange_OVERLAP_UNSPECIFIED, InternalRange_OVERLAP_ROUTE_RANGE, InternalRange_OVERLAP_EXISTING_SUBNET_RANGE
const (
// No overlap overrides.
InternalRange_OVERLAP_UNSPECIFIED InternalRange_Overlap = 0
// Allow creation of static routes more specific that the current
// internal range.
InternalRange_OVERLAP_ROUTE_RANGE InternalRange_Overlap = 1
// Allow creation of internal ranges that overlap with existing subnets.
InternalRange_OVERLAP_EXISTING_SUBNET_RANGE InternalRange_Overlap = 2
)func (InternalRange_Overlap) Descriptor
func (InternalRange_Overlap) Descriptor() protoreflect.EnumDescriptorfunc (InternalRange_Overlap) Enum
func (x InternalRange_Overlap) Enum() *InternalRange_Overlapfunc (InternalRange_Overlap) EnumDescriptor
func (InternalRange_Overlap) EnumDescriptor() ([]byte, []int)Deprecated: Use InternalRange_Overlap.Descriptor instead.
func (InternalRange_Overlap) Number
func (x InternalRange_Overlap) Number() protoreflect.EnumNumberfunc (InternalRange_Overlap) String
func (x InternalRange_Overlap) String() stringfunc (InternalRange_Overlap) Type
func (InternalRange_Overlap) Type() protoreflect.EnumTypeInternalRange_Peering
type InternalRange_Peering int32Peering type.
InternalRange_PEERING_UNSPECIFIED, InternalRange_FOR_SELF, InternalRange_FOR_PEER, InternalRange_NOT_SHARED
const (
// If Peering is left unspecified in CreateInternalRange or
// UpdateInternalRange, it will be defaulted to FOR_SELF.
InternalRange_PEERING_UNSPECIFIED InternalRange_Peering = 0
// This is the default behavior and represents the case that this
// internal range is intended to be used in the VPC in which it is created
// and is accessible from its peers. This implies that peers or
// peers-of-peers cannot use this range.
InternalRange_FOR_SELF InternalRange_Peering = 1
// This behavior can be set when the internal range is being reserved for
// usage by peers. This means that no resource within the VPC in which
// it is being created can use this to associate with a VPC resource, but
// one of the peers can. This represents donating a range for peers to
// use.
InternalRange_FOR_PEER InternalRange_Peering = 2
// This behavior can be set when the internal range is being reserved for
// usage by the VPC in which it is created, but not shared with peers.
// In a sense, it is local to the VPC. This can be used to create internal
// ranges for various purposes like HTTP_INTERNAL_LOAD_BALANCER or for
// Interconnect routes that are not shared with peers. This also implies
// that peers cannot use this range in a way that is visible to this VPC,
// but can re-use this range as long as it is NOT_SHARED from the peer VPC,
// too.
InternalRange_NOT_SHARED InternalRange_Peering = 3
)func (InternalRange_Peering) Descriptor
func (InternalRange_Peering) Descriptor() protoreflect.EnumDescriptorfunc (InternalRange_Peering) Enum
func (x InternalRange_Peering) Enum() *InternalRange_Peeringfunc (InternalRange_Peering) EnumDescriptor
func (InternalRange_Peering) EnumDescriptor() ([]byte, []int)Deprecated: Use InternalRange_Peering.Descriptor instead.
func (InternalRange_Peering) Number
func (x InternalRange_Peering) Number() protoreflect.EnumNumberfunc (InternalRange_Peering) String
func (x InternalRange_Peering) String() stringfunc (InternalRange_Peering) Type
func (InternalRange_Peering) Type() protoreflect.EnumTypeInternalRange_Usage
type InternalRange_Usage int32Possible usage of an internal range.
InternalRange_USAGE_UNSPECIFIED, InternalRange_FOR_VPC, InternalRange_EXTERNAL_TO_VPC, InternalRange_FOR_MIGRATION
const (
// Unspecified usage is allowed in calls which identify the resource by
// other fields and do not need Usage set to complete. These are, i.e.:
// GetInternalRange and DeleteInternalRange.
// Usage needs to be specified explicitly in CreateInternalRange
// or UpdateInternalRange calls.
InternalRange_USAGE_UNSPECIFIED InternalRange_Usage = 0
// A VPC resource can use the reserved CIDR block by associating it with the
// internal range resource if usage is set to FOR_VPC.
InternalRange_FOR_VPC InternalRange_Usage = 1
// Ranges created with EXTERNAL_TO_VPC cannot be associated with VPC
// resources and are meant to block out address ranges for various use
// cases, like for example, usage on-prem, with dynamic route announcements
// via interconnect.
InternalRange_EXTERNAL_TO_VPC InternalRange_Usage = 2
// Ranges created FOR_MIGRATION can be used to lock a CIDR range between a
// source and target subnet. If usage is set to FOR_MIGRATION, the peering
// value has to be set to FOR_SELF or default to FOR_SELF when unset.
InternalRange_FOR_MIGRATION InternalRange_Usage = 3
)func (InternalRange_Usage) Descriptor
func (InternalRange_Usage) Descriptor() protoreflect.EnumDescriptorfunc (InternalRange_Usage) Enum
func (x InternalRange_Usage) Enum() *InternalRange_Usagefunc (InternalRange_Usage) EnumDescriptor
func (InternalRange_Usage) EnumDescriptor() ([]byte, []int)Deprecated: Use InternalRange_Usage.Descriptor instead.
func (InternalRange_Usage) Number
func (x InternalRange_Usage) Number() protoreflect.EnumNumberfunc (InternalRange_Usage) String
func (x InternalRange_Usage) String() stringfunc (InternalRange_Usage) Type
func (InternalRange_Usage) Type() protoreflect.EnumTypeLinkedInterconnectAttachments
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. IP ranges allowed to be included during import from hub (does not
// control transit connectivity). The only allowed value for now is
// "ALL_IPV4_RANGES".
IncludeImportRanges []string `protobuf:"bytes,5,rep,name=include_import_ranges,json=includeImportRanges,proto3" json:"include_import_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) 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"`
// Optional. The proposed include export IP ranges waiting for hub
// administration'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
// administration'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. IP ranges allowed to be included during import from hub (does not
// control transit connectivity). The only allowed value for now is
// "ALL_IPV4_RANGES".
IncludeImportRanges []string `protobuf:"bytes,5,rep,name=include_import_ranges,json=includeImportRanges,proto3" json:"include_import_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) 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"`
// Optional. The proposed include export IP ranges waiting for hub
// administration'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
// administration'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 throuh 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. IP ranges allowed to be included during import from hub (does not
// control transit connectivity). The only allowed value for now is
// "ALL_IPV4_RANGES".
IncludeImportRanges []string `protobuf:"bytes,5,rep,name=include_import_ranges,json=includeImportRanges,proto3" json:"include_import_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) 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() 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.v1.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.v1.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.v1.ListHubSpokesRequest_SpokeView" json:"view,omitempty"`
// contains filtered or unexported fields
}The request for [HubService.ListHubSpokes][google.cloud.networkconnectivity.v1.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.v1.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.v1.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.v1.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() stringListInternalRangesRequest
type ListInternalRangesRequest 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 InternalRangeService.ListInternalRanges
func (*ListInternalRangesRequest) Descriptor
func (*ListInternalRangesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListInternalRangesRequest.ProtoReflect.Descriptor instead.
func (*ListInternalRangesRequest) GetFilter
func (x *ListInternalRangesRequest) GetFilter() stringfunc (*ListInternalRangesRequest) GetOrderBy
func (x *ListInternalRangesRequest) GetOrderBy() stringfunc (*ListInternalRangesRequest) GetPageSize
func (x *ListInternalRangesRequest) GetPageSize() int32func (*ListInternalRangesRequest) GetPageToken
func (x *ListInternalRangesRequest) GetPageToken() stringfunc (*ListInternalRangesRequest) GetParent
func (x *ListInternalRangesRequest) GetParent() stringfunc (*ListInternalRangesRequest) ProtoMessage
func (*ListInternalRangesRequest) ProtoMessage()func (*ListInternalRangesRequest) ProtoReflect
func (x *ListInternalRangesRequest) ProtoReflect() protoreflect.Messagefunc (*ListInternalRangesRequest) Reset
func (x *ListInternalRangesRequest) Reset()func (*ListInternalRangesRequest) String
func (x *ListInternalRangesRequest) String() stringListInternalRangesResponse
type ListInternalRangesResponse struct {
// Internal ranges to be returned.
InternalRanges []*InternalRange `protobuf:"bytes,1,rep,name=internal_ranges,json=internalRanges,proto3" json:"internal_ranges,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 InternalRange.ListInternalRanges
func (*ListInternalRangesResponse) Descriptor
func (*ListInternalRangesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListInternalRangesResponse.ProtoReflect.Descriptor instead.
func (*ListInternalRangesResponse) GetInternalRanges
func (x *ListInternalRangesResponse) GetInternalRanges() []*InternalRangefunc (*ListInternalRangesResponse) GetNextPageToken
func (x *ListInternalRangesResponse) GetNextPageToken() stringfunc (*ListInternalRangesResponse) GetUnreachable
func (x *ListInternalRangesResponse) GetUnreachable() []stringfunc (*ListInternalRangesResponse) ProtoMessage
func (*ListInternalRangesResponse) ProtoMessage()func (*ListInternalRangesResponse) ProtoReflect
func (x *ListInternalRangesResponse) ProtoReflect() protoreflect.Messagefunc (*ListInternalRangesResponse) Reset
func (x *ListInternalRangesResponse) Reset()func (*ListInternalRangesResponse) String
func (x *ListInternalRangesResponse) 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.v1.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.v1.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() 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.v1.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.v1.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.v1.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.v1.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() stringListServiceClassesRequest
type ListServiceClassesRequest struct {
// Required. The parent resource's name. ex. projects/123/locations/us-east1
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 ListServiceClasses.
func (*ListServiceClassesRequest) Descriptor
func (*ListServiceClassesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListServiceClassesRequest.ProtoReflect.Descriptor instead.
func (*ListServiceClassesRequest) GetFilter
func (x *ListServiceClassesRequest) GetFilter() stringfunc (*ListServiceClassesRequest) GetOrderBy
func (x *ListServiceClassesRequest) GetOrderBy() stringfunc (*ListServiceClassesRequest) GetPageSize
func (x *ListServiceClassesRequest) GetPageSize() int32func (*ListServiceClassesRequest) GetPageToken
func (x *ListServiceClassesRequest) GetPageToken() stringfunc (*ListServiceClassesRequest) GetParent
func (x *ListServiceClassesRequest) GetParent() stringfunc (*ListServiceClassesRequest) ProtoMessage
func (*ListServiceClassesRequest) ProtoMessage()func (*ListServiceClassesRequest) ProtoReflect
func (x *ListServiceClassesRequest) ProtoReflect() protoreflect.Messagefunc (*ListServiceClassesRequest) Reset
func (x *ListServiceClassesRequest) Reset()func (*ListServiceClassesRequest) String
func (x *ListServiceClassesRequest) String() stringListServiceClassesResponse
type ListServiceClassesResponse struct {
// ServiceClasses to be returned.
ServiceClasses []*ServiceClass `protobuf:"bytes,1,rep,name=service_classes,json=serviceClasses,proto3" json:"service_classes,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 ListServiceClasses.
func (*ListServiceClassesResponse) Descriptor
func (*ListServiceClassesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListServiceClassesResponse.ProtoReflect.Descriptor instead.
func (*ListServiceClassesResponse) GetNextPageToken
func (x *ListServiceClassesResponse) GetNextPageToken() stringfunc (*ListServiceClassesResponse) GetServiceClasses
func (x *ListServiceClassesResponse) GetServiceClasses() []*ServiceClassfunc (*ListServiceClassesResponse) GetUnreachable
func (x *ListServiceClassesResponse) GetUnreachable() []stringfunc (*ListServiceClassesResponse) ProtoMessage
func (*ListServiceClassesResponse) ProtoMessage()func (*ListServiceClassesResponse) ProtoReflect
func (x *ListServiceClassesResponse) ProtoReflect() protoreflect.Messagefunc (*ListServiceClassesResponse) Reset
func (x *ListServiceClassesResponse) Reset()func (*ListServiceClassesResponse) String
func (x *ListServiceClassesResponse) String() stringListServiceConnectionMapsRequest
type ListServiceConnectionMapsRequest struct {
// Required. The parent resource's name. ex. projects/123/locations/us-east1
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 ListServiceConnectionMaps.
func (*ListServiceConnectionMapsRequest) Descriptor
func (*ListServiceConnectionMapsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListServiceConnectionMapsRequest.ProtoReflect.Descriptor instead.
func (*ListServiceConnectionMapsRequest) GetFilter
func (x *ListServiceConnectionMapsRequest) GetFilter() stringfunc (*ListServiceConnectionMapsRequest) GetOrderBy
func (x *ListServiceConnectionMapsRequest) GetOrderBy() stringfunc (*ListServiceConnectionMapsRequest) GetPageSize
func (x *ListServiceConnectionMapsRequest) GetPageSize() int32func (*ListServiceConnectionMapsRequest) GetPageToken
func (x *ListServiceConnectionMapsRequest) GetPageToken() stringfunc (*ListServiceConnectionMapsRequest) GetParent
func (x *ListServiceConnectionMapsRequest) GetParent() stringfunc (*ListServiceConnectionMapsRequest) ProtoMessage
func (*ListServiceConnectionMapsRequest) ProtoMessage()func (*ListServiceConnectionMapsRequest) ProtoReflect
func (x *ListServiceConnectionMapsRequest) ProtoReflect() protoreflect.Messagefunc (*ListServiceConnectionMapsRequest) Reset
func (x *ListServiceConnectionMapsRequest) Reset()func (*ListServiceConnectionMapsRequest) String
func (x *ListServiceConnectionMapsRequest) String() stringListServiceConnectionMapsResponse
type ListServiceConnectionMapsResponse struct {
// ServiceConnectionMaps to be returned.
ServiceConnectionMaps []*ServiceConnectionMap `protobuf:"bytes,1,rep,name=service_connection_maps,json=serviceConnectionMaps,proto3" json:"service_connection_maps,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 ListServiceConnectionMaps.
func (*ListServiceConnectionMapsResponse) Descriptor
func (*ListServiceConnectionMapsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListServiceConnectionMapsResponse.ProtoReflect.Descriptor instead.
func (*ListServiceConnectionMapsResponse) GetNextPageToken
func (x *ListServiceConnectionMapsResponse) GetNextPageToken() stringfunc (*ListServiceConnectionMapsResponse) GetServiceConnectionMaps
func (x *ListServiceConnectionMapsResponse) GetServiceConnectionMaps() []*ServiceConnectionMapfunc (*ListServiceConnectionMapsResponse) GetUnreachable
func (x *ListServiceConnectionMapsResponse) GetUnreachable() []stringfunc (*ListServiceConnectionMapsResponse) ProtoMessage
func (*ListServiceConnectionMapsResponse) ProtoMessage()func (*ListServiceConnectionMapsResponse) ProtoReflect
func (x *ListServiceConnectionMapsResponse) ProtoReflect() protoreflect.Messagefunc (*ListServiceConnectionMapsResponse) Reset
func (x *ListServiceConnectionMapsResponse) Reset()func (*ListServiceConnectionMapsResponse) String
func (x *ListServiceConnectionMapsResponse) String() stringListServiceConnectionPoliciesRequest
type ListServiceConnectionPoliciesRequest struct {
// Required. The parent resource's name. ex. projects/123/locations/us-east1
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 ListServiceConnectionPolicies.
func (*ListServiceConnectionPoliciesRequest) Descriptor
func (*ListServiceConnectionPoliciesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListServiceConnectionPoliciesRequest.ProtoReflect.Descriptor instead.
func (*ListServiceConnectionPoliciesRequest) GetFilter
func (x *ListServiceConnectionPoliciesRequest) GetFilter() stringfunc (*ListServiceConnectionPoliciesRequest) GetOrderBy
func (x *ListServiceConnectionPoliciesRequest) GetOrderBy() stringfunc (*ListServiceConnectionPoliciesRequest) GetPageSize
func (x *ListServiceConnectionPoliciesRequest) GetPageSize() int32func (*ListServiceConnectionPoliciesRequest) GetPageToken
func (x *ListServiceConnectionPoliciesRequest) GetPageToken() stringfunc (*ListServiceConnectionPoliciesRequest) GetParent
func (x *ListServiceConnectionPoliciesRequest) GetParent() stringfunc (*ListServiceConnectionPoliciesRequest) ProtoMessage
func (*ListServiceConnectionPoliciesRequest) ProtoMessage()func (*ListServiceConnectionPoliciesRequest) ProtoReflect
func (x *ListServiceConnectionPoliciesRequest) ProtoReflect() protoreflect.Messagefunc (*ListServiceConnectionPoliciesRequest) Reset
func (x *ListServiceConnectionPoliciesRequest) Reset()func (*ListServiceConnectionPoliciesRequest) String
func (x *ListServiceConnectionPoliciesRequest) String() stringListServiceConnectionPoliciesResponse
type ListServiceConnectionPoliciesResponse struct {
// ServiceConnectionPolicies to be returned.
ServiceConnectionPolicies []*ServiceConnectionPolicy `protobuf:"bytes,1,rep,name=service_connection_policies,json=serviceConnectionPolicies,proto3" json:"service_connection_policies,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 ListServiceConnectionPolicies.
func (*ListServiceConnectionPoliciesResponse) Descriptor
func (*ListServiceConnectionPoliciesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListServiceConnectionPoliciesResponse.ProtoReflect.Descriptor instead.
func (*ListServiceConnectionPoliciesResponse) GetNextPageToken
func (x *ListServiceConnectionPoliciesResponse) GetNextPageToken() stringfunc (*ListServiceConnectionPoliciesResponse) GetServiceConnectionPolicies
func (x *ListServiceConnectionPoliciesResponse) GetServiceConnectionPolicies() []*ServiceConnectionPolicyfunc (*ListServiceConnectionPoliciesResponse) GetUnreachable
func (x *ListServiceConnectionPoliciesResponse) GetUnreachable() []stringfunc (*ListServiceConnectionPoliciesResponse) ProtoMessage
func (*ListServiceConnectionPoliciesResponse) ProtoMessage()func (*ListServiceConnectionPoliciesResponse) ProtoReflect
func (x *ListServiceConnectionPoliciesResponse) ProtoReflect() protoreflect.Messagefunc (*ListServiceConnectionPoliciesResponse) Reset
func (x *ListServiceConnectionPoliciesResponse) Reset()func (*ListServiceConnectionPoliciesResponse) String
func (x *ListServiceConnectionPoliciesResponse) String() stringListServiceConnectionTokensRequest
type ListServiceConnectionTokensRequest struct {
// Required. The parent resource's name. ex. projects/123/locations/us-east1
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 ListServiceConnectionTokens.
func (*ListServiceConnectionTokensRequest) Descriptor
func (*ListServiceConnectionTokensRequest) Descriptor() ([]byte, []int)Deprecated: Use ListServiceConnectionTokensRequest.ProtoReflect.Descriptor instead.
func (*ListServiceConnectionTokensRequest) GetFilter
func (x *ListServiceConnectionTokensRequest) GetFilter() stringfunc (*ListServiceConnectionTokensRequest) GetOrderBy
func (x *ListServiceConnectionTokensRequest) GetOrderBy() stringfunc (*ListServiceConnectionTokensRequest) GetPageSize
func (x *ListServiceConnectionTokensRequest) GetPageSize() int32func (*ListServiceConnectionTokensRequest) GetPageToken
func (x *ListServiceConnectionTokensRequest) GetPageToken() stringfunc (*ListServiceConnectionTokensRequest) GetParent
func (x *ListServiceConnectionTokensRequest) GetParent() stringfunc (*ListServiceConnectionTokensRequest) ProtoMessage
func (*ListServiceConnectionTokensRequest) ProtoMessage()func (*ListServiceConnectionTokensRequest) ProtoReflect
func (x *ListServiceConnectionTokensRequest) ProtoReflect() protoreflect.Messagefunc (*ListServiceConnectionTokensRequest) Reset
func (x *ListServiceConnectionTokensRequest) Reset()func (*ListServiceConnectionTokensRequest) String
func (x *ListServiceConnectionTokensRequest) String() stringListServiceConnectionTokensResponse
type ListServiceConnectionTokensResponse struct {
// ServiceConnectionTokens to be returned.
ServiceConnectionTokens []*ServiceConnectionToken `protobuf:"bytes,1,rep,name=service_connection_tokens,json=serviceConnectionTokens,proto3" json:"service_connection_tokens,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 ListServiceConnectionTokens.
func (*ListServiceConnectionTokensResponse) Descriptor
func (*ListServiceConnectionTokensResponse) Descriptor() ([]byte, []int)Deprecated: Use ListServiceConnectionTokensResponse.ProtoReflect.Descriptor instead.
func (*ListServiceConnectionTokensResponse) GetNextPageToken
func (x *ListServiceConnectionTokensResponse) GetNextPageToken() stringfunc (*ListServiceConnectionTokensResponse) GetServiceConnectionTokens
func (x *ListServiceConnectionTokensResponse) GetServiceConnectionTokens() []*ServiceConnectionTokenfunc (*ListServiceConnectionTokensResponse) GetUnreachable
func (x *ListServiceConnectionTokensResponse) GetUnreachable() []stringfunc (*ListServiceConnectionTokensResponse) ProtoMessage
func (*ListServiceConnectionTokensResponse) ProtoMessage()func (*ListServiceConnectionTokensResponse) ProtoReflect
func (x *ListServiceConnectionTokensResponse) ProtoReflect() protoreflect.Messagefunc (*ListServiceConnectionTokensResponse) Reset
func (x *ListServiceConnectionTokensResponse) Reset()func (*ListServiceConnectionTokensResponse) String
func (x *ListServiceConnectionTokensResponse) 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.v1.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.v1.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() stringLocationFeature
type LocationFeature int32Supported features for a location
LocationFeature_LOCATION_FEATURE_UNSPECIFIED, LocationFeature_SITE_TO_CLOUD_SPOKES, LocationFeature_SITE_TO_SITE_SPOKES
const (
// No publicly supported feature in this location
LocationFeature_LOCATION_FEATURE_UNSPECIFIED LocationFeature = 0
// Site-to-cloud spokes are supported in this location
LocationFeature_SITE_TO_CLOUD_SPOKES LocationFeature = 1
// Site-to-site spokes are supported in this location
LocationFeature_SITE_TO_SITE_SPOKES LocationFeature = 2
)func (LocationFeature) Descriptor
func (LocationFeature) Descriptor() protoreflect.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.v1.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() 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() 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. 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.
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.
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.
// For this version, only IPV4 is supported. IPV6 is supported in preview.
ProtocolVersion PolicyBasedRoute_Filter_ProtocolVersion `protobuf:"varint,6,opt,name=protocol_version,json=protocolVersion,proto3,enum=google.cloud.networkconnectivity.v1.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
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
)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.v1.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.v1.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
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
)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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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() stringRoute
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.v1.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.v1.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"`
// 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) 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.v1.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
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
)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() stringServiceClass
type ServiceClass struct {
// Immutable. The name of a ServiceClass resource.
// Format:
// projects/{project}/locations/{location}/serviceClasses/{service_class}
// See: https://google.aip.dev/122#fields-representing-resource-names
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The generated service class name. Use this name to refer to
// the Service class in Service Connection Maps and Service Connection
// Policies.
ServiceClass string `protobuf:"bytes,7,opt,name=service_class,json=serviceClass,proto3" json:"service_class,omitempty"`
// Output only. Time when the ServiceClass was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when the ServiceClass 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"`
// A description of this resource.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Optional. The etag is computed by the server, 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,8,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
// contains filtered or unexported fields
}The ServiceClass resource.
func (*ServiceClass) Descriptor
func (*ServiceClass) Descriptor() ([]byte, []int)Deprecated: Use ServiceClass.ProtoReflect.Descriptor instead.
func (*ServiceClass) GetCreateTime
func (x *ServiceClass) GetCreateTime() *timestamppb.Timestampfunc (*ServiceClass) GetDescription
func (x *ServiceClass) GetDescription() stringfunc (*ServiceClass) GetEtag
func (x *ServiceClass) GetEtag() stringfunc (*ServiceClass) GetLabels
func (x *ServiceClass) GetLabels() map[string]stringfunc (*ServiceClass) GetName
func (x *ServiceClass) GetName() stringfunc (*ServiceClass) GetServiceClass
func (x *ServiceClass) GetServiceClass() stringfunc (*ServiceClass) GetUpdateTime
func (x *ServiceClass) GetUpdateTime() *timestamppb.Timestampfunc (*ServiceClass) ProtoMessage
func (*ServiceClass) ProtoMessage()func (*ServiceClass) ProtoReflect
func (x *ServiceClass) ProtoReflect() protoreflect.Messagefunc (*ServiceClass) Reset
func (x *ServiceClass) Reset()func (*ServiceClass) String
func (x *ServiceClass) 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.v1.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.EnumTypeServiceConnectionMap
type ServiceConnectionMap struct {
// Immutable. The name of a ServiceConnectionMap.
// Format:
// projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map}
// See: https://google.aip.dev/122#fields-representing-resource-names
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Time when the ServiceConnectionMap was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when the ServiceConnectionMap 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"`
// A description of this resource.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// The service class identifier this ServiceConnectionMap is for.
// The user of ServiceConnectionMap create API needs to have
// networkconnecitivty.serviceclasses.use iam permission for the service
// class.
ServiceClass string `protobuf:"bytes,7,opt,name=service_class,json=serviceClass,proto3" json:"service_class,omitempty"`
// Output only. The service class uri this ServiceConnectionMap is for.
ServiceClassUri string `protobuf:"bytes,12,opt,name=service_class_uri,json=serviceClassUri,proto3" json:"service_class_uri,omitempty"`
// Output only. The infrastructure used for connections between
// consumers/producers.
Infrastructure Infrastructure `protobuf:"varint,8,opt,name=infrastructure,proto3,enum=google.cloud.networkconnectivity.v1.Infrastructure" json:"infrastructure,omitempty"`
// The PSC configurations on producer side.
ProducerPscConfigs []*ServiceConnectionMap_ProducerPscConfig `protobuf:"bytes,9,rep,name=producer_psc_configs,json=producerPscConfigs,proto3" json:"producer_psc_configs,omitempty"`
// The PSC configurations on consumer side.
ConsumerPscConfigs []*ServiceConnectionMap_ConsumerPscConfig `protobuf:"bytes,10,rep,name=consumer_psc_configs,json=consumerPscConfigs,proto3" json:"consumer_psc_configs,omitempty"`
// Output only. PSC connection details on consumer side.
ConsumerPscConnections []*ServiceConnectionMap_ConsumerPscConnection `protobuf:"bytes,11,rep,name=consumer_psc_connections,json=consumerPscConnections,proto3" json:"consumer_psc_connections,omitempty"`
// The token provided by the consumer. This token authenticates that the
// consumer can create a connection within the specified project and network.
Token string `protobuf:"bytes,13,opt,name=token,proto3" json:"token,omitempty"`
// Optional. The etag is computed by the server, 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,14,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
// contains filtered or unexported fields
}The ServiceConnectionMap resource.
func (*ServiceConnectionMap) Descriptor
func (*ServiceConnectionMap) Descriptor() ([]byte, []int)Deprecated: Use ServiceConnectionMap.ProtoReflect.Descriptor instead.
func (*ServiceConnectionMap) GetConsumerPscConfigs
func (x *ServiceConnectionMap) GetConsumerPscConfigs() []*ServiceConnectionMap_ConsumerPscConfigfunc (*ServiceConnectionMap) GetConsumerPscConnections
func (x *ServiceConnectionMap) GetConsumerPscConnections() []*ServiceConnectionMap_ConsumerPscConnectionfunc (*ServiceConnectionMap) GetCreateTime
func (x *ServiceConnectionMap) GetCreateTime() *timestamppb.Timestampfunc (*ServiceConnectionMap) GetDescription
func (x *ServiceConnectionMap) GetDescription() stringfunc (*ServiceConnectionMap) GetEtag
func (x *ServiceConnectionMap) GetEtag() stringfunc (*ServiceConnectionMap) GetInfrastructure
func (x *ServiceConnectionMap) GetInfrastructure() Infrastructurefunc (*ServiceConnectionMap) GetLabels
func (x *ServiceConnectionMap) GetLabels() map[string]stringfunc (*ServiceConnectionMap) GetName
func (x *ServiceConnectionMap) GetName() stringfunc (*ServiceConnectionMap) GetProducerPscConfigs
func (x *ServiceConnectionMap) GetProducerPscConfigs() []*ServiceConnectionMap_ProducerPscConfigfunc (*ServiceConnectionMap) GetServiceClass
func (x *ServiceConnectionMap) GetServiceClass() stringfunc (*ServiceConnectionMap) GetServiceClassUri
func (x *ServiceConnectionMap) GetServiceClassUri() stringfunc (*ServiceConnectionMap) GetToken
func (x *ServiceConnectionMap) GetToken() stringfunc (*ServiceConnectionMap) GetUpdateTime
func (x *ServiceConnectionMap) GetUpdateTime() *timestamppb.Timestampfunc (*ServiceConnectionMap) ProtoMessage
func (*ServiceConnectionMap) ProtoMessage()func (*ServiceConnectionMap) ProtoReflect
func (x *ServiceConnectionMap) ProtoReflect() protoreflect.Messagefunc (*ServiceConnectionMap) Reset
func (x *ServiceConnectionMap) Reset()func (*ServiceConnectionMap) String
func (x *ServiceConnectionMap) String() stringServiceConnectionMap_ConsumerPscConfig
type ServiceConnectionMap_ConsumerPscConfig struct {
// The consumer project where PSC connections are allowed to be created in.
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// The resource path of the consumer network where PSC connections are
// allowed to be created in. Note, this network does not need be in the
// ConsumerPscConfig.project in the case of SharedVPC.
// Example:
// projects/{projectNumOrId}/global/networks/{networkId}.
Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
// This is used in PSC consumer ForwardingRule to control whether the PSC
// endpoint can be accessed from another region.
DisableGlobalAccess bool `protobuf:"varint,3,opt,name=disable_global_access,json=disableGlobalAccess,proto3" json:"disable_global_access,omitempty"`
// Output only. Overall state of PSC Connections management for this
// consumer psc config.
State ServiceConnectionMap_ConsumerPscConfig_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1.ServiceConnectionMap_ConsumerPscConfig_State" json:"state,omitempty"`
// Immutable. Deprecated. Use producer_instance_metadata instead.
// An immutable identifier for the producer instance.
//
// Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
ProducerInstanceId string `protobuf:"bytes,5,opt,name=producer_instance_id,json=producerInstanceId,proto3" json:"producer_instance_id,omitempty"`
// Output only. A map to store mapping between customer vip and target
// service attachment. Only service attachment with producer specified ip
// addresses are stored here.
ServiceAttachmentIpAddressMap map[string]string `protobuf:"bytes,6,rep,name=service_attachment_ip_address_map,json=serviceAttachmentIpAddressMap,proto3" json:"service_attachment_ip_address_map,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Required. The project ID or project number of the consumer project. This
// project is the one that the consumer uses to interact with the producer
// instance. From the perspective of a consumer who's created a producer
// instance, this is the project of the producer instance. Format:
// 'projects/Allow the producer to specify which consumers can connect to it.
func (*ServiceConnectionMap_ConsumerPscConfig) Descriptor
func (*ServiceConnectionMap_ConsumerPscConfig) Descriptor() ([]byte, []int)Deprecated: Use ServiceConnectionMap_ConsumerPscConfig.ProtoReflect.Descriptor instead.
func (*ServiceConnectionMap_ConsumerPscConfig) GetConsumerInstanceProject
func (x *ServiceConnectionMap_ConsumerPscConfig) GetConsumerInstanceProject() stringfunc (*ServiceConnectionMap_ConsumerPscConfig) GetDisableGlobalAccess
func (x *ServiceConnectionMap_ConsumerPscConfig) GetDisableGlobalAccess() boolfunc (*ServiceConnectionMap_ConsumerPscConfig) GetIpVersion
func (x *ServiceConnectionMap_ConsumerPscConfig) GetIpVersion() IPVersionfunc (*ServiceConnectionMap_ConsumerPscConfig) GetNetwork
func (x *ServiceConnectionMap_ConsumerPscConfig) GetNetwork() stringfunc (*ServiceConnectionMap_ConsumerPscConfig) GetProducerInstanceId
func (x *ServiceConnectionMap_ConsumerPscConfig) GetProducerInstanceId() stringDeprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
func (*ServiceConnectionMap_ConsumerPscConfig) GetProducerInstanceMetadata
func (x *ServiceConnectionMap_ConsumerPscConfig) GetProducerInstanceMetadata() map[string]stringfunc (*ServiceConnectionMap_ConsumerPscConfig) GetProject
func (x *ServiceConnectionMap_ConsumerPscConfig) GetProject() stringfunc (*ServiceConnectionMap_ConsumerPscConfig) GetServiceAttachmentIpAddressMap
func (x *ServiceConnectionMap_ConsumerPscConfig) GetServiceAttachmentIpAddressMap() map[string]stringfunc (*ServiceConnectionMap_ConsumerPscConfig) GetState
func (x *ServiceConnectionMap_ConsumerPscConfig) GetState() ServiceConnectionMap_ConsumerPscConfig_Statefunc (*ServiceConnectionMap_ConsumerPscConfig) ProtoMessage
func (*ServiceConnectionMap_ConsumerPscConfig) ProtoMessage()func (*ServiceConnectionMap_ConsumerPscConfig) ProtoReflect
func (x *ServiceConnectionMap_ConsumerPscConfig) ProtoReflect() protoreflect.Messagefunc (*ServiceConnectionMap_ConsumerPscConfig) Reset
func (x *ServiceConnectionMap_ConsumerPscConfig) Reset()func (*ServiceConnectionMap_ConsumerPscConfig) String
func (x *ServiceConnectionMap_ConsumerPscConfig) String() stringServiceConnectionMap_ConsumerPscConfig_State
type ServiceConnectionMap_ConsumerPscConfig_State int32PSC Consumer Config State.
ServiceConnectionMap_ConsumerPscConfig_STATE_UNSPECIFIED, ServiceConnectionMap_ConsumerPscConfig_VALID, ServiceConnectionMap_ConsumerPscConfig_CONNECTION_POLICY_MISSING, ServiceConnectionMap_ConsumerPscConfig_POLICY_LIMIT_REACHED, ServiceConnectionMap_ConsumerPscConfig_CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED
const (
// Default state, when Connection Map is created initially.
ServiceConnectionMap_ConsumerPscConfig_STATE_UNSPECIFIED ServiceConnectionMap_ConsumerPscConfig_State = 0
// Set when policy and map configuration is valid,
// and their matching can lead to allowing creation of PSC Connections
// subject to other constraints like connections limit.
ServiceConnectionMap_ConsumerPscConfig_VALID ServiceConnectionMap_ConsumerPscConfig_State = 1
// No Service Connection Policy found for this network and Service
// Class
ServiceConnectionMap_ConsumerPscConfig_CONNECTION_POLICY_MISSING ServiceConnectionMap_ConsumerPscConfig_State = 2
// Service Connection Policy limit reached for this network and Service
// Class
ServiceConnectionMap_ConsumerPscConfig_POLICY_LIMIT_REACHED ServiceConnectionMap_ConsumerPscConfig_State = 3
// The consumer instance project is not in
// AllowedGoogleProducersResourceHierarchyLevels of the matching
// ServiceConnectionPolicy.
ServiceConnectionMap_ConsumerPscConfig_CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED ServiceConnectionMap_ConsumerPscConfig_State = 4
)func (ServiceConnectionMap_ConsumerPscConfig_State) Descriptor
func (ServiceConnectionMap_ConsumerPscConfig_State) Descriptor() protoreflect.EnumDescriptorfunc (ServiceConnectionMap_ConsumerPscConfig_State) Enum
func (x ServiceConnectionMap_ConsumerPscConfig_State) Enum() *ServiceConnectionMap_ConsumerPscConfig_Statefunc (ServiceConnectionMap_ConsumerPscConfig_State) EnumDescriptor
func (ServiceConnectionMap_ConsumerPscConfig_State) EnumDescriptor() ([]byte, []int)Deprecated: Use ServiceConnectionMap_ConsumerPscConfig_State.Descriptor instead.
func (ServiceConnectionMap_ConsumerPscConfig_State) Number
func (x ServiceConnectionMap_ConsumerPscConfig_State) Number() protoreflect.EnumNumberfunc (ServiceConnectionMap_ConsumerPscConfig_State) String
func (x ServiceConnectionMap_ConsumerPscConfig_State) String() stringfunc (ServiceConnectionMap_ConsumerPscConfig_State) Type
func (ServiceConnectionMap_ConsumerPscConfig_State) Type() protoreflect.EnumTypeServiceConnectionMap_ConsumerPscConnection
type ServiceConnectionMap_ConsumerPscConnection struct {
// The URI of a service attachment which is the target of the PSC
// connection.
ServiceAttachmentUri string `protobuf:"bytes,1,opt,name=service_attachment_uri,json=serviceAttachmentUri,proto3" json:"service_attachment_uri,omitempty"`
// The state of the PSC connection.
State ServiceConnectionMap_ConsumerPscConnection_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1.ServiceConnectionMap_ConsumerPscConnection_State" json:"state,omitempty"`
// The consumer project whose PSC forwarding rule is connected to the
// service attachments in this service connection map.
Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
// The consumer network whose PSC forwarding rule is connected to the
// service attachments in this service connection map.
// Note that the network could be on a different project (shared VPC).
Network string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
// The PSC connection id of the PSC forwarding rule connected
// to the service attachments in this service connection map.
PscConnectionId string `protobuf:"bytes,5,opt,name=psc_connection_id,json=pscConnectionId,proto3" json:"psc_connection_id,omitempty"`
// The IP literal allocated on the consumer network for the PSC forwarding
// rule that is created to connect to the producer service attachment in
// this service connection map.
Ip string `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"`
// The error type indicates whether the error is consumer facing, producer
// facing or system internal.
//
// Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
ErrorType ConnectionErrorType `protobuf:"varint,7,opt,name=error_type,json=errorType,proto3,enum=google.cloud.networkconnectivity.v1.ConnectionErrorType" json:"error_type,omitempty"`
// The most recent error during operating this connection.
//
// Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
Error *status.Status `protobuf:"bytes,8,opt,name=error,proto3" json:"error,omitempty"`
// The last Compute Engine operation to setup PSC connection.
GceOperation string `protobuf:"bytes,9,opt,name=gce_operation,json=gceOperation,proto3" json:"gce_operation,omitempty"`
// The URI of the consumer forwarding rule created.
// Example:
// projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.
ForwardingRule string `protobuf:"bytes,10,opt,name=forwarding_rule,json=forwardingRule,proto3" json:"forwarding_rule,omitempty"`
// Output only. The error info for the latest error during operating this
// connection.
ErrorInfo *errdetails.ErrorInfo `protobuf:"bytes,11,opt,name=error_info,json=errorInfo,proto3" json:"error_info,omitempty"`
// Output only. The URI of the selected subnetwork selected to allocate IP
// address for this connection.
SelectedSubnetwork string `protobuf:"bytes,12,opt,name=selected_subnetwork,json=selectedSubnetwork,proto3" json:"selected_subnetwork,omitempty"`
// Immutable. Deprecated. Use producer_instance_metadata instead.
// An immutable identifier for the producer instance.
//
// Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
ProducerInstanceId string `protobuf:"bytes,13,opt,name=producer_instance_id,json=producerInstanceId,proto3" json:"producer_instance_id,omitempty"`
// Immutable. An immutable map for the producer instance metadata.
ProducerInstanceMetadata map[string]string `protobuf:"bytes,14,rep,name=producer_instance_metadata,json=producerInstanceMetadata,proto3" json:"producer_instance_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// The requested IP version for the PSC connection.
IpVersion *IPVersion `protobuf:"varint,15,opt,name=ip_version,json=ipVersion,proto3,enum=google.cloud.networkconnectivity.v1.IPVersion,oneof" json:"ip_version,omitempty"`
// contains filtered or unexported fields
}PSC connection details on consumer side.
func (*ServiceConnectionMap_ConsumerPscConnection) Descriptor
func (*ServiceConnectionMap_ConsumerPscConnection) Descriptor() ([]byte, []int)Deprecated: Use ServiceConnectionMap_ConsumerPscConnection.ProtoReflect.Descriptor instead.
func (*ServiceConnectionMap_ConsumerPscConnection) GetError
func (x *ServiceConnectionMap_ConsumerPscConnection) GetError() *status.StatusDeprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
func (*ServiceConnectionMap_ConsumerPscConnection) GetErrorInfo
func (x *ServiceConnectionMap_ConsumerPscConnection) GetErrorInfo() *errdetails.ErrorInfofunc (*ServiceConnectionMap_ConsumerPscConnection) GetErrorType
func (x *ServiceConnectionMap_ConsumerPscConnection) GetErrorType() ConnectionErrorTypeDeprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
func (*ServiceConnectionMap_ConsumerPscConnection) GetForwardingRule
func (x *ServiceConnectionMap_ConsumerPscConnection) GetForwardingRule() stringfunc (*ServiceConnectionMap_ConsumerPscConnection) GetGceOperation
func (x *ServiceConnectionMap_ConsumerPscConnection) GetGceOperation() stringfunc (*ServiceConnectionMap_ConsumerPscConnection) GetIp
func (x *ServiceConnectionMap_ConsumerPscConnection) GetIp() stringfunc (*ServiceConnectionMap_ConsumerPscConnection) GetIpVersion
func (x *ServiceConnectionMap_ConsumerPscConnection) GetIpVersion() IPVersionfunc (*ServiceConnectionMap_ConsumerPscConnection) GetNetwork
func (x *ServiceConnectionMap_ConsumerPscConnection) GetNetwork() stringfunc (*ServiceConnectionMap_ConsumerPscConnection) GetProducerInstanceId
func (x *ServiceConnectionMap_ConsumerPscConnection) GetProducerInstanceId() stringDeprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
func (*ServiceConnectionMap_ConsumerPscConnection) GetProducerInstanceMetadata
func (x *ServiceConnectionMap_ConsumerPscConnection) GetProducerInstanceMetadata() map[string]stringfunc (*ServiceConnectionMap_ConsumerPscConnection) GetProject
func (x *ServiceConnectionMap_ConsumerPscConnection) GetProject() stringfunc (*ServiceConnectionMap_ConsumerPscConnection) GetPscConnectionId
func (x *ServiceConnectionMap_ConsumerPscConnection) GetPscConnectionId() stringfunc (*ServiceConnectionMap_ConsumerPscConnection) GetSelectedSubnetwork
func (x *ServiceConnectionMap_ConsumerPscConnection) GetSelectedSubnetwork() stringfunc (*ServiceConnectionMap_ConsumerPscConnection) GetServiceAttachmentUri
func (x *ServiceConnectionMap_ConsumerPscConnection) GetServiceAttachmentUri() stringfunc (*ServiceConnectionMap_ConsumerPscConnection) GetState
func (x *ServiceConnectionMap_ConsumerPscConnection) GetState() ServiceConnectionMap_ConsumerPscConnection_Statefunc (*ServiceConnectionMap_ConsumerPscConnection) ProtoMessage
func (*ServiceConnectionMap_ConsumerPscConnection) ProtoMessage()func (*ServiceConnectionMap_ConsumerPscConnection) ProtoReflect
func (x *ServiceConnectionMap_ConsumerPscConnection) ProtoReflect() protoreflect.Messagefunc (*ServiceConnectionMap_ConsumerPscConnection) Reset
func (x *ServiceConnectionMap_ConsumerPscConnection) Reset()func (*ServiceConnectionMap_ConsumerPscConnection) String
func (x *ServiceConnectionMap_ConsumerPscConnection) String() stringServiceConnectionMap_ConsumerPscConnection_State
type ServiceConnectionMap_ConsumerPscConnection_State int32The state of the PSC connection. We reserve the right to add more states without notice in the future. Users should not use exhaustive switch statements on this enum. See https://google.aip.dev/216.
ServiceConnectionMap_ConsumerPscConnection_STATE_UNSPECIFIED, ServiceConnectionMap_ConsumerPscConnection_ACTIVE, ServiceConnectionMap_ConsumerPscConnection_FAILED, ServiceConnectionMap_ConsumerPscConnection_CREATING, ServiceConnectionMap_ConsumerPscConnection_DELETING, ServiceConnectionMap_ConsumerPscConnection_CREATE_REPAIRING, ServiceConnectionMap_ConsumerPscConnection_DELETE_REPAIRING
const (
// An invalid state as the default case.
ServiceConnectionMap_ConsumerPscConnection_STATE_UNSPECIFIED ServiceConnectionMap_ConsumerPscConnection_State = 0
// The connection has been created successfully. However, for the
// up-to-date connection status, please use the service attachment's
// "ConnectedEndpoint.status" as the source of truth.
ServiceConnectionMap_ConsumerPscConnection_ACTIVE ServiceConnectionMap_ConsumerPscConnection_State = 1
// The connection is not functional since some resources on the connection
// fail to be created.
ServiceConnectionMap_ConsumerPscConnection_FAILED ServiceConnectionMap_ConsumerPscConnection_State = 2
// The connection is being created.
ServiceConnectionMap_ConsumerPscConnection_CREATING ServiceConnectionMap_ConsumerPscConnection_State = 3
// The connection is being deleted.
ServiceConnectionMap_ConsumerPscConnection_DELETING ServiceConnectionMap_ConsumerPscConnection_State = 4
// The connection is being repaired to complete creation.
ServiceConnectionMap_ConsumerPscConnection_CREATE_REPAIRING ServiceConnectionMap_ConsumerPscConnection_State = 5
// The connection is being repaired to complete deletion.
ServiceConnectionMap_ConsumerPscConnection_DELETE_REPAIRING ServiceConnectionMap_ConsumerPscConnection_State = 6
)func (ServiceConnectionMap_ConsumerPscConnection_State) Descriptor
func (ServiceConnectionMap_ConsumerPscConnection_State) Descriptor() protoreflect.EnumDescriptorfunc (ServiceConnectionMap_ConsumerPscConnection_State) Enum
func (x ServiceConnectionMap_ConsumerPscConnection_State) Enum() *ServiceConnectionMap_ConsumerPscConnection_Statefunc (ServiceConnectionMap_ConsumerPscConnection_State) EnumDescriptor
func (ServiceConnectionMap_ConsumerPscConnection_State) EnumDescriptor() ([]byte, []int)Deprecated: Use ServiceConnectionMap_ConsumerPscConnection_State.Descriptor instead.
func (ServiceConnectionMap_ConsumerPscConnection_State) Number
func (x ServiceConnectionMap_ConsumerPscConnection_State) Number() protoreflect.EnumNumberfunc (ServiceConnectionMap_ConsumerPscConnection_State) String
func (x ServiceConnectionMap_ConsumerPscConnection_State) String() stringfunc (ServiceConnectionMap_ConsumerPscConnection_State) Type
ServiceConnectionMap_ProducerPscConfig
type ServiceConnectionMap_ProducerPscConfig struct {
// The resource path of a service attachment.
// Example:
// projects/{projectNumOrId}/regions/{region}/serviceAttachments/{resourceId}.
ServiceAttachmentUri string `protobuf:"bytes,1,opt,name=service_attachment_uri,json=serviceAttachmentUri,proto3" json:"service_attachment_uri,omitempty"`
// contains filtered or unexported fields
}The PSC configurations on producer side.
func (*ServiceConnectionMap_ProducerPscConfig) Descriptor
func (*ServiceConnectionMap_ProducerPscConfig) Descriptor() ([]byte, []int)Deprecated: Use ServiceConnectionMap_ProducerPscConfig.ProtoReflect.Descriptor instead.
func (*ServiceConnectionMap_ProducerPscConfig) GetServiceAttachmentUri
func (x *ServiceConnectionMap_ProducerPscConfig) GetServiceAttachmentUri() stringfunc (*ServiceConnectionMap_ProducerPscConfig) ProtoMessage
func (*ServiceConnectionMap_ProducerPscConfig) ProtoMessage()func (*ServiceConnectionMap_ProducerPscConfig) ProtoReflect
func (x *ServiceConnectionMap_ProducerPscConfig) ProtoReflect() protoreflect.Messagefunc (*ServiceConnectionMap_ProducerPscConfig) Reset
func (x *ServiceConnectionMap_ProducerPscConfig) Reset()func (*ServiceConnectionMap_ProducerPscConfig) String
func (x *ServiceConnectionMap_ProducerPscConfig) String() stringServiceConnectionPolicy
type ServiceConnectionPolicy struct {
// Immutable. The name of a ServiceConnectionPolicy.
// Format:
// projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy}
// See: https://google.aip.dev/122#fields-representing-resource-names
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Time when the ServiceConnectionPolicy was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when the ServiceConnectionPolicy 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"`
// A description of this resource.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// The resource path of the consumer network.
// Example:
// - projects/{projectNumOrId}/global/networks/{resourceId}.
Network string `protobuf:"bytes,6,opt,name=network,proto3" json:"network,omitempty"`
// The service class identifier for which this ServiceConnectionPolicy is for.
// The service class identifier is a unique, symbolic representation of a
// ServiceClass. It is provided by the Service Producer. Google services have
// a prefix of gcp or google-cloud. For example, gcp-memorystore-redis or
// google-cloud-sql. 3rd party services do not. For example,
// test-service-a3dfcx.
ServiceClass string `protobuf:"bytes,7,opt,name=service_class,json=serviceClass,proto3" json:"service_class,omitempty"`
// Output only. The type of underlying resources used to create the
// connection.
Infrastructure Infrastructure `protobuf:"varint,8,opt,name=infrastructure,proto3,enum=google.cloud.networkconnectivity.v1.Infrastructure" json:"infrastructure,omitempty"`
// Configuration used for Private Service Connect connections. Used when
// Infrastructure is PSC.
PscConfig *ServiceConnectionPolicy_PscConfig `protobuf:"bytes,9,opt,name=psc_config,json=pscConfig,proto3" json:"psc_config,omitempty"`
// Output only. [Output only] Information about each Private Service Connect
// connection.
PscConnections []*ServiceConnectionPolicy_PscConnection `protobuf:"bytes,10,rep,name=psc_connections,json=pscConnections,proto3" json:"psc_connections,omitempty"`
// Optional. The etag is computed by the server, 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,11,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
// contains filtered or unexported fields
}The ServiceConnectionPolicy resource.
func (*ServiceConnectionPolicy) Descriptor
func (*ServiceConnectionPolicy) Descriptor() ([]byte, []int)Deprecated: Use ServiceConnectionPolicy.ProtoReflect.Descriptor instead.
func (*ServiceConnectionPolicy) GetCreateTime
func (x *ServiceConnectionPolicy) GetCreateTime() *timestamppb.Timestampfunc (*ServiceConnectionPolicy) GetDescription
func (x *ServiceConnectionPolicy) GetDescription() stringfunc (*ServiceConnectionPolicy) GetEtag
func (x *ServiceConnectionPolicy) GetEtag() stringfunc (*ServiceConnectionPolicy) GetInfrastructure
func (x *ServiceConnectionPolicy) GetInfrastructure() Infrastructurefunc (*ServiceConnectionPolicy) GetLabels
func (x *ServiceConnectionPolicy) GetLabels() map[string]stringfunc (*ServiceConnectionPolicy) GetName
func (x *ServiceConnectionPolicy) GetName() stringfunc (*ServiceConnectionPolicy) GetNetwork
func (x *ServiceConnectionPolicy) GetNetwork() stringfunc (*ServiceConnectionPolicy) GetPscConfig
func (x *ServiceConnectionPolicy) GetPscConfig() *ServiceConnectionPolicy_PscConfigfunc (*ServiceConnectionPolicy) GetPscConnections
func (x *ServiceConnectionPolicy) GetPscConnections() []*ServiceConnectionPolicy_PscConnectionfunc (*ServiceConnectionPolicy) GetServiceClass
func (x *ServiceConnectionPolicy) GetServiceClass() stringfunc (*ServiceConnectionPolicy) GetUpdateTime
func (x *ServiceConnectionPolicy) GetUpdateTime() *timestamppb.Timestampfunc (*ServiceConnectionPolicy) ProtoMessage
func (*ServiceConnectionPolicy) ProtoMessage()func (*ServiceConnectionPolicy) ProtoReflect
func (x *ServiceConnectionPolicy) ProtoReflect() protoreflect.Messagefunc (*ServiceConnectionPolicy) Reset
func (x *ServiceConnectionPolicy) Reset()func (*ServiceConnectionPolicy) String
func (x *ServiceConnectionPolicy) String() stringServiceConnectionPolicy_PscConfig
type ServiceConnectionPolicy_PscConfig struct {
// The resource paths of subnetworks to use for IP address management.
// Example:
// projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
Subnetworks []string `protobuf:"bytes,1,rep,name=subnetworks,proto3" json:"subnetworks,omitempty"`
// Optional. Max number of PSC connections for this policy.
Limit *int64 `protobuf:"varint,2,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
// Required. ProducerInstanceLocation is used to specify which authorization
// mechanism to use to determine which projects the Producer instance can be
// within.
ProducerInstanceLocation ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation `protobuf:"varint,3,opt,name=producer_instance_location,json=producerInstanceLocation,proto3,enum=google.cloud.networkconnectivity.v1.ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation" json:"producer_instance_location,omitempty"`
// Optional. List of Projects, Folders, or Organizations from where the
// Producer instance can be within. For example, a network administrator can
// provide both 'organizations/foo' and 'projects/bar' as
// allowed_google_producers_resource_hierarchy_levels. This allowlists this
// network to connect with any Producer instance within the 'foo'
// organization or the 'bar' project. By default,
// allowed_google_producers_resource_hierarchy_level is empty. The format
// for each allowed_google_producers_resource_hierarchy_level is Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
func (*ServiceConnectionPolicy_PscConfig) Descriptor
func (*ServiceConnectionPolicy_PscConfig) Descriptor() ([]byte, []int)Deprecated: Use ServiceConnectionPolicy_PscConfig.ProtoReflect.Descriptor instead.
func (*ServiceConnectionPolicy_PscConfig) GetAllowedGoogleProducersResourceHierarchyLevel
func (x *ServiceConnectionPolicy_PscConfig) GetAllowedGoogleProducersResourceHierarchyLevel() []stringfunc (*ServiceConnectionPolicy_PscConfig) GetLimit
func (x *ServiceConnectionPolicy_PscConfig) GetLimit() int64func (*ServiceConnectionPolicy_PscConfig) GetProducerInstanceLocation
func (x *ServiceConnectionPolicy_PscConfig) GetProducerInstanceLocation() ServiceConnectionPolicy_PscConfig_ProducerInstanceLocationfunc (*ServiceConnectionPolicy_PscConfig) GetSubnetworks
func (x *ServiceConnectionPolicy_PscConfig) GetSubnetworks() []stringfunc (*ServiceConnectionPolicy_PscConfig) ProtoMessage
func (*ServiceConnectionPolicy_PscConfig) ProtoMessage()func (*ServiceConnectionPolicy_PscConfig) ProtoReflect
func (x *ServiceConnectionPolicy_PscConfig) ProtoReflect() protoreflect.Messagefunc (*ServiceConnectionPolicy_PscConfig) Reset
func (x *ServiceConnectionPolicy_PscConfig) Reset()func (*ServiceConnectionPolicy_PscConfig) String
func (x *ServiceConnectionPolicy_PscConfig) String() stringServiceConnectionPolicy_PscConfig_ProducerInstanceLocation
type ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation int32ProducerInstanceLocation is used to specify which authorization mechanism to use to determine which projects the Producer instance can be within.
ServiceConnectionPolicy_PscConfig_PRODUCER_INSTANCE_LOCATION_UNSPECIFIED, ServiceConnectionPolicy_PscConfig_CUSTOM_RESOURCE_HIERARCHY_LEVELS
const (
// Producer instance location is not specified. When this option is
// chosen, then the PSC connections created by this
// ServiceConnectionPolicy must be within the same project as the Producer
// instance. This is the default ProducerInstanceLocation value.
// To allow for PSC connections from this network to other networks, use
// the CUSTOM_RESOURCE_HIERARCHY_LEVELS option.
ServiceConnectionPolicy_PscConfig_PRODUCER_INSTANCE_LOCATION_UNSPECIFIED ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation = 0
// Producer instance must be within one of the values provided in
// allowed_google_producers_resource_hierarchy_level.
ServiceConnectionPolicy_PscConfig_CUSTOM_RESOURCE_HIERARCHY_LEVELS ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation = 1
)func (ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation) Descriptor
func (ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation) Descriptor() protoreflect.EnumDescriptorfunc (ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation) Enum
func (x ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation) Enum() *ServiceConnectionPolicy_PscConfig_ProducerInstanceLocationfunc (ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation) EnumDescriptor
func (ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation) EnumDescriptor() ([]byte, []int)Deprecated: Use ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation.Descriptor instead.
func (ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation) Number
func (x ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation) Number() protoreflect.EnumNumberfunc (ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation) String
func (x ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation) String() stringfunc (ServiceConnectionPolicy_PscConfig_ProducerInstanceLocation) Type
ServiceConnectionPolicy_PscConnection
type ServiceConnectionPolicy_PscConnection struct {
// State of the PSC Connection
State ServiceConnectionPolicy_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.networkconnectivity.v1.ServiceConnectionPolicy_State" json:"state,omitempty"`
// The resource reference of the PSC Forwarding Rule within the consumer
// VPC.
ConsumerForwardingRule string `protobuf:"bytes,2,opt,name=consumer_forwarding_rule,json=consumerForwardingRule,proto3" json:"consumer_forwarding_rule,omitempty"`
// The resource reference of the consumer address.
ConsumerAddress string `protobuf:"bytes,3,opt,name=consumer_address,json=consumerAddress,proto3" json:"consumer_address,omitempty"`
// The error type indicates whether the error is consumer facing, producer
// facing or system internal.
//
// Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
ErrorType ConnectionErrorType `protobuf:"varint,4,opt,name=error_type,json=errorType,proto3,enum=google.cloud.networkconnectivity.v1.ConnectionErrorType" json:"error_type,omitempty"`
// The most recent error during operating this connection.
// Deprecated, please use error_info instead.
//
// Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
Error *status.Status `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
// The last Compute Engine operation to setup PSC connection.
GceOperation string `protobuf:"bytes,6,opt,name=gce_operation,json=gceOperation,proto3" json:"gce_operation,omitempty"`
// The project where the PSC connection is created.
ConsumerTargetProject string `protobuf:"bytes,7,opt,name=consumer_target_project,json=consumerTargetProject,proto3" json:"consumer_target_project,omitempty"`
// The PSC connection id of the PSC forwarding rule.
PscConnectionId string `protobuf:"bytes,8,opt,name=psc_connection_id,json=pscConnectionId,proto3" json:"psc_connection_id,omitempty"`
// Output only. The error info for the latest error during operating this
// connection.
ErrorInfo *errdetails.ErrorInfo `protobuf:"bytes,9,opt,name=error_info,json=errorInfo,proto3" json:"error_info,omitempty"`
// Output only. The URI of the subnetwork selected to allocate IP address
// for this connection.
SelectedSubnetwork string `protobuf:"bytes,10,opt,name=selected_subnetwork,json=selectedSubnetwork,proto3" json:"selected_subnetwork,omitempty"`
// Immutable. Deprecated. Use producer_instance_metadata instead.
// An immutable identifier for the producer instance.
//
// Deprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
ProducerInstanceId string `protobuf:"bytes,11,opt,name=producer_instance_id,json=producerInstanceId,proto3" json:"producer_instance_id,omitempty"`
// Immutable. An immutable map for the producer instance metadata.
ProducerInstanceMetadata map[string]string `protobuf:"bytes,12,rep,name=producer_instance_metadata,json=producerInstanceMetadata,proto3" json:"producer_instance_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. [Output only] The service class associated with this PSC
// Connection. The value is derived from the SCPolicy and matches the
// service class name provided by the customer.
ServiceClass string `protobuf:"bytes,13,opt,name=service_class,json=serviceClass,proto3" json:"service_class,omitempty"`
// The requested IP version for the PSC connection.
IpVersion *IPVersion `protobuf:"varint,14,opt,name=ip_version,json=ipVersion,proto3,enum=google.cloud.networkconnectivity.v1.IPVersion,oneof" json:"ip_version,omitempty"`
// contains filtered or unexported fields
}Information about a specific Private Service Connect connection.
func (*ServiceConnectionPolicy_PscConnection) Descriptor
func (*ServiceConnectionPolicy_PscConnection) Descriptor() ([]byte, []int)Deprecated: Use ServiceConnectionPolicy_PscConnection.ProtoReflect.Descriptor instead.
func (*ServiceConnectionPolicy_PscConnection) GetConsumerAddress
func (x *ServiceConnectionPolicy_PscConnection) GetConsumerAddress() stringfunc (*ServiceConnectionPolicy_PscConnection) GetConsumerForwardingRule
func (x *ServiceConnectionPolicy_PscConnection) GetConsumerForwardingRule() stringfunc (*ServiceConnectionPolicy_PscConnection) GetConsumerTargetProject
func (x *ServiceConnectionPolicy_PscConnection) GetConsumerTargetProject() stringfunc (*ServiceConnectionPolicy_PscConnection) GetError
func (x *ServiceConnectionPolicy_PscConnection) GetError() *status.StatusDeprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
func (*ServiceConnectionPolicy_PscConnection) GetErrorInfo
func (x *ServiceConnectionPolicy_PscConnection) GetErrorInfo() *errdetails.ErrorInfofunc (*ServiceConnectionPolicy_PscConnection) GetErrorType
func (x *ServiceConnectionPolicy_PscConnection) GetErrorType() ConnectionErrorTypeDeprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
func (*ServiceConnectionPolicy_PscConnection) GetGceOperation
func (x *ServiceConnectionPolicy_PscConnection) GetGceOperation() stringfunc (*ServiceConnectionPolicy_PscConnection) GetIpVersion
func (x *ServiceConnectionPolicy_PscConnection) GetIpVersion() IPVersionfunc (*ServiceConnectionPolicy_PscConnection) GetProducerInstanceId
func (x *ServiceConnectionPolicy_PscConnection) GetProducerInstanceId() stringDeprecated: Marked as deprecated in google/cloud/networkconnectivity/v1/cross_network_automation.proto.
func (*ServiceConnectionPolicy_PscConnection) GetProducerInstanceMetadata
func (x *ServiceConnectionPolicy_PscConnection) GetProducerInstanceMetadata() map[string]stringfunc (*ServiceConnectionPolicy_PscConnection) GetPscConnectionId
func (x *ServiceConnectionPolicy_PscConnection) GetPscConnectionId() stringfunc (*ServiceConnectionPolicy_PscConnection) GetSelectedSubnetwork
func (x *ServiceConnectionPolicy_PscConnection) GetSelectedSubnetwork() stringfunc (*ServiceConnectionPolicy_PscConnection) GetServiceClass
func (x *ServiceConnectionPolicy_PscConnection) GetServiceClass() stringfunc (*ServiceConnectionPolicy_PscConnection) GetState
func (x *ServiceConnectionPolicy_PscConnection) GetState() ServiceConnectionPolicy_Statefunc (*ServiceConnectionPolicy_PscConnection) ProtoMessage
func (*ServiceConnectionPolicy_PscConnection) ProtoMessage()func (*ServiceConnectionPolicy_PscConnection) ProtoReflect
func (x *ServiceConnectionPolicy_PscConnection) ProtoReflect() protoreflect.Messagefunc (*ServiceConnectionPolicy_PscConnection) Reset
func (x *ServiceConnectionPolicy_PscConnection) Reset()func (*ServiceConnectionPolicy_PscConnection) String
func (x *ServiceConnectionPolicy_PscConnection) String() stringServiceConnectionPolicy_State
type ServiceConnectionPolicy_State int32The state of the PSC connection. We reserve the right to add more states without notice in the future. Users should not use exhaustive switch statements on this enum. See https://google.aip.dev/216.
ServiceConnectionPolicy_STATE_UNSPECIFIED, ServiceConnectionPolicy_ACTIVE, ServiceConnectionPolicy_FAILED, ServiceConnectionPolicy_CREATING, ServiceConnectionPolicy_DELETING, ServiceConnectionPolicy_CREATE_REPAIRING, ServiceConnectionPolicy_DELETE_REPAIRING
const (
// An invalid state as the default case.
ServiceConnectionPolicy_STATE_UNSPECIFIED ServiceConnectionPolicy_State = 0
// The connection has been created successfully. However, for the
// up-to-date connection status, please use the created forwarding rule's
// "PscConnectionStatus" as the source of truth.
ServiceConnectionPolicy_ACTIVE ServiceConnectionPolicy_State = 1
// The connection is not functional since some resources on the connection
// fail to be created.
ServiceConnectionPolicy_FAILED ServiceConnectionPolicy_State = 2
// The connection is being created.
ServiceConnectionPolicy_CREATING ServiceConnectionPolicy_State = 3
// The connection is being deleted.
ServiceConnectionPolicy_DELETING ServiceConnectionPolicy_State = 4
// The connection is being repaired to complete creation.
ServiceConnectionPolicy_CREATE_REPAIRING ServiceConnectionPolicy_State = 5
// The connection is being repaired to complete deletion.
ServiceConnectionPolicy_DELETE_REPAIRING ServiceConnectionPolicy_State = 6
)func (ServiceConnectionPolicy_State) Descriptor
func (ServiceConnectionPolicy_State) Descriptor() protoreflect.EnumDescriptorfunc (ServiceConnectionPolicy_State) Enum
func (x ServiceConnectionPolicy_State) Enum() *ServiceConnectionPolicy_Statefunc (ServiceConnectionPolicy_State) EnumDescriptor
func (ServiceConnectionPolicy_State) EnumDescriptor() ([]byte, []int)Deprecated: Use ServiceConnectionPolicy_State.Descriptor instead.
func (ServiceConnectionPolicy_State) Number
func (x ServiceConnectionPolicy_State) Number() protoreflect.EnumNumberfunc (ServiceConnectionPolicy_State) String
func (x ServiceConnectionPolicy_State) String() stringfunc (ServiceConnectionPolicy_State) Type
func (ServiceConnectionPolicy_State) Type() protoreflect.EnumTypeServiceConnectionToken
type ServiceConnectionToken struct {
// Immutable. The name of a ServiceConnectionToken.
// Format:
// projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token}
// See: https://google.aip.dev/122#fields-representing-resource-names
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Time when the ServiceConnectionToken was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when the ServiceConnectionToken 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"`
// A description of this resource.
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// The resource path of the network associated with this token.
// Example:
// projects/{projectNumOrId}/global/networks/{resourceId}.
Network string `protobuf:"bytes,6,opt,name=network,proto3" json:"network,omitempty"`
// Output only. The token generated by Automation.
Token string `protobuf:"bytes,7,opt,name=token,proto3" json:"token,omitempty"`
// Output only. The time to which this token is valid.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// Optional. The etag is computed by the server, 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,9,opt,name=etag,proto3,oneof" json:"etag,omitempty"`
// contains filtered or unexported fields
}The ServiceConnectionToken resource.
func (*ServiceConnectionToken) Descriptor
func (*ServiceConnectionToken) Descriptor() ([]byte, []int)Deprecated: Use ServiceConnectionToken.ProtoReflect.Descriptor instead.
func (*ServiceConnectionToken) GetCreateTime
func (x *ServiceConnectionToken) GetCreateTime() *timestamppb.Timestampfunc (*ServiceConnectionToken) GetDescription
func (x *ServiceConnectionToken) GetDescription() stringfunc (*ServiceConnectionToken) GetEtag
func (x *ServiceConnectionToken) GetEtag() stringfunc (*ServiceConnectionToken) GetExpireTime
func (x *ServiceConnectionToken) GetExpireTime() *timestamppb.Timestampfunc (*ServiceConnectionToken) GetLabels
func (x *ServiceConnectionToken) GetLabels() map[string]stringfunc (*ServiceConnectionToken) GetName
func (x *ServiceConnectionToken) GetName() stringfunc (*ServiceConnectionToken) GetNetwork
func (x *ServiceConnectionToken) GetNetwork() stringfunc (*ServiceConnectionToken) GetToken
func (x *ServiceConnectionToken) GetToken() stringfunc (*ServiceConnectionToken) GetUpdateTime
func (x *ServiceConnectionToken) GetUpdateTime() *timestamppb.Timestampfunc (*ServiceConnectionToken) ProtoMessage
func (*ServiceConnectionToken) ProtoMessage()func (*ServiceConnectionToken) ProtoReflect
func (x *ServiceConnectionToken) ProtoReflect() protoreflect.Messagefunc (*ServiceConnectionToken) Reset
func (x *ServiceConnectionToken) Reset()func (*ServiceConnectionToken) String
func (x *ServiceConnectionToken) String() stringSpoke
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. 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.v1.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.v1.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 administration'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) 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.v1.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.v1.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.v1.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_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 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.v1.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 a spoke is inactive.
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 a state can be INACTIVE.
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.v1.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.EnumTypeUnimplementedCrossNetworkAutomationServiceServer
type UnimplementedCrossNetworkAutomationServiceServer struct {
}UnimplementedCrossNetworkAutomationServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedCrossNetworkAutomationServiceServer) CreateServiceConnectionMap
func (UnimplementedCrossNetworkAutomationServiceServer) CreateServiceConnectionMap(context.Context, *CreateServiceConnectionMapRequest) (*longrunningpb.Operation, error)func (UnimplementedCrossNetworkAutomationServiceServer) CreateServiceConnectionPolicy
func (UnimplementedCrossNetworkAutomationServiceServer) CreateServiceConnectionPolicy(context.Context, *CreateServiceConnectionPolicyRequest) (*longrunningpb.Operation, error)func (UnimplementedCrossNetworkAutomationServiceServer) CreateServiceConnectionToken
func (UnimplementedCrossNetworkAutomationServiceServer) CreateServiceConnectionToken(context.Context, *CreateServiceConnectionTokenRequest) (*longrunningpb.Operation, error)func (UnimplementedCrossNetworkAutomationServiceServer) DeleteServiceClass
func (UnimplementedCrossNetworkAutomationServiceServer) DeleteServiceClass(context.Context, *DeleteServiceClassRequest) (*longrunningpb.Operation, error)func (UnimplementedCrossNetworkAutomationServiceServer) DeleteServiceConnectionMap
func (UnimplementedCrossNetworkAutomationServiceServer) DeleteServiceConnectionMap(context.Context, *DeleteServiceConnectionMapRequest) (*longrunningpb.Operation, error)func (UnimplementedCrossNetworkAutomationServiceServer) DeleteServiceConnectionPolicy
func (UnimplementedCrossNetworkAutomationServiceServer) DeleteServiceConnectionPolicy(context.Context, *DeleteServiceConnectionPolicyRequest) (*longrunningpb.Operation, error)func (UnimplementedCrossNetworkAutomationServiceServer) DeleteServiceConnectionToken
func (UnimplementedCrossNetworkAutomationServiceServer) DeleteServiceConnectionToken(context.Context, *DeleteServiceConnectionTokenRequest) (*longrunningpb.Operation, error)func (UnimplementedCrossNetworkAutomationServiceServer) GetServiceClass
func (UnimplementedCrossNetworkAutomationServiceServer) GetServiceClass(context.Context, *GetServiceClassRequest) (*ServiceClass, error)func (UnimplementedCrossNetworkAutomationServiceServer) GetServiceConnectionMap
func (UnimplementedCrossNetworkAutomationServiceServer) GetServiceConnectionMap(context.Context, *GetServiceConnectionMapRequest) (*ServiceConnectionMap, error)func (UnimplementedCrossNetworkAutomationServiceServer) GetServiceConnectionPolicy
func (UnimplementedCrossNetworkAutomationServiceServer) GetServiceConnectionPolicy(context.Context, *GetServiceConnectionPolicyRequest) (*ServiceConnectionPolicy, error)func (UnimplementedCrossNetworkAutomationServiceServer) GetServiceConnectionToken
func (UnimplementedCrossNetworkAutomationServiceServer) GetServiceConnectionToken(context.Context, *GetServiceConnectionTokenRequest) (*ServiceConnectionToken, error)func (UnimplementedCrossNetworkAutomationServiceServer) ListServiceClasses
func (UnimplementedCrossNetworkAutomationServiceServer) ListServiceClasses(context.Context, *ListServiceClassesRequest) (*ListServiceClassesResponse, error)func (UnimplementedCrossNetworkAutomationServiceServer) ListServiceConnectionMaps
func (UnimplementedCrossNetworkAutomationServiceServer) ListServiceConnectionMaps(context.Context, *ListServiceConnectionMapsRequest) (*ListServiceConnectionMapsResponse, error)func (UnimplementedCrossNetworkAutomationServiceServer) ListServiceConnectionPolicies
func (UnimplementedCrossNetworkAutomationServiceServer) ListServiceConnectionPolicies(context.Context, *ListServiceConnectionPoliciesRequest) (*ListServiceConnectionPoliciesResponse, error)func (UnimplementedCrossNetworkAutomationServiceServer) ListServiceConnectionTokens
func (UnimplementedCrossNetworkAutomationServiceServer) ListServiceConnectionTokens(context.Context, *ListServiceConnectionTokensRequest) (*ListServiceConnectionTokensResponse, error)func (UnimplementedCrossNetworkAutomationServiceServer) UpdateServiceClass
func (UnimplementedCrossNetworkAutomationServiceServer) UpdateServiceClass(context.Context, *UpdateServiceClassRequest) (*longrunningpb.Operation, error)func (UnimplementedCrossNetworkAutomationServiceServer) UpdateServiceConnectionMap
func (UnimplementedCrossNetworkAutomationServiceServer) UpdateServiceConnectionMap(context.Context, *UpdateServiceConnectionMapRequest) (*longrunningpb.Operation, error)func (UnimplementedCrossNetworkAutomationServiceServer) UpdateServiceConnectionPolicy
func (UnimplementedCrossNetworkAutomationServiceServer) UpdateServiceConnectionPolicy(context.Context, *UpdateServiceConnectionPolicyRequest) (*longrunningpb.Operation, error)UnimplementedDataTransferServiceServer
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) CreateHub
func (UnimplementedHubServiceServer) CreateHub(context.Context, *CreateHubRequest) (*longrunningpb.Operation, error)func (UnimplementedHubServiceServer) CreateSpoke
func (UnimplementedHubServiceServer) CreateSpoke(context.Context, *CreateSpokeRequest) (*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) 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) 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) 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)UnimplementedInternalRangeServiceServer
type UnimplementedInternalRangeServiceServer struct {
}UnimplementedInternalRangeServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedInternalRangeServiceServer) CreateInternalRange
func (UnimplementedInternalRangeServiceServer) CreateInternalRange(context.Context, *CreateInternalRangeRequest) (*longrunningpb.Operation, error)func (UnimplementedInternalRangeServiceServer) DeleteInternalRange
func (UnimplementedInternalRangeServiceServer) DeleteInternalRange(context.Context, *DeleteInternalRangeRequest) (*longrunningpb.Operation, error)func (UnimplementedInternalRangeServiceServer) GetInternalRange
func (UnimplementedInternalRangeServiceServer) GetInternalRange(context.Context, *GetInternalRangeRequest) (*InternalRange, error)func (UnimplementedInternalRangeServiceServer) ListInternalRanges
func (UnimplementedInternalRangeServiceServer) ListInternalRanges(context.Context, *ListInternalRangesRequest) (*ListInternalRangesResponse, error)func (UnimplementedInternalRangeServiceServer) UpdateInternalRange
func (UnimplementedInternalRangeServiceServer) UpdateInternalRange(context.Context, *UpdateInternalRangeRequest) (*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)UnsafeCrossNetworkAutomationServiceServer
type UnsafeCrossNetworkAutomationServiceServer interface {
// contains filtered or unexported methods
}UnsafeCrossNetworkAutomationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CrossNetworkAutomationServiceServer will result in compilation errors.
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.
UnsafeInternalRangeServiceServer
type UnsafeInternalRangeServiceServer interface {
// contains filtered or unexported methods
}UnsafeInternalRangeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InternalRangeServiceServer 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.
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() 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.v1.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.v1.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() stringUpdateInternalRangeRequest
type UpdateInternalRangeRequest struct {
// Optional. Field mask is used to specify the fields to be overwritten in the
// InternalRange 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 will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. New values to be patched into the resource.
InternalRange *InternalRange `protobuf:"bytes,2,opt,name=internal_range,json=internalRange,proto3" json:"internal_range,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
}Request for InternalRangeService.UpdateInternalRange
func (*UpdateInternalRangeRequest) Descriptor
func (*UpdateInternalRangeRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateInternalRangeRequest.ProtoReflect.Descriptor instead.
func (*UpdateInternalRangeRequest) GetInternalRange
func (x *UpdateInternalRangeRequest) GetInternalRange() *InternalRangefunc (*UpdateInternalRangeRequest) GetRequestId
func (x *UpdateInternalRangeRequest) GetRequestId() stringfunc (*UpdateInternalRangeRequest) GetUpdateMask
func (x *UpdateInternalRangeRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateInternalRangeRequest) ProtoMessage
func (*UpdateInternalRangeRequest) ProtoMessage()func (*UpdateInternalRangeRequest) ProtoReflect
func (x *UpdateInternalRangeRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateInternalRangeRequest) Reset
func (x *UpdateInternalRangeRequest) Reset()func (*UpdateInternalRangeRequest) String
func (x *UpdateInternalRangeRequest) 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() stringUpdateServiceClassRequest
type UpdateServiceClassRequest struct {
// Optional. Field mask is used to specify the fields to be overwritten in the
// ServiceClass 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 will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. New values to be patched into the resource.
ServiceClass *ServiceClass `protobuf:"bytes,2,opt,name=service_class,json=serviceClass,proto3" json:"service_class,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
}Request for UpdateServiceClass.
func (*UpdateServiceClassRequest) Descriptor
func (*UpdateServiceClassRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateServiceClassRequest.ProtoReflect.Descriptor instead.
func (*UpdateServiceClassRequest) GetRequestId
func (x *UpdateServiceClassRequest) GetRequestId() stringfunc (*UpdateServiceClassRequest) GetServiceClass
func (x *UpdateServiceClassRequest) GetServiceClass() *ServiceClassfunc (*UpdateServiceClassRequest) GetUpdateMask
func (x *UpdateServiceClassRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateServiceClassRequest) ProtoMessage
func (*UpdateServiceClassRequest) ProtoMessage()func (*UpdateServiceClassRequest) ProtoReflect
func (x *UpdateServiceClassRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateServiceClassRequest) Reset
func (x *UpdateServiceClassRequest) Reset()func (*UpdateServiceClassRequest) String
func (x *UpdateServiceClassRequest) String() stringUpdateServiceConnectionMapRequest
type UpdateServiceConnectionMapRequest struct {
// Optional. Field mask is used to specify the fields to be overwritten in the
// ServiceConnectionMap 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 will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. New values to be patched into the resource.
ServiceConnectionMap *ServiceConnectionMap `protobuf:"bytes,2,opt,name=service_connection_map,json=serviceConnectionMap,proto3" json:"service_connection_map,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
}Request for UpdateServiceConnectionMap.
func (*UpdateServiceConnectionMapRequest) Descriptor
func (*UpdateServiceConnectionMapRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateServiceConnectionMapRequest.ProtoReflect.Descriptor instead.
func (*UpdateServiceConnectionMapRequest) GetRequestId
func (x *UpdateServiceConnectionMapRequest) GetRequestId() stringfunc (*UpdateServiceConnectionMapRequest) GetServiceConnectionMap
func (x *UpdateServiceConnectionMapRequest) GetServiceConnectionMap() *ServiceConnectionMapfunc (*UpdateServiceConnectionMapRequest) GetUpdateMask
func (x *UpdateServiceConnectionMapRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateServiceConnectionMapRequest) ProtoMessage
func (*UpdateServiceConnectionMapRequest) ProtoMessage()func (*UpdateServiceConnectionMapRequest) ProtoReflect
func (x *UpdateServiceConnectionMapRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateServiceConnectionMapRequest) Reset
func (x *UpdateServiceConnectionMapRequest) Reset()func (*UpdateServiceConnectionMapRequest) String
func (x *UpdateServiceConnectionMapRequest) String() stringUpdateServiceConnectionPolicyRequest
type UpdateServiceConnectionPolicyRequest struct {
// Optional. Field mask is used to specify the fields to be overwritten in the
// ServiceConnectionPolicy 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 will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. New values to be patched into the resource.
ServiceConnectionPolicy *ServiceConnectionPolicy `protobuf:"bytes,2,opt,name=service_connection_policy,json=serviceConnectionPolicy,proto3" json:"service_connection_policy,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
}Request for UpdateServiceConnectionPolicy.
func (*UpdateServiceConnectionPolicyRequest) Descriptor
func (*UpdateServiceConnectionPolicyRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateServiceConnectionPolicyRequest.ProtoReflect.Descriptor instead.
func (*UpdateServiceConnectionPolicyRequest) GetRequestId
func (x *UpdateServiceConnectionPolicyRequest) GetRequestId() stringfunc (*UpdateServiceConnectionPolicyRequest) GetServiceConnectionPolicy
func (x *UpdateServiceConnectionPolicyRequest) GetServiceConnectionPolicy() *ServiceConnectionPolicyfunc (*UpdateServiceConnectionPolicyRequest) GetUpdateMask
func (x *UpdateServiceConnectionPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateServiceConnectionPolicyRequest) ProtoMessage
func (*UpdateServiceConnectionPolicyRequest) ProtoMessage()func (*UpdateServiceConnectionPolicyRequest) ProtoReflect
func (x *UpdateServiceConnectionPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateServiceConnectionPolicyRequest) Reset
func (x *UpdateServiceConnectionPolicyRequest) Reset()func (*UpdateServiceConnectionPolicyRequest) String
func (x *UpdateServiceConnectionPolicyRequest) 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.v1.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() string