1. Packages
  2. Google Cloud Native
  3. API Docs
  4. beyondcorp
  5. beyondcorp/v1alpha
  6. BrowserDlpRule

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.beyondcorp/v1alpha.BrowserDlpRule

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a new BrowserDlpRule in a given organization and PartnerTenant. Auto-naming is currently not supported for this resource.

    Create BrowserDlpRule Resource

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

    Constructor syntax

    new BrowserDlpRule(name: string, args: BrowserDlpRuleArgs, opts?: CustomResourceOptions);
    @overload
    def BrowserDlpRule(resource_name: str,
                       args: BrowserDlpRuleArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def BrowserDlpRule(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       group: Optional[GoogleCloudBeyondcorpPartnerservicesV1alphaGroupArgs] = None,
                       organization_id: Optional[str] = None,
                       partner_tenant_id: Optional[str] = None,
                       rule_setting: Optional[GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSettingArgs] = None,
                       request_id: Optional[str] = None)
    func NewBrowserDlpRule(ctx *Context, name string, args BrowserDlpRuleArgs, opts ...ResourceOption) (*BrowserDlpRule, error)
    public BrowserDlpRule(string name, BrowserDlpRuleArgs args, CustomResourceOptions? opts = null)
    public BrowserDlpRule(String name, BrowserDlpRuleArgs args)
    public BrowserDlpRule(String name, BrowserDlpRuleArgs args, CustomResourceOptions options)
    
    type: google-native:beyondcorp/v1alpha:BrowserDlpRule
    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 BrowserDlpRuleArgs
    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 BrowserDlpRuleArgs
    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 BrowserDlpRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BrowserDlpRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BrowserDlpRuleArgs
    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 browserDlpRuleResource = new GoogleNative.BeyondCorp.V1Alpha.BrowserDlpRule("browserDlpRuleResource", new()
    {
        Group = new GoogleNative.BeyondCorp.V1Alpha.Inputs.GoogleCloudBeyondcorpPartnerservicesV1alphaGroupArgs
        {
            Email = "string",
            Id = "string",
        },
        OrganizationId = "string",
        PartnerTenantId = "string",
        RuleSetting = new GoogleNative.BeyondCorp.V1Alpha.Inputs.GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSettingArgs
        {
            Type = "string",
            Value = 
            {
                { "string", "string" },
            },
        },
        RequestId = "string",
    });
    
    example, err := beyondcorpv1alpha.NewBrowserDlpRule(ctx, "browserDlpRuleResource", &beyondcorpv1alpha.BrowserDlpRuleArgs{
    	Group: &beyondcorp.GoogleCloudBeyondcorpPartnerservicesV1alphaGroupArgs{
    		Email: pulumi.String("string"),
    		Id:    pulumi.String("string"),
    	},
    	OrganizationId:  pulumi.String("string"),
    	PartnerTenantId: pulumi.String("string"),
    	RuleSetting: &beyondcorp.GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSettingArgs{
    		Type: pulumi.String("string"),
    		Value: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    	},
    	RequestId: pulumi.String("string"),
    })
    
    var browserDlpRuleResource = new BrowserDlpRule("browserDlpRuleResource", BrowserDlpRuleArgs.builder()
        .group(GoogleCloudBeyondcorpPartnerservicesV1alphaGroupArgs.builder()
            .email("string")
            .id("string")
            .build())
        .organizationId("string")
        .partnerTenantId("string")
        .ruleSetting(GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSettingArgs.builder()
            .type("string")
            .value(Map.of("string", "string"))
            .build())
        .requestId("string")
        .build());
    
    browser_dlp_rule_resource = google_native.beyondcorp.v1alpha.BrowserDlpRule("browserDlpRuleResource",
        group={
            "email": "string",
            "id": "string",
        },
        organization_id="string",
        partner_tenant_id="string",
        rule_setting={
            "type": "string",
            "value": {
                "string": "string",
            },
        },
        request_id="string")
    
    const browserDlpRuleResource = new google_native.beyondcorp.v1alpha.BrowserDlpRule("browserDlpRuleResource", {
        group: {
            email: "string",
            id: "string",
        },
        organizationId: "string",
        partnerTenantId: "string",
        ruleSetting: {
            type: "string",
            value: {
                string: "string",
            },
        },
        requestId: "string",
    });
    
    type: google-native:beyondcorp/v1alpha:BrowserDlpRule
    properties:
        group:
            email: string
            id: string
        organizationId: string
        partnerTenantId: string
        requestId: string
        ruleSetting:
            type: string
            value:
                string: string
    

    BrowserDlpRule 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 BrowserDlpRule resource accepts the following input properties:

    Group Pulumi.GoogleNative.BeyondCorp.V1Alpha.Inputs.GoogleCloudBeyondcorpPartnerservicesV1alphaGroup
    The group to which this Rule should be applied to.
    OrganizationId string
    PartnerTenantId string
    RuleSetting Pulumi.GoogleNative.BeyondCorp.V1Alpha.Inputs.GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting
    The policy settings to apply.
    RequestId string
    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
    Group GoogleCloudBeyondcorpPartnerservicesV1alphaGroupArgs
    The group to which this Rule should be applied to.
    OrganizationId string
    PartnerTenantId string
    RuleSetting GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSettingArgs
    The policy settings to apply.
    RequestId string
    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
    group GoogleCloudBeyondcorpPartnerservicesV1alphaGroup
    The group to which this Rule should be applied to.
    organizationId String
    partnerTenantId String
    ruleSetting GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting
    The policy settings to apply.
    requestId String
    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
    group GoogleCloudBeyondcorpPartnerservicesV1alphaGroup
    The group to which this Rule should be applied to.
    organizationId string
    partnerTenantId string
    ruleSetting GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting
    The policy settings to apply.
    requestId string
    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
    group GoogleCloudBeyondcorpPartnerservicesV1alphaGroupArgs
    The group to which this Rule should be applied to.
    organization_id str
    partner_tenant_id str
    rule_setting GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSettingArgs
    The policy settings to apply.
    request_id str
    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
    group Property Map
    The group to which this Rule should be applied to.
    organizationId String
    partnerTenantId String
    ruleSetting Property Map
    The policy settings to apply.
    requestId String
    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Unique resource name. The name is ignored when creating BrowserDlpRule.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Unique resource name. The name is ignored when creating BrowserDlpRule.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Unique resource name. The name is ignored when creating BrowserDlpRule.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Unique resource name. The name is ignored when creating BrowserDlpRule.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Unique resource name. The name is ignored when creating BrowserDlpRule.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Unique resource name. The name is ignored when creating BrowserDlpRule.

    Supporting Types

    GoogleCloudBeyondcorpPartnerservicesV1alphaGroup, GoogleCloudBeyondcorpPartnerservicesV1alphaGroupArgs

    Email string
    The group email id
    Id string
    Google group id
    Email string
    The group email id
    Id string
    Google group id
    email String
    The group email id
    id String
    Google group id
    email string
    The group email id
    id string
    Google group id
    email str
    The group email id
    id str
    Google group id
    email String
    The group email id
    id String
    Google group id

    GoogleCloudBeyondcorpPartnerservicesV1alphaGroupResponse, GoogleCloudBeyondcorpPartnerservicesV1alphaGroupResponseArgs

    Email string
    The group email id
    Email string
    The group email id
    email String
    The group email id
    email string
    The group email id
    email str
    The group email id
    email String
    The group email id

    GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting, GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSettingArgs

    Type string
    Immutable. The type of the Setting. .
    Value Dictionary<string, string>
    The value of the Setting.
    Type string
    Immutable. The type of the Setting. .
    Value map[string]string
    The value of the Setting.
    type String
    Immutable. The type of the Setting. .
    value Map<String,String>
    The value of the Setting.
    type string
    Immutable. The type of the Setting. .
    value {[key: string]: string}
    The value of the Setting.
    type str
    Immutable. The type of the Setting. .
    value Mapping[str, str]
    The value of the Setting.
    type String
    Immutable. The type of the Setting. .
    value Map<String>
    The value of the Setting.

    GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSettingResponse, GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSettingResponseArgs

    Type string
    Immutable. The type of the Setting. .
    Value Dictionary<string, string>
    The value of the Setting.
    Type string
    Immutable. The type of the Setting. .
    Value map[string]string
    The value of the Setting.
    type String
    Immutable. The type of the Setting. .
    value Map<String,String>
    The value of the Setting.
    type string
    Immutable. The type of the Setting. .
    value {[key: string]: string}
    The value of the Setting.
    type str
    Immutable. The type of the Setting. .
    value Mapping[str, str]
    The value of the Setting.
    type String
    Immutable. The type of the Setting. .
    value Map<String>
    The value of the Setting.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi