Schema constructor

Schema(
  1. String name, {
  2. SchemaArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

Schema(
  String name, {
  SchemaArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'gcp:discoveryengine/schema:Schema',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
      ) {
  dataStoreId = registerOutput<String>('dataStoreId');
  deletionPolicy = registerOutput<String>('deletionPolicy');
  jsonSchema = registerOutput<String?>('jsonSchema');
  location = registerOutput<String>('location');
  this.name = registerOutput<String>('name');
  project = registerOutput<String>('project');
  schemaId = registerOutput<String>('schemaId');
}