Documentation ¶
Index ¶
- type DataStoreIndex
- type DataStoreIndexArgs
- type DataStoreIndexProperty
- type DataStoreIndexPropertyArgs
- type DataStoreIndexPropertyArray
- func (DataStoreIndexPropertyArray) ElementType() reflect.Type
- func (i DataStoreIndexPropertyArray) ToDataStoreIndexPropertyArrayOutput() DataStoreIndexPropertyArrayOutput
- func (i DataStoreIndexPropertyArray) ToDataStoreIndexPropertyArrayOutputWithContext(ctx context.Context) DataStoreIndexPropertyArrayOutput
- type DataStoreIndexPropertyArrayInput
- type DataStoreIndexPropertyArrayOutput
- func (DataStoreIndexPropertyArrayOutput) ElementType() reflect.Type
- func (o DataStoreIndexPropertyArrayOutput) Index(i pulumi.IntInput) DataStoreIndexPropertyOutput
- func (o DataStoreIndexPropertyArrayOutput) ToDataStoreIndexPropertyArrayOutput() DataStoreIndexPropertyArrayOutput
- func (o DataStoreIndexPropertyArrayOutput) ToDataStoreIndexPropertyArrayOutputWithContext(ctx context.Context) DataStoreIndexPropertyArrayOutput
- type DataStoreIndexPropertyInput
- type DataStoreIndexPropertyOutput
- func (o DataStoreIndexPropertyOutput) Direction() pulumi.StringOutput
- func (DataStoreIndexPropertyOutput) ElementType() reflect.Type
- func (o DataStoreIndexPropertyOutput) Name() pulumi.StringOutput
- func (o DataStoreIndexPropertyOutput) ToDataStoreIndexPropertyOutput() DataStoreIndexPropertyOutput
- func (o DataStoreIndexPropertyOutput) ToDataStoreIndexPropertyOutputWithContext(ctx context.Context) DataStoreIndexPropertyOutput
- type DataStoreIndexState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataStoreIndex ¶
type DataStoreIndex struct { pulumi.CustomResourceState // Policy for including ancestors in the index. Ancestor pulumi.StringPtrOutput `pulumi:"ancestor"` // The index id. IndexId pulumi.StringOutput `pulumi:"indexId"` // The entity kind which the index applies to. Kind pulumi.StringOutput `pulumi:"kind"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // An ordered list of properties to index on. Structure is documented below. Properties DataStoreIndexPropertyArrayOutput `pulumi:"properties"` }
Describes a composite index for Cloud Datastore.
To get more information about Index, see:
* [API documentation](https://cloud.google.com/datastore/docs/reference/admin/rest/v1/projects.indexes) * How-to Guides
- [Official Documentation](https://cloud.google.com/datastore/docs/concepts/indexes)
func GetDataStoreIndex ¶
func GetDataStoreIndex(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DataStoreIndexState, opts ...pulumi.ResourceOption) (*DataStoreIndex, error)
GetDataStoreIndex gets an existing DataStoreIndex resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDataStoreIndex ¶
func NewDataStoreIndex(ctx *pulumi.Context, name string, args *DataStoreIndexArgs, opts ...pulumi.ResourceOption) (*DataStoreIndex, error)
NewDataStoreIndex registers a new resource with the given unique name, arguments, and options.
type DataStoreIndexArgs ¶
type DataStoreIndexArgs struct { // Policy for including ancestors in the index. Ancestor pulumi.StringPtrInput // The entity kind which the index applies to. Kind pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // An ordered list of properties to index on. Structure is documented below. Properties DataStoreIndexPropertyArrayInput }
The set of arguments for constructing a DataStoreIndex resource.
func (DataStoreIndexArgs) ElementType ¶
func (DataStoreIndexArgs) ElementType() reflect.Type
type DataStoreIndexProperty ¶
type DataStoreIndexPropertyArgs ¶
type DataStoreIndexPropertyArgs struct { // The direction the index should optimize for sorting. Direction pulumi.StringInput `pulumi:"direction"` // The property name to index. Name pulumi.StringInput `pulumi:"name"` }
func (DataStoreIndexPropertyArgs) ElementType ¶
func (DataStoreIndexPropertyArgs) ElementType() reflect.Type
func (DataStoreIndexPropertyArgs) ToDataStoreIndexPropertyOutput ¶
func (i DataStoreIndexPropertyArgs) ToDataStoreIndexPropertyOutput() DataStoreIndexPropertyOutput
func (DataStoreIndexPropertyArgs) ToDataStoreIndexPropertyOutputWithContext ¶
func (i DataStoreIndexPropertyArgs) ToDataStoreIndexPropertyOutputWithContext(ctx context.Context) DataStoreIndexPropertyOutput
type DataStoreIndexPropertyArray ¶
type DataStoreIndexPropertyArray []DataStoreIndexPropertyInput
func (DataStoreIndexPropertyArray) ElementType ¶
func (DataStoreIndexPropertyArray) ElementType() reflect.Type
func (DataStoreIndexPropertyArray) ToDataStoreIndexPropertyArrayOutput ¶
func (i DataStoreIndexPropertyArray) ToDataStoreIndexPropertyArrayOutput() DataStoreIndexPropertyArrayOutput
func (DataStoreIndexPropertyArray) ToDataStoreIndexPropertyArrayOutputWithContext ¶
func (i DataStoreIndexPropertyArray) ToDataStoreIndexPropertyArrayOutputWithContext(ctx context.Context) DataStoreIndexPropertyArrayOutput
type DataStoreIndexPropertyArrayInput ¶
type DataStoreIndexPropertyArrayInput interface { pulumi.Input ToDataStoreIndexPropertyArrayOutput() DataStoreIndexPropertyArrayOutput ToDataStoreIndexPropertyArrayOutputWithContext(context.Context) DataStoreIndexPropertyArrayOutput }
DataStoreIndexPropertyArrayInput is an input type that accepts DataStoreIndexPropertyArray and DataStoreIndexPropertyArrayOutput values. You can construct a concrete instance of `DataStoreIndexPropertyArrayInput` via:
DataStoreIndexPropertyArray{ DataStoreIndexPropertyArgs{...} }
type DataStoreIndexPropertyArrayOutput ¶
type DataStoreIndexPropertyArrayOutput struct{ *pulumi.OutputState }
func (DataStoreIndexPropertyArrayOutput) ElementType ¶
func (DataStoreIndexPropertyArrayOutput) ElementType() reflect.Type
func (DataStoreIndexPropertyArrayOutput) Index ¶
func (o DataStoreIndexPropertyArrayOutput) Index(i pulumi.IntInput) DataStoreIndexPropertyOutput
func (DataStoreIndexPropertyArrayOutput) ToDataStoreIndexPropertyArrayOutput ¶
func (o DataStoreIndexPropertyArrayOutput) ToDataStoreIndexPropertyArrayOutput() DataStoreIndexPropertyArrayOutput
func (DataStoreIndexPropertyArrayOutput) ToDataStoreIndexPropertyArrayOutputWithContext ¶
func (o DataStoreIndexPropertyArrayOutput) ToDataStoreIndexPropertyArrayOutputWithContext(ctx context.Context) DataStoreIndexPropertyArrayOutput
type DataStoreIndexPropertyInput ¶
type DataStoreIndexPropertyInput interface { pulumi.Input ToDataStoreIndexPropertyOutput() DataStoreIndexPropertyOutput ToDataStoreIndexPropertyOutputWithContext(context.Context) DataStoreIndexPropertyOutput }
DataStoreIndexPropertyInput is an input type that accepts DataStoreIndexPropertyArgs and DataStoreIndexPropertyOutput values. You can construct a concrete instance of `DataStoreIndexPropertyInput` via:
DataStoreIndexPropertyArgs{...}
type DataStoreIndexPropertyOutput ¶
type DataStoreIndexPropertyOutput struct{ *pulumi.OutputState }
func (DataStoreIndexPropertyOutput) Direction ¶
func (o DataStoreIndexPropertyOutput) Direction() pulumi.StringOutput
The direction the index should optimize for sorting.
func (DataStoreIndexPropertyOutput) ElementType ¶
func (DataStoreIndexPropertyOutput) ElementType() reflect.Type
func (DataStoreIndexPropertyOutput) Name ¶
func (o DataStoreIndexPropertyOutput) Name() pulumi.StringOutput
The property name to index.
func (DataStoreIndexPropertyOutput) ToDataStoreIndexPropertyOutput ¶
func (o DataStoreIndexPropertyOutput) ToDataStoreIndexPropertyOutput() DataStoreIndexPropertyOutput
func (DataStoreIndexPropertyOutput) ToDataStoreIndexPropertyOutputWithContext ¶
func (o DataStoreIndexPropertyOutput) ToDataStoreIndexPropertyOutputWithContext(ctx context.Context) DataStoreIndexPropertyOutput
type DataStoreIndexState ¶
type DataStoreIndexState struct { // Policy for including ancestors in the index. Ancestor pulumi.StringPtrInput // The index id. IndexId pulumi.StringPtrInput // The entity kind which the index applies to. Kind pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // An ordered list of properties to index on. Structure is documented below. Properties DataStoreIndexPropertyArrayInput }
func (DataStoreIndexState) ElementType ¶
func (DataStoreIndexState) ElementType() reflect.Type