CodeToolsSetting.reference constructor
CodeToolsSetting.reference(
- String urn
Creates a typed reference to an existing CodeToolsSetting resource.
Implementation
CodeToolsSetting.reference(String urn)
: super(
'gcp:gemini/codeToolsSetting:CodeToolsSetting',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
additionalSecretOutputs: const ['effectiveLabels', 'pulumiLabels'],
isResourceReference: true,
) {
codeToolsSettingId = registerOutput<String>('codeToolsSettingId');
createTime = registerOutput<String>('createTime');
deletionPolicy = registerOutput<String>('deletionPolicy');
effectiveLabels = registerOutput<Map<String, String>>('effectiveLabels', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); }, isSecret: true);
enabledTools = registerOutput<List<CodeToolsSettingEnabledTool>>('enabledTools', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<CodeToolsSettingEnabledTool>(guardedValue, (value) => CodeToolsSettingEnabledTool.fromMap((value as Map).cast<String, dynamic>())); });
labels = registerOutput<Map<String, String>?>('labels', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
location = registerOutput<String?>('location');
this.name = registerOutput<String>('name');
project = registerOutput<String>('project');
pulumiLabels = registerOutput<Map<String, String>>('pulumiLabels', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); }, isSecret: true);
updateTime = registerOutput<String>('updateTime');
}