GoogleCloudDialogflowV2beta1AutomatedAgentConfig.fromMap constructor
GoogleCloudDialogflowV2beta1AutomatedAgentConfig.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GoogleCloudDialogflowV2beta1AutomatedAgentConfig.fromMap(Map<String, dynamic> map) {
return GoogleCloudDialogflowV2beta1AutomatedAgentConfig(
agent: pulumi.Input.fromValue(map['agent'] as String),
sessionTtl: (() { final guardedValue = map['sessionTtl']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}