Document constructor

Document(
  1. String name, {
  2. DocumentArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

Document(
  String name, {
  DocumentArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'gcp:firestore/document:Document',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
      ) {
  collection = registerOutput<String>('collection');
  createTime = registerOutput<String>('createTime');
  database = registerOutput<String?>('database');
  deletionPolicy = registerOutput<String>('deletionPolicy');
  documentId = registerOutput<String>('documentId');
  fields = registerOutput<String>('fields');
  this.name = registerOutput<String>('name');
  path = registerOutput<String>('path');
  project = registerOutput<String>('project');
  updateTime = registerOutput<String>('updateTime');
}