...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/config/cloudcodesnippets/firestore_v1beta1_firestoreindex.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/config/cloudcodesnippets

     1label: Config Connector FirestoreIndex
     2markdownDescription: Creates yaml for a FirestoreIndex resource
     3insertText: |
     4  apiVersion: firestore.cnrm.cloud.google.com/v1beta1
     5  kind: FirestoreIndex
     6  metadata:
     7    name: \${1:firestoreindex-name}
     8  spec:
     9    collection: \${2:sample-collection}
    10    fields:
    11    - fieldPath: \${3:field1}
    12      order: \${4:ASCENDING}
    13    - fieldPath: \${5:field2}
    14      order: \${6:DESCENDING}
    15    queryScope: \${7:COLLECTION}

View as plain text