/
pulumiEnums.go
550 lines (429 loc) · 26 KB
/
pulumiEnums.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
// Code generated by the Pulumi SDK Generator DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package v1beta2
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumix"
)
// Indicates that this field supports operations on `array_value`s.
type GoogleFirestoreAdminV1beta2IndexFieldArrayConfig string
const (
// The index does not support additional array queries.
GoogleFirestoreAdminV1beta2IndexFieldArrayConfigArrayConfigUnspecified = GoogleFirestoreAdminV1beta2IndexFieldArrayConfig("ARRAY_CONFIG_UNSPECIFIED")
// The index supports array containment queries.
GoogleFirestoreAdminV1beta2IndexFieldArrayConfigContains = GoogleFirestoreAdminV1beta2IndexFieldArrayConfig("CONTAINS")
)
func (GoogleFirestoreAdminV1beta2IndexFieldArrayConfig) ElementType() reflect.Type {
return reflect.TypeOf((*GoogleFirestoreAdminV1beta2IndexFieldArrayConfig)(nil)).Elem()
}
func (e GoogleFirestoreAdminV1beta2IndexFieldArrayConfig) ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput() GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput {
return pulumi.ToOutput(e).(GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput)
}
func (e GoogleFirestoreAdminV1beta2IndexFieldArrayConfig) ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutputWithContext(ctx context.Context) GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput {
return pulumi.ToOutputWithContext(ctx, e).(GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput)
}
func (e GoogleFirestoreAdminV1beta2IndexFieldArrayConfig) ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput() GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput {
return e.ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutputWithContext(context.Background())
}
func (e GoogleFirestoreAdminV1beta2IndexFieldArrayConfig) ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutputWithContext(ctx context.Context) GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput {
return GoogleFirestoreAdminV1beta2IndexFieldArrayConfig(e).ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutputWithContext(ctx).ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutputWithContext(ctx)
}
func (e GoogleFirestoreAdminV1beta2IndexFieldArrayConfig) ToStringOutput() pulumi.StringOutput {
return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput)
}
func (e GoogleFirestoreAdminV1beta2IndexFieldArrayConfig) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput)
}
func (e GoogleFirestoreAdminV1beta2IndexFieldArrayConfig) ToStringPtrOutput() pulumi.StringPtrOutput {
return pulumi.String(e).ToStringPtrOutputWithContext(context.Background())
}
func (e GoogleFirestoreAdminV1beta2IndexFieldArrayConfig) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx)
}
type GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput struct{ *pulumi.OutputState }
func (GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GoogleFirestoreAdminV1beta2IndexFieldArrayConfig)(nil)).Elem()
}
func (o GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput) ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput() GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput {
return o
}
func (o GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput) ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutputWithContext(ctx context.Context) GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput {
return o
}
func (o GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput) ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput() GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput {
return o.ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutputWithContext(context.Background())
}
func (o GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput) ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutputWithContext(ctx context.Context) GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v GoogleFirestoreAdminV1beta2IndexFieldArrayConfig) *GoogleFirestoreAdminV1beta2IndexFieldArrayConfig {
return &v
}).(GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput)
}
func (o GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput) ToStringOutput() pulumi.StringOutput {
return o.ToStringOutputWithContext(context.Background())
}
func (o GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e GoogleFirestoreAdminV1beta2IndexFieldArrayConfig) string {
return string(e)
}).(pulumi.StringOutput)
}
func (o GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e GoogleFirestoreAdminV1beta2IndexFieldArrayConfig) *string {
v := string(e)
return &v
}).(pulumi.StringPtrOutput)
}
type GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput struct{ *pulumi.OutputState }
func (GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**GoogleFirestoreAdminV1beta2IndexFieldArrayConfig)(nil)).Elem()
}
func (o GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput) ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput() GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput {
return o
}
func (o GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput) ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutputWithContext(ctx context.Context) GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput {
return o
}
func (o GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput) Elem() GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput {
return o.ApplyT(func(v *GoogleFirestoreAdminV1beta2IndexFieldArrayConfig) GoogleFirestoreAdminV1beta2IndexFieldArrayConfig {
if v != nil {
return *v
}
var ret GoogleFirestoreAdminV1beta2IndexFieldArrayConfig
return ret
}).(GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput)
}
func (o GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e *GoogleFirestoreAdminV1beta2IndexFieldArrayConfig) *string {
if e == nil {
return nil
}
v := string(*e)
return &v
}).(pulumi.StringPtrOutput)
}
// GoogleFirestoreAdminV1beta2IndexFieldArrayConfigInput is an input type that accepts GoogleFirestoreAdminV1beta2IndexFieldArrayConfigArgs and GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput values.
// You can construct a concrete instance of `GoogleFirestoreAdminV1beta2IndexFieldArrayConfigInput` via:
//
// GoogleFirestoreAdminV1beta2IndexFieldArrayConfigArgs{...}
type GoogleFirestoreAdminV1beta2IndexFieldArrayConfigInput interface {
pulumi.Input
ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput() GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput
ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutputWithContext(context.Context) GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput
}
var googleFirestoreAdminV1beta2IndexFieldArrayConfigPtrType = reflect.TypeOf((**GoogleFirestoreAdminV1beta2IndexFieldArrayConfig)(nil)).Elem()
type GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrInput interface {
pulumi.Input
ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput() GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput
ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutputWithContext(context.Context) GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput
}
type googleFirestoreAdminV1beta2IndexFieldArrayConfigPtr string
func GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtr(v string) GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrInput {
return (*googleFirestoreAdminV1beta2IndexFieldArrayConfigPtr)(&v)
}
func (*googleFirestoreAdminV1beta2IndexFieldArrayConfigPtr) ElementType() reflect.Type {
return googleFirestoreAdminV1beta2IndexFieldArrayConfigPtrType
}
func (in *googleFirestoreAdminV1beta2IndexFieldArrayConfigPtr) ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput() GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput {
return pulumi.ToOutput(in).(GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput)
}
func (in *googleFirestoreAdminV1beta2IndexFieldArrayConfigPtr) ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutputWithContext(ctx context.Context) GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput {
return pulumi.ToOutputWithContext(ctx, in).(GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput)
}
func (in *googleFirestoreAdminV1beta2IndexFieldArrayConfigPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleFirestoreAdminV1beta2IndexFieldArrayConfig] {
return pulumix.Output[*GoogleFirestoreAdminV1beta2IndexFieldArrayConfig]{
OutputState: in.ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutputWithContext(ctx).OutputState,
}
}
// Indicates that this field supports ordering by the specified order or comparing using =, <, <=, >, >=.
type GoogleFirestoreAdminV1beta2IndexFieldOrder string
const (
// The ordering is unspecified. Not a valid option.
GoogleFirestoreAdminV1beta2IndexFieldOrderOrderUnspecified = GoogleFirestoreAdminV1beta2IndexFieldOrder("ORDER_UNSPECIFIED")
// The field is ordered by ascending field value.
GoogleFirestoreAdminV1beta2IndexFieldOrderAscending = GoogleFirestoreAdminV1beta2IndexFieldOrder("ASCENDING")
// The field is ordered by descending field value.
GoogleFirestoreAdminV1beta2IndexFieldOrderDescending = GoogleFirestoreAdminV1beta2IndexFieldOrder("DESCENDING")
)
func (GoogleFirestoreAdminV1beta2IndexFieldOrder) ElementType() reflect.Type {
return reflect.TypeOf((*GoogleFirestoreAdminV1beta2IndexFieldOrder)(nil)).Elem()
}
func (e GoogleFirestoreAdminV1beta2IndexFieldOrder) ToGoogleFirestoreAdminV1beta2IndexFieldOrderOutput() GoogleFirestoreAdminV1beta2IndexFieldOrderOutput {
return pulumi.ToOutput(e).(GoogleFirestoreAdminV1beta2IndexFieldOrderOutput)
}
func (e GoogleFirestoreAdminV1beta2IndexFieldOrder) ToGoogleFirestoreAdminV1beta2IndexFieldOrderOutputWithContext(ctx context.Context) GoogleFirestoreAdminV1beta2IndexFieldOrderOutput {
return pulumi.ToOutputWithContext(ctx, e).(GoogleFirestoreAdminV1beta2IndexFieldOrderOutput)
}
func (e GoogleFirestoreAdminV1beta2IndexFieldOrder) ToGoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput() GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput {
return e.ToGoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutputWithContext(context.Background())
}
func (e GoogleFirestoreAdminV1beta2IndexFieldOrder) ToGoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutputWithContext(ctx context.Context) GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput {
return GoogleFirestoreAdminV1beta2IndexFieldOrder(e).ToGoogleFirestoreAdminV1beta2IndexFieldOrderOutputWithContext(ctx).ToGoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutputWithContext(ctx)
}
func (e GoogleFirestoreAdminV1beta2IndexFieldOrder) ToStringOutput() pulumi.StringOutput {
return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput)
}
func (e GoogleFirestoreAdminV1beta2IndexFieldOrder) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput)
}
func (e GoogleFirestoreAdminV1beta2IndexFieldOrder) ToStringPtrOutput() pulumi.StringPtrOutput {
return pulumi.String(e).ToStringPtrOutputWithContext(context.Background())
}
func (e GoogleFirestoreAdminV1beta2IndexFieldOrder) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx)
}
type GoogleFirestoreAdminV1beta2IndexFieldOrderOutput struct{ *pulumi.OutputState }
func (GoogleFirestoreAdminV1beta2IndexFieldOrderOutput) ElementType() reflect.Type {
return reflect.TypeOf((*GoogleFirestoreAdminV1beta2IndexFieldOrder)(nil)).Elem()
}
func (o GoogleFirestoreAdminV1beta2IndexFieldOrderOutput) ToGoogleFirestoreAdminV1beta2IndexFieldOrderOutput() GoogleFirestoreAdminV1beta2IndexFieldOrderOutput {
return o
}
func (o GoogleFirestoreAdminV1beta2IndexFieldOrderOutput) ToGoogleFirestoreAdminV1beta2IndexFieldOrderOutputWithContext(ctx context.Context) GoogleFirestoreAdminV1beta2IndexFieldOrderOutput {
return o
}
func (o GoogleFirestoreAdminV1beta2IndexFieldOrderOutput) ToGoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput() GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput {
return o.ToGoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutputWithContext(context.Background())
}
func (o GoogleFirestoreAdminV1beta2IndexFieldOrderOutput) ToGoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutputWithContext(ctx context.Context) GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v GoogleFirestoreAdminV1beta2IndexFieldOrder) *GoogleFirestoreAdminV1beta2IndexFieldOrder {
return &v
}).(GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput)
}
func (o GoogleFirestoreAdminV1beta2IndexFieldOrderOutput) ToStringOutput() pulumi.StringOutput {
return o.ToStringOutputWithContext(context.Background())
}
func (o GoogleFirestoreAdminV1beta2IndexFieldOrderOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e GoogleFirestoreAdminV1beta2IndexFieldOrder) string {
return string(e)
}).(pulumi.StringOutput)
}
func (o GoogleFirestoreAdminV1beta2IndexFieldOrderOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o GoogleFirestoreAdminV1beta2IndexFieldOrderOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e GoogleFirestoreAdminV1beta2IndexFieldOrder) *string {
v := string(e)
return &v
}).(pulumi.StringPtrOutput)
}
type GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput struct{ *pulumi.OutputState }
func (GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**GoogleFirestoreAdminV1beta2IndexFieldOrder)(nil)).Elem()
}
func (o GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput) ToGoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput() GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput {
return o
}
func (o GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput) ToGoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutputWithContext(ctx context.Context) GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput {
return o
}
func (o GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput) Elem() GoogleFirestoreAdminV1beta2IndexFieldOrderOutput {
return o.ApplyT(func(v *GoogleFirestoreAdminV1beta2IndexFieldOrder) GoogleFirestoreAdminV1beta2IndexFieldOrder {
if v != nil {
return *v
}
var ret GoogleFirestoreAdminV1beta2IndexFieldOrder
return ret
}).(GoogleFirestoreAdminV1beta2IndexFieldOrderOutput)
}
func (o GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e *GoogleFirestoreAdminV1beta2IndexFieldOrder) *string {
if e == nil {
return nil
}
v := string(*e)
return &v
}).(pulumi.StringPtrOutput)
}
// GoogleFirestoreAdminV1beta2IndexFieldOrderInput is an input type that accepts GoogleFirestoreAdminV1beta2IndexFieldOrderArgs and GoogleFirestoreAdminV1beta2IndexFieldOrderOutput values.
// You can construct a concrete instance of `GoogleFirestoreAdminV1beta2IndexFieldOrderInput` via:
//
// GoogleFirestoreAdminV1beta2IndexFieldOrderArgs{...}
type GoogleFirestoreAdminV1beta2IndexFieldOrderInput interface {
pulumi.Input
ToGoogleFirestoreAdminV1beta2IndexFieldOrderOutput() GoogleFirestoreAdminV1beta2IndexFieldOrderOutput
ToGoogleFirestoreAdminV1beta2IndexFieldOrderOutputWithContext(context.Context) GoogleFirestoreAdminV1beta2IndexFieldOrderOutput
}
var googleFirestoreAdminV1beta2IndexFieldOrderPtrType = reflect.TypeOf((**GoogleFirestoreAdminV1beta2IndexFieldOrder)(nil)).Elem()
type GoogleFirestoreAdminV1beta2IndexFieldOrderPtrInput interface {
pulumi.Input
ToGoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput() GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput
ToGoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutputWithContext(context.Context) GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput
}
type googleFirestoreAdminV1beta2IndexFieldOrderPtr string
func GoogleFirestoreAdminV1beta2IndexFieldOrderPtr(v string) GoogleFirestoreAdminV1beta2IndexFieldOrderPtrInput {
return (*googleFirestoreAdminV1beta2IndexFieldOrderPtr)(&v)
}
func (*googleFirestoreAdminV1beta2IndexFieldOrderPtr) ElementType() reflect.Type {
return googleFirestoreAdminV1beta2IndexFieldOrderPtrType
}
func (in *googleFirestoreAdminV1beta2IndexFieldOrderPtr) ToGoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput() GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput {
return pulumi.ToOutput(in).(GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput)
}
func (in *googleFirestoreAdminV1beta2IndexFieldOrderPtr) ToGoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutputWithContext(ctx context.Context) GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput {
return pulumi.ToOutputWithContext(ctx, in).(GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput)
}
func (in *googleFirestoreAdminV1beta2IndexFieldOrderPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleFirestoreAdminV1beta2IndexFieldOrder] {
return pulumix.Output[*GoogleFirestoreAdminV1beta2IndexFieldOrder]{
OutputState: in.ToGoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutputWithContext(ctx).OutputState,
}
}
// Indexes with a collection query scope specified allow queries against a collection that is the child of a specific document, specified at query time, and that has the same collection id. Indexes with a collection group query scope specified allow queries against all collections descended from a specific document, specified at query time, and that have the same collection id as this index.
type IndexQueryScope string
const (
// The query scope is unspecified. Not a valid option.
IndexQueryScopeQueryScopeUnspecified = IndexQueryScope("QUERY_SCOPE_UNSPECIFIED")
// Indexes with a collection query scope specified allow queries against a collection that is the child of a specific document, specified at query time, and that has the collection id specified by the index.
IndexQueryScopeCollection = IndexQueryScope("COLLECTION")
// Indexes with a collection group query scope specified allow queries against all collections that has the collection id specified by the index.
IndexQueryScopeCollectionGroup = IndexQueryScope("COLLECTION_GROUP")
)
func (IndexQueryScope) ElementType() reflect.Type {
return reflect.TypeOf((*IndexQueryScope)(nil)).Elem()
}
func (e IndexQueryScope) ToIndexQueryScopeOutput() IndexQueryScopeOutput {
return pulumi.ToOutput(e).(IndexQueryScopeOutput)
}
func (e IndexQueryScope) ToIndexQueryScopeOutputWithContext(ctx context.Context) IndexQueryScopeOutput {
return pulumi.ToOutputWithContext(ctx, e).(IndexQueryScopeOutput)
}
func (e IndexQueryScope) ToIndexQueryScopePtrOutput() IndexQueryScopePtrOutput {
return e.ToIndexQueryScopePtrOutputWithContext(context.Background())
}
func (e IndexQueryScope) ToIndexQueryScopePtrOutputWithContext(ctx context.Context) IndexQueryScopePtrOutput {
return IndexQueryScope(e).ToIndexQueryScopeOutputWithContext(ctx).ToIndexQueryScopePtrOutputWithContext(ctx)
}
func (e IndexQueryScope) ToStringOutput() pulumi.StringOutput {
return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput)
}
func (e IndexQueryScope) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput)
}
func (e IndexQueryScope) ToStringPtrOutput() pulumi.StringPtrOutput {
return pulumi.String(e).ToStringPtrOutputWithContext(context.Background())
}
func (e IndexQueryScope) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx)
}
type IndexQueryScopeOutput struct{ *pulumi.OutputState }
func (IndexQueryScopeOutput) ElementType() reflect.Type {
return reflect.TypeOf((*IndexQueryScope)(nil)).Elem()
}
func (o IndexQueryScopeOutput) ToIndexQueryScopeOutput() IndexQueryScopeOutput {
return o
}
func (o IndexQueryScopeOutput) ToIndexQueryScopeOutputWithContext(ctx context.Context) IndexQueryScopeOutput {
return o
}
func (o IndexQueryScopeOutput) ToIndexQueryScopePtrOutput() IndexQueryScopePtrOutput {
return o.ToIndexQueryScopePtrOutputWithContext(context.Background())
}
func (o IndexQueryScopeOutput) ToIndexQueryScopePtrOutputWithContext(ctx context.Context) IndexQueryScopePtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, v IndexQueryScope) *IndexQueryScope {
return &v
}).(IndexQueryScopePtrOutput)
}
func (o IndexQueryScopeOutput) ToStringOutput() pulumi.StringOutput {
return o.ToStringOutputWithContext(context.Background())
}
func (o IndexQueryScopeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e IndexQueryScope) string {
return string(e)
}).(pulumi.StringOutput)
}
func (o IndexQueryScopeOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o IndexQueryScopeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e IndexQueryScope) *string {
v := string(e)
return &v
}).(pulumi.StringPtrOutput)
}
type IndexQueryScopePtrOutput struct{ *pulumi.OutputState }
func (IndexQueryScopePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**IndexQueryScope)(nil)).Elem()
}
func (o IndexQueryScopePtrOutput) ToIndexQueryScopePtrOutput() IndexQueryScopePtrOutput {
return o
}
func (o IndexQueryScopePtrOutput) ToIndexQueryScopePtrOutputWithContext(ctx context.Context) IndexQueryScopePtrOutput {
return o
}
func (o IndexQueryScopePtrOutput) Elem() IndexQueryScopeOutput {
return o.ApplyT(func(v *IndexQueryScope) IndexQueryScope {
if v != nil {
return *v
}
var ret IndexQueryScope
return ret
}).(IndexQueryScopeOutput)
}
func (o IndexQueryScopePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput {
return o.ToStringPtrOutputWithContext(context.Background())
}
func (o IndexQueryScopePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return o.ApplyTWithContext(ctx, func(_ context.Context, e *IndexQueryScope) *string {
if e == nil {
return nil
}
v := string(*e)
return &v
}).(pulumi.StringPtrOutput)
}
// IndexQueryScopeInput is an input type that accepts IndexQueryScopeArgs and IndexQueryScopeOutput values.
// You can construct a concrete instance of `IndexQueryScopeInput` via:
//
// IndexQueryScopeArgs{...}
type IndexQueryScopeInput interface {
pulumi.Input
ToIndexQueryScopeOutput() IndexQueryScopeOutput
ToIndexQueryScopeOutputWithContext(context.Context) IndexQueryScopeOutput
}
var indexQueryScopePtrType = reflect.TypeOf((**IndexQueryScope)(nil)).Elem()
type IndexQueryScopePtrInput interface {
pulumi.Input
ToIndexQueryScopePtrOutput() IndexQueryScopePtrOutput
ToIndexQueryScopePtrOutputWithContext(context.Context) IndexQueryScopePtrOutput
}
type indexQueryScopePtr string
func IndexQueryScopePtr(v string) IndexQueryScopePtrInput {
return (*indexQueryScopePtr)(&v)
}
func (*indexQueryScopePtr) ElementType() reflect.Type {
return indexQueryScopePtrType
}
func (in *indexQueryScopePtr) ToIndexQueryScopePtrOutput() IndexQueryScopePtrOutput {
return pulumi.ToOutput(in).(IndexQueryScopePtrOutput)
}
func (in *indexQueryScopePtr) ToIndexQueryScopePtrOutputWithContext(ctx context.Context) IndexQueryScopePtrOutput {
return pulumi.ToOutputWithContext(ctx, in).(IndexQueryScopePtrOutput)
}
func (in *indexQueryScopePtr) ToOutput(ctx context.Context) pulumix.Output[*IndexQueryScope] {
return pulumix.Output[*IndexQueryScope]{
OutputState: in.ToIndexQueryScopePtrOutputWithContext(ctx).OutputState,
}
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*GoogleFirestoreAdminV1beta2IndexFieldArrayConfigInput)(nil)).Elem(), GoogleFirestoreAdminV1beta2IndexFieldArrayConfig("ARRAY_CONFIG_UNSPECIFIED"))
pulumi.RegisterInputType(reflect.TypeOf((*GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrInput)(nil)).Elem(), GoogleFirestoreAdminV1beta2IndexFieldArrayConfig("ARRAY_CONFIG_UNSPECIFIED"))
pulumi.RegisterInputType(reflect.TypeOf((*GoogleFirestoreAdminV1beta2IndexFieldOrderInput)(nil)).Elem(), GoogleFirestoreAdminV1beta2IndexFieldOrder("ORDER_UNSPECIFIED"))
pulumi.RegisterInputType(reflect.TypeOf((*GoogleFirestoreAdminV1beta2IndexFieldOrderPtrInput)(nil)).Elem(), GoogleFirestoreAdminV1beta2IndexFieldOrder("ORDER_UNSPECIFIED"))
pulumi.RegisterInputType(reflect.TypeOf((*IndexQueryScopeInput)(nil)).Elem(), IndexQueryScope("QUERY_SCOPE_UNSPECIFIED"))
pulumi.RegisterInputType(reflect.TypeOf((*IndexQueryScopePtrInput)(nil)).Elem(), IndexQueryScope("QUERY_SCOPE_UNSPECIFIED"))
pulumi.RegisterOutputType(GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput{})
pulumi.RegisterOutputType(GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput{})
pulumi.RegisterOutputType(GoogleFirestoreAdminV1beta2IndexFieldOrderOutput{})
pulumi.RegisterOutputType(GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput{})
pulumi.RegisterOutputType(IndexQueryScopeOutput{})
pulumi.RegisterOutputType(IndexQueryScopePtrOutput{})
}