InspectTemplate constructor
InspectTemplate(
- String name, {
- InspectTemplateArgs? args,
- CustomResourceOptions? options,
Creates a new InspectTemplate.
name The Pulumi resource name.
args Arguments used to configure this InspectTemplate. The set of arguments for InspectTemplate.
options Resource options controlling this resource's behavior.
Implementation
InspectTemplate(
String name, {
InspectTemplateArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'google-native:dlp/v2:InspectTemplate',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
createTime = registerOutput<String>('createTime');
description = registerOutput<String>('description');
displayName = registerOutput<String>('displayName');
inspectConfig = registerOutput<GooglePrivacyDlpV2InspectConfigResponse>('inspectConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GooglePrivacyDlpV2InspectConfigResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
location = registerOutput<String>('location');
this.name = registerOutput<String>('name');
project = registerOutput<String>('project');
updateTime = registerOutput<String>('updateTime');
}