toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'action': action,
'description': description,
'direction': direction,
'disabled': disabled,
'enableLogging': enableLogging,
'kind': kind,
'match': pulumi.Input.mapInputValue<FirewallPolicyRuleMatcherResponseComputeV1, Map<String, dynamic>>(match, (value) => value.toMap()),
'priority': priority,
'ruleName': ruleName,
'ruleTupleCount': ruleTupleCount,
'targetResources': targetResources,
'targetSecureTags': pulumi.Input.mapInputValue<List<FirewallPolicyRuleSecureTagResponseComputeV1>, List<Map<String, dynamic>>>(targetSecureTags, (value) => pulumi.Input.encodeList<FirewallPolicyRuleSecureTagResponseComputeV1, Map<String, dynamic>>(value, (value) => value.toMap())),
'targetServiceAccounts': targetServiceAccounts,
};
}