Reference documentation and code samples for the Access Context Manager V1 API class Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::VpcAccessibleServices.
Specifies how APIs are allowed to communicate within the Service
Perimeter.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#allowed_services
defallowed_services()->::Array<::String>
Returns
(::Array<::String>) — 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.
#allowed_services=
defallowed_services=(value)->::Array<::String>
Parameter
value (::Array<::String>) — 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.
Returns
(::Array<::String>) — 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.
#enable_restriction
defenable_restriction()->::Boolean
Returns
(::Boolean) — Whether to restrict API calls within the Service Perimeter to the list of
APIs specified in 'allowed_services'.
#enable_restriction=
defenable_restriction=(value)->::Boolean
Parameter
value (::Boolean) — Whether to restrict API calls within the Service Perimeter to the list of
APIs specified in 'allowed_services'.
Returns
(::Boolean) — Whether to restrict API calls within the Service Perimeter to the list of
APIs specified in 'allowed_services'.
[[["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-09 UTC."],[],[],null,["# Access Context Manager V1 API - Class Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::VpcAccessibleServices (v0.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.11.0 (latest)](/ruby/docs/reference/google-identity-access_context_manager-v1/latest/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-VpcAccessibleServices)\n- [0.10.1](/ruby/docs/reference/google-identity-access_context_manager-v1/0.10.1/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-VpcAccessibleServices)\n- [0.9.0](/ruby/docs/reference/google-identity-access_context_manager-v1/0.9.0/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-VpcAccessibleServices)\n- [0.8.2](/ruby/docs/reference/google-identity-access_context_manager-v1/0.8.2/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-VpcAccessibleServices)\n- [0.7.2](/ruby/docs/reference/google-identity-access_context_manager-v1/0.7.2/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-VpcAccessibleServices)\n- [0.6.0](/ruby/docs/reference/google-identity-access_context_manager-v1/0.6.0/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-VpcAccessibleServices)\n- [0.5.2](/ruby/docs/reference/google-identity-access_context_manager-v1/0.5.2/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-VpcAccessibleServices)\n- [0.4.0](/ruby/docs/reference/google-identity-access_context_manager-v1/0.4.0/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-VpcAccessibleServices)\n- [0.3.0](/ruby/docs/reference/google-identity-access_context_manager-v1/0.3.0/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-VpcAccessibleServices)\n- [0.2.0](/ruby/docs/reference/google-identity-access_context_manager-v1/0.2.0/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-VpcAccessibleServices)\n- [0.1.2](/ruby/docs/reference/google-identity-access_context_manager-v1/0.1.2/Google-Identity-AccessContextManager-V1-ServicePerimeterConfig-VpcAccessibleServices) \nReference documentation and code samples for the Access Context Manager V1 API class Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::VpcAccessibleServices.\n\nSpecifies how APIs are allowed to communicate within the Service\nPerimeter. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #allowed_services\n\n def allowed_services() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- 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.\n\n### #allowed_services=\n\n def allowed_services=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- 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. \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- 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.\n\n### #enable_restriction\n\n def enable_restriction() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'.\n\n### #enable_restriction=\n\n def enable_restriction=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'. \n**Returns**\n\n- (::Boolean) --- Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'."]]