GoogleCloudRecaptchaenterpriseV1FirewallPolicy.fromJson constructor

GoogleCloudRecaptchaenterpriseV1FirewallPolicy.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecaptchaenterpriseV1FirewallPolicy.fromJson(core.Map json_)
    : this(
        actions: json_.containsKey('actions')
            ? (json_['actions'] as core.List)
                .map((value) =>
                    GoogleCloudRecaptchaenterpriseV1FirewallAction.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        condition: json_.containsKey('condition')
            ? json_['condition'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        path: json_.containsKey('path') ? json_['path'] as core.String : null,
      );