SetIamPolicyRequest.fromJson constructor

SetIamPolicyRequest.fromJson(
  1. Map _json
)

Implementation

SetIamPolicyRequest.fromJson(core.Map _json)
    : this(
        policy: _json.containsKey('policy')
            ? Policy.fromJson(
                _json['policy'] as core.Map<core.String, core.dynamic>)
            : null,
        updateMask: _json.containsKey('updateMask')
            ? _json['updateMask'] as core.String
            : null,
      );