Class GcpFirestoreAutoConfiguration

java.lang.Object
com.google.cloud.spring.autoconfigure.firestore.GcpFirestoreAutoConfiguration

@AutoConfiguration @AutoConfigureAfter(GcpContextAutoConfiguration.class) @ConditionalOnProperty(value="spring.cloud.gcp.firestore.enabled", matchIfMissing=true) @ConditionalOnClass(com.google.cloud.firestore.Firestore.class) @EnableConfigurationProperties(GcpFirestoreProperties.class) public class GcpFirestoreAutoConfiguration extends Object
Provides classes to use with Cloud Firestore.
Since:
1.2
  • Method Details

    • firestoreOptions

      @Bean @ConditionalOnMissingBean public com.google.cloud.firestore.FirestoreOptions firestoreOptions()
    • firestore

      @Bean @ConditionalOnMissingBean public com.google.cloud.firestore.Firestore firestore(com.google.cloud.firestore.FirestoreOptions firestoreOptions)