Index constructor

Index(
  1. String name, {
  2. IndexArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

Index(
  String name, {
  IndexArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'google-native:datastore/v1:Index',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  ancestor = registerOutput<String>('ancestor');
  indexId = registerOutput<String>('indexId');
  kind = registerOutput<String>('kind');
  project = registerOutput<String>('project');
  properties = registerOutput<List<Map<String, dynamic>>>('properties');
  state = registerOutput<String>('state');
}