RuleSet constructor

RuleSet(
  1. String name, {
  2. RuleSetArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new RuleSet. name The Pulumi resource name. args Arguments used to configure this RuleSet. The set of arguments for RuleSet. options Resource options controlling this resource's behavior.

Implementation

RuleSet(
  String name, {
  RuleSetArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'google-native:contentwarehouse/v1:RuleSet',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  description = registerOutput<String>('description');
  location = registerOutput<String>('location');
  this.name = registerOutput<String>('name');
  project = registerOutput<String>('project');
  rules = registerOutput<List<Map<String, dynamic>>>('rules');
  source = registerOutput<String>('source');
}