Instruction constructor

Instruction(
  1. String name, {
  2. InstructionArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

Instruction(
  String name, {
  InstructionArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'google-native:datalabeling/v1beta1:Instruction',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  blockingResources = registerOutput<List<String>>('blockingResources');
  createTime = registerOutput<String>('createTime');
  csvInstruction = registerOutput<GoogleCloudDatalabelingV1beta1CsvInstructionResponse>('csvInstruction', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GoogleCloudDatalabelingV1beta1CsvInstructionResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  dataType = registerOutput<String>('dataType');
  description = registerOutput<String>('description');
  displayName = registerOutput<String>('displayName');
  this.name = registerOutput<String>('name');
  pdfInstruction = registerOutput<GoogleCloudDatalabelingV1beta1PdfInstructionResponse>('pdfInstruction', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GoogleCloudDatalabelingV1beta1PdfInstructionResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  project = registerOutput<String>('project');
  updateTime = registerOutput<String>('updateTime');
}