GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig.fromMap constructor

GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig.fromMap(Map<String, dynamic> map) {
  return GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig(
    agentCreationConfig: (() { final guardedValue = map['agentCreationConfig']; if (guardedValue == null) return null; return pulumi.Input.fromValue(GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
    dialogflowAgentToLink: (() { final guardedValue = map['dialogflowAgentToLink']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}