Cloud Asset V1 API - Class Google::Identity::AccessContextManager::V1::ServicePerimeterConfig::VpcAccessibleServices (v0.19.0)

Stay organized with collections Save and categorize content based on your preferences.

Reference documentation and code samples for the Cloud Asset 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

def allowed_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=

def allowed_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

def enable_restriction() -> ::Boolean
Returns
  • (::Boolean) — Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'.

#enable_restriction=

def enable_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'.