class_docstr: OnlineStoreConfig for FeatureStore.
  
  Attributes:
      enable_online_store (bool): whether to enable the online store.
      online_store_security_config (OnlineStoreSecurityConfig): configuration of security setting.
      ttl_duration (TtlDuration): Default time to live duration for records.
class_docstr_tok: ["OnlineStoreConfig","for","FeatureStore",".","Attributes",":","enable_online_store","(","bool",")",":","whether","to","enable","the","online","store",".","online_store_security_config","(","OnlineStoreSecurityConfig",")",":","configuration","of","security","setting",".","ttl_duration","(","TtlDuration",")",":","Default","time","to","live","duration","for","records","."]
docstr: Construct a dictionary based on the attributes.
  
  Returns:
      dict represents the attributes.
code: def to_dict(self) -> Dict[str, Any]:
      """Construct a dictionary based on the attributes.
  
      Returns:
          dict represents the attributes.
      """
      return Config.construct_dict(
          EnableOnlineStore=self.enable_online_store,
          SecurityConfig=self.online_store_security_config,
          TtlDuration=self.ttl_duration,
          StorageType=self.storage_type.value
          if self.storage_type
          else None,
      )
  
imports: from __future__ import absolute_import
  import abc
  from typing import Dict, Any, List
  from enum import Enum
  import attr
label_desc: Use image node_id 1 for calling the OnlineStoreConfig obj's underlying member method code with example usage: obj.to_dict() and returns: Config