public sealed class ServicePerimeterConfig.Types.VpcAccessibleServices : IMessage<ServicePerimeterConfig.Types.VpcAccessibleServices>, IEquatable<ServicePerimeterConfig.Types.VpcAccessibleServices>, IDeepCloneable<ServicePerimeterConfig.Types.VpcAccessibleServices>, IBufferMessage, IMessage
Reference documentation and code samples for the Identity Access Context Manager v1 API class ServicePerimeterConfig.Types.VpcAccessibleServices.
Specifies how APIs are allowed to communicate within the Service
Perimeter.
public RepeatedField<string> AllowedServices { get; }
The list of APIs usable within the Service Perimeter. Must be empty
unless 'enable_restriction' is True. You can specify a list of individual
services, as well as include the 'RESTRICTED-SERVICES' value, which
automatically includes all of the services protected by the perimeter.
[[["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-09-04 UTC."],[[["\u003cp\u003eThe documentation covers the \u003ccode\u003eServicePerimeterConfig.Types.VpcAccessibleServices\u003c/code\u003e class within the Google Identity Access Context Manager v1 API, detailing its purpose in specifying API communication within a Service Perimeter.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.5.0 is the latest version of the documentation provided, with links to previous versions ranging back to version 1.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eServicePerimeterConfig.Types.VpcAccessibleServices\u003c/code\u003e implements multiple interfaces including IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVpcAccessibleServices\u003c/code\u003e class has two key properties: \u003ccode\u003eAllowedServices\u003c/code\u003e, which is a list of APIs usable within the Service Perimeter, and \u003ccode\u003eEnableRestriction\u003c/code\u003e, which determines if API calls are restricted to the allowed list.\u003c/p\u003e\n"]]],[],null,["# Identity Access Context Manager v1 API - Class ServicePerimeterConfig.Types.VpcAccessibleServices (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.ServicePerimeterConfig.Types.VpcAccessibleServices)\n- [2.4.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.4.0/Google.Identity.AccessContextManager.V1.ServicePerimeterConfig.Types.VpcAccessibleServices)\n- [2.3.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.3.0/Google.Identity.AccessContextManager.V1.ServicePerimeterConfig.Types.VpcAccessibleServices)\n- [2.2.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.2.0/Google.Identity.AccessContextManager.V1.ServicePerimeterConfig.Types.VpcAccessibleServices)\n- [2.1.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.1.0/Google.Identity.AccessContextManager.V1.ServicePerimeterConfig.Types.VpcAccessibleServices)\n- [2.0.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.0.0/Google.Identity.AccessContextManager.V1.ServicePerimeterConfig.Types.VpcAccessibleServices)\n- [1.5.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.5.0/Google.Identity.AccessContextManager.V1.ServicePerimeterConfig.Types.VpcAccessibleServices)\n- [1.4.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.4.0/Google.Identity.AccessContextManager.V1.ServicePerimeterConfig.Types.VpcAccessibleServices)\n- [1.3.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.3.0/Google.Identity.AccessContextManager.V1.ServicePerimeterConfig.Types.VpcAccessibleServices)\n- [1.2.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.2.0/Google.Identity.AccessContextManager.V1.ServicePerimeterConfig.Types.VpcAccessibleServices) \n\n public sealed class ServicePerimeterConfig.Types.VpcAccessibleServices : IMessage\u003cServicePerimeterConfig.Types.VpcAccessibleServices\u003e, IEquatable\u003cServicePerimeterConfig.Types.VpcAccessibleServices\u003e, IDeepCloneable\u003cServicePerimeterConfig.Types.VpcAccessibleServices\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Identity Access Context Manager v1 API class ServicePerimeterConfig.Types.VpcAccessibleServices.\n\nSpecifies how APIs are allowed to communicate within the Service\nPerimeter. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ServicePerimeterConfig.Types.VpcAccessibleServices \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ServicePerimeterConfig](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.ServicePerimeterConfig)[Types](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.ServicePerimeterConfig.Types)[VpcAccessibleServices](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.ServicePerimeterConfig.Types.VpcAccessibleServices), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ServicePerimeterConfig](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.ServicePerimeterConfig)[Types](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.ServicePerimeterConfig.Types)[VpcAccessibleServices](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.ServicePerimeterConfig.Types.VpcAccessibleServices), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ServicePerimeterConfig](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.ServicePerimeterConfig)[Types](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.ServicePerimeterConfig.Types)[VpcAccessibleServices](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.ServicePerimeterConfig.Types.VpcAccessibleServices), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Identity.AccessContextManager.V1](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1)\n\nAssembly\n--------\n\nGoogle.Identity.AccessContextManager.V1.dll\n\nConstructors\n------------\n\n### VpcAccessibleServices()\n\n public VpcAccessibleServices()\n\n### VpcAccessibleServices(VpcAccessibleServices)\n\n public VpcAccessibleServices(ServicePerimeterConfig.Types.VpcAccessibleServices other)\n\nProperties\n----------\n\n### AllowedServices\n\n public RepeatedField\u003cstring\u003e AllowedServices { get; }\n\nThe list of APIs usable within the Service Perimeter. Must be empty\nunless 'enable_restriction' is True. You can specify a list of individual\nservices, as well as include the 'RESTRICTED-SERVICES' value, which\nautomatically includes all of the services protected by the perimeter.\n\n### EnableRestriction\n\n public bool EnableRestriction { get; set; }\n\nWhether to restrict API calls within the Service Perimeter to the list of\nAPIs specified in 'allowed_services'."]]