GoogleIamV1Policy.fromJson constructor

GoogleIamV1Policy.fromJson(
  1. Map json_
)

Implementation

GoogleIamV1Policy.fromJson(core.Map json_)
    : this(
        auditConfigs: json_.containsKey('auditConfigs')
            ? (json_['auditConfigs'] as core.List)
                .map((value) => GoogleIamV1AuditConfig.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        bindings: json_.containsKey('bindings')
            ? (json_['bindings'] as core.List)
                .map((value) => GoogleIamV1Binding.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.int
            : null,
      );