FirewallPolicyRule.fromJson constructor
FirewallPolicyRule.fromJson(
- Map json_
Implementation
FirewallPolicyRule.fromJson(core.Map json_)
: this(
action: json_['action'] as core.String?,
description: json_['description'] as core.String?,
direction: json_['direction'] as core.String?,
disabled: json_['disabled'] as core.bool?,
enableLogging: json_['enableLogging'] as core.bool?,
kind: json_['kind'] as core.String?,
match: json_.containsKey('match')
? FirewallPolicyRuleMatcher.fromJson(
json_['match'] as core.Map<core.String, core.dynamic>)
: null,
priority: json_['priority'] as core.int?,
ruleName: json_['ruleName'] as core.String?,
ruleTupleCount: json_['ruleTupleCount'] as core.int?,
securityProfileGroup: json_['securityProfileGroup'] as core.String?,
targetResources: (json_['targetResources'] as core.List?)
?.map((value) => value as core.String)
.toList(),
targetSecureTags: (json_['targetSecureTags'] as core.List?)
?.map((value) => FirewallPolicyRuleSecureTag.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
targetServiceAccounts: (json_['targetServiceAccounts'] as core.List?)
?.map((value) => value as core.String)
.toList(),
tlsInspect: json_['tlsInspect'] as core.bool?,
);