pub struct ServicePerimeterConfig {
pub access_levels: Option<Vec<String>>,
pub resources: Option<Vec<String>>,
pub restricted_services: Option<Vec<String>>,
pub unrestricted_services: Option<Vec<String>>,
pub vpc_accessible_services: Option<VpcAccessibleServices>,
}Expand description
ServicePerimeterConfig specifies a set of Google Cloud resources that describe specific Service Perimeter configuration.
This type is not used in any activity, and only used as part of another schema.
Fields§
§access_levels: Option<Vec<String>>A list of AccessLevel resource names that allow resources within the ServicePerimeter to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel is a syntax error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: "accessPolicies/MY_POLICY/accessLevels/MY_LEVEL". For Service Perimeter Bridge, must be empty.
resources: Option<Vec<String>>A list of Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
restricted_services: Option<Vec<String>>Google Cloud services that are subject to the Service Perimeter restrictions. Must contain a list of services. For example, if storage.googleapis.com is specified, access to the storage buckets inside the perimeter must meet the perimeter’s access restrictions.
unrestricted_services: Option<Vec<String>>Google Cloud services that are not subject to the Service Perimeter restrictions. Deprecated. Must be set to a single wildcard “*”. The wildcard means that unless explicitly specified by “restricted_services” list, any service is treated as unrestricted.
vpc_accessible_services: Option<VpcAccessibleServices>Beta. Configuration for APIs allowed within Perimeter.
Trait Implementations§
Source§impl Clone for ServicePerimeterConfig
impl Clone for ServicePerimeterConfig
Source§fn clone(&self) -> ServicePerimeterConfig
fn clone(&self) -> ServicePerimeterConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more