Package com.pulumi.gcp.firestore
Class IndexArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.firestore.IndexArgs
-
public final class IndexArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IndexArgs.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.String>>
apiScope()
static IndexArgs.Builder
builder()
static IndexArgs.Builder
builder(IndexArgs defaults)
com.pulumi.core.Output<java.lang.String>
collection()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
database()
com.pulumi.core.Output<java.util.List<IndexFieldArgs>>
fields()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
project()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
queryScope()
-
-
-
Field Detail
-
Empty
public static final IndexArgs Empty
-
-
Method Detail
-
apiScope
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> apiScope()
- Returns:
- The API scope at which a query is run. Default value: "ANY_API" Possible values: ["ANY_API", "DATASTORE_MODE_API"]
-
collection
public com.pulumi.core.Output<java.lang.String> collection()
- Returns:
- The collection being indexed.
-
database
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> database()
- Returns:
- The Firestore database id. Defaults to '"(default)"'.
-
fields
public com.pulumi.core.Output<java.util.List<IndexFieldArgs>> fields()
- Returns:
- The fields supported by this index. The last non-stored field entry is always for the field path `__name__`. If, on creation, `__name__` was not specified as the last field, it will be added automatically with the same direction as that of the last field defined. If the final field in a composite index is not directional, the `__name__` will be ordered `"ASCENDING"` (unless explicitly specified otherwise). Structure is documented below.
-
project
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
-
queryScope
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> queryScope()
- Returns:
- The scope at which a query is run. Default value: "COLLECTION" Possible values: ["COLLECTION", "COLLECTION_GROUP", "COLLECTION_RECURSIVE"]
-
builder
public static IndexArgs.Builder builder()
-
builder
public static IndexArgs.Builder builder(IndexArgs defaults)
-
-