1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. accesscontextmanager
  5. ServicePerimeters
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

gcp.accesscontextmanager.ServicePerimeters

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

    Replace all existing Service Perimeters in an Access Policy with the Service Perimeters provided. This is done atomically. This is a bulk edit of all Service Perimeters and may override existing Service Perimeters created by gcp.accesscontextmanager.ServicePerimeter, thus causing a permadiff if used alongside gcp.accesscontextmanager.ServicePerimeter on the same parent.

    To get more information about ServicePerimeters, see:

    Example Usage

    Access Context Manager Service Perimeters Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const access_policy = new gcp.accesscontextmanager.AccessPolicy("access-policy", {
        parent: "organizations/123456789",
        title: "my policy",
    });
    const service_perimeter = new gcp.accesscontextmanager.ServicePerimeters("service-perimeter", {
        parent: pulumi.interpolate`accessPolicies/${access_policy.name}`,
        servicePerimeters: [
            {
                name: pulumi.interpolate`accessPolicies/${access_policy.name}/servicePerimeters/`,
                title: "",
                status: {
                    restrictedServices: ["storage.googleapis.com"],
                },
            },
            {
                name: pulumi.interpolate`accessPolicies/${access_policy.name}/servicePerimeters/`,
                title: "",
                status: {
                    restrictedServices: ["bigtable.googleapis.com"],
                },
            },
        ],
    });
    const access_level = new gcp.accesscontextmanager.AccessLevel("access-level", {
        parent: pulumi.interpolate`accessPolicies/${access_policy.name}`,
        name: pulumi.interpolate`accessPolicies/${access_policy.name}/accessLevels/chromeos_no_lock`,
        title: "chromeos_no_lock",
        basic: {
            conditions: [{
                devicePolicy: {
                    requireScreenLock: false,
                    osConstraints: [{
                        osType: "DESKTOP_CHROME_OS",
                    }],
                },
                regions: [
                    "CH",
                    "IT",
                    "US",
                ],
            }],
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    access_policy = gcp.accesscontextmanager.AccessPolicy("access-policy",
        parent="organizations/123456789",
        title="my policy")
    service_perimeter = gcp.accesscontextmanager.ServicePerimeters("service-perimeter",
        parent=access_policy.name.apply(lambda name: f"accessPolicies/{name}"),
        service_perimeters=[
            {
                "name": access_policy.name.apply(lambda name: f"accessPolicies/{name}/servicePerimeters/"),
                "title": "",
                "status": {
                    "restricted_services": ["storage.googleapis.com"],
                },
            },
            {
                "name": access_policy.name.apply(lambda name: f"accessPolicies/{name}/servicePerimeters/"),
                "title": "",
                "status": {
                    "restricted_services": ["bigtable.googleapis.com"],
                },
            },
        ])
    access_level = gcp.accesscontextmanager.AccessLevel("access-level",
        parent=access_policy.name.apply(lambda name: f"accessPolicies/{name}"),
        name=access_policy.name.apply(lambda name: f"accessPolicies/{name}/accessLevels/chromeos_no_lock"),
        title="chromeos_no_lock",
        basic={
            "conditions": [{
                "device_policy": {
                    "require_screen_lock": False,
                    "os_constraints": [{
                        "os_type": "DESKTOP_CHROME_OS",
                    }],
                },
                "regions": [
                    "CH",
                    "IT",
                    "US",
                ],
            }],
        })
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/accesscontextmanager"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := accesscontextmanager.NewAccessPolicy(ctx, "access-policy", &accesscontextmanager.AccessPolicyArgs{
    			Parent: pulumi.String("organizations/123456789"),
    			Title:  pulumi.String("my policy"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = accesscontextmanager.NewServicePerimeters(ctx, "service-perimeter", &accesscontextmanager.ServicePerimetersArgs{
    			Parent: access_policy.Name.ApplyT(func(name string) (string, error) {
    				return fmt.Sprintf("accessPolicies/%v", name), nil
    			}).(pulumi.StringOutput),
    			ServicePerimeters: accesscontextmanager.ServicePerimetersServicePerimeterArray{
    				&accesscontextmanager.ServicePerimetersServicePerimeterArgs{
    					Name: access_policy.Name.ApplyT(func(name string) (string, error) {
    						return fmt.Sprintf("accessPolicies/%v/servicePerimeters/", name), nil
    					}).(pulumi.StringOutput),
    					Title: pulumi.String(""),
    					Status: &accesscontextmanager.ServicePerimetersServicePerimeterStatusArgs{
    						RestrictedServices: pulumi.StringArray{
    							pulumi.String("storage.googleapis.com"),
    						},
    					},
    				},
    				&accesscontextmanager.ServicePerimetersServicePerimeterArgs{
    					Name: access_policy.Name.ApplyT(func(name string) (string, error) {
    						return fmt.Sprintf("accessPolicies/%v/servicePerimeters/", name), nil
    					}).(pulumi.StringOutput),
    					Title: pulumi.String(""),
    					Status: &accesscontextmanager.ServicePerimetersServicePerimeterStatusArgs{
    						RestrictedServices: pulumi.StringArray{
    							pulumi.String("bigtable.googleapis.com"),
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = accesscontextmanager.NewAccessLevel(ctx, "access-level", &accesscontextmanager.AccessLevelArgs{
    			Parent: access_policy.Name.ApplyT(func(name string) (string, error) {
    				return fmt.Sprintf("accessPolicies/%v", name), nil
    			}).(pulumi.StringOutput),
    			Name: access_policy.Name.ApplyT(func(name string) (string, error) {
    				return fmt.Sprintf("accessPolicies/%v/accessLevels/chromeos_no_lock", name), nil
    			}).(pulumi.StringOutput),
    			Title: pulumi.String("chromeos_no_lock"),
    			Basic: &accesscontextmanager.AccessLevelBasicArgs{
    				Conditions: accesscontextmanager.AccessLevelBasicConditionArray{
    					&accesscontextmanager.AccessLevelBasicConditionArgs{
    						DevicePolicy: &accesscontextmanager.AccessLevelBasicConditionDevicePolicyArgs{
    							RequireScreenLock: pulumi.Bool(false),
    							OsConstraints: accesscontextmanager.AccessLevelBasicConditionDevicePolicyOsConstraintArray{
    								&accesscontextmanager.AccessLevelBasicConditionDevicePolicyOsConstraintArgs{
    									OsType: pulumi.String("DESKTOP_CHROME_OS"),
    								},
    							},
    						},
    						Regions: pulumi.StringArray{
    							pulumi.String("CH"),
    							pulumi.String("IT"),
    							pulumi.String("US"),
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var access_policy = new Gcp.AccessContextManager.AccessPolicy("access-policy", new()
        {
            Parent = "organizations/123456789",
            Title = "my policy",
        });
    
        var service_perimeter = new Gcp.AccessContextManager.ServicePerimeters("service-perimeter", new()
        {
            Parent = access_policy.Name.Apply(name => $"accessPolicies/{name}"),
            ServicePerimeterDetails = new[]
            {
                new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterArgs
                {
                    Name = access_policy.Name.Apply(name => $"accessPolicies/{name}/servicePerimeters/"),
                    Title = "",
                    Status = new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterStatusArgs
                    {
                        RestrictedServices = new[]
                        {
                            "storage.googleapis.com",
                        },
                    },
                },
                new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterArgs
                {
                    Name = access_policy.Name.Apply(name => $"accessPolicies/{name}/servicePerimeters/"),
                    Title = "",
                    Status = new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterStatusArgs
                    {
                        RestrictedServices = new[]
                        {
                            "bigtable.googleapis.com",
                        },
                    },
                },
            },
        });
    
        var access_level = new Gcp.AccessContextManager.AccessLevel("access-level", new()
        {
            Parent = access_policy.Name.Apply(name => $"accessPolicies/{name}"),
            Name = access_policy.Name.Apply(name => $"accessPolicies/{name}/accessLevels/chromeos_no_lock"),
            Title = "chromeos_no_lock",
            Basic = new Gcp.AccessContextManager.Inputs.AccessLevelBasicArgs
            {
                Conditions = new[]
                {
                    new Gcp.AccessContextManager.Inputs.AccessLevelBasicConditionArgs
                    {
                        DevicePolicy = new Gcp.AccessContextManager.Inputs.AccessLevelBasicConditionDevicePolicyArgs
                        {
                            RequireScreenLock = false,
                            OsConstraints = new[]
                            {
                                new Gcp.AccessContextManager.Inputs.AccessLevelBasicConditionDevicePolicyOsConstraintArgs
                                {
                                    OsType = "DESKTOP_CHROME_OS",
                                },
                            },
                        },
                        Regions = new[]
                        {
                            "CH",
                            "IT",
                            "US",
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.accesscontextmanager.AccessPolicy;
    import com.pulumi.gcp.accesscontextmanager.AccessPolicyArgs;
    import com.pulumi.gcp.accesscontextmanager.ServicePerimeters;
    import com.pulumi.gcp.accesscontextmanager.ServicePerimetersArgs;
    import com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimetersServicePerimeterArgs;
    import com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimetersServicePerimeterStatusArgs;
    import com.pulumi.gcp.accesscontextmanager.AccessLevel;
    import com.pulumi.gcp.accesscontextmanager.AccessLevelArgs;
    import com.pulumi.gcp.accesscontextmanager.inputs.AccessLevelBasicArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var access_policy = new AccessPolicy("access-policy", AccessPolicyArgs.builder()
                .parent("organizations/123456789")
                .title("my policy")
                .build());
    
            var service_perimeter = new ServicePerimeters("service-perimeter", ServicePerimetersArgs.builder()
                .parent(access_policy.name().applyValue(name -> String.format("accessPolicies/%s", name)))
                .servicePerimeters(            
                    ServicePerimetersServicePerimeterArgs.builder()
                        .name(access_policy.name().applyValue(name -> String.format("accessPolicies/%s/servicePerimeters/", name)))
                        .title("")
                        .status(ServicePerimetersServicePerimeterStatusArgs.builder()
                            .restrictedServices("storage.googleapis.com")
                            .build())
                        .build(),
                    ServicePerimetersServicePerimeterArgs.builder()
                        .name(access_policy.name().applyValue(name -> String.format("accessPolicies/%s/servicePerimeters/", name)))
                        .title("")
                        .status(ServicePerimetersServicePerimeterStatusArgs.builder()
                            .restrictedServices("bigtable.googleapis.com")
                            .build())
                        .build())
                .build());
    
            var access_level = new AccessLevel("access-level", AccessLevelArgs.builder()
                .parent(access_policy.name().applyValue(name -> String.format("accessPolicies/%s", name)))
                .name(access_policy.name().applyValue(name -> String.format("accessPolicies/%s/accessLevels/chromeos_no_lock", name)))
                .title("chromeos_no_lock")
                .basic(AccessLevelBasicArgs.builder()
                    .conditions(AccessLevelBasicConditionArgs.builder()
                        .devicePolicy(AccessLevelBasicConditionDevicePolicyArgs.builder()
                            .requireScreenLock(false)
                            .osConstraints(AccessLevelBasicConditionDevicePolicyOsConstraintArgs.builder()
                                .osType("DESKTOP_CHROME_OS")
                                .build())
                            .build())
                        .regions(                    
                            "CH",
                            "IT",
                            "US")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      service-perimeter:
        type: gcp:accesscontextmanager:ServicePerimeters
        properties:
          parent: accessPolicies/${["access-policy"].name}
          servicePerimeters:
            - name: accessPolicies/${["access-policy"].name}/servicePerimeters/
              title:
              status:
                restrictedServices:
                  - storage.googleapis.com
            - name: accessPolicies/${["access-policy"].name}/servicePerimeters/
              title:
              status:
                restrictedServices:
                  - bigtable.googleapis.com
      access-level:
        type: gcp:accesscontextmanager:AccessLevel
        properties:
          parent: accessPolicies/${["access-policy"].name}
          name: accessPolicies/${["access-policy"].name}/accessLevels/chromeos_no_lock
          title: chromeos_no_lock
          basic:
            conditions:
              - devicePolicy:
                  requireScreenLock: false
                  osConstraints:
                    - osType: DESKTOP_CHROME_OS
                regions:
                  - CH
                  - IT
                  - US
      access-policy:
        type: gcp:accesscontextmanager:AccessPolicy
        properties:
          parent: organizations/123456789
          title: my policy
    

    Create ServicePerimeters Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ServicePerimeters(name: string, args: ServicePerimetersArgs, opts?: CustomResourceOptions);
    @overload
    def ServicePerimeters(resource_name: str,
                          args: ServicePerimetersArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServicePerimeters(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          parent: Optional[str] = None,
                          service_perimeters: Optional[Sequence[ServicePerimetersServicePerimeterArgs]] = None)
    func NewServicePerimeters(ctx *Context, name string, args ServicePerimetersArgs, opts ...ResourceOption) (*ServicePerimeters, error)
    public ServicePerimeters(string name, ServicePerimetersArgs args, CustomResourceOptions? opts = null)
    public ServicePerimeters(String name, ServicePerimetersArgs args)
    public ServicePerimeters(String name, ServicePerimetersArgs args, CustomResourceOptions options)
    
    type: gcp:accesscontextmanager:ServicePerimeters
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ServicePerimetersArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ServicePerimetersArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ServicePerimetersArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServicePerimetersArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServicePerimetersArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var servicePerimetersResource = new Gcp.AccessContextManager.ServicePerimeters("servicePerimetersResource", new()
    {
        Parent = "string",
        ServicePerimeterDetails = new[]
        {
            new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterArgs
            {
                Name = "string",
                Title = "string",
                CreateTime = "string",
                Description = "string",
                PerimeterType = "string",
                Spec = new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterSpecArgs
                {
                    AccessLevels = new[]
                    {
                        "string",
                    },
                    EgressPolicies = new[]
                    {
                        new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterSpecEgressPolicyArgs
                        {
                            EgressFrom = new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterSpecEgressPolicyEgressFromArgs
                            {
                                Identities = new[]
                                {
                                    "string",
                                },
                                IdentityType = "string",
                                SourceRestriction = "string",
                                Sources = new[]
                                {
                                    new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterSpecEgressPolicyEgressFromSourceArgs
                                    {
                                        AccessLevel = "string",
                                    },
                                },
                            },
                            EgressTo = new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterSpecEgressPolicyEgressToArgs
                            {
                                ExternalResources = new[]
                                {
                                    "string",
                                },
                                Operations = new[]
                                {
                                    new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationArgs
                                    {
                                        MethodSelectors = new[]
                                        {
                                            new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationMethodSelectorArgs
                                            {
                                                Method = "string",
                                                Permission = "string",
                                            },
                                        },
                                        ServiceName = "string",
                                    },
                                },
                                Resources = new[]
                                {
                                    "string",
                                },
                            },
                        },
                    },
                    IngressPolicies = new[]
                    {
                        new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterSpecIngressPolicyArgs
                        {
                            IngressFrom = new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromArgs
                            {
                                Identities = new[]
                                {
                                    "string",
                                },
                                IdentityType = "string",
                                Sources = new[]
                                {
                                    new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromSourceArgs
                                    {
                                        AccessLevel = "string",
                                        Resource = "string",
                                    },
                                },
                            },
                            IngressTo = new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterSpecIngressPolicyIngressToArgs
                            {
                                Operations = new[]
                                {
                                    new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperationArgs
                                    {
                                        MethodSelectors = new[]
                                        {
                                            new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperationMethodSelectorArgs
                                            {
                                                Method = "string",
                                                Permission = "string",
                                            },
                                        },
                                        ServiceName = "string",
                                    },
                                },
                                Resources = new[]
                                {
                                    "string",
                                },
                            },
                        },
                    },
                    Resources = new[]
                    {
                        "string",
                    },
                    RestrictedServices = new[]
                    {
                        "string",
                    },
                    VpcAccessibleServices = new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterSpecVpcAccessibleServicesArgs
                    {
                        AllowedServices = new[]
                        {
                            "string",
                        },
                        EnableRestriction = false,
                    },
                },
                Status = new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterStatusArgs
                {
                    AccessLevels = new[]
                    {
                        "string",
                    },
                    EgressPolicies = new[]
                    {
                        new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterStatusEgressPolicyArgs
                        {
                            EgressFrom = new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterStatusEgressPolicyEgressFromArgs
                            {
                                Identities = new[]
                                {
                                    "string",
                                },
                                IdentityType = "string",
                                SourceRestriction = "string",
                                Sources = new[]
                                {
                                    new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterStatusEgressPolicyEgressFromSourceArgs
                                    {
                                        AccessLevel = "string",
                                    },
                                },
                            },
                            EgressTo = new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterStatusEgressPolicyEgressToArgs
                            {
                                ExternalResources = new[]
                                {
                                    "string",
                                },
                                Operations = new[]
                                {
                                    new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperationArgs
                                    {
                                        MethodSelectors = new[]
                                        {
                                            new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperationMethodSelectorArgs
                                            {
                                                Method = "string",
                                                Permission = "string",
                                            },
                                        },
                                        ServiceName = "string",
                                    },
                                },
                                Resources = new[]
                                {
                                    "string",
                                },
                            },
                        },
                    },
                    IngressPolicies = new[]
                    {
                        new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterStatusIngressPolicyArgs
                        {
                            IngressFrom = new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromArgs
                            {
                                Identities = new[]
                                {
                                    "string",
                                },
                                IdentityType = "string",
                                Sources = new[]
                                {
                                    new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromSourceArgs
                                    {
                                        AccessLevel = "string",
                                        Resource = "string",
                                    },
                                },
                            },
                            IngressTo = new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterStatusIngressPolicyIngressToArgs
                            {
                                Operations = new[]
                                {
                                    new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationArgs
                                    {
                                        MethodSelectors = new[]
                                        {
                                            new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelectorArgs
                                            {
                                                Method = "string",
                                                Permission = "string",
                                            },
                                        },
                                        ServiceName = "string",
                                    },
                                },
                                Resources = new[]
                                {
                                    "string",
                                },
                            },
                        },
                    },
                    Resources = new[]
                    {
                        "string",
                    },
                    RestrictedServices = new[]
                    {
                        "string",
                    },
                    VpcAccessibleServices = new Gcp.AccessContextManager.Inputs.ServicePerimetersServicePerimeterStatusVpcAccessibleServicesArgs
                    {
                        AllowedServices = new[]
                        {
                            "string",
                        },
                        EnableRestriction = false,
                    },
                },
                UpdateTime = "string",
                UseExplicitDryRunSpec = false,
            },
        },
    });
    
    example, err := accesscontextmanager.NewServicePerimeters(ctx, "servicePerimetersResource", &accesscontextmanager.ServicePerimetersArgs{
    	Parent: pulumi.String("string"),
    	ServicePerimeters: accesscontextmanager.ServicePerimetersServicePerimeterArray{
    		&accesscontextmanager.ServicePerimetersServicePerimeterArgs{
    			Name:          pulumi.String("string"),
    			Title:         pulumi.String("string"),
    			CreateTime:    pulumi.String("string"),
    			Description:   pulumi.String("string"),
    			PerimeterType: pulumi.String("string"),
    			Spec: &accesscontextmanager.ServicePerimetersServicePerimeterSpecArgs{
    				AccessLevels: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				EgressPolicies: accesscontextmanager.ServicePerimetersServicePerimeterSpecEgressPolicyArray{
    					&accesscontextmanager.ServicePerimetersServicePerimeterSpecEgressPolicyArgs{
    						EgressFrom: &accesscontextmanager.ServicePerimetersServicePerimeterSpecEgressPolicyEgressFromArgs{
    							Identities: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							IdentityType:      pulumi.String("string"),
    							SourceRestriction: pulumi.String("string"),
    							Sources: accesscontextmanager.ServicePerimetersServicePerimeterSpecEgressPolicyEgressFromSourceArray{
    								&accesscontextmanager.ServicePerimetersServicePerimeterSpecEgressPolicyEgressFromSourceArgs{
    									AccessLevel: pulumi.String("string"),
    								},
    							},
    						},
    						EgressTo: &accesscontextmanager.ServicePerimetersServicePerimeterSpecEgressPolicyEgressToArgs{
    							ExternalResources: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							Operations: accesscontextmanager.ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationArray{
    								&accesscontextmanager.ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationArgs{
    									MethodSelectors: accesscontextmanager.ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationMethodSelectorArray{
    										&accesscontextmanager.ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationMethodSelectorArgs{
    											Method:     pulumi.String("string"),
    											Permission: pulumi.String("string"),
    										},
    									},
    									ServiceName: pulumi.String("string"),
    								},
    							},
    							Resources: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    				},
    				IngressPolicies: accesscontextmanager.ServicePerimetersServicePerimeterSpecIngressPolicyArray{
    					&accesscontextmanager.ServicePerimetersServicePerimeterSpecIngressPolicyArgs{
    						IngressFrom: &accesscontextmanager.ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromArgs{
    							Identities: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							IdentityType: pulumi.String("string"),
    							Sources: accesscontextmanager.ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromSourceArray{
    								&accesscontextmanager.ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromSourceArgs{
    									AccessLevel: pulumi.String("string"),
    									Resource:    pulumi.String("string"),
    								},
    							},
    						},
    						IngressTo: &accesscontextmanager.ServicePerimetersServicePerimeterSpecIngressPolicyIngressToArgs{
    							Operations: accesscontextmanager.ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperationArray{
    								&accesscontextmanager.ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperationArgs{
    									MethodSelectors: accesscontextmanager.ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperationMethodSelectorArray{
    										&accesscontextmanager.ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperationMethodSelectorArgs{
    											Method:     pulumi.String("string"),
    											Permission: pulumi.String("string"),
    										},
    									},
    									ServiceName: pulumi.String("string"),
    								},
    							},
    							Resources: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    				},
    				Resources: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				RestrictedServices: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				VpcAccessibleServices: &accesscontextmanager.ServicePerimetersServicePerimeterSpecVpcAccessibleServicesArgs{
    					AllowedServices: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					EnableRestriction: pulumi.Bool(false),
    				},
    			},
    			Status: &accesscontextmanager.ServicePerimetersServicePerimeterStatusArgs{
    				AccessLevels: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				EgressPolicies: accesscontextmanager.ServicePerimetersServicePerimeterStatusEgressPolicyArray{
    					&accesscontextmanager.ServicePerimetersServicePerimeterStatusEgressPolicyArgs{
    						EgressFrom: &accesscontextmanager.ServicePerimetersServicePerimeterStatusEgressPolicyEgressFromArgs{
    							Identities: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							IdentityType:      pulumi.String("string"),
    							SourceRestriction: pulumi.String("string"),
    							Sources: accesscontextmanager.ServicePerimetersServicePerimeterStatusEgressPolicyEgressFromSourceArray{
    								&accesscontextmanager.ServicePerimetersServicePerimeterStatusEgressPolicyEgressFromSourceArgs{
    									AccessLevel: pulumi.String("string"),
    								},
    							},
    						},
    						EgressTo: &accesscontextmanager.ServicePerimetersServicePerimeterStatusEgressPolicyEgressToArgs{
    							ExternalResources: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							Operations: accesscontextmanager.ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperationArray{
    								&accesscontextmanager.ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperationArgs{
    									MethodSelectors: accesscontextmanager.ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperationMethodSelectorArray{
    										&accesscontextmanager.ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperationMethodSelectorArgs{
    											Method:     pulumi.String("string"),
    											Permission: pulumi.String("string"),
    										},
    									},
    									ServiceName: pulumi.String("string"),
    								},
    							},
    							Resources: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    				},
    				IngressPolicies: accesscontextmanager.ServicePerimetersServicePerimeterStatusIngressPolicyArray{
    					&accesscontextmanager.ServicePerimetersServicePerimeterStatusIngressPolicyArgs{
    						IngressFrom: &accesscontextmanager.ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromArgs{
    							Identities: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							IdentityType: pulumi.String("string"),
    							Sources: accesscontextmanager.ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromSourceArray{
    								&accesscontextmanager.ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromSourceArgs{
    									AccessLevel: pulumi.String("string"),
    									Resource:    pulumi.String("string"),
    								},
    							},
    						},
    						IngressTo: &accesscontextmanager.ServicePerimetersServicePerimeterStatusIngressPolicyIngressToArgs{
    							Operations: accesscontextmanager.ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationArray{
    								&accesscontextmanager.ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationArgs{
    									MethodSelectors: accesscontextmanager.ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelectorArray{
    										&accesscontextmanager.ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelectorArgs{
    											Method:     pulumi.String("string"),
    											Permission: pulumi.String("string"),
    										},
    									},
    									ServiceName: pulumi.String("string"),
    								},
    							},
    							Resources: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    				},
    				Resources: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				RestrictedServices: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				VpcAccessibleServices: &accesscontextmanager.ServicePerimetersServicePerimeterStatusVpcAccessibleServicesArgs{
    					AllowedServices: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					EnableRestriction: pulumi.Bool(false),
    				},
    			},
    			UpdateTime:            pulumi.String("string"),
    			UseExplicitDryRunSpec: pulumi.Bool(false),
    		},
    	},
    })
    
    var servicePerimetersResource = new ServicePerimeters("servicePerimetersResource", ServicePerimetersArgs.builder()
        .parent("string")
        .servicePerimeters(ServicePerimetersServicePerimeterArgs.builder()
            .name("string")
            .title("string")
            .createTime("string")
            .description("string")
            .perimeterType("string")
            .spec(ServicePerimetersServicePerimeterSpecArgs.builder()
                .accessLevels("string")
                .egressPolicies(ServicePerimetersServicePerimeterSpecEgressPolicyArgs.builder()
                    .egressFrom(ServicePerimetersServicePerimeterSpecEgressPolicyEgressFromArgs.builder()
                        .identities("string")
                        .identityType("string")
                        .sourceRestriction("string")
                        .sources(ServicePerimetersServicePerimeterSpecEgressPolicyEgressFromSourceArgs.builder()
                            .accessLevel("string")
                            .build())
                        .build())
                    .egressTo(ServicePerimetersServicePerimeterSpecEgressPolicyEgressToArgs.builder()
                        .externalResources("string")
                        .operations(ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationArgs.builder()
                            .methodSelectors(ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationMethodSelectorArgs.builder()
                                .method("string")
                                .permission("string")
                                .build())
                            .serviceName("string")
                            .build())
                        .resources("string")
                        .build())
                    .build())
                .ingressPolicies(ServicePerimetersServicePerimeterSpecIngressPolicyArgs.builder()
                    .ingressFrom(ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromArgs.builder()
                        .identities("string")
                        .identityType("string")
                        .sources(ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromSourceArgs.builder()
                            .accessLevel("string")
                            .resource("string")
                            .build())
                        .build())
                    .ingressTo(ServicePerimetersServicePerimeterSpecIngressPolicyIngressToArgs.builder()
                        .operations(ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperationArgs.builder()
                            .methodSelectors(ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperationMethodSelectorArgs.builder()
                                .method("string")
                                .permission("string")
                                .build())
                            .serviceName("string")
                            .build())
                        .resources("string")
                        .build())
                    .build())
                .resources("string")
                .restrictedServices("string")
                .vpcAccessibleServices(ServicePerimetersServicePerimeterSpecVpcAccessibleServicesArgs.builder()
                    .allowedServices("string")
                    .enableRestriction(false)
                    .build())
                .build())
            .status(ServicePerimetersServicePerimeterStatusArgs.builder()
                .accessLevels("string")
                .egressPolicies(ServicePerimetersServicePerimeterStatusEgressPolicyArgs.builder()
                    .egressFrom(ServicePerimetersServicePerimeterStatusEgressPolicyEgressFromArgs.builder()
                        .identities("string")
                        .identityType("string")
                        .sourceRestriction("string")
                        .sources(ServicePerimetersServicePerimeterStatusEgressPolicyEgressFromSourceArgs.builder()
                            .accessLevel("string")
                            .build())
                        .build())
                    .egressTo(ServicePerimetersServicePerimeterStatusEgressPolicyEgressToArgs.builder()
                        .externalResources("string")
                        .operations(ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperationArgs.builder()
                            .methodSelectors(ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperationMethodSelectorArgs.builder()
                                .method("string")
                                .permission("string")
                                .build())
                            .serviceName("string")
                            .build())
                        .resources("string")
                        .build())
                    .build())
                .ingressPolicies(ServicePerimetersServicePerimeterStatusIngressPolicyArgs.builder()
                    .ingressFrom(ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromArgs.builder()
                        .identities("string")
                        .identityType("string")
                        .sources(ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromSourceArgs.builder()
                            .accessLevel("string")
                            .resource("string")
                            .build())
                        .build())
                    .ingressTo(ServicePerimetersServicePerimeterStatusIngressPolicyIngressToArgs.builder()
                        .operations(ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationArgs.builder()
                            .methodSelectors(ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelectorArgs.builder()
                                .method("string")
                                .permission("string")
                                .build())
                            .serviceName("string")
                            .build())
                        .resources("string")
                        .build())
                    .build())
                .resources("string")
                .restrictedServices("string")
                .vpcAccessibleServices(ServicePerimetersServicePerimeterStatusVpcAccessibleServicesArgs.builder()
                    .allowedServices("string")
                    .enableRestriction(false)
                    .build())
                .build())
            .updateTime("string")
            .useExplicitDryRunSpec(false)
            .build())
        .build());
    
    service_perimeters_resource = gcp.accesscontextmanager.ServicePerimeters("servicePerimetersResource",
        parent="string",
        service_perimeters=[{
            "name": "string",
            "title": "string",
            "create_time": "string",
            "description": "string",
            "perimeter_type": "string",
            "spec": {
                "access_levels": ["string"],
                "egress_policies": [{
                    "egress_from": {
                        "identities": ["string"],
                        "identity_type": "string",
                        "source_restriction": "string",
                        "sources": [{
                            "access_level": "string",
                        }],
                    },
                    "egress_to": {
                        "external_resources": ["string"],
                        "operations": [{
                            "method_selectors": [{
                                "method": "string",
                                "permission": "string",
                            }],
                            "service_name": "string",
                        }],
                        "resources": ["string"],
                    },
                }],
                "ingress_policies": [{
                    "ingress_from": {
                        "identities": ["string"],
                        "identity_type": "string",
                        "sources": [{
                            "access_level": "string",
                            "resource": "string",
                        }],
                    },
                    "ingress_to": {
                        "operations": [{
                            "method_selectors": [{
                                "method": "string",
                                "permission": "string",
                            }],
                            "service_name": "string",
                        }],
                        "resources": ["string"],
                    },
                }],
                "resources": ["string"],
                "restricted_services": ["string"],
                "vpc_accessible_services": {
                    "allowed_services": ["string"],
                    "enable_restriction": False,
                },
            },
            "status": {
                "access_levels": ["string"],
                "egress_policies": [{
                    "egress_from": {
                        "identities": ["string"],
                        "identity_type": "string",
                        "source_restriction": "string",
                        "sources": [{
                            "access_level": "string",
                        }],
                    },
                    "egress_to": {
                        "external_resources": ["string"],
                        "operations": [{
                            "method_selectors": [{
                                "method": "string",
                                "permission": "string",
                            }],
                            "service_name": "string",
                        }],
                        "resources": ["string"],
                    },
                }],
                "ingress_policies": [{
                    "ingress_from": {
                        "identities": ["string"],
                        "identity_type": "string",
                        "sources": [{
                            "access_level": "string",
                            "resource": "string",
                        }],
                    },
                    "ingress_to": {
                        "operations": [{
                            "method_selectors": [{
                                "method": "string",
                                "permission": "string",
                            }],
                            "service_name": "string",
                        }],
                        "resources": ["string"],
                    },
                }],
                "resources": ["string"],
                "restricted_services": ["string"],
                "vpc_accessible_services": {
                    "allowed_services": ["string"],
                    "enable_restriction": False,
                },
            },
            "update_time": "string",
            "use_explicit_dry_run_spec": False,
        }])
    
    const servicePerimetersResource = new gcp.accesscontextmanager.ServicePerimeters("servicePerimetersResource", {
        parent: "string",
        servicePerimeters: [{
            name: "string",
            title: "string",
            createTime: "string",
            description: "string",
            perimeterType: "string",
            spec: {
                accessLevels: ["string"],
                egressPolicies: [{
                    egressFrom: {
                        identities: ["string"],
                        identityType: "string",
                        sourceRestriction: "string",
                        sources: [{
                            accessLevel: "string",
                        }],
                    },
                    egressTo: {
                        externalResources: ["string"],
                        operations: [{
                            methodSelectors: [{
                                method: "string",
                                permission: "string",
                            }],
                            serviceName: "string",
                        }],
                        resources: ["string"],
                    },
                }],
                ingressPolicies: [{
                    ingressFrom: {
                        identities: ["string"],
                        identityType: "string",
                        sources: [{
                            accessLevel: "string",
                            resource: "string",
                        }],
                    },
                    ingressTo: {
                        operations: [{
                            methodSelectors: [{
                                method: "string",
                                permission: "string",
                            }],
                            serviceName: "string",
                        }],
                        resources: ["string"],
                    },
                }],
                resources: ["string"],
                restrictedServices: ["string"],
                vpcAccessibleServices: {
                    allowedServices: ["string"],
                    enableRestriction: false,
                },
            },
            status: {
                accessLevels: ["string"],
                egressPolicies: [{
                    egressFrom: {
                        identities: ["string"],
                        identityType: "string",
                        sourceRestriction: "string",
                        sources: [{
                            accessLevel: "string",
                        }],
                    },
                    egressTo: {
                        externalResources: ["string"],
                        operations: [{
                            methodSelectors: [{
                                method: "string",
                                permission: "string",
                            }],
                            serviceName: "string",
                        }],
                        resources: ["string"],
                    },
                }],
                ingressPolicies: [{
                    ingressFrom: {
                        identities: ["string"],
                        identityType: "string",
                        sources: [{
                            accessLevel: "string",
                            resource: "string",
                        }],
                    },
                    ingressTo: {
                        operations: [{
                            methodSelectors: [{
                                method: "string",
                                permission: "string",
                            }],
                            serviceName: "string",
                        }],
                        resources: ["string"],
                    },
                }],
                resources: ["string"],
                restrictedServices: ["string"],
                vpcAccessibleServices: {
                    allowedServices: ["string"],
                    enableRestriction: false,
                },
            },
            updateTime: "string",
            useExplicitDryRunSpec: false,
        }],
    });
    
    type: gcp:accesscontextmanager:ServicePerimeters
    properties:
        parent: string
        servicePerimeters:
            - createTime: string
              description: string
              name: string
              perimeterType: string
              spec:
                accessLevels:
                    - string
                egressPolicies:
                    - egressFrom:
                        identities:
                            - string
                        identityType: string
                        sourceRestriction: string
                        sources:
                            - accessLevel: string
                      egressTo:
                        externalResources:
                            - string
                        operations:
                            - methodSelectors:
                                - method: string
                                  permission: string
                              serviceName: string
                        resources:
                            - string
                ingressPolicies:
                    - ingressFrom:
                        identities:
                            - string
                        identityType: string
                        sources:
                            - accessLevel: string
                              resource: string
                      ingressTo:
                        operations:
                            - methodSelectors:
                                - method: string
                                  permission: string
                              serviceName: string
                        resources:
                            - string
                resources:
                    - string
                restrictedServices:
                    - string
                vpcAccessibleServices:
                    allowedServices:
                        - string
                    enableRestriction: false
              status:
                accessLevels:
                    - string
                egressPolicies:
                    - egressFrom:
                        identities:
                            - string
                        identityType: string
                        sourceRestriction: string
                        sources:
                            - accessLevel: string
                      egressTo:
                        externalResources:
                            - string
                        operations:
                            - methodSelectors:
                                - method: string
                                  permission: string
                              serviceName: string
                        resources:
                            - string
                ingressPolicies:
                    - ingressFrom:
                        identities:
                            - string
                        identityType: string
                        sources:
                            - accessLevel: string
                              resource: string
                      ingressTo:
                        operations:
                            - methodSelectors:
                                - method: string
                                  permission: string
                              serviceName: string
                        resources:
                            - string
                resources:
                    - string
                restrictedServices:
                    - string
                vpcAccessibleServices:
                    allowedServices:
                        - string
                    enableRestriction: false
              title: string
              updateTime: string
              useExplicitDryRunSpec: false
    

    ServicePerimeters Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ServicePerimeters resource accepts the following input properties:

    Parent string
    The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}


    ServicePerimeterDetails List<ServicePerimetersServicePerimeter>
    The desired Service Perimeters that should replace all existing Service Perimeters in the Access Policy. Structure is documented below.
    Parent string
    The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}


    ServicePerimeters []ServicePerimetersServicePerimeterArgs
    The desired Service Perimeters that should replace all existing Service Perimeters in the Access Policy. Structure is documented below.
    parent String
    The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}


    servicePerimeters List<ServicePerimetersServicePerimeter>
    The desired Service Perimeters that should replace all existing Service Perimeters in the Access Policy. Structure is documented below.
    parent string
    The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}


    servicePerimeters ServicePerimetersServicePerimeter[]
    The desired Service Perimeters that should replace all existing Service Perimeters in the Access Policy. Structure is documented below.
    parent str
    The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}


    service_perimeters Sequence[ServicePerimetersServicePerimeterArgs]
    The desired Service Perimeters that should replace all existing Service Perimeters in the Access Policy. Structure is documented below.
    parent String
    The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}


    servicePerimeters List<Property Map>
    The desired Service Perimeters that should replace all existing Service Perimeters in the Access Policy. Structure is documented below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ServicePerimeters resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ServicePerimeters Resource

    Get an existing ServicePerimeters resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ServicePerimetersState, opts?: CustomResourceOptions): ServicePerimeters
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            parent: Optional[str] = None,
            service_perimeters: Optional[Sequence[ServicePerimetersServicePerimeterArgs]] = None) -> ServicePerimeters
    func GetServicePerimeters(ctx *Context, name string, id IDInput, state *ServicePerimetersState, opts ...ResourceOption) (*ServicePerimeters, error)
    public static ServicePerimeters Get(string name, Input<string> id, ServicePerimetersState? state, CustomResourceOptions? opts = null)
    public static ServicePerimeters get(String name, Output<String> id, ServicePerimetersState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Parent string
    The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}


    ServicePerimeterDetails List<ServicePerimetersServicePerimeter>
    The desired Service Perimeters that should replace all existing Service Perimeters in the Access Policy. Structure is documented below.
    Parent string
    The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}


    ServicePerimeters []ServicePerimetersServicePerimeterArgs
    The desired Service Perimeters that should replace all existing Service Perimeters in the Access Policy. Structure is documented below.
    parent String
    The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}


    servicePerimeters List<ServicePerimetersServicePerimeter>
    The desired Service Perimeters that should replace all existing Service Perimeters in the Access Policy. Structure is documented below.
    parent string
    The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}


    servicePerimeters ServicePerimetersServicePerimeter[]
    The desired Service Perimeters that should replace all existing Service Perimeters in the Access Policy. Structure is documented below.
    parent str
    The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}


    service_perimeters Sequence[ServicePerimetersServicePerimeterArgs]
    The desired Service Perimeters that should replace all existing Service Perimeters in the Access Policy. Structure is documented below.
    parent String
    The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}


    servicePerimeters List<Property Map>
    The desired Service Perimeters that should replace all existing Service Perimeters in the Access Policy. Structure is documented below.

    Supporting Types

    ServicePerimetersServicePerimeter, ServicePerimetersServicePerimeterArgs

    Name string
    Resource name for the ServicePerimeter. The short_name component must begin with a letter and only include alphanumeric and '_'. Format: accessPolicies/{policy_id}/servicePerimeters/{short_name}
    Title string
    Human readable title. Must be unique within the Policy.
    CreateTime string
    (Output) Time the AccessPolicy was created in UTC.
    Description string
    Description of the ServicePerimeter and its use. Does not affect behavior.
    PerimeterType string
    Specifies the type of the Perimeter. There are two types: regular and bridge. Regular Service Perimeter contains resources, access levels, and restricted services. Every resource can be in at most ONE regular Service Perimeter. In addition to being in a regular service perimeter, a resource can also be in zero or more perimeter bridges. A perimeter bridge only contains resources. Cross project operations are permitted if all effected resources share some perimeter (whether bridge or regular). Perimeter Bridge does not contain access levels or services: those are governed entirely by the regular perimeter that resource is in. Perimeter Bridges are typically useful when building more complex topologies with many independent perimeters that need to share some data with a common perimeter, but should not be able to share data among themselves. Default value is PERIMETER_TYPE_REGULAR. Possible values are: PERIMETER_TYPE_REGULAR, PERIMETER_TYPE_BRIDGE.
    Spec ServicePerimetersServicePerimeterSpec
    Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the useExplicitDryRunSpec flag is set. Structure is documented below.
    Status ServicePerimetersServicePerimeterStatus
    ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. Structure is documented below.
    UpdateTime string
    (Output) Time the AccessPolicy was updated in UTC.
    UseExplicitDryRunSpec bool
    Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. useExplicitDryRunSpec must bet set to True if any of the fields in the spec are set to non-default values.
    Name string
    Resource name for the ServicePerimeter. The short_name component must begin with a letter and only include alphanumeric and '_'. Format: accessPolicies/{policy_id}/servicePerimeters/{short_name}
    Title string
    Human readable title. Must be unique within the Policy.
    CreateTime string
    (Output) Time the AccessPolicy was created in UTC.
    Description string
    Description of the ServicePerimeter and its use. Does not affect behavior.
    PerimeterType string
    Specifies the type of the Perimeter. There are two types: regular and bridge. Regular Service Perimeter contains resources, access levels, and restricted services. Every resource can be in at most ONE regular Service Perimeter. In addition to being in a regular service perimeter, a resource can also be in zero or more perimeter bridges. A perimeter bridge only contains resources. Cross project operations are permitted if all effected resources share some perimeter (whether bridge or regular). Perimeter Bridge does not contain access levels or services: those are governed entirely by the regular perimeter that resource is in. Perimeter Bridges are typically useful when building more complex topologies with many independent perimeters that need to share some data with a common perimeter, but should not be able to share data among themselves. Default value is PERIMETER_TYPE_REGULAR. Possible values are: PERIMETER_TYPE_REGULAR, PERIMETER_TYPE_BRIDGE.
    Spec ServicePerimetersServicePerimeterSpec
    Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the useExplicitDryRunSpec flag is set. Structure is documented below.
    Status ServicePerimetersServicePerimeterStatus
    ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. Structure is documented below.
    UpdateTime string
    (Output) Time the AccessPolicy was updated in UTC.
    UseExplicitDryRunSpec bool
    Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. useExplicitDryRunSpec must bet set to True if any of the fields in the spec are set to non-default values.
    name String
    Resource name for the ServicePerimeter. The short_name component must begin with a letter and only include alphanumeric and '_'. Format: accessPolicies/{policy_id}/servicePerimeters/{short_name}
    title String
    Human readable title. Must be unique within the Policy.
    createTime String
    (Output) Time the AccessPolicy was created in UTC.
    description String
    Description of the ServicePerimeter and its use. Does not affect behavior.
    perimeterType String
    Specifies the type of the Perimeter. There are two types: regular and bridge. Regular Service Perimeter contains resources, access levels, and restricted services. Every resource can be in at most ONE regular Service Perimeter. In addition to being in a regular service perimeter, a resource can also be in zero or more perimeter bridges. A perimeter bridge only contains resources. Cross project operations are permitted if all effected resources share some perimeter (whether bridge or regular). Perimeter Bridge does not contain access levels or services: those are governed entirely by the regular perimeter that resource is in. Perimeter Bridges are typically useful when building more complex topologies with many independent perimeters that need to share some data with a common perimeter, but should not be able to share data among themselves. Default value is PERIMETER_TYPE_REGULAR. Possible values are: PERIMETER_TYPE_REGULAR, PERIMETER_TYPE_BRIDGE.
    spec ServicePerimetersServicePerimeterSpec
    Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the useExplicitDryRunSpec flag is set. Structure is documented below.
    status ServicePerimetersServicePerimeterStatus
    ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. Structure is documented below.
    updateTime String
    (Output) Time the AccessPolicy was updated in UTC.
    useExplicitDryRunSpec Boolean
    Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. useExplicitDryRunSpec must bet set to True if any of the fields in the spec are set to non-default values.
    name string
    Resource name for the ServicePerimeter. The short_name component must begin with a letter and only include alphanumeric and '_'. Format: accessPolicies/{policy_id}/servicePerimeters/{short_name}
    title string
    Human readable title. Must be unique within the Policy.
    createTime string
    (Output) Time the AccessPolicy was created in UTC.
    description string
    Description of the ServicePerimeter and its use. Does not affect behavior.
    perimeterType string
    Specifies the type of the Perimeter. There are two types: regular and bridge. Regular Service Perimeter contains resources, access levels, and restricted services. Every resource can be in at most ONE regular Service Perimeter. In addition to being in a regular service perimeter, a resource can also be in zero or more perimeter bridges. A perimeter bridge only contains resources. Cross project operations are permitted if all effected resources share some perimeter (whether bridge or regular). Perimeter Bridge does not contain access levels or services: those are governed entirely by the regular perimeter that resource is in. Perimeter Bridges are typically useful when building more complex topologies with many independent perimeters that need to share some data with a common perimeter, but should not be able to share data among themselves. Default value is PERIMETER_TYPE_REGULAR. Possible values are: PERIMETER_TYPE_REGULAR, PERIMETER_TYPE_BRIDGE.
    spec ServicePerimetersServicePerimeterSpec
    Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the useExplicitDryRunSpec flag is set. Structure is documented below.
    status ServicePerimetersServicePerimeterStatus
    ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. Structure is documented below.
    updateTime string
    (Output) Time the AccessPolicy was updated in UTC.
    useExplicitDryRunSpec boolean
    Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. useExplicitDryRunSpec must bet set to True if any of the fields in the spec are set to non-default values.
    name str
    Resource name for the ServicePerimeter. The short_name component must begin with a letter and only include alphanumeric and '_'. Format: accessPolicies/{policy_id}/servicePerimeters/{short_name}
    title str
    Human readable title. Must be unique within the Policy.
    create_time str
    (Output) Time the AccessPolicy was created in UTC.
    description str
    Description of the ServicePerimeter and its use. Does not affect behavior.
    perimeter_type str
    Specifies the type of the Perimeter. There are two types: regular and bridge. Regular Service Perimeter contains resources, access levels, and restricted services. Every resource can be in at most ONE regular Service Perimeter. In addition to being in a regular service perimeter, a resource can also be in zero or more perimeter bridges. A perimeter bridge only contains resources. Cross project operations are permitted if all effected resources share some perimeter (whether bridge or regular). Perimeter Bridge does not contain access levels or services: those are governed entirely by the regular perimeter that resource is in. Perimeter Bridges are typically useful when building more complex topologies with many independent perimeters that need to share some data with a common perimeter, but should not be able to share data among themselves. Default value is PERIMETER_TYPE_REGULAR. Possible values are: PERIMETER_TYPE_REGULAR, PERIMETER_TYPE_BRIDGE.
    spec ServicePerimetersServicePerimeterSpec
    Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the useExplicitDryRunSpec flag is set. Structure is documented below.
    status ServicePerimetersServicePerimeterStatus
    ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. Structure is documented below.
    update_time str
    (Output) Time the AccessPolicy was updated in UTC.
    use_explicit_dry_run_spec bool
    Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. useExplicitDryRunSpec must bet set to True if any of the fields in the spec are set to non-default values.
    name String
    Resource name for the ServicePerimeter. The short_name component must begin with a letter and only include alphanumeric and '_'. Format: accessPolicies/{policy_id}/servicePerimeters/{short_name}
    title String
    Human readable title. Must be unique within the Policy.
    createTime String
    (Output) Time the AccessPolicy was created in UTC.
    description String
    Description of the ServicePerimeter and its use. Does not affect behavior.
    perimeterType String
    Specifies the type of the Perimeter. There are two types: regular and bridge. Regular Service Perimeter contains resources, access levels, and restricted services. Every resource can be in at most ONE regular Service Perimeter. In addition to being in a regular service perimeter, a resource can also be in zero or more perimeter bridges. A perimeter bridge only contains resources. Cross project operations are permitted if all effected resources share some perimeter (whether bridge or regular). Perimeter Bridge does not contain access levels or services: those are governed entirely by the regular perimeter that resource is in. Perimeter Bridges are typically useful when building more complex topologies with many independent perimeters that need to share some data with a common perimeter, but should not be able to share data among themselves. Default value is PERIMETER_TYPE_REGULAR. Possible values are: PERIMETER_TYPE_REGULAR, PERIMETER_TYPE_BRIDGE.
    spec Property Map
    Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the useExplicitDryRunSpec flag is set. Structure is documented below.
    status Property Map
    ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. Structure is documented below.
    updateTime String
    (Output) Time the AccessPolicy was updated in UTC.
    useExplicitDryRunSpec Boolean
    Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. useExplicitDryRunSpec must bet set to True if any of the fields in the spec are set to non-default values.

    ServicePerimetersServicePerimeterSpec, ServicePerimetersServicePerimeterSpecArgs

    AccessLevels List<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 GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
    EgressPolicies List<ServicePerimetersServicePerimeterSpecEgressPolicy>
    List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    IngressPolicies List<ServicePerimetersServicePerimeterSpecIngressPolicy>
    List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    Resources List<string>
    A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
    RestrictedServices List<string>
    GCP 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.
    VpcAccessibleServices ServicePerimetersServicePerimeterSpecVpcAccessibleServices
    Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.
    AccessLevels []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 GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
    EgressPolicies []ServicePerimetersServicePerimeterSpecEgressPolicy
    List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    IngressPolicies []ServicePerimetersServicePerimeterSpecIngressPolicy
    List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    Resources []string
    A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
    RestrictedServices []string
    GCP 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.
    VpcAccessibleServices ServicePerimetersServicePerimeterSpecVpcAccessibleServices
    Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.
    accessLevels List<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 GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
    egressPolicies List<ServicePerimetersServicePerimeterSpecEgressPolicy>
    List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    ingressPolicies List<ServicePerimetersServicePerimeterSpecIngressPolicy>
    List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    resources List<String>
    A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
    restrictedServices List<String>
    GCP 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.
    vpcAccessibleServices ServicePerimetersServicePerimeterSpecVpcAccessibleServices
    Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.
    accessLevels 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 GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
    egressPolicies ServicePerimetersServicePerimeterSpecEgressPolicy[]
    List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    ingressPolicies ServicePerimetersServicePerimeterSpecIngressPolicy[]
    List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    resources string[]
    A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
    restrictedServices string[]
    GCP 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.
    vpcAccessibleServices ServicePerimetersServicePerimeterSpecVpcAccessibleServices
    Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.
    access_levels Sequence[str]
    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 GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
    egress_policies Sequence[ServicePerimetersServicePerimeterSpecEgressPolicy]
    List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    ingress_policies Sequence[ServicePerimetersServicePerimeterSpecIngressPolicy]
    List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    resources Sequence[str]
    A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
    restricted_services Sequence[str]
    GCP 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.
    vpc_accessible_services ServicePerimetersServicePerimeterSpecVpcAccessibleServices
    Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.
    accessLevels List<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 GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
    egressPolicies List<Property Map>
    List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    ingressPolicies List<Property Map>
    List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    resources List<String>
    A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
    restrictedServices List<String>
    GCP 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.
    vpcAccessibleServices Property Map
    Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.

    ServicePerimetersServicePerimeterSpecEgressPolicy, ServicePerimetersServicePerimeterSpecEgressPolicyArgs

    EgressFrom ServicePerimetersServicePerimeterSpecEgressPolicyEgressFrom
    Defines conditions on the source of a request causing this EgressPolicy to apply. Structure is documented below.
    EgressTo ServicePerimetersServicePerimeterSpecEgressPolicyEgressTo
    Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. Structure is documented below.
    EgressFrom ServicePerimetersServicePerimeterSpecEgressPolicyEgressFrom
    Defines conditions on the source of a request causing this EgressPolicy to apply. Structure is documented below.
    EgressTo ServicePerimetersServicePerimeterSpecEgressPolicyEgressTo
    Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. Structure is documented below.
    egressFrom ServicePerimetersServicePerimeterSpecEgressPolicyEgressFrom
    Defines conditions on the source of a request causing this EgressPolicy to apply. Structure is documented below.
    egressTo ServicePerimetersServicePerimeterSpecEgressPolicyEgressTo
    Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. Structure is documented below.
    egressFrom ServicePerimetersServicePerimeterSpecEgressPolicyEgressFrom
    Defines conditions on the source of a request causing this EgressPolicy to apply. Structure is documented below.
    egressTo ServicePerimetersServicePerimeterSpecEgressPolicyEgressTo
    Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. Structure is documented below.
    egress_from ServicePerimetersServicePerimeterSpecEgressPolicyEgressFrom
    Defines conditions on the source of a request causing this EgressPolicy to apply. Structure is documented below.
    egress_to ServicePerimetersServicePerimeterSpecEgressPolicyEgressTo
    Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. Structure is documented below.
    egressFrom Property Map
    Defines conditions on the source of a request causing this EgressPolicy to apply. Structure is documented below.
    egressTo Property Map
    Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. Structure is documented below.

    ServicePerimetersServicePerimeterSpecEgressPolicyEgressFrom, ServicePerimetersServicePerimeterSpecEgressPolicyEgressFromArgs

    Identities List<string>
    A list of identities that are allowed access through this EgressPolicy. Should be in the format of email address. The email address should represent individual user or service account only.
    IdentityType string
    Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    SourceRestriction string
    Whether to enforce traffic restrictions based on sources field. If the sources field is non-empty, then this field must be set to SOURCE_RESTRICTION_ENABLED. Possible values are: SOURCE_RESTRICTION_UNSPECIFIED, SOURCE_RESTRICTION_ENABLED, SOURCE_RESTRICTION_DISABLED.
    Sources List<ServicePerimetersServicePerimeterSpecEgressPolicyEgressFromSource>
    Sources that this EgressPolicy authorizes access from. Structure is documented below.
    Identities []string
    A list of identities that are allowed access through this EgressPolicy. Should be in the format of email address. The email address should represent individual user or service account only.
    IdentityType string
    Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    SourceRestriction string
    Whether to enforce traffic restrictions based on sources field. If the sources field is non-empty, then this field must be set to SOURCE_RESTRICTION_ENABLED. Possible values are: SOURCE_RESTRICTION_UNSPECIFIED, SOURCE_RESTRICTION_ENABLED, SOURCE_RESTRICTION_DISABLED.
    Sources []ServicePerimetersServicePerimeterSpecEgressPolicyEgressFromSource
    Sources that this EgressPolicy authorizes access from. Structure is documented below.
    identities List<String>
    A list of identities that are allowed access through this EgressPolicy. Should be in the format of email address. The email address should represent individual user or service account only.
    identityType String
    Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    sourceRestriction String
    Whether to enforce traffic restrictions based on sources field. If the sources field is non-empty, then this field must be set to SOURCE_RESTRICTION_ENABLED. Possible values are: SOURCE_RESTRICTION_UNSPECIFIED, SOURCE_RESTRICTION_ENABLED, SOURCE_RESTRICTION_DISABLED.
    sources List<ServicePerimetersServicePerimeterSpecEgressPolicyEgressFromSource>
    Sources that this EgressPolicy authorizes access from. Structure is documented below.
    identities string[]
    A list of identities that are allowed access through this EgressPolicy. Should be in the format of email address. The email address should represent individual user or service account only.
    identityType string
    Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    sourceRestriction string
    Whether to enforce traffic restrictions based on sources field. If the sources field is non-empty, then this field must be set to SOURCE_RESTRICTION_ENABLED. Possible values are: SOURCE_RESTRICTION_UNSPECIFIED, SOURCE_RESTRICTION_ENABLED, SOURCE_RESTRICTION_DISABLED.
    sources ServicePerimetersServicePerimeterSpecEgressPolicyEgressFromSource[]
    Sources that this EgressPolicy authorizes access from. Structure is documented below.
    identities Sequence[str]
    A list of identities that are allowed access through this EgressPolicy. Should be in the format of email address. The email address should represent individual user or service account only.
    identity_type str
    Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    source_restriction str
    Whether to enforce traffic restrictions based on sources field. If the sources field is non-empty, then this field must be set to SOURCE_RESTRICTION_ENABLED. Possible values are: SOURCE_RESTRICTION_UNSPECIFIED, SOURCE_RESTRICTION_ENABLED, SOURCE_RESTRICTION_DISABLED.
    sources Sequence[ServicePerimetersServicePerimeterSpecEgressPolicyEgressFromSource]
    Sources that this EgressPolicy authorizes access from. Structure is documented below.
    identities List<String>
    A list of identities that are allowed access through this EgressPolicy. Should be in the format of email address. The email address should represent individual user or service account only.
    identityType String
    Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    sourceRestriction String
    Whether to enforce traffic restrictions based on sources field. If the sources field is non-empty, then this field must be set to SOURCE_RESTRICTION_ENABLED. Possible values are: SOURCE_RESTRICTION_UNSPECIFIED, SOURCE_RESTRICTION_ENABLED, SOURCE_RESTRICTION_DISABLED.
    sources List<Property Map>
    Sources that this EgressPolicy authorizes access from. Structure is documented below.

    ServicePerimetersServicePerimeterSpecEgressPolicyEgressFromSource, ServicePerimetersServicePerimeterSpecEgressPolicyEgressFromSourceArgs

    AccessLevel string
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    AccessLevel string
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    accessLevel String
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    accessLevel string
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    access_level str
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    accessLevel String
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.

    ServicePerimetersServicePerimeterSpecEgressPolicyEgressTo, ServicePerimetersServicePerimeterSpecEgressPolicyEgressToArgs

    ExternalResources List<string>
    A list of external resources that are allowed to be accessed. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.
    Operations List<ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperation>
    A list of ApiOperations that this egress rule applies to. A request matches if it contains an operation/service in this list. Structure is documented below.
    Resources List<string>
    A list of resources, currently only projects in the form projects/<projectnumber>, that match this to stanza. A request matches if it contains a resource in this list. If * is specified for resources, then this EgressTo rule will authorize access to all resources outside the perimeter.
    ExternalResources []string
    A list of external resources that are allowed to be accessed. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.
    Operations []ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperation
    A list of ApiOperations that this egress rule applies to. A request matches if it contains an operation/service in this list. Structure is documented below.
    Resources []string
    A list of resources, currently only projects in the form projects/<projectnumber>, that match this to stanza. A request matches if it contains a resource in this list. If * is specified for resources, then this EgressTo rule will authorize access to all resources outside the perimeter.
    externalResources List<String>
    A list of external resources that are allowed to be accessed. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.
    operations List<ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperation>
    A list of ApiOperations that this egress rule applies to. A request matches if it contains an operation/service in this list. Structure is documented below.
    resources List<String>
    A list of resources, currently only projects in the form projects/<projectnumber>, that match this to stanza. A request matches if it contains a resource in this list. If * is specified for resources, then this EgressTo rule will authorize access to all resources outside the perimeter.
    externalResources string[]
    A list of external resources that are allowed to be accessed. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.
    operations ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperation[]
    A list of ApiOperations that this egress rule applies to. A request matches if it contains an operation/service in this list. Structure is documented below.
    resources string[]
    A list of resources, currently only projects in the form projects/<projectnumber>, that match this to stanza. A request matches if it contains a resource in this list. If * is specified for resources, then this EgressTo rule will authorize access to all resources outside the perimeter.
    external_resources Sequence[str]
    A list of external resources that are allowed to be accessed. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.
    operations Sequence[ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperation]
    A list of ApiOperations that this egress rule applies to. A request matches if it contains an operation/service in this list. Structure is documented below.
    resources Sequence[str]
    A list of resources, currently only projects in the form projects/<projectnumber>, that match this to stanza. A request matches if it contains a resource in this list. If * is specified for resources, then this EgressTo rule will authorize access to all resources outside the perimeter.
    externalResources List<String>
    A list of external resources that are allowed to be accessed. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.
    operations List<Property Map>
    A list of ApiOperations that this egress rule applies to. A request matches if it contains an operation/service in this list. Structure is documented below.
    resources List<String>
    A list of resources, currently only projects in the form projects/<projectnumber>, that match this to stanza. A request matches if it contains a resource in this list. If * is specified for resources, then this EgressTo rule will authorize access to all resources outside the perimeter.

    ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperation, ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationArgs

    MethodSelectors List<ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationMethodSelector>
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    ServiceName string
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    MethodSelectors []ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationMethodSelector
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    ServiceName string
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    methodSelectors List<ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationMethodSelector>
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    serviceName String
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    methodSelectors ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationMethodSelector[]
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    serviceName string
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    method_selectors Sequence[ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationMethodSelector]
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    service_name str
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    methodSelectors List<Property Map>
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    serviceName String
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.

    ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationMethodSelector, ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationMethodSelectorArgs

    Method string
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    Permission string
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    Method string
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    Permission string
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    method String
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    permission String
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    method string
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    permission string
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    method str
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    permission str
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    method String
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    permission String
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.

    ServicePerimetersServicePerimeterSpecIngressPolicy, ServicePerimetersServicePerimeterSpecIngressPolicyArgs

    IngressFrom ServicePerimetersServicePerimeterSpecIngressPolicyIngressFrom
    Defines the conditions on the source of a request causing this IngressPolicy to apply. Structure is documented below.
    IngressTo ServicePerimetersServicePerimeterSpecIngressPolicyIngressTo
    Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply. Structure is documented below.
    IngressFrom ServicePerimetersServicePerimeterSpecIngressPolicyIngressFrom
    Defines the conditions on the source of a request causing this IngressPolicy to apply. Structure is documented below.
    IngressTo ServicePerimetersServicePerimeterSpecIngressPolicyIngressTo
    Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply. Structure is documented below.
    ingressFrom ServicePerimetersServicePerimeterSpecIngressPolicyIngressFrom
    Defines the conditions on the source of a request causing this IngressPolicy to apply. Structure is documented below.
    ingressTo ServicePerimetersServicePerimeterSpecIngressPolicyIngressTo
    Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply. Structure is documented below.
    ingressFrom ServicePerimetersServicePerimeterSpecIngressPolicyIngressFrom
    Defines the conditions on the source of a request causing this IngressPolicy to apply. Structure is documented below.
    ingressTo ServicePerimetersServicePerimeterSpecIngressPolicyIngressTo
    Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply. Structure is documented below.
    ingress_from ServicePerimetersServicePerimeterSpecIngressPolicyIngressFrom
    Defines the conditions on the source of a request causing this IngressPolicy to apply. Structure is documented below.
    ingress_to ServicePerimetersServicePerimeterSpecIngressPolicyIngressTo
    Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply. Structure is documented below.
    ingressFrom Property Map
    Defines the conditions on the source of a request causing this IngressPolicy to apply. Structure is documented below.
    ingressTo Property Map
    Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply. Structure is documented below.

    ServicePerimetersServicePerimeterSpecIngressPolicyIngressFrom, ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromArgs

    Identities List<string>
    A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.
    IdentityType string
    Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    Sources List<ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromSource>
    Sources that this IngressPolicy authorizes access from. Structure is documented below.
    Identities []string
    A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.
    IdentityType string
    Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    Sources []ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromSource
    Sources that this IngressPolicy authorizes access from. Structure is documented below.
    identities List<String>
    A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.
    identityType String
    Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    sources List<ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromSource>
    Sources that this IngressPolicy authorizes access from. Structure is documented below.
    identities string[]
    A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.
    identityType string
    Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    sources ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromSource[]
    Sources that this IngressPolicy authorizes access from. Structure is documented below.
    identities Sequence[str]
    A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.
    identity_type str
    Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    sources Sequence[ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromSource]
    Sources that this IngressPolicy authorizes access from. Structure is documented below.
    identities List<String>
    A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.
    identityType String
    Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    sources List<Property Map>
    Sources that this IngressPolicy authorizes access from. Structure is documented below.

    ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromSource, ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromSourceArgs

    AccessLevel string
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    Resource string
    A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed. Format projects/{project_number} The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. * is not allowed, the case of allowing all Google Cloud resources only is not supported.
    AccessLevel string
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    Resource string
    A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed. Format projects/{project_number} The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. * is not allowed, the case of allowing all Google Cloud resources only is not supported.
    accessLevel String
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    resource String
    A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed. Format projects/{project_number} The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. * is not allowed, the case of allowing all Google Cloud resources only is not supported.
    accessLevel string
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    resource string
    A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed. Format projects/{project_number} The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. * is not allowed, the case of allowing all Google Cloud resources only is not supported.
    access_level str
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    resource str
    A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed. Format projects/{project_number} The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. * is not allowed, the case of allowing all Google Cloud resources only is not supported.
    accessLevel String
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    resource String
    A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed. Format projects/{project_number} The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. * is not allowed, the case of allowing all Google Cloud resources only is not supported.

    ServicePerimetersServicePerimeterSpecIngressPolicyIngressTo, ServicePerimetersServicePerimeterSpecIngressPolicyIngressToArgs

    Operations List<ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperation>
    A list of ApiOperations the sources specified in corresponding IngressFrom are allowed to perform in this ServicePerimeter. Structure is documented below.
    Resources List<string>
    A list of resources, currently only projects in the form projects/<projectnumber>, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. A request matches if it contains a resource in this list. If * is specified for resources, then this IngressTo rule will authorize access to all resources inside the perimeter, provided that the request also matches the operations field.
    Operations []ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperation
    A list of ApiOperations the sources specified in corresponding IngressFrom are allowed to perform in this ServicePerimeter. Structure is documented below.
    Resources []string
    A list of resources, currently only projects in the form projects/<projectnumber>, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. A request matches if it contains a resource in this list. If * is specified for resources, then this IngressTo rule will authorize access to all resources inside the perimeter, provided that the request also matches the operations field.
    operations List<ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperation>
    A list of ApiOperations the sources specified in corresponding IngressFrom are allowed to perform in this ServicePerimeter. Structure is documented below.
    resources List<String>
    A list of resources, currently only projects in the form projects/<projectnumber>, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. A request matches if it contains a resource in this list. If * is specified for resources, then this IngressTo rule will authorize access to all resources inside the perimeter, provided that the request also matches the operations field.
    operations ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperation[]
    A list of ApiOperations the sources specified in corresponding IngressFrom are allowed to perform in this ServicePerimeter. Structure is documented below.
    resources string[]
    A list of resources, currently only projects in the form projects/<projectnumber>, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. A request matches if it contains a resource in this list. If * is specified for resources, then this IngressTo rule will authorize access to all resources inside the perimeter, provided that the request also matches the operations field.
    operations Sequence[ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperation]
    A list of ApiOperations the sources specified in corresponding IngressFrom are allowed to perform in this ServicePerimeter. Structure is documented below.
    resources Sequence[str]
    A list of resources, currently only projects in the form projects/<projectnumber>, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. A request matches if it contains a resource in this list. If * is specified for resources, then this IngressTo rule will authorize access to all resources inside the perimeter, provided that the request also matches the operations field.
    operations List<Property Map>
    A list of ApiOperations the sources specified in corresponding IngressFrom are allowed to perform in this ServicePerimeter. Structure is documented below.
    resources List<String>
    A list of resources, currently only projects in the form projects/<projectnumber>, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. A request matches if it contains a resource in this list. If * is specified for resources, then this IngressTo rule will authorize access to all resources inside the perimeter, provided that the request also matches the operations field.

    ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperation, ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperationArgs

    MethodSelectors List<ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperationMethodSelector>
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    ServiceName string
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    MethodSelectors []ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperationMethodSelector
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    ServiceName string
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    methodSelectors List<ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperationMethodSelector>
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    serviceName String
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    methodSelectors ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperationMethodSelector[]
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    serviceName string
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    method_selectors Sequence[ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperationMethodSelector]
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    service_name str
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    methodSelectors List<Property Map>
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    serviceName String
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.

    ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperationMethodSelector, ServicePerimetersServicePerimeterSpecIngressPolicyIngressToOperationMethodSelectorArgs

    Method string
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    Permission string
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    Method string
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    Permission string
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    method String
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    permission String
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    method string
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    permission string
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    method str
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    permission str
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    method String
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    permission String
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.

    ServicePerimetersServicePerimeterSpecVpcAccessibleServices, ServicePerimetersServicePerimeterSpecVpcAccessibleServicesArgs

    AllowedServices List<string>
    The list of APIs usable within the Service Perimeter. Must be empty unless enableRestriction is True.
    EnableRestriction bool
    Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowedServices'.
    AllowedServices []string
    The list of APIs usable within the Service Perimeter. Must be empty unless enableRestriction is True.
    EnableRestriction bool
    Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowedServices'.
    allowedServices List<String>
    The list of APIs usable within the Service Perimeter. Must be empty unless enableRestriction is True.
    enableRestriction Boolean
    Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowedServices'.
    allowedServices string[]
    The list of APIs usable within the Service Perimeter. Must be empty unless enableRestriction is True.
    enableRestriction boolean
    Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowedServices'.
    allowed_services Sequence[str]
    The list of APIs usable within the Service Perimeter. Must be empty unless enableRestriction is True.
    enable_restriction bool
    Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowedServices'.
    allowedServices List<String>
    The list of APIs usable within the Service Perimeter. Must be empty unless enableRestriction is True.
    enableRestriction Boolean
    Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowedServices'.

    ServicePerimetersServicePerimeterStatus, ServicePerimetersServicePerimeterStatusArgs

    AccessLevels List<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 GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
    EgressPolicies List<ServicePerimetersServicePerimeterStatusEgressPolicy>
    List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    IngressPolicies List<ServicePerimetersServicePerimeterStatusIngressPolicy>
    List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    Resources List<string>
    A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
    RestrictedServices List<string>
    GCP 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.
    VpcAccessibleServices ServicePerimetersServicePerimeterStatusVpcAccessibleServices
    Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.
    AccessLevels []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 GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
    EgressPolicies []ServicePerimetersServicePerimeterStatusEgressPolicy
    List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    IngressPolicies []ServicePerimetersServicePerimeterStatusIngressPolicy
    List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    Resources []string
    A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
    RestrictedServices []string
    GCP 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.
    VpcAccessibleServices ServicePerimetersServicePerimeterStatusVpcAccessibleServices
    Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.
    accessLevels List<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 GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
    egressPolicies List<ServicePerimetersServicePerimeterStatusEgressPolicy>
    List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    ingressPolicies List<ServicePerimetersServicePerimeterStatusIngressPolicy>
    List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    resources List<String>
    A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
    restrictedServices List<String>
    GCP 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.
    vpcAccessibleServices ServicePerimetersServicePerimeterStatusVpcAccessibleServices
    Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.
    accessLevels 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 GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
    egressPolicies ServicePerimetersServicePerimeterStatusEgressPolicy[]
    List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    ingressPolicies ServicePerimetersServicePerimeterStatusIngressPolicy[]
    List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    resources string[]
    A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
    restrictedServices string[]
    GCP 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.
    vpcAccessibleServices ServicePerimetersServicePerimeterStatusVpcAccessibleServices
    Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.
    access_levels Sequence[str]
    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 GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
    egress_policies Sequence[ServicePerimetersServicePerimeterStatusEgressPolicy]
    List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    ingress_policies Sequence[ServicePerimetersServicePerimeterStatusIngressPolicy]
    List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    resources Sequence[str]
    A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
    restricted_services Sequence[str]
    GCP 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.
    vpc_accessible_services ServicePerimetersServicePerimeterStatusVpcAccessibleServices
    Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.
    accessLevels List<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 GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
    egressPolicies List<Property Map>
    List of EgressPolicies to apply to the perimeter. A perimeter may have multiple EgressPolicies, each of which is evaluated separately. Access is granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    ingressPolicies List<Property Map>
    List of IngressPolicies to apply to the perimeter. A perimeter may have multiple IngressPolicies, each of which is evaluated separately. Access is granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. Structure is documented below.
    resources List<String>
    A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
    restrictedServices List<String>
    GCP 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.
    vpcAccessibleServices Property Map
    Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.

    ServicePerimetersServicePerimeterStatusEgressPolicy, ServicePerimetersServicePerimeterStatusEgressPolicyArgs

    EgressFrom ServicePerimetersServicePerimeterStatusEgressPolicyEgressFrom
    Defines conditions on the source of a request causing this EgressPolicy to apply. Structure is documented below.
    EgressTo ServicePerimetersServicePerimeterStatusEgressPolicyEgressTo
    Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. Structure is documented below.
    EgressFrom ServicePerimetersServicePerimeterStatusEgressPolicyEgressFrom
    Defines conditions on the source of a request causing this EgressPolicy to apply. Structure is documented below.
    EgressTo ServicePerimetersServicePerimeterStatusEgressPolicyEgressTo
    Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. Structure is documented below.
    egressFrom ServicePerimetersServicePerimeterStatusEgressPolicyEgressFrom
    Defines conditions on the source of a request causing this EgressPolicy to apply. Structure is documented below.
    egressTo ServicePerimetersServicePerimeterStatusEgressPolicyEgressTo
    Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. Structure is documented below.
    egressFrom ServicePerimetersServicePerimeterStatusEgressPolicyEgressFrom
    Defines conditions on the source of a request causing this EgressPolicy to apply. Structure is documented below.
    egressTo ServicePerimetersServicePerimeterStatusEgressPolicyEgressTo
    Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. Structure is documented below.
    egress_from ServicePerimetersServicePerimeterStatusEgressPolicyEgressFrom
    Defines conditions on the source of a request causing this EgressPolicy to apply. Structure is documented below.
    egress_to ServicePerimetersServicePerimeterStatusEgressPolicyEgressTo
    Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. Structure is documented below.
    egressFrom Property Map
    Defines conditions on the source of a request causing this EgressPolicy to apply. Structure is documented below.
    egressTo Property Map
    Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. Structure is documented below.

    ServicePerimetersServicePerimeterStatusEgressPolicyEgressFrom, ServicePerimetersServicePerimeterStatusEgressPolicyEgressFromArgs

    Identities List<string>
    A list of identities that are allowed access through this EgressPolicy. Should be in the format of email address. The email address should represent individual user or service account only.
    IdentityType string
    Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    SourceRestriction string
    Whether to enforce traffic restrictions based on sources field. If the sources field is non-empty, then this field must be set to SOURCE_RESTRICTION_ENABLED. Possible values are: SOURCE_RESTRICTION_UNSPECIFIED, SOURCE_RESTRICTION_ENABLED, SOURCE_RESTRICTION_DISABLED.
    Sources List<ServicePerimetersServicePerimeterStatusEgressPolicyEgressFromSource>
    Sources that this EgressPolicy authorizes access from. Structure is documented below.
    Identities []string
    A list of identities that are allowed access through this EgressPolicy. Should be in the format of email address. The email address should represent individual user or service account only.
    IdentityType string
    Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    SourceRestriction string
    Whether to enforce traffic restrictions based on sources field. If the sources field is non-empty, then this field must be set to SOURCE_RESTRICTION_ENABLED. Possible values are: SOURCE_RESTRICTION_UNSPECIFIED, SOURCE_RESTRICTION_ENABLED, SOURCE_RESTRICTION_DISABLED.
    Sources []ServicePerimetersServicePerimeterStatusEgressPolicyEgressFromSource
    Sources that this EgressPolicy authorizes access from. Structure is documented below.
    identities List<String>
    A list of identities that are allowed access through this EgressPolicy. Should be in the format of email address. The email address should represent individual user or service account only.
    identityType String
    Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    sourceRestriction String
    Whether to enforce traffic restrictions based on sources field. If the sources field is non-empty, then this field must be set to SOURCE_RESTRICTION_ENABLED. Possible values are: SOURCE_RESTRICTION_UNSPECIFIED, SOURCE_RESTRICTION_ENABLED, SOURCE_RESTRICTION_DISABLED.
    sources List<ServicePerimetersServicePerimeterStatusEgressPolicyEgressFromSource>
    Sources that this EgressPolicy authorizes access from. Structure is documented below.
    identities string[]
    A list of identities that are allowed access through this EgressPolicy. Should be in the format of email address. The email address should represent individual user or service account only.
    identityType string
    Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    sourceRestriction string
    Whether to enforce traffic restrictions based on sources field. If the sources field is non-empty, then this field must be set to SOURCE_RESTRICTION_ENABLED. Possible values are: SOURCE_RESTRICTION_UNSPECIFIED, SOURCE_RESTRICTION_ENABLED, SOURCE_RESTRICTION_DISABLED.
    sources ServicePerimetersServicePerimeterStatusEgressPolicyEgressFromSource[]
    Sources that this EgressPolicy authorizes access from. Structure is documented below.
    identities Sequence[str]
    A list of identities that are allowed access through this EgressPolicy. Should be in the format of email address. The email address should represent individual user or service account only.
    identity_type str
    Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    source_restriction str
    Whether to enforce traffic restrictions based on sources field. If the sources field is non-empty, then this field must be set to SOURCE_RESTRICTION_ENABLED. Possible values are: SOURCE_RESTRICTION_UNSPECIFIED, SOURCE_RESTRICTION_ENABLED, SOURCE_RESTRICTION_DISABLED.
    sources Sequence[ServicePerimetersServicePerimeterStatusEgressPolicyEgressFromSource]
    Sources that this EgressPolicy authorizes access from. Structure is documented below.
    identities List<String>
    A list of identities that are allowed access through this EgressPolicy. Should be in the format of email address. The email address should represent individual user or service account only.
    identityType String
    Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    sourceRestriction String
    Whether to enforce traffic restrictions based on sources field. If the sources field is non-empty, then this field must be set to SOURCE_RESTRICTION_ENABLED. Possible values are: SOURCE_RESTRICTION_UNSPECIFIED, SOURCE_RESTRICTION_ENABLED, SOURCE_RESTRICTION_DISABLED.
    sources List<Property Map>
    Sources that this EgressPolicy authorizes access from. Structure is documented below.

    ServicePerimetersServicePerimeterStatusEgressPolicyEgressFromSource, ServicePerimetersServicePerimeterStatusEgressPolicyEgressFromSourceArgs

    AccessLevel string
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    AccessLevel string
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    accessLevel String
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    accessLevel string
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    access_level str
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    accessLevel String
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.

    ServicePerimetersServicePerimeterStatusEgressPolicyEgressTo, ServicePerimetersServicePerimeterStatusEgressPolicyEgressToArgs

    ExternalResources List<string>
    A list of external resources that are allowed to be accessed. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.
    Operations List<ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperation>
    A list of ApiOperations that this egress rule applies to. A request matches if it contains an operation/service in this list. Structure is documented below.
    Resources List<string>
    A list of resources, currently only projects in the form projects/<projectnumber>, that match this to stanza. A request matches if it contains a resource in this list. If * is specified for resources, then this EgressTo rule will authorize access to all resources outside the perimeter.
    ExternalResources []string
    A list of external resources that are allowed to be accessed. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.
    Operations []ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperation
    A list of ApiOperations that this egress rule applies to. A request matches if it contains an operation/service in this list. Structure is documented below.
    Resources []string
    A list of resources, currently only projects in the form projects/<projectnumber>, that match this to stanza. A request matches if it contains a resource in this list. If * is specified for resources, then this EgressTo rule will authorize access to all resources outside the perimeter.
    externalResources List<String>
    A list of external resources that are allowed to be accessed. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.
    operations List<ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperation>
    A list of ApiOperations that this egress rule applies to. A request matches if it contains an operation/service in this list. Structure is documented below.
    resources List<String>
    A list of resources, currently only projects in the form projects/<projectnumber>, that match this to stanza. A request matches if it contains a resource in this list. If * is specified for resources, then this EgressTo rule will authorize access to all resources outside the perimeter.
    externalResources string[]
    A list of external resources that are allowed to be accessed. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.
    operations ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperation[]
    A list of ApiOperations that this egress rule applies to. A request matches if it contains an operation/service in this list. Structure is documented below.
    resources string[]
    A list of resources, currently only projects in the form projects/<projectnumber>, that match this to stanza. A request matches if it contains a resource in this list. If * is specified for resources, then this EgressTo rule will authorize access to all resources outside the perimeter.
    external_resources Sequence[str]
    A list of external resources that are allowed to be accessed. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.
    operations Sequence[ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperation]
    A list of ApiOperations that this egress rule applies to. A request matches if it contains an operation/service in this list. Structure is documented below.
    resources Sequence[str]
    A list of resources, currently only projects in the form projects/<projectnumber>, that match this to stanza. A request matches if it contains a resource in this list. If * is specified for resources, then this EgressTo rule will authorize access to all resources outside the perimeter.
    externalResources List<String>
    A list of external resources that are allowed to be accessed. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.
    operations List<Property Map>
    A list of ApiOperations that this egress rule applies to. A request matches if it contains an operation/service in this list. Structure is documented below.
    resources List<String>
    A list of resources, currently only projects in the form projects/<projectnumber>, that match this to stanza. A request matches if it contains a resource in this list. If * is specified for resources, then this EgressTo rule will authorize access to all resources outside the perimeter.

    ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperation, ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperationArgs

    MethodSelectors List<ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperationMethodSelector>
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    ServiceName string
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    MethodSelectors []ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperationMethodSelector
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    ServiceName string
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    methodSelectors List<ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperationMethodSelector>
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    serviceName String
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    methodSelectors ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperationMethodSelector[]
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    serviceName string
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    method_selectors Sequence[ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperationMethodSelector]
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    service_name str
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    methodSelectors List<Property Map>
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    serviceName String
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.

    ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperationMethodSelector, ServicePerimetersServicePerimeterStatusEgressPolicyEgressToOperationMethodSelectorArgs

    Method string
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    Permission string
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    Method string
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    Permission string
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    method String
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    permission String
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    method string
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    permission string
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    method str
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    permission str
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    method String
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    permission String
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.

    ServicePerimetersServicePerimeterStatusIngressPolicy, ServicePerimetersServicePerimeterStatusIngressPolicyArgs

    IngressFrom ServicePerimetersServicePerimeterStatusIngressPolicyIngressFrom
    Defines the conditions on the source of a request causing this IngressPolicy to apply. Structure is documented below.
    IngressTo ServicePerimetersServicePerimeterStatusIngressPolicyIngressTo
    Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply. Structure is documented below.
    IngressFrom ServicePerimetersServicePerimeterStatusIngressPolicyIngressFrom
    Defines the conditions on the source of a request causing this IngressPolicy to apply. Structure is documented below.
    IngressTo ServicePerimetersServicePerimeterStatusIngressPolicyIngressTo
    Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply. Structure is documented below.
    ingressFrom ServicePerimetersServicePerimeterStatusIngressPolicyIngressFrom
    Defines the conditions on the source of a request causing this IngressPolicy to apply. Structure is documented below.
    ingressTo ServicePerimetersServicePerimeterStatusIngressPolicyIngressTo
    Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply. Structure is documented below.
    ingressFrom ServicePerimetersServicePerimeterStatusIngressPolicyIngressFrom
    Defines the conditions on the source of a request causing this IngressPolicy to apply. Structure is documented below.
    ingressTo ServicePerimetersServicePerimeterStatusIngressPolicyIngressTo
    Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply. Structure is documented below.
    ingress_from ServicePerimetersServicePerimeterStatusIngressPolicyIngressFrom
    Defines the conditions on the source of a request causing this IngressPolicy to apply. Structure is documented below.
    ingress_to ServicePerimetersServicePerimeterStatusIngressPolicyIngressTo
    Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply. Structure is documented below.
    ingressFrom Property Map
    Defines the conditions on the source of a request causing this IngressPolicy to apply. Structure is documented below.
    ingressTo Property Map
    Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply. Structure is documented below.

    ServicePerimetersServicePerimeterStatusIngressPolicyIngressFrom, ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromArgs

    Identities List<string>
    A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.
    IdentityType string
    Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    Sources List<ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromSource>
    Sources that this IngressPolicy authorizes access from. Structure is documented below.
    Identities []string
    A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.
    IdentityType string
    Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    Sources []ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromSource
    Sources that this IngressPolicy authorizes access from. Structure is documented below.
    identities List<String>
    A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.
    identityType String
    Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    sources List<ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromSource>
    Sources that this IngressPolicy authorizes access from. Structure is documented below.
    identities string[]
    A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.
    identityType string
    Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    sources ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromSource[]
    Sources that this IngressPolicy authorizes access from. Structure is documented below.
    identities Sequence[str]
    A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.
    identity_type str
    Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    sources Sequence[ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromSource]
    Sources that this IngressPolicy authorizes access from. Structure is documented below.
    identities List<String>
    A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only.
    identityType String
    Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of identities field will be allowed access. Possible values are: IDENTITY_TYPE_UNSPECIFIED, ANY_IDENTITY, ANY_USER_ACCOUNT, ANY_SERVICE_ACCOUNT.
    sources List<Property Map>
    Sources that this IngressPolicy authorizes access from. Structure is documented below.

    ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromSource, ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromSourceArgs

    AccessLevel string
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    Resource string
    A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed. Format projects/{project_number} The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. * is not allowed, the case of allowing all Google Cloud resources only is not supported.
    AccessLevel string
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    Resource string
    A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed. Format projects/{project_number} The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. * is not allowed, the case of allowing all Google Cloud resources only is not supported.
    accessLevel String
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    resource String
    A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed. Format projects/{project_number} The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. * is not allowed, the case of allowing all Google Cloud resources only is not supported.
    accessLevel string
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    resource string
    A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed. Format projects/{project_number} The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. * is not allowed, the case of allowing all Google Cloud resources only is not supported.
    access_level str
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    resource str
    A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed. Format projects/{project_number} The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. * is not allowed, the case of allowing all Google Cloud resources only is not supported.
    accessLevel String
    An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
    resource String
    A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are allowed. Format projects/{project_number} The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. * is not allowed, the case of allowing all Google Cloud resources only is not supported.

    ServicePerimetersServicePerimeterStatusIngressPolicyIngressTo, ServicePerimetersServicePerimeterStatusIngressPolicyIngressToArgs

    Operations List<ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperation>
    A list of ApiOperations the sources specified in corresponding IngressFrom are allowed to perform in this ServicePerimeter. Structure is documented below.
    Resources List<string>
    A list of resources, currently only projects in the form projects/<projectnumber>, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. A request matches if it contains a resource in this list. If * is specified for resources, then this IngressTo rule will authorize access to all resources inside the perimeter, provided that the request also matches the operations field.
    Operations []ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperation
    A list of ApiOperations the sources specified in corresponding IngressFrom are allowed to perform in this ServicePerimeter. Structure is documented below.
    Resources []string
    A list of resources, currently only projects in the form projects/<projectnumber>, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. A request matches if it contains a resource in this list. If * is specified for resources, then this IngressTo rule will authorize access to all resources inside the perimeter, provided that the request also matches the operations field.
    operations List<ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperation>
    A list of ApiOperations the sources specified in corresponding IngressFrom are allowed to perform in this ServicePerimeter. Structure is documented below.
    resources List<String>
    A list of resources, currently only projects in the form projects/<projectnumber>, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. A request matches if it contains a resource in this list. If * is specified for resources, then this IngressTo rule will authorize access to all resources inside the perimeter, provided that the request also matches the operations field.
    operations ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperation[]
    A list of ApiOperations the sources specified in corresponding IngressFrom are allowed to perform in this ServicePerimeter. Structure is documented below.
    resources string[]
    A list of resources, currently only projects in the form projects/<projectnumber>, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. A request matches if it contains a resource in this list. If * is specified for resources, then this IngressTo rule will authorize access to all resources inside the perimeter, provided that the request also matches the operations field.
    operations Sequence[ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperation]
    A list of ApiOperations the sources specified in corresponding IngressFrom are allowed to perform in this ServicePerimeter. Structure is documented below.
    resources Sequence[str]
    A list of resources, currently only projects in the form projects/<projectnumber>, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. A request matches if it contains a resource in this list. If * is specified for resources, then this IngressTo rule will authorize access to all resources inside the perimeter, provided that the request also matches the operations field.
    operations List<Property Map>
    A list of ApiOperations the sources specified in corresponding IngressFrom are allowed to perform in this ServicePerimeter. Structure is documented below.
    resources List<String>
    A list of resources, currently only projects in the form projects/<projectnumber>, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. A request matches if it contains a resource in this list. If * is specified for resources, then this IngressTo rule will authorize access to all resources inside the perimeter, provided that the request also matches the operations field.

    ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperation, ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationArgs

    MethodSelectors List<ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelector>
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    ServiceName string
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    MethodSelectors []ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelector
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    ServiceName string
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    methodSelectors List<ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelector>
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    serviceName String
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    methodSelectors ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelector[]
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    serviceName string
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    method_selectors Sequence[ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelector]
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    service_name str
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.
    methodSelectors List<Property Map>
    API methods or permissions to allow. Method or permission must belong to the service specified by serviceName field. A single MethodSelector entry with * specified for the method field will allow all methods AND permissions for the service specified in serviceName. Structure is documented below.
    serviceName String
    The name of the API whose methods or permissions the IngressPolicy or EgressPolicy want to allow. A single ApiOperation with serviceName field set to * will allow all methods AND permissions for all services.

    ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelector, ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelectorArgs

    Method string
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    Permission string
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    Method string
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    Permission string
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    method String
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    permission String
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    method string
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    permission string
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    method str
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    permission str
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.
    method String
    Value for method should be a valid method name for the corresponding serviceName in ApiOperation. If * used as value for method, then ALL methods and permissions are allowed.
    permission String
    Value for permission should be a valid Cloud IAM permission for the corresponding serviceName in ApiOperation.

    ServicePerimetersServicePerimeterStatusVpcAccessibleServices, ServicePerimetersServicePerimeterStatusVpcAccessibleServicesArgs

    AllowedServices List<string>
    The list of APIs usable within the Service Perimeter. Must be empty unless enableRestriction is True.
    EnableRestriction bool
    Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowedServices'.
    AllowedServices []string
    The list of APIs usable within the Service Perimeter. Must be empty unless enableRestriction is True.
    EnableRestriction bool
    Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowedServices'.
    allowedServices List<String>
    The list of APIs usable within the Service Perimeter. Must be empty unless enableRestriction is True.
    enableRestriction Boolean
    Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowedServices'.
    allowedServices string[]
    The list of APIs usable within the Service Perimeter. Must be empty unless enableRestriction is True.
    enableRestriction boolean
    Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowedServices'.
    allowed_services Sequence[str]
    The list of APIs usable within the Service Perimeter. Must be empty unless enableRestriction is True.
    enable_restriction bool
    Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowedServices'.
    allowedServices List<String>
    The list of APIs usable within the Service Perimeter. Must be empty unless enableRestriction is True.
    enableRestriction Boolean
    Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowedServices'.

    Import

    ServicePerimeters can be imported using any of these accepted formats:

    • {{parent}}/servicePerimeters

    • {{parent}}

    When using the pulumi import command, ServicePerimeters can be imported using one of the formats above. For example:

    $ pulumi import gcp:accesscontextmanager/servicePerimeters:ServicePerimeters default {{parent}}/servicePerimeters
    
    $ pulumi import gcp:accesscontextmanager/servicePerimeters:ServicePerimeters default {{parent}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi