Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.beyondcorp/v1alpha.BrowserDlpRule
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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.
Google Native. Beyond Corp. V1Alpha. Inputs. Google Cloud Beyondcorp Partnerservices V1alpha Group - The group to which this Rule should be applied to.
- Organization
Id string - Partner
Tenant stringId - Rule
Setting Pulumi.Google Native. Beyond Corp. V1Alpha. Inputs. Google Cloud Beyondcorp Partnerservices V1alpha Rule Setting - The policy settings to apply.
- Request
Id 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
Google
Cloud Beyondcorp Partnerservices V1alpha Group Args - The group to which this Rule should be applied to.
- Organization
Id string - Partner
Tenant stringId - Rule
Setting GoogleCloud Beyondcorp Partnerservices V1alpha Rule Setting Args - The policy settings to apply.
- Request
Id 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
Google
Cloud Beyondcorp Partnerservices V1alpha Group - The group to which this Rule should be applied to.
- organization
Id String - partner
Tenant StringId - rule
Setting GoogleCloud Beyondcorp Partnerservices V1alpha Rule Setting - The policy settings to apply.
- request
Id 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
Google
Cloud Beyondcorp Partnerservices V1alpha Group - The group to which this Rule should be applied to.
- organization
Id string - partner
Tenant stringId - rule
Setting GoogleCloud Beyondcorp Partnerservices V1alpha Rule Setting - The policy settings to apply.
- request
Id 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
Google
Cloud Beyondcorp Partnerservices V1alpha Group Args - The group to which this Rule should be applied to.
- organization_
id str - partner_
tenant_ strid - rule_
setting GoogleCloud Beyondcorp Partnerservices V1alpha Rule Setting Args - 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.
- organization
Id String - partner
Tenant StringId - rule
Setting Property Map - The policy settings to apply.
- request
Id 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:
Supporting Types
GoogleCloudBeyondcorpPartnerservicesV1alphaGroup, GoogleCloudBeyondcorpPartnerservicesV1alphaGroupArgs
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
GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSettingResponse, GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSettingResponseArgs
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.