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,
      );