BucketIamConfiguration.fromJson constructor

BucketIamConfiguration.fromJson(
  1. Map _json
)

Implementation

BucketIamConfiguration.fromJson(core.Map _json)
    : this(
        bucketPolicyOnly: _json.containsKey('bucketPolicyOnly')
            ? BucketIamConfigurationBucketPolicyOnly.fromJson(
                _json['bucketPolicyOnly']
                    as core.Map<core.String, core.dynamic>)
            : null,
        publicAccessPrevention: _json.containsKey('publicAccessPrevention')
            ? _json['publicAccessPrevention'] as core.String
            : null,
        uniformBucketLevelAccess:
            _json.containsKey('uniformBucketLevelAccess')
                ? BucketIamConfigurationUniformBucketLevelAccess.fromJson(
                    _json['uniformBucketLevelAccess']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );