GoogleCloudDialogflowV2AutomatedAgentConfig.fromMap constructor
GoogleCloudDialogflowV2AutomatedAgentConfig.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GoogleCloudDialogflowV2AutomatedAgentConfig.fromMap(Map<String, dynamic> map) {
return GoogleCloudDialogflowV2AutomatedAgentConfig(
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); })(),
);
}