GoogleCloudAiplatformV1FunctionCallingConfig.fromJson constructor
GoogleCloudAiplatformV1FunctionCallingConfig.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1FunctionCallingConfig.fromJson(core.Map json_)
: this(
allowedFunctionNames: json_.containsKey('allowedFunctionNames')
? (json_['allowedFunctionNames'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
mode: json_.containsKey('mode') ? json_['mode'] as core.String : null,
);