toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'allowed': pulumi.Input.encodeList<FirewallAllowedItemResponse, Map<String, dynamic>>(allowed, (value) => value.toMap()),
    'creationTimestamp': creationTimestamp,
    'denied': pulumi.Input.encodeList<FirewallDeniedItemResponse, Map<String, dynamic>>(denied, (value) => value.toMap()),
    'description': description,
    'destinationRanges': destinationRanges,
    'direction': direction,
    'disabled': disabled,
    'enableLogging': enableLogging,
    'kind': kind,
    'logConfig': logConfig.toMap(),
    'name': name,
    'network': network,
    'priority': priority,
    'selfLink': selfLink,
    'selfLinkWithId': selfLinkWithId,
    'sourceRanges': sourceRanges,
    'sourceServiceAccounts': sourceServiceAccounts,
    'sourceTags': sourceTags,
    'targetServiceAccounts': targetServiceAccounts,
    'targetTags': targetTags,
  };
}