SecurityProfile.fromJson constructor

SecurityProfile.fromJson(
  1. Map json_
)

Implementation

SecurityProfile.fromJson(core.Map json_)
  : this(
      createTime: json_['createTime'] as core.String?,
      customInterceptProfile: json_.containsKey('customInterceptProfile')
          ? CustomInterceptProfile.fromJson(
              json_['customInterceptProfile']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      customMirroringProfile: json_.containsKey('customMirroringProfile')
          ? CustomMirroringProfile.fromJson(
              json_['customMirroringProfile']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      description: json_['description'] as core.String?,
      etag: json_['etag'] as core.String?,
      labels: (json_['labels'] as core.Map<core.String, core.dynamic>?)?.map(
        (key, value) => core.MapEntry(key, value as core.String),
      ),
      name: json_['name'] as core.String?,
      threatPreventionProfile: json_.containsKey('threatPreventionProfile')
          ? ThreatPreventionProfile.fromJson(
              json_['threatPreventionProfile']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      type: json_['type'] as core.String?,
      updateTime: json_['updateTime'] as core.String?,
    );