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}.
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}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface ServiceConnectionMap.ConsumerPscConfigOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfigOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfigOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfigOrBuilder) \n\n public static interface ServiceConnectionMap.ConsumerPscConfigOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getDisableGlobalAccess()\n\n public abstract boolean getDisableGlobalAccess()\n\nThis is used in PSC consumer ForwardingRule to control whether the PSC\nendpoint can be accessed from another region.\n\n`bool disable_global_access = 3;`\n\n### getNetwork()\n\n public abstract String getNetwork()\n\nThe resource path of the consumer network where PSC connections are\nallowed to be created in. Note, this network does not need be in the\nConsumerPscConfig.project in the case of SharedVPC.\nExample:\nprojects/{projectNumOrId}/global/networks/{networkId}.\n\n`string network = 2;`\n\n### getNetworkBytes()\n\n public abstract ByteString getNetworkBytes()\n\nThe resource path of the consumer network where PSC connections are\nallowed to be created in. Note, this network does not need be in the\nConsumerPscConfig.project in the case of SharedVPC.\nExample:\nprojects/{projectNumOrId}/global/networks/{networkId}.\n\n`string network = 2;`\n\n### getProject()\n\n public abstract String getProject()\n\nThe consumer project where PSC connections are allowed to be created in.\n\n`string project = 1;`\n\n### getProjectBytes()\n\n public abstract ByteString getProjectBytes()\n\nThe consumer project where PSC connections are allowed to be created in.\n\n`string project = 1;`\n\n### getState()\n\n public abstract ServiceConnectionMap.ConsumerPscConfig.State getState()\n\nOutput only. Overall state of PSC Connections management for this\nconsumer psc config.\n\n`\n.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig.State state = 4;\n`\n\n### getStateValue()\n\n public abstract int getStateValue()\n\nOutput only. Overall state of PSC Connections management for this\nconsumer psc config.\n\n`\n.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig.State state = 4;\n`"]]