GenaiVertexV1ComputerUse.fromJson constructor
GenaiVertexV1ComputerUse.fromJson(
- Map json_
Implementation
GenaiVertexV1ComputerUse.fromJson(core.Map json_)
: this(
disabledSafetyPolicies: (json_['disabledSafetyPolicies'] as core.List?)
?.map((value) => value as core.String)
.toList(),
enablePromptInjectionDetection:
json_['enablePromptInjectionDetection'] as core.bool?,
environment: json_['environment'] as core.String?,
excludedPredefinedFunctions:
(json_['excludedPredefinedFunctions'] as core.List?)
?.map((value) => value as core.String)
.toList(),
);